Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9dfa39e25740af4f73019c6d8198dfd4ed11294a 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-ssh824091032541816420.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh5848199275214411109.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh13922213611230122602.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh17750350083850238521.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-ssh9498899013087372678.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1590 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 Avoid second fetch Checking out Revision 9dfa39e25740af4f73019c6d8198dfd4ed11294a (jakarta) 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 > 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 9dfa39e25740af4f73019c6d8198dfd4ed11294a # timeout=10 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch (#176)" > git rev-list --no-walk 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:31:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:31:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:31:26 ========================================================= 02:31:26 EdgeX Global Pipelines Version Info 02:31:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:31:27 ------------------- 02:31:27 stable info: 02:31:27 ------------------- 02:31:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:31:27 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 02:31:27 Message: update stable to v1.0.232 02:31:27 ------------------- 02:31:27 experimental info: 02:31:27 ------------------- 02:31:27 Commited By: **** collab-it+edgex@linuxfoundation.org 02:31:27 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 02:31:27 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:31:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 02:31:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9dfa39e25740af4f73019c6d8198dfd4ed11294a [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9dfa39e [Pipeline] echo 02:31:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:31:28 provisioning config files... 02:31:28 copy managed file [device-snmp-go-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config7471010547822539155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:28 ---> docker-login.sh 02:31:28 nexus3.edgexfoundry.org:10001 02:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:29 Configure a credential helper to remove this warning. See 02:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:29 02:31:29 Login Succeeded 02:31:29 nexus3.edgexfoundry.org:10002 02:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:29 Configure a credential helper to remove this warning. See 02:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:29 02:31:29 Login Succeeded 02:31:29 nexus3.edgexfoundry.org:10003 02:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:29 Configure a credential helper to remove this warning. See 02:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:29 02:31:29 Login Succeeded 02:31:29 nexus3.edgexfoundry.org:10004 02:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:29 Configure a credential helper to remove this warning. See 02:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:29 02:31:29 Login Succeeded 02:31:29 docker.io 02:31:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:30 Configure a credential helper to remove this warning. See 02:31:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:30 02:31:30 Login Succeeded 02:31:30 ---> docker-login.sh ends [Pipeline] } 02:31:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:31:30 + git rev-list -1 --merges 9dfa39e25740af4f73019c6d8198dfd4ed11294a~1..9dfa39e25740af4f73019c6d8198dfd4ed11294a [Pipeline] echo 02:31:30 -----------> git rev-list -1 --merges 9dfa39e25740af4f73019c6d8198dfd4ed11294a~1..9dfa39e25740af4f73019c6d8198dfd4ed11294a 9dfa39e25740af4f73019c6d8198dfd4ed11294a [false] [Pipeline] sh 02:31:31 + git log --format=format:%s -1 9dfa39e25740af4f73019c6d8198dfd4ed11294a [Pipeline] echo 02:31:31 ========================================================= 02:31:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:31:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:31 + git log --format=format:%s -1 9dfa39e25740af4f73019c6d8198dfd4ed11294a [Pipeline] echo 02:31:31 [semverPrep] GIT_COMMIT: 9dfa39e25740af4f73019c6d8198dfd4ed11294a, Commit Message: build: Update to released SDK and go-mods and change log for 2.1.1 patch (#176) [Pipeline] echo 02:31:31 [semverPrep] This is not a build commit. [Pipeline] sh 02:31:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:31:32 + grep -v github /etc/ssh/ssh_known_hosts 02:31:32 + [ -e /tmp/ssh_known_hosts ] 02:31:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:31:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:31:32 + sudo tee -a /etc/ssh/ssh_known_hosts 02:31:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:32 02:31:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:33 0.1.4: Pulling from edgex-devops/py-git-semver 02:31:33 42c077c10790: Pulling fs layer 02:31:33 f63e77b7563a: Pulling fs layer 02:31:33 bd5fdadae976: Pulling fs layer 02:31:33 205491f53016: Pulling fs layer 02:31:33 df18705c85c3: Pulling fs layer 02:31:33 bdb3f477010e: Pulling fs layer 02:31:33 c8a8fc8e1c8f: Pulling fs layer 02:31:33 df18705c85c3: Waiting 02:31:33 205491f53016: Waiting 02:31:33 bdb3f477010e: Waiting 02:31:33 2c6e9b1d212d: Pulling fs layer 02:31:33 c8a8fc8e1c8f: Waiting 02:31:33 bdb8f0575790: Pulling fs layer 02:31:33 386e3cb2ff24: Pulling fs layer 02:31:33 2c6e9b1d212d: Waiting 02:31:33 bdb8f0575790: Waiting 02:31:33 2343380bae48: Pulling fs layer 02:31:33 2343380bae48: Waiting 02:31:33 386e3cb2ff24: Waiting 02:31:33 f63e77b7563a: Verifying Checksum 02:31:33 f63e77b7563a: Download complete 02:31:33 205491f53016: Verifying Checksum 02:31:33 205491f53016: Download complete 02:31:33 df18705c85c3: Verifying Checksum 02:31:33 df18705c85c3: Download complete 02:31:33 bd5fdadae976: Verifying Checksum 02:31:33 bd5fdadae976: Download complete 02:31:33 bdb3f477010e: Download complete 02:31:33 2c6e9b1d212d: Verifying Checksum 02:31:33 2c6e9b1d212d: Download complete 02:31:33 bdb8f0575790: Verifying Checksum 02:31:33 bdb8f0575790: Download complete 02:31:33 386e3cb2ff24: Verifying Checksum 02:31:33 386e3cb2ff24: Download complete 02:31:33 2343380bae48: Verifying Checksum 02:31:33 2343380bae48: Download complete 02:31:33 42c077c10790: Verifying Checksum 02:31:33 42c077c10790: Download complete 02:31:33 c8a8fc8e1c8f: Verifying Checksum 02:31:33 c8a8fc8e1c8f: Download complete 02:31:34 42c077c10790: Pull complete 02:31:34 f63e77b7563a: Pull complete 02:31:35 bd5fdadae976: Pull complete 02:31:35 205491f53016: Pull complete 02:31:35 df18705c85c3: Pull complete 02:31:36 bdb3f477010e: Pull complete 02:31:37 c8a8fc8e1c8f: Pull complete 02:31:37 2c6e9b1d212d: Pull complete 02:31:38 bdb8f0575790: Pull complete 02:31:38 386e3cb2ff24: Pull complete 02:31:38 2343380bae48: Pull complete 02:31:38 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 02:31:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:31:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:38 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:31:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:31:39 $ docker top 1afe356d2c6ddd4469bd94984350a156bc99df82d14779b129bd09f97a832120 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:31:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:40 [ssh-agent] Looking for ssh-agent implementation... 02:31:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:40 $ docker exec 1afe356d2c6ddd4469bd94984350a156bc99df82d14779b129bd09f97a832120 ssh-agent 02:31:40 SSH_AUTH_SOCK=/tmp/ssh-0FgZ4aVKQ4v4/agent.34 02:31:40 SSH_AGENT_PID=40 02:31:40 Running ssh-add (command line suppressed) 02:31:40 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_6846540630135908533.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_6846540630135908533.key) 02:31:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:40 + git tag --points-at HEAD [Pipeline] } 02:31:40 $ docker exec --env ******** --env ******** 1afe356d2c6ddd4469bd94984350a156bc99df82d14779b129bd09f97a832120 ssh-agent -k 02:31:40 unset SSH_AUTH_SOCK; 02:31:40 unset SSH_AGENT_PID; 02:31:40 echo Agent pid 40 killed; 02:31:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:31:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:31:40 [ssh-agent] Looking for ssh-agent implementation... 02:31:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:31:41 $ docker exec 1afe356d2c6ddd4469bd94984350a156bc99df82d14779b129bd09f97a832120 ssh-agent 02:31:41 SSH_AUTH_SOCK=/tmp/ssh-Ba3biflme6tI/agent.72 02:31:41 SSH_AGENT_PID=78 02:31:41 Running ssh-add (command line suppressed) 02:31:41 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_8199845638580278694.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_8199845638580278694.key) 02:31:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:31:41 + git semver init 02:31:41 2022-06-07 02:31:41,817 [run_init] DEBUG init version:0.0.0 force:False 02:31:41 2022-06-07 02:31:41,817 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver 02:31:41 2022-06-07 02:31:41,818 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/exfoundry_device-snmp-go_jakarta/.semver 02:31:41 2022-06-07 02:31:41,818 [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) 02:31:42 2022-06-07 02:31:42,539 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-snmp-go_jakarta/.git/info/exclude 02:31:42 2022-06-07 02:31:42,539 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta with force:False 02:31:42 2022-06-07 02:31:42,540 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 02:31:42 2022-06-07 02:31:42,540 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 02:31:42 2.1.1-dev.2 [Pipeline] } 02:31:42 $ docker exec --env ******** --env ******** 1afe356d2c6ddd4469bd94984350a156bc99df82d14779b129bd09f97a832120 ssh-agent -k 02:31:42 unset SSH_AUTH_SOCK; 02:31:42 unset SSH_AGENT_PID; 02:31:42 echo Agent pid 78 killed; 02:31:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:31:43 + git semver [Pipeline] } 02:31:43 $ docker stop --time=1 1afe356d2c6ddd4469bd94984350a156bc99df82d14779b129bd09f97a832120 02:31:44 $ docker rm -f 1afe356d2c6ddd4469bd94984350a156bc99df82d14779b129bd09f97a832120 [Pipeline] // withDockerContainer [Pipeline] sh 02:31:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:31:45 Stashed 1 file(s) [Pipeline] echo 02:31:45 [edgeXSemver]: initialized semver on version 2.1.1-dev.2 [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 02:31:45 provisioning config files... 02:31:45 copy managed file [device-snmp-go-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config6082462317001437596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:46 ---> docker-login.sh 02:31:46 nexus3.edgexfoundry.org:10001 02:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:46 Configure a credential helper to remove this warning. See 02:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:46 02:31:46 Login Succeeded 02:31:46 nexus3.edgexfoundry.org:10002 02:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:46 Configure a credential helper to remove this warning. See 02:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:46 02:31:46 Login Succeeded 02:31:46 nexus3.edgexfoundry.org:10003 02:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:46 Configure a credential helper to remove this warning. See 02:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:46 02:31:46 Login Succeeded 02:31:46 nexus3.edgexfoundry.org:10004 02:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:46 Configure a credential helper to remove this warning. See 02:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:46 02:31:46 Login Succeeded 02:31:46 docker.io 02:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:31:46 Configure a credential helper to remove this warning. See 02:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:31:46 02:31:46 Login Succeeded 02:31:46 ---> docker-login.sh ends [Pipeline] } 02:31:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:31:47 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:31:47 ========================================================= 02:31:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 02:31:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 02:31:47 Sending build context to Docker daemon 16.35MB 02:31:47 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 02:31:47 Step 2/11 : FROM ${BASE} AS builder 02:31:47 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 02:31:47 59bf1c3509f3: Pulling fs layer 02:31:47 666ba61612fd: Pulling fs layer 02:31:47 8ed8ca486205: Pulling fs layer 02:31:47 4fe6c5a15a65: Pulling fs layer 02:31:47 22a0e8bec74d: Pulling fs layer 02:31:47 812f408151ee: Pulling fs layer 02:31:47 bab7bd504b26: Pulling fs layer 02:31:47 070449caade9: Pulling fs layer 02:31:47 8f1a5288e3a6: Pulling fs layer 02:31:47 812f408151ee: Waiting 02:31:47 070449caade9: Waiting 02:31:47 bab7bd504b26: Waiting 02:31:47 4fe6c5a15a65: Waiting 02:31:47 22a0e8bec74d: Waiting 02:31:47 8f1a5288e3a6: Waiting 02:31:47 8ed8ca486205: Verifying Checksum 02:31:47 8ed8ca486205: Download complete 02:31:47 666ba61612fd: Download complete 02:31:47 22a0e8bec74d: Download complete 02:31:47 812f408151ee: Verifying Checksum 02:31:47 812f408151ee: Download complete 02:31:47 bab7bd504b26: Verifying Checksum 02:31:47 bab7bd504b26: Download complete 02:31:47 59bf1c3509f3: Verifying Checksum 02:31:47 59bf1c3509f3: Download complete 02:31:47 070449caade9: Verifying Checksum 02:31:47 070449caade9: Download complete 02:31:47 59bf1c3509f3: Pull complete 02:31:47 666ba61612fd: Pull complete 02:31:48 8ed8ca486205: Pull complete 02:31:48 8f1a5288e3a6: Verifying Checksum 02:31:48 8f1a5288e3a6: Download complete 02:31:48 4fe6c5a15a65: Verifying Checksum 02:31:48 4fe6c5a15a65: Download complete 02:31:52 4fe6c5a15a65: Pull complete 02:31:52 22a0e8bec74d: Pull complete 02:31:52 812f408151ee: Pull complete 02:31:52 bab7bd504b26: Pull complete 02:31:52 070449caade9: Pull complete 02:31:54 8f1a5288e3a6: Pull complete 02:31:54 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 02:31:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 02:31:54 ---> c47586b81864 02:31:54 Step 3/11 : ARG MAKE='make build' 02:31:56 ---> Running in cfea3ece33ed 02:31:56 Removing intermediate container cfea3ece33ed 02:31:56 ---> 434ffd22a39e 02:31:56 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:31:56 ---> Running in 6339d0811f34 02:31:56 Removing intermediate container 6339d0811f34 02:31:56 ---> 290338e6515f 02:31:56 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 02:31:56 ---> Running in f172afab692c 02:31:56 Removing intermediate container f172afab692c 02:31:56 ---> 06c506efed5f 02:31:56 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:31:56 ---> Running in 7a49c27cb07d 02:31:57 Removing intermediate container 7a49c27cb07d 02:31:57 ---> 6fdc357d7bb9 02:31:57 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:57 ---> Running in 0a4d16b72b1c 02:31:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:31:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:31:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:31:59 (2/4) Installing libedit (20210910.3.1-r0) 02:31:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:31:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:31:59 Executing busybox-1.34.1-r3.trigger 02:31:59 OK: 224 MiB in 56 packages 02:31:59 Removing intermediate container 0a4d16b72b1c 02:31:59 ---> c842ef6820c4 02:31:59 Step 8/11 : WORKDIR /device-snmp-go 02:31:59 ---> Running in 1e3ae5d23fda 02:31:59 Removing intermediate container 1e3ae5d23fda 02:31:59 ---> a62609daa535 02:31:59 Step 9/11 : COPY . . 02:32:00 Still waiting to schedule task 02:32:00 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1592’ is offline 02:32:00 ---> b1e9d471e7c1 02:32:00 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:00 ---> Running in 073b0a28164e 02:32:01 skipping... 02:32:01 Removing intermediate container 073b0a28164e 02:32:01 ---> 8a19ec5741fa 02:32:01 Step 11/11 : RUN ${MAKE} 02:32:01 ---> Running in 0a7b0224ea3b 02:32:02 noop 02:32:02 Removing intermediate container 0a7b0224ea3b 02:32:02 ---> 922294b877d3 02:32:02 Successfully built 922294b877d3 02:32:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:02 + docker inspect -f . ci-base-image-x86_64 02:32:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:02 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:32:02 $ 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 ******** -e ******** ci-base-image-x86_64 cat 02:32:03 $ docker top f2f4b0c64983a87d8857e0989d8c3052f71823b8b9e6e4666dcd615ace9176dd -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:03 + go version 02:32:03 go version go1.17.6 linux/amd64 [Pipeline] } 02:32:03 $ docker stop --time=1 f2f4b0c64983a87d8857e0989d8c3052f71823b8b9e6e4666dcd615ace9176dd 02:32:04 $ docker rm -f f2f4b0c64983a87d8857e0989d8c3052f71823b8b9e6e4666dcd615ace9176dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:05 + docker inspect -f . ci-base-image-x86_64 02:32:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:05 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:32:05 $ 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 ******** -e ******** ci-base-image-x86_64 cat 02:32:05 $ docker top d846beee51107bcd8e1fa44fdb4d8674cef77b5a07f5fc7954505d0f6ab7524e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:32:06 + make test 02:32:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:32:06 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:32:13 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:32:13 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 02:32:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:32:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:32:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:32:16 ./bin/test-attribution-txt.sh 02:32:16 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 02:32:16 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 02:32:16 go: downloading github.com/OneOfOne/xxhash v1.2.8 02:32:16 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 02:32:16 go: downloading github.com/google/uuid v1.3.0 02:32:16 go: downloading github.com/soniah/gosnmp v1.21.0 02:32:16 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 02:32:16 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 02:32:16 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 02:32:16 go: downloading github.com/pelletier/go-toml v1.9.4 02:32:16 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 02:32:16 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 02:32:16 go: downloading github.com/gorilla/mux v1.8.0 02:32:16 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 02:32:16 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 02:32:16 go: downloading github.com/hashicorp/consul/api v1.9.1 02:32:16 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:32:16 go: downloading github.com/hashicorp/go-multierror v1.1.0 02:32:16 go: downloading github.com/go-kit/kit v0.11.0 02:32:16 go: downloading github.com/go-playground/validator/v10 v10.9.0 02:32:16 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 02:32:16 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 02:32:16 go: downloading github.com/pebbe/zmq4 v1.2.7 02:32:16 go: downloading github.com/go-redis/redis/v7 v7.3.0 02:32:16 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 02:32:16 go: downloading github.com/mitchellh/copystructure v1.0.0 02:32:16 go: downloading github.com/mitchellh/mapstructure v1.1.2 02:32:16 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:32:16 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 02:32:16 go: downloading golang.org/x/text v0.3.6 02:32:16 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 02:32:16 go: downloading github.com/go-logfmt/logfmt v0.5.0 02:32:16 go: downloading github.com/hashicorp/golang-lru v0.5.0 02:32:16 go: downloading github.com/golang/mock v1.4.4 02:32:17 go: downloading github.com/hashicorp/errwrap v1.0.0 02:32:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 02:32:17 go: downloading github.com/hashicorp/go-hclog v0.12.0 02:32:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 02:32:17 go: downloading github.com/hashicorp/serf v0.9.5 02:32:17 go: downloading github.com/x448/float16 v0.8.4 02:32:17 go: downloading github.com/gorilla/websocket v1.4.2 02:32:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 02:32:17 go: downloading github.com/go-playground/universal-translator v0.18.0 02:32:17 go: downloading github.com/leodido/go-urn v1.2.1 02:32:17 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 02:32:17 go: downloading github.com/fatih/color v1.9.0 02:32:17 go: downloading github.com/mattn/go-colorable v0.1.6 02:32:17 go: downloading github.com/mattn/go-isatty v0.0.12 02:32:17 go: downloading github.com/mitchellh/go-homedir v1.1.0 02:32:17 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 02:32:18 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 02:32:18 + go mod tidy 02:32:18 go: downloading github.com/stretchr/testify v1.7.0 02:32:18 go: downloading github.com/go-playground/assert/v2 v2.0.1 02:32:18 go: downloading github.com/go-stack/stack v1.8.0 02:32:18 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 02:32:18 go: downloading github.com/hashicorp/consul/sdk v0.8.0 02:32:18 go: downloading github.com/hashicorp/go-uuid v1.0.1 02:32:18 go: downloading github.com/onsi/ginkgo v1.10.1 02:32:18 go: downloading github.com/onsi/gomega v1.7.0 02:32:18 go: downloading github.com/hashicorp/go-msgpack v0.5.3 02:32:18 go: downloading github.com/hashicorp/memberlist v0.2.2 02:32:18 go: downloading github.com/kr/pretty v0.3.0 02:32:18 go: downloading github.com/pkg/errors v0.9.1 02:32:18 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:32:18 go: downloading github.com/kr/text v0.2.0 02:32:18 go: downloading github.com/rogpeppe/go-internal v1.8.0 02:32:18 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 02:32:18 go: downloading github.com/davecgh/go-spew v1.1.1 02:32:18 go: downloading github.com/pmezard/go-difflib v1.0.0 02:32:18 go: downloading github.com/stretchr/objx v0.1.1 02:32:18 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:32:18 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 02:32:19 go: downloading github.com/miekg/dns v1.1.26 02:32:19 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:32:19 go: downloading gopkg.in/yaml.v2 v2.3.0 02:32:19 go: downloading github.com/hpcloud/tail v1.0.0 02:32:19 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 02:32:19 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 02:32:19 $ docker stop --time=1 d846beee51107bcd8e1fa44fdb4d8674cef77b5a07f5fc7954505d0f6ab7524e 02:32:21 $ docker rm -f d846beee51107bcd8e1fa44fdb4d8674cef77b5a07f5fc7954505d0f6ab7524e [Pipeline] // withDockerContainer [Pipeline] sh 02:32:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:32:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:32:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:32:23 + ls -al . 02:32:23 total 180 02:32:23 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 02:32 . 02:32:23 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 02:31 .. 02:32:23 -rw-rw-r-- 1 jenkins jenkins 6 Jun 7 02:31 .dockerignore 02:32:23 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 02:31 .git 02:32:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:31 .github 02:32:23 -rw-rw-r-- 1 jenkins jenkins 255 Jun 7 02:31 .gitignore 02:32:23 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 02:31 .semver 02:32:23 -rw-rw-r-- 1 jenkins jenkins 6926 Jun 7 02:31 Attribution.txt 02:32:23 -rw-rw-r-- 1 jenkins jenkins 4800 Jun 7 02:31 CHANGELOG.md 02:32:23 -rw-rw-r-- 1 jenkins jenkins 1493 Jun 7 02:31 Dockerfile 02:32:23 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 02:31 GOVERNANCE.md 02:32:23 -rw-rw-r-- 1 jenkins jenkins 656 Jun 7 02:31 Jenkinsfile 02:32:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 02:31 LICENSE 02:32:23 -rw-rw-r-- 1 jenkins jenkins 1526 Jun 7 02:31 Makefile 02:32:23 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 02:31 OWNERS.md 02:32:23 -rw-rw-r-- 1 jenkins jenkins 9073 Jun 7 02:31 README.md 02:32:23 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 02:31 VERSION 02:32:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:31 bin 02:32:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:31 cmd 02:32:23 -rw-r--r-- 1 jenkins jenkins 7631 Jun 7 02:32 coverage.out 02:32:23 -rw-rw-r-- 1 jenkins jenkins 208 Jun 7 02:32 go.mod 02:32:23 -rw-rw-r-- 1 jenkins jenkins 49477 Jun 7 02:31 go.sum 02:32:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:31 internal 02:32:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:31 snap 02:32:23 drwxrwxr-x 6 jenkins jenkins 4096 Jun 7 02:31 vendor 02:32:23 -rw-rw-r-- 1 jenkins jenkins 228 Jun 7 02:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:24 + 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=9dfa39e25740af4f73019c6d8198dfd4ed11294a --label arch=amd64 --label version=2.1.1-dev.2 . 02:32:24 Sending build context to Docker daemon 16.35MB 02:32:24 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 02:32:24 Step 2/23 : FROM ${BASE} AS builder 02:32:24 ---> 922294b877d3 02:32:24 Step 3/23 : ARG MAKE='make build' 02:32:24 ---> Running in d732d5ee5501 02:32:24 Removing intermediate container d732d5ee5501 02:32:24 ---> 96a048ac15c5 02:32:24 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:32:24 ---> Running in d60881862adc 02:32:24 Removing intermediate container d60881862adc 02:32:24 ---> 0963dc401c58 02:32:24 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 02:32:24 ---> Running in 02b32a22526d 02:32:24 Removing intermediate container 02b32a22526d 02:32:24 ---> 857e6f0baffc 02:32:24 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:32:24 ---> Running in 91a250b5846f 02:32:25 Removing intermediate container 91a250b5846f 02:32:25 ---> 46c4ff8a3cdd 02:32:25 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:32:25 ---> Running in 1bab8c8972e2 02:32:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:32:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:32:26 OK: 224 MiB in 56 packages 02:32:27 Removing intermediate container 1bab8c8972e2 02:32:27 ---> 1935a2f33edd 02:32:27 Step 8/23 : WORKDIR /device-snmp-go 02:32:27 ---> Running in a842f97dcd0f 02:32:27 Removing intermediate container a842f97dcd0f 02:32:27 ---> 9612ca480e69 02:32:27 Step 9/23 : COPY . . 02:32:28 ---> 1f039c6eb388 02:32:28 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:28 ---> Running in d85df70294f5 02:32:28 skipping... 02:32:28 Removing intermediate container d85df70294f5 02:32:28 ---> 2e0f6ff296f6 02:32:28 Step 11/23 : RUN ${MAKE} 02:32:29 ---> Running in 540963466e49 02:32:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.1.1-dev.2 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.1" -o cmd/device-snmp ./cmd 02:32:37 Removing intermediate container 540963466e49 02:32:37 ---> fcc58d11e9dd 02:32:37 Step 12/23 : FROM alpine:3.14 02:32:37 3.14: Pulling from library/alpine 02:32:37 8663204ce13b: Pulling fs layer 02:32:37 8663204ce13b: Verifying Checksum 02:32:37 8663204ce13b: Download complete 02:32:37 8663204ce13b: Pull complete 02:32:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:32:37 Status: Downloaded newer image for alpine:3.14 02:32:37 ---> e04c818066af 02:32:37 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 02:32:37 ---> Running in e70f10b5564b 02:32:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:32:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:32:38 (1/6) Installing dumb-init (1.2.5-r1) 02:32:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:32:38 (3/6) Installing libsodium (1.0.18-r0) 02:32:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:32:38 (5/6) Installing libzmq (4.3.4-r0) 02:32:38 (6/6) Installing zeromq (4.3.4-r0) 02:32:38 Executing busybox-1.33.1-r7.trigger 02:32:38 OK: 8 MiB in 20 packages 02:32:38 Removing intermediate container e70f10b5564b 02:32:38 ---> 9c479d07f458 02:32:38 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 02:32:38 ---> cf4e7769d68e 02:32:38 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 02:32:39 ---> 02ad3bf7fa0c 02:32:39 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 02:32:39 ---> 2875f075d349 02:32:39 Step 17/23 : EXPOSE 59993 02:32:39 ---> Running in f11b5d3b346d 02:32:39 Removing intermediate container f11b5d3b346d 02:32:39 ---> 2185206f215d 02:32:39 Step 18/23 : EXPOSE 161 02:32:39 ---> Running in 36fd7c8e6c0b 02:32:39 Removing intermediate container 36fd7c8e6c0b 02:32:39 ---> d45081d2d1dc 02:32:39 Step 19/23 : ENTRYPOINT ["/device-snmp"] 02:32:39 ---> Running in e808a074eab2 02:32:39 Removing intermediate container e808a074eab2 02:32:39 ---> 22f9858d8a7e 02:32:39 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:32:39 ---> Running in c75a3b2f594f 02:32:40 Removing intermediate container c75a3b2f594f 02:32:40 ---> f2d06d679ce6 02:32:40 Step 21/23 : LABEL arch=amd64 02:32:40 ---> Running in c09f2d827122 02:32:40 Removing intermediate container c09f2d827122 02:32:40 ---> 7fc4a2c7785c 02:32:40 Step 22/23 : LABEL git_sha=9dfa39e25740af4f73019c6d8198dfd4ed11294a 02:32:40 ---> Running in aca7ba1a5e01 02:32:40 Removing intermediate container aca7ba1a5e01 02:32:40 ---> 33ee61c64de1 02:32:40 Step 23/23 : LABEL version=2.1.1-dev.2 02:32:40 ---> Running in e7cdb40b5a99 02:32:40 Removing intermediate container e7cdb40b5a99 02:32:40 ---> 5bb9fbe1d77e 02:32:40 [Warning] One or more build-args [ARCH] were not consumed 02:32:40 Successfully built 5bb9fbe1d77e 02:32:40 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:40 provisioning config files... 02:32:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config9039291317223049727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:40 ---> docker-login.sh 02:32:40 nexus3.edgexfoundry.org:10001 02:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:40 Configure a credential helper to remove this warning. See 02:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:40 02:32:40 Login Succeeded 02:32:40 nexus3.edgexfoundry.org:10002 02:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:40 Configure a credential helper to remove this warning. See 02:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:40 02:32:40 Login Succeeded 02:32:40 nexus3.edgexfoundry.org:10003 02:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:41 Configure a credential helper to remove this warning. See 02:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:41 02:32:41 Login Succeeded 02:32:41 nexus3.edgexfoundry.org:10004 02:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:41 Configure a credential helper to remove this warning. See 02:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:41 02:32:41 Login Succeeded 02:32:41 docker.io 02:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:41 Configure a credential helper to remove this warning. See 02:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:41 02:32:41 Login Succeeded 02:32:41 ---> docker-login.sh ends [Pipeline] } 02:32:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:32:41 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:32:41 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 02:32:41 9dfa39e25740af4f73019c6d8198dfd4ed11294a 02:32:41 2.1.1-dev.2 02:32:41 9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2 02:32:41 jakarta 02:32:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:42 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9dfa39e25740af4f73019c6d8198dfd4ed11294a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:42 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9dfa39e25740af4f73019c6d8198dfd4ed11294a 02:32:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:32:42 22f6fa728f00: Preparing 02:32:42 2aa5d0239f2f: Preparing 02:32:42 0b70f95bb174: Preparing 02:32:42 acc8eced6ef9: Preparing 02:32:42 b541d28bf3b4: Preparing 02:32:42 b541d28bf3b4: Layer already exists 02:32:42 22f6fa728f00: Pushed 02:32:42 2aa5d0239f2f: Pushed 02:32:42 acc8eced6ef9: Pushed 02:32:43 0b70f95bb174: Pushed 02:32:43 9dfa39e25740af4f73019c6d8198dfd4ed11294a: digest: sha256:28f22042ffd7dbba9df4efe75b434886daf84c5a2fa78aff7e78ef14fcefe6fd size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:44 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.1.1-dev.2 02:32:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:32:44 22f6fa728f00: Preparing 02:32:44 2aa5d0239f2f: Preparing 02:32:44 0b70f95bb174: Preparing 02:32:44 acc8eced6ef9: Preparing 02:32:44 b541d28bf3b4: Preparing 02:32:44 22f6fa728f00: Layer already exists 02:32:44 2aa5d0239f2f: Layer already exists 02:32:44 b541d28bf3b4: Layer already exists 02:32:44 0b70f95bb174: Layer already exists 02:32:44 acc8eced6ef9: Layer already exists 02:32:44 2.1.1-dev.2: digest: sha256:28f22042ffd7dbba9df4efe75b434886daf84c5a2fa78aff7e78ef14fcefe6fd size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:44 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2 02:32:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:32:45 22f6fa728f00: Preparing 02:32:45 2aa5d0239f2f: Preparing 02:32:45 0b70f95bb174: Preparing 02:32:45 acc8eced6ef9: Preparing 02:32:45 b541d28bf3b4: Preparing 02:32:45 b541d28bf3b4: Layer already exists 02:32:45 acc8eced6ef9: Layer already exists 02:32:45 22f6fa728f00: Layer already exists 02:32:45 0b70f95bb174: Layer already exists 02:32:45 2aa5d0239f2f: Layer already exists 02:32:45 9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2: digest: sha256:28f22042ffd7dbba9df4efe75b434886daf84c5a2fa78aff7e78ef14fcefe6fd size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:45 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp:jakarta 02:32:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:32:45 22f6fa728f00: Preparing 02:32:45 2aa5d0239f2f: Preparing 02:32:45 0b70f95bb174: Preparing 02:32:45 acc8eced6ef9: Preparing 02:32:45 b541d28bf3b4: Preparing 02:32:45 0b70f95bb174: Layer already exists 02:32:45 b541d28bf3b4: Layer already exists 02:32:45 22f6fa728f00: Layer already exists 02:32:45 acc8eced6ef9: Layer already exists 02:32:45 2aa5d0239f2f: Layer already exists 02:32:45 jakarta: digest: sha256:28f22042ffd7dbba9df4efe75b434886daf84c5a2fa78aff7e78ef14fcefe6fd size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:32:45 ===================================================== [Pipeline] echo 02:32:45 taggedImages: 02:32:45 - nexus3.edgexfoundry.org:10004/device-snmp:9dfa39e25740af4f73019c6d8198dfd4ed11294a 02:32:45 - nexus3.edgexfoundry.org:10004/device-snmp:2.1.1-dev.2 02:32:45 - nexus3.edgexfoundry.org:10004/device-snmp:9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2 02:32:45 - 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 02:32:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:46 02:32:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:46 latest: Pulling from edgex-lftools-log-publisher 02:32:46 5eb5b503b376: Pulling fs layer 02:32:46 5c69ac0246d0: Pulling fs layer 02:32:46 ec43610c2a17: Pulling fs layer 02:32:46 3a2ae6a8a46f: Pulling fs layer 02:32:46 33b1e0a273af: Pulling fs layer 02:32:46 5d3b04190fa2: Pulling fs layer 02:32:46 2f39f015ded8: Pulling fs layer 02:32:46 2f39f015ded8: Waiting 02:32:46 33b1e0a273af: Waiting 02:32:46 5d3b04190fa2: Waiting 02:32:46 5c69ac0246d0: Verifying Checksum 02:32:46 5c69ac0246d0: Download complete 02:32:46 3a2ae6a8a46f: Verifying Checksum 02:32:46 3a2ae6a8a46f: Download complete 02:32:46 33b1e0a273af: Verifying Checksum 02:32:46 33b1e0a273af: Download complete 02:32:46 5d3b04190fa2: Verifying Checksum 02:32:46 5d3b04190fa2: Download complete 02:32:46 ec43610c2a17: Download complete 02:32:46 5eb5b503b376: Verifying Checksum 02:32:46 5eb5b503b376: Download complete 02:32:47 2f39f015ded8: Verifying Checksum 02:32:47 2f39f015ded8: Download complete 02:32:47 5eb5b503b376: Pull complete 02:32:48 5c69ac0246d0: Pull complete 02:32:48 ec43610c2a17: Pull complete 02:32:48 3a2ae6a8a46f: Pull complete 02:32:48 33b1e0a273af: Pull complete 02:32:48 5d3b04190fa2: Pull complete 02:32:52 2f39f015ded8: Pull complete 02:32:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:32:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:53 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:32:53 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:32:55 $ docker top 4b4efeae7618f3d5c8c5dae3f263739eedcac39a4ac62e41e144c01f4cbb4740 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:55 ---> job-cost.sh 02:32:55 lf-activate-venv: SKIPPING 02:32:55 INFO: No Stack... 02:32:55 INFO: Retrieving Pricing Info for: v3-standard-8 02:32:56 INFO: Archiving Costs [Pipeline] sh 02:32:56 + cat /w/workspace/exfoundry_device-snmp-go_jakarta/archives/cost.csv 02:32:56 + cut -d, -f6 [Pipeline] lock 02:32:56 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-jakarta-5-stack-cost] 02:32:56 Resource [jenkins-edgexfoundry-device-snmp-go-jakarta-5-stack-cost] did not exist. Created. 02:32:56 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-jakarta-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:32:56 + echo total: 0.2199999988079071 [Pipeline] stash 02:32:56 Stashed 1 file(s) [Pipeline] } 02:32:56 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-jakarta-5-stack-cost] [Pipeline] // lock [Pipeline] } 02:32:57 $ docker stop --time=1 4b4efeae7618f3d5c8c5dae3f263739eedcac39a4ac62e41e144c01f4cbb4740 02:32:58 $ docker rm -f 4b4efeae7618f3d5c8c5dae3f263739eedcac39a4ac62e41e144c01f4cbb4740 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:34:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1594 in /w/workspace/exfoundry_device-snmp-go_jakarta [Pipeline] { [Pipeline] ws 02:34:40 Running in /w/workspace/device-snmp-go/5 [Pipeline] { [Pipeline] checkout 02:34:40 Selected Git installation does not exist. Using Default 02:34:40 The recommended git tool is: NONE 02:34:49 using credential edgex-jenkins-ssh 02:34:49 Cloning the remote Git repository 02:34:49 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 02:34:49 > git init /w/workspace/device-snmp-go/5 # timeout=10 02:34:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 02:34:49 > git --version # timeout=10 02:34:49 > git --version # 'git version 2.25.1' 02:34:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:50 Avoid second fetch 02:34:50 Checking out Revision 9dfa39e25740af4f73019c6d8198dfd4ed11294a (jakarta) 02:34:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:34:50 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 02:34:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:34:50 > git config core.sparsecheckout # timeout=10 02:34:50 > git checkout -f 9dfa39e25740af4f73019c6d8198dfd4ed11294a # timeout=10 02:34:56 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch (#176)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:34:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:34:57 % Total % Received % Xferd Average Speed Time Time Time Current 02:34:57 Dload Upload Total Spent Left Speed 02:34:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 02:34:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:34:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:34:58 + sudo tee /etc/docker/daemon.new 02:34:58 { 02:34:58 "registry-mirrors": [ 02:34:58 "https://nexus3.edgexfoundry.org:10001" 02:34:58 ], 02:34:58 "bip": "10.250.0.254/24", 02:34:58 "hosts": [ 02:34:58 "tcp://0.0.0.0:5555", 02:34:58 "unix:///var/run/docker.sock" 02:34:58 ], 02:34:58 "mtu": 1458, 02:34:58 "selinux-enabled": true, 02:34:58 "seccomp-profile": "/etc/docker/seccomp.json" 02:34:58 } [Pipeline] sh 02:34:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:34:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:17 provisioning config files... 02:35:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/5@tmp/config3363397852451412627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:18 ---> docker-login.sh 02:35:18 nexus3.edgexfoundry.org:10001 02:35:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:18 Configure a credential helper to remove this warning. See 02:35:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:18 02:35:18 Login Succeeded 02:35:18 nexus3.edgexfoundry.org:10002 02:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:19 Configure a credential helper to remove this warning. See 02:35:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:19 02:35:19 Login Succeeded 02:35:19 nexus3.edgexfoundry.org:10003 02:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:20 Configure a credential helper to remove this warning. See 02:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:20 02:35:20 Login Succeeded 02:35:20 nexus3.edgexfoundry.org:10004 02:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:20 Configure a credential helper to remove this warning. See 02:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:20 02:35:20 Login Succeeded 02:35:20 docker.io 02:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:21 Configure a credential helper to remove this warning. See 02:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:21 02:35:21 Login Succeeded 02:35:21 ---> docker-login.sh ends [Pipeline] } 02:35:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:21 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:21 ========================================================= 02:35:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 02:35:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 02:35:23 Sending build context to Docker daemon 13.72MB 02:35:23 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 02:35:23 Step 2/11 : FROM ${BASE} AS builder 02:35:23 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 02:35:23 9b3977197b4f: Pulling fs layer 02:35:23 1a89e8eeedd5: Pulling fs layer 02:35:23 94645a83ff95: Pulling fs layer 02:35:23 3f3a8bcf1eab: Pulling fs layer 02:35:23 0c92f367c5e7: Pulling fs layer 02:35:23 63b1bc5785f6: Pulling fs layer 02:35:23 626d30ff41c6: Pulling fs layer 02:35:23 de1d54c125be: Pulling fs layer 02:35:23 3f3a8bcf1eab: Waiting 02:35:23 0c92f367c5e7: Waiting 02:35:23 63b1bc5785f6: Waiting 02:35:23 626d30ff41c6: Waiting 02:35:23 de1d54c125be: Waiting 02:35:23 94645a83ff95: Verifying Checksum 02:35:23 94645a83ff95: Download complete 02:35:23 1a89e8eeedd5: Verifying Checksum 02:35:23 1a89e8eeedd5: Download complete 02:35:24 0c92f367c5e7: Verifying Checksum 02:35:24 0c92f367c5e7: Download complete 02:35:24 63b1bc5785f6: Verifying Checksum 02:35:24 63b1bc5785f6: Download complete 02:35:24 9b3977197b4f: Download complete 02:35:24 626d30ff41c6: Verifying Checksum 02:35:24 626d30ff41c6: Download complete 02:35:24 9b3977197b4f: Pull complete 02:35:25 1a89e8eeedd5: Pull complete 02:35:25 94645a83ff95: Pull complete 02:35:26 de1d54c125be: Verifying Checksum 02:35:26 de1d54c125be: Download complete 02:35:26 3f3a8bcf1eab: Verifying Checksum 02:35:26 3f3a8bcf1eab: Download complete 02:35:39 3f3a8bcf1eab: Pull complete 02:35:39 0c92f367c5e7: Pull complete 02:35:39 63b1bc5785f6: Pull complete 02:35:39 626d30ff41c6: Pull complete 02:35:44 de1d54c125be: Pull complete 02:35:44 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 02:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 02:35:44 ---> 5f011755c4a2 02:35:44 Step 3/11 : ARG MAKE='make build' 02:35:46 ---> Running in 673efe48a4dc 02:35:47 Removing intermediate container 673efe48a4dc 02:35:47 ---> a810215bf6cf 02:35:47 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:35:47 ---> Running in 166f26033e97 02:35:47 Removing intermediate container 166f26033e97 02:35:47 ---> 08e85048c6e8 02:35:47 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 02:35:47 ---> Running in 8b2f7ede5b05 02:35:49 Removing intermediate container 8b2f7ede5b05 02:35:49 ---> c23ef68d8621 02:35:49 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:35:49 ---> Running in ac35eac1749e 02:35:51 Removing intermediate container ac35eac1749e 02:35:51 ---> 8c838fa254af 02:35:51 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:35:51 ---> Running in 3d5526e2fdda 02:35:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:35:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:35:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:35:54 (2/4) Installing libedit (20210910.3.1-r0) 02:35:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:35:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:35:55 Executing busybox-1.34.1-r3.trigger 02:35:55 OK: 224 MiB in 56 packages 02:35:56 Removing intermediate container 3d5526e2fdda 02:35:56 ---> becfb0c33bb8 02:35:56 Step 8/11 : WORKDIR /device-snmp-go 02:35:56 ---> Running in f032a4cc3db5 02:35:56 Removing intermediate container f032a4cc3db5 02:35:56 ---> a6c51ccece6a 02:35:56 Step 9/11 : COPY . . 02:36:01 ---> 41d0251c2684 02:36:01 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:01 ---> Running in 46f03d3f547d 02:36:01 skipping... 02:36:02 Removing intermediate container 46f03d3f547d 02:36:02 ---> d929eccd2ada 02:36:02 Step 11/11 : RUN ${MAKE} 02:36:02 ---> Running in fdfa0d27d51d 02:36:03 noop 02:36:04 Removing intermediate container fdfa0d27d51d 02:36:04 ---> dd2873ce0292 02:36:04 Successfully built dd2873ce0292 02:36:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:05 + docker inspect -f . ci-base-image-arm64 02:36:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:05 prd-ubuntu20.04-docker-arm64-4c-16g-1594 does not seem to be running inside a container 02:36:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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 02:36:06 $ docker top 3dc8fe11eafe4120054c83aaa830b88d66bbe42fc5e30fcba64bf3bf4b24e4ee -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:07 + go version 02:36:07 go version go1.17.6 linux/arm64 [Pipeline] } 02:36:07 $ docker stop --time=1 3dc8fe11eafe4120054c83aaa830b88d66bbe42fc5e30fcba64bf3bf4b24e4ee 02:36:09 $ docker rm -f 3dc8fe11eafe4120054c83aaa830b88d66bbe42fc5e30fcba64bf3bf4b24e4ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:10 + docker inspect -f . ci-base-image-arm64 02:36:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:10 prd-ubuntu20.04-docker-arm64-4c-16g-1594 does not seem to be running inside a container 02:36:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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 02:36:12 $ docker top 50887584db92d6d85330b5422f82b73dcf512701bc7c9e81a4e0ea346da6db98 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:36:13 + make test 02:36:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:36:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:37:11 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:37:11 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements 02:37:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:37:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:37:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:37:30 ./bin/test-attribution-txt.sh 02:37:30 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 02:37:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 02:37:30 go: downloading github.com/soniah/gosnmp v1.21.0 02:37:30 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 02:37:30 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 02:37:30 go: downloading github.com/OneOfOne/xxhash v1.2.8 02:37:30 go: downloading github.com/google/uuid v1.3.0 02:37:30 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 02:37:30 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 02:37:30 go: downloading github.com/gorilla/mux v1.8.0 02:37:30 go: downloading github.com/pelletier/go-toml v1.9.4 02:37:30 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 02:37:30 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 02:37:30 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 02:37:30 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 02:37:30 go: downloading github.com/hashicorp/go-multierror v1.1.0 02:37:30 go: downloading github.com/hashicorp/consul/api v1.9.1 02:37:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 02:37:30 go: downloading github.com/go-playground/validator/v10 v10.9.0 02:37:30 go: downloading github.com/go-kit/kit v0.11.0 02:37:30 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 02:37:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 02:37:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 02:37:31 go: downloading github.com/pebbe/zmq4 v1.2.7 02:37:31 go: downloading github.com/go-logfmt/logfmt v0.5.0 02:37:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 02:37:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 02:37:31 go: downloading github.com/mitchellh/copystructure v1.0.0 02:37:31 go: downloading github.com/mitchellh/mapstructure v1.1.2 02:37:31 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 02:37:31 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 02:37:31 go: downloading golang.org/x/text v0.3.6 02:37:32 go: downloading github.com/golang/mock v1.4.4 02:37:32 go: downloading github.com/hashicorp/golang-lru v0.5.0 02:37:32 go: downloading github.com/hashicorp/errwrap v1.0.0 02:37:32 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 02:37:32 go: downloading github.com/hashicorp/go-hclog v0.12.0 02:37:32 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 02:37:32 go: downloading github.com/hashicorp/serf v0.9.5 02:37:33 go: downloading github.com/x448/float16 v0.8.4 02:37:33 go: downloading github.com/go-playground/universal-translator v0.18.0 02:37:33 go: downloading github.com/leodido/go-urn v1.2.1 02:37:33 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 02:37:34 go: downloading github.com/gorilla/websocket v1.4.2 02:37:34 go: downloading github.com/mitchellh/reflectwalk v1.0.0 02:37:34 go: downloading github.com/fatih/color v1.9.0 02:37:34 go: downloading github.com/mattn/go-colorable v0.1.6 02:37:34 go: downloading github.com/mattn/go-isatty v0.0.12 02:37:34 go: downloading github.com/mitchellh/go-homedir v1.1.0 02:37:34 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 02:37:40 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 02:37:40 + go mod tidy 02:37:40 go: downloading github.com/stretchr/testify v1.7.0 02:37:41 go: downloading github.com/go-playground/assert/v2 v2.0.1 02:37:41 go: downloading github.com/go-stack/stack v1.8.0 02:37:41 go: downloading github.com/davecgh/go-spew v1.1.1 02:37:41 go: downloading github.com/pmezard/go-difflib v1.0.0 02:37:41 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 02:37:41 go: downloading github.com/stretchr/objx v0.1.1 02:37:41 go: downloading github.com/hashicorp/consul/sdk v0.8.0 02:37:41 go: downloading github.com/hashicorp/go-uuid v1.0.1 02:37:41 go: downloading github.com/onsi/ginkgo v1.10.1 02:37:41 go: downloading github.com/kr/pretty v0.3.0 02:37:41 go: downloading github.com/onsi/gomega v1.7.0 02:37:41 go: downloading github.com/hashicorp/go-msgpack v0.5.3 02:37:41 go: downloading github.com/hashicorp/memberlist v0.2.2 02:37:41 go: downloading github.com/pkg/errors v0.9.1 02:37:41 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 02:37:41 go: downloading github.com/kr/text v0.2.0 02:37:41 go: downloading github.com/rogpeppe/go-internal v1.8.0 02:37:41 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 02:37:41 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 02:37:41 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 02:37:41 go: downloading github.com/miekg/dns v1.1.26 02:37:41 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 02:37:41 go: downloading gopkg.in/yaml.v2 v2.3.0 02:37:41 go: downloading github.com/hpcloud/tail v1.0.0 02:37:41 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 02:37:42 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 02:37:42 $ docker stop --time=1 50887584db92d6d85330b5422f82b73dcf512701bc7c9e81a4e0ea346da6db98 02:37:44 $ docker rm -f 50887584db92d6d85330b5422f82b73dcf512701bc7c9e81a4e0ea346da6db98 [Pipeline] // withDockerContainer [Pipeline] sh 02:37:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:37:47 Warning: overwriting stash ‘coverage-report’ 02:37:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:37:49 + ls -al . 02:37:49 total 176 02:37:49 drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 02:37 . 02:37:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 02:34 .. 02:37:49 -rw-rw-r-- 1 jenkins jenkins 6 Jun 7 02:34 .dockerignore 02:37:49 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 02:34 .git 02:37:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:34 .github 02:37:49 -rw-rw-r-- 1 jenkins jenkins 255 Jun 7 02:34 .gitignore 02:37:49 -rw-rw-r-- 1 jenkins jenkins 6926 Jun 7 02:34 Attribution.txt 02:37:49 -rw-rw-r-- 1 jenkins jenkins 4800 Jun 7 02:34 CHANGELOG.md 02:37:49 -rw-rw-r-- 1 jenkins jenkins 1493 Jun 7 02:34 Dockerfile 02:37:49 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 02:34 GOVERNANCE.md 02:37:49 -rw-rw-r-- 1 jenkins jenkins 656 Jun 7 02:34 Jenkinsfile 02:37:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 02:34 LICENSE 02:37:49 -rw-rw-r-- 1 jenkins jenkins 1526 Jun 7 02:34 Makefile 02:37:49 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 02:34 OWNERS.md 02:37:49 -rw-rw-r-- 1 jenkins jenkins 9073 Jun 7 02:34 README.md 02:37:49 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 02:31 VERSION 02:37:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 02:34 bin 02:37:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:34 cmd 02:37:49 -rw-r--r-- 1 jenkins jenkins 7631 Jun 7 02:37 coverage.out 02:37:49 -rw-rw-r-- 1 jenkins jenkins 208 Jun 7 02:37 go.mod 02:37:49 -rw-rw-r-- 1 jenkins jenkins 49477 Jun 7 02:34 go.sum 02:37:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:34 internal 02:37:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 02:34 snap 02:37:49 drwxrwxr-x 6 jenkins jenkins 4096 Jun 7 02:34 vendor 02:37:49 -rw-rw-r-- 1 jenkins jenkins 228 Jun 7 02:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:49 + 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=9dfa39e25740af4f73019c6d8198dfd4ed11294a --label arch=arm64 --label version=2.1.1-dev.2 . 02:37:51 Sending build context to Docker daemon 13.73MB 02:37:51 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 02:37:51 Step 2/23 : FROM ${BASE} AS builder 02:37:51 ---> dd2873ce0292 02:37:51 Step 3/23 : ARG MAKE='make build' 02:37:51 ---> Running in 4b3f5b702183 02:37:51 Removing intermediate container 4b3f5b702183 02:37:51 ---> 6af519653a0a 02:37:51 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:37:52 ---> Running in 8b11ab91d930 02:37:52 Removing intermediate container 8b11ab91d930 02:37:52 ---> 3c8992a7e3b7 02:37:52 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 02:37:52 ---> Running in ba67e16e8fb6 02:37:52 Removing intermediate container ba67e16e8fb6 02:37:52 ---> 467ab6f714bc 02:37:52 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:37:52 ---> Running in b920b1e6454f 02:37:54 Removing intermediate container b920b1e6454f 02:37:54 ---> 506f026a981b 02:37:54 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:37:54 ---> Running in b73dfccab3ef 02:37:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:37:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:37:57 OK: 224 MiB in 56 packages 02:37:58 Removing intermediate container b73dfccab3ef 02:37:58 ---> eb6a72b526d2 02:37:58 Step 8/23 : WORKDIR /device-snmp-go 02:37:58 ---> Running in 12a95227d453 02:37:58 Removing intermediate container 12a95227d453 02:37:58 ---> daf2d7bcd222 02:37:58 Step 9/23 : COPY . . 02:38:03 ---> d043346259f1 02:38:03 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:38:03 ---> Running in f5571a215ec5 02:38:04 skipping... 02:38:04 Removing intermediate container f5571a215ec5 02:38:04 ---> 54bdee497145 02:38:04 Step 11/23 : RUN ${MAKE} 02:38:04 ---> Running in a0ab0d6e14b6 02:38:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.1.1-dev.2 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.1" -o cmd/device-snmp ./cmd 02:38:53 Removing intermediate container a0ab0d6e14b6 02:38:53 ---> f6d13a075863 02:38:53 Step 12/23 : FROM alpine:3.14 02:38:53 3.14: Pulling from library/alpine 02:38:53 455c02918c45: Pulling fs layer 02:38:53 455c02918c45: Verifying Checksum 02:38:53 455c02918c45: Download complete 02:38:53 455c02918c45: Pull complete 02:38:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:38:53 Status: Downloaded newer image for alpine:3.14 02:38:53 ---> ac73e934f311 02:38:53 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 02:38:53 ---> Running in 022cd3285f2c 02:38:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:38:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:38:55 (1/6) Installing dumb-init (1.2.5-r1) 02:38:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:38:55 (3/6) Installing libsodium (1.0.18-r0) 02:38:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:38:55 (5/6) Installing libzmq (4.3.4-r0) 02:38:55 (6/6) Installing zeromq (4.3.4-r0) 02:38:55 Executing busybox-1.33.1-r7.trigger 02:38:55 OK: 8 MiB in 20 packages 02:38:56 Removing intermediate container 022cd3285f2c 02:38:56 ---> d6c73d97903d 02:38:56 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 02:38:56 ---> e3091b1ad003 02:38:56 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 02:38:57 ---> 9523bd044e97 02:38:57 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 02:38:58 ---> 34a2eb48b88d 02:38:58 Step 17/23 : EXPOSE 59993 02:38:58 ---> Running in a47d59ea9691 02:38:58 Removing intermediate container a47d59ea9691 02:38:58 ---> 9c1dc0bf714a 02:38:58 Step 18/23 : EXPOSE 161 02:38:58 ---> Running in e8e910ff5937 02:38:59 Removing intermediate container e8e910ff5937 02:38:59 ---> 1b6eac81f8e9 02:38:59 Step 19/23 : ENTRYPOINT ["/device-snmp"] 02:38:59 ---> Running in 3723ee44db48 02:38:59 Removing intermediate container 3723ee44db48 02:38:59 ---> 8d0babcfd9ee 02:38:59 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:38:59 ---> Running in 83ae23dcb71e 02:38:59 Removing intermediate container 83ae23dcb71e 02:38:59 ---> 075b1c95470e 02:38:59 Step 21/23 : LABEL arch=arm64 02:38:59 ---> Running in 5b1d595a4f4a 02:39:00 Removing intermediate container 5b1d595a4f4a 02:39:00 ---> 4fe31e95f1ea 02:39:00 Step 22/23 : LABEL git_sha=9dfa39e25740af4f73019c6d8198dfd4ed11294a 02:39:00 ---> Running in c8de0dc77a18 02:39:00 Removing intermediate container c8de0dc77a18 02:39:00 ---> fa15bbeffa39 02:39:00 Step 23/23 : LABEL version=2.1.1-dev.2 02:39:00 ---> Running in 9574123ed332 02:39:01 Removing intermediate container 9574123ed332 02:39:01 ---> 2ea449c18abf 02:39:01 [Warning] One or more build-args [ARCH] were not consumed 02:39:01 Successfully built 2ea449c18abf 02:39:01 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 02:39:01 provisioning config files... 02:39:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/5@tmp/config4279695297195972110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:01 ---> docker-login.sh 02:39:01 nexus3.edgexfoundry.org:10001 02:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:02 Configure a credential helper to remove this warning. See 02:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:02 02:39:02 Login Succeeded 02:39:02 nexus3.edgexfoundry.org:10002 02:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:03 Configure a credential helper to remove this warning. See 02:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:03 02:39:03 Login Succeeded 02:39:03 nexus3.edgexfoundry.org:10003 02:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:03 Configure a credential helper to remove this warning. See 02:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:03 02:39:03 Login Succeeded 02:39:03 nexus3.edgexfoundry.org:10004 02:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:03 Configure a credential helper to remove this warning. See 02:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:03 02:39:03 Login Succeeded 02:39:03 docker.io 02:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:04 Configure a credential helper to remove this warning. See 02:39:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:04 02:39:04 Login Succeeded 02:39:04 ---> docker-login.sh ends [Pipeline] } 02:39:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:04 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:04 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 02:39:04 9dfa39e25740af4f73019c6d8198dfd4ed11294a 02:39:04 2.1.1-dev.2 02:39:04 9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2 02:39:04 jakarta 02:39:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:05 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9dfa39e25740af4f73019c6d8198dfd4ed11294a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:05 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9dfa39e25740af4f73019c6d8198dfd4ed11294a 02:39:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 02:39:05 fd25843bdb54: Preparing 02:39:05 54674ae097af: Preparing 02:39:05 ac6377dc0f88: Preparing 02:39:05 0f6ed2c2692f: Preparing 02:39:05 f73e7dbfee58: Preparing 02:39:05 f73e7dbfee58: Layer already exists 02:39:06 54674ae097af: Pushed 02:39:06 fd25843bdb54: Pushed 02:39:06 0f6ed2c2692f: Pushed 02:39:09 ac6377dc0f88: Pushed 02:39:09 9dfa39e25740af4f73019c6d8198dfd4ed11294a: digest: sha256:14a1f8bb610c68545a048f36c1708f9fabd8d2a952b8090968998b68f88b7145 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:09 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.1.1-dev.2 02:39:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 02:39:10 fd25843bdb54: Preparing 02:39:10 54674ae097af: Preparing 02:39:10 ac6377dc0f88: Preparing 02:39:10 0f6ed2c2692f: Preparing 02:39:10 f73e7dbfee58: Preparing 02:39:10 ac6377dc0f88: Layer already exists 02:39:10 54674ae097af: Layer already exists 02:39:10 fd25843bdb54: Layer already exists 02:39:10 f73e7dbfee58: Layer already exists 02:39:10 0f6ed2c2692f: Layer already exists 02:39:10 2.1.1-dev.2: digest: sha256:14a1f8bb610c68545a048f36c1708f9fabd8d2a952b8090968998b68f88b7145 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:10 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2 02:39:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 02:39:11 fd25843bdb54: Preparing 02:39:11 54674ae097af: Preparing 02:39:11 ac6377dc0f88: Preparing 02:39:11 0f6ed2c2692f: Preparing 02:39:11 f73e7dbfee58: Preparing 02:39:11 ac6377dc0f88: Layer already exists 02:39:11 f73e7dbfee58: Layer already exists 02:39:11 54674ae097af: Layer already exists 02:39:11 fd25843bdb54: Layer already exists 02:39:11 0f6ed2c2692f: Layer already exists 02:39:11 9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2: digest: sha256:14a1f8bb610c68545a048f36c1708f9fabd8d2a952b8090968998b68f88b7145 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:11 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:jakarta 02:39:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 02:39:12 fd25843bdb54: Preparing 02:39:12 54674ae097af: Preparing 02:39:12 ac6377dc0f88: Preparing 02:39:12 0f6ed2c2692f: Preparing 02:39:12 f73e7dbfee58: Preparing 02:39:12 fd25843bdb54: Layer already exists 02:39:12 54674ae097af: Layer already exists 02:39:12 ac6377dc0f88: Layer already exists 02:39:12 0f6ed2c2692f: Layer already exists 02:39:12 f73e7dbfee58: Layer already exists 02:39:12 jakarta: digest: sha256:14a1f8bb610c68545a048f36c1708f9fabd8d2a952b8090968998b68f88b7145 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:39:12 ===================================================== [Pipeline] echo 02:39:12 taggedImages: 02:39:12 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9dfa39e25740af4f73019c6d8198dfd4ed11294a 02:39:12 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.1.1-dev.2 02:39:12 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9dfa39e25740af4f73019c6d8198dfd4ed11294a-2.1.1-dev.2 02:39:12 - 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 02:39:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:13 02:39:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:13 arm64: Pulling from edgex-lftools-log-publisher 02:39:13 8998bd30e6a1: Pulling fs layer 02:39:13 04944245beec: Pulling fs layer 02:39:13 699f458cf7ca: Pulling fs layer 02:39:13 765212b225bb: Pulling fs layer 02:39:13 f23df028b6ca: Pulling fs layer 02:39:13 d65c8cfc05b1: Pulling fs layer 02:39:13 2437ff75d9bd: Pulling fs layer 02:39:13 f23df028b6ca: Waiting 02:39:13 d65c8cfc05b1: Waiting 02:39:13 2437ff75d9bd: Waiting 02:39:13 765212b225bb: Waiting 02:39:13 04944245beec: Verifying Checksum 02:39:13 04944245beec: Download complete 02:39:13 765212b225bb: Download complete 02:39:14 f23df028b6ca: Download complete 02:39:14 699f458cf7ca: Verifying Checksum 02:39:14 699f458cf7ca: Download complete 02:39:14 d65c8cfc05b1: Verifying Checksum 02:39:14 d65c8cfc05b1: Download complete 02:39:14 8998bd30e6a1: Verifying Checksum 02:39:14 8998bd30e6a1: Download complete 02:39:18 2437ff75d9bd: Verifying Checksum 02:39:18 2437ff75d9bd: Download complete 02:39:19 8998bd30e6a1: Pull complete 02:39:19 04944245beec: Pull complete 02:39:21 699f458cf7ca: Pull complete 02:39:21 765212b225bb: Pull complete 02:39:22 f23df028b6ca: Pull complete 02:39:22 d65c8cfc05b1: Pull complete 02:39:41 2437ff75d9bd: Pull complete 02:39:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:39:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:39:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:41 prd-ubuntu20.04-docker-arm64-4c-16g-1594 does not seem to be running inside a container 02:39:41 $ 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/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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 02:39:44 $ docker top 282a44e700366074acf389cfd8b12608f89abb99bb6c9d2d257ea7889587bdce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:45 ---> job-cost.sh 02:39:45 lf-activate-venv: SKIPPING 02:39:45 INFO: No Stack... 02:39:46 INFO: Retrieving Pricing Info for: v3-standard-4 02:39:47 INFO: Archiving Costs [Pipeline] sh 02:39:47 + cut -d, -f6 02:39:47 + cat /w/workspace/device-snmp-go/5/archives/cost.csv [Pipeline] lock 02:39:47 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-jakarta-5-stack-cost] 02:39:47 Resource [jenkins-edgexfoundry-device-snmp-go-jakarta-5-stack-cost] did not exist. Created. 02:39:47 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-jakarta-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:39:48 /w/workspace/device-snmp-go/5@tmp/durable-a9a1820f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:39:49 + echo total: 0.10999999940395355 [Pipeline] stash 02:39:49 Warning: overwriting stash ‘stack-cost’ 02:39:49 Stashed 1 file(s) [Pipeline] } 02:39:49 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-jakarta-5-stack-cost] [Pipeline] // lock [Pipeline] } 02:39:49 $ docker stop --time=1 282a44e700366074acf389cfd8b12608f89abb99bb6c9d2d257ea7889587bdce 02:39:51 $ docker rm -f 282a44e700366074acf389cfd8b12608f89abb99bb6c9d2d257ea7889587bdce [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 02:39:51 provisioning config files... 02:39:51 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config2420382512151945367tmp [Pipeline] { [Pipeline] sh 02:39:51 + set +x 02:39:51 + curl -s https://codecov.io/bash 02:39:51 + bash -s -- 02:39:51 02:39:51 _____ _ 02:39:51 / ____| | | 02:39:51 | | ___ __| | ___ ___ _____ __ 02:39:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:39:51 | |___| (_) | (_| | __/ (_| (_) \ V / 02:39:51 \_____\___/ \__,_|\___|\___\___/ \_/ 02:39:51 Bash-1.0.6 02:39:51 02:39:51 02:39:51 ==> git version 2.25.1 found 02:39:51 ==> 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 02:39:51 Release-Date: 2020-01-08 02:39:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:39:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:39:51 ==> Jenkins CI detected. 02:39:51 current dir:  /w/workspace/exfoundry_device-snmp-go_jakarta 02:39:51 project root: . 02:39:51 --> token set from env 02:39:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:39:51 ==> Running gcov in . (disable via -X gcov) 02:39:51 ==> Python coveragepy not found 02:39:51 ==> Searching for coverage reports in: 02:39:51 + . 02:39:51 -> Found 1 reports 02:39:51 ==> Detecting git/mercurial file structure 02:39:51 ==> Reading reports 02:39:51 + ./coverage.out bytes=7631 02:39:51 ==> Appending adjustments 02:39:51 https://docs.codecov.io/docs/fixing-reports 02:39:52 + Found adjustments 02:39:52 ==> Gzipping contents 02:39:52 8.0K /tmp/codecov.5HnpPX.gz 02:39:52 ==> Uploading reports 02:39:52 url: https://codecov.io 02:39:52 query: branch=jakarta&commit=9dfa39e25740af4f73019c6d8198dfd4ed11294a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fjakarta%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:39:52 -> Pinging Codecov 02:39:52 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=9dfa39e25740af4f73019c6d8198dfd4ed11294a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fjakarta%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:39:52 -> Uploading to 02:39:52 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/6C56EA5C29638FB4528AC87E60AF5AE0/9dfa39e25740af4f73019c6d8198dfd4ed11294a/129c192c-2a79-49e1-907d-bd526a2ea217.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T023952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=728dbeb653573cbd08dc9f044b794b9cc5f0548dbf1545d79bf43a19e643c1ba 02:39:52 % Total % Received % Xferd Average Speed Time Time Time Current 02:39:52 Dload Upload Total Spent Left Speed 02:39:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7952 0 0 100 7952 0 30235 --:--:-- --:--:-- --:--:-- 30235 02:39:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/9dfa39e25740af4f73019c6d8198dfd4ed11294a [Pipeline] } 02:39:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:39:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:39:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:39:53 02:39:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:39:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:39:53 df9b9388f04a: Pulling fs layer 02:39:53 52dc419b0ee2: Pulling fs layer 02:39:53 25bc292e5bac: Pulling fs layer 02:39:53 114826534d7a: Pulling fs layer 02:39:53 4657fd5d0bcf: Pulling fs layer 02:39:53 6ad1cebc031e: Pulling fs layer 02:39:53 8a3aa393b2d8: Pulling fs layer 02:39:53 4657fd5d0bcf: Waiting 02:39:53 114826534d7a: Waiting 02:39:53 8a3aa393b2d8: Waiting 02:39:53 25bc292e5bac: Verifying Checksum 02:39:53 25bc292e5bac: Download complete 02:39:53 52dc419b0ee2: Download complete 02:39:53 4657fd5d0bcf: Download complete 02:39:53 df9b9388f04a: Download complete 02:39:53 df9b9388f04a: Pull complete 02:39:53 52dc419b0ee2: Pull complete 02:39:53 25bc292e5bac: Pull complete 02:39:53 6ad1cebc031e: Verifying Checksum 02:39:53 6ad1cebc031e: Download complete 02:39:54 8a3aa393b2d8: Verifying Checksum 02:39:54 8a3aa393b2d8: Download complete 02:39:55 114826534d7a: Verifying Checksum 02:39:55 114826534d7a: Download complete 02:39:58 114826534d7a: Pull complete 02:39:58 4657fd5d0bcf: Pull complete 02:39:58 6ad1cebc031e: Pull complete 02:40:01 8a3aa393b2d8: Pull complete 02:40:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:40:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:40:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:01 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:40:01 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:40:03 $ docker top 9fcaad3852ef45878daebe29aec9519f62d4a84f3cf863aa5856c2eb5ed8322c -eo pid,comm [Pipeline] { [Pipeline] echo 02:40:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:jakarta' [Pipeline] sh 02:40:03 + set -o pipefail 02:40:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:jakarta' 02:40:07 02:40:07 Monitoring /w/workspace/exfoundry_device-snmp-go_jakarta (github.com/edgexfoundry/device-snmp-go)... 02:40:07 02:40:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/edf93b88-8bdf-401d-a088-0a13440e2ae9/history/dd51b37c-1507-4cd6-8edc-b49b42c2ca9c 02:40:07 02:40:07 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 02:40:07 02:40:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:40:07 02:40:07 [Pipeline] } 02:40:07 $ docker stop --time=1 9fcaad3852ef45878daebe29aec9519f62d4a84f3cf863aa5856c2eb5ed8322c 02:40:08 $ docker rm -f 9fcaad3852ef45878daebe29aec9519f62d4a84f3cf863aa5856c2eb5ed8322c [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 02:40:09 + git log --format=format:%s -1 9dfa39e25740af4f73019c6d8198dfd4ed11294a [Pipeline] sh 02:40:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:10 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:40:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:40:10 $ docker top a6cb177f06df8fe6f370981226cf37a4b931d87db651f44352925eaa00b05fee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:10 [ssh-agent] Looking for ssh-agent implementation... 02:40:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:11 $ docker exec a6cb177f06df8fe6f370981226cf37a4b931d87db651f44352925eaa00b05fee ssh-agent 02:40:11 SSH_AUTH_SOCK=/tmp/ssh-4IzuP0Osny8m/agent.32 02:40:11 SSH_AGENT_PID=38 02:40:11 Running ssh-add (command line suppressed) 02:40:11 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_8232270400946380203.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_8232270400946380203.key) 02:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:11 + git semver tag 02:40:12 2022-06-07 02:40:11,918 [run_tag] DEBUG tag force:False 02:40:12 2022-06-07 02:40:11,918 [check_head_tag] DEBUG check head tag 02:40:12 2022-06-07 02:40:11,919 [execute] INFO git cat-file --batch-check 02:40:12 2022-06-07 02:40:11,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=) 02:40:12 2022-06-07 02:40:11,923 [execute] INFO git cat-file --batch 02:40:12 2022-06-07 02:40:11,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=) 02:40:12 2022-06-07 02:40:11,930 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 02:40:12 2022-06-07 02:40:11,931 [execute] INFO git tag -a v2.1.1-dev.2 -m v2.1.1-dev.2 02:40:12 2022-06-07 02:40:11,931 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.2', '-m', 'v2.1.1-dev.2'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=None) 02:40:12 2022-06-07 02:40:11,936 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 02:40:12 2.1.1-dev.2 [Pipeline] } 02:40:12 $ docker exec --env ******** --env ******** a6cb177f06df8fe6f370981226cf37a4b931d87db651f44352925eaa00b05fee ssh-agent -k 02:40:12 unset SSH_AUTH_SOCK; 02:40:12 unset SSH_AGENT_PID; 02:40:12 echo Agent pid 38 killed; 02:40:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:12 + git semver [Pipeline] } 02:40:12 $ docker stop --time=1 a6cb177f06df8fe6f370981226cf37a4b931d87db651f44352925eaa00b05fee 02:40:14 $ docker rm -f a6cb177f06df8fe6f370981226cf37a4b931d87db651f44352925eaa00b05fee [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:40:14 02:40:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:40:15 0.23.1-centos7: Pulling from edgex-lftools 02:40:15 ab5ef0e58194: Pulling fs layer 02:40:15 9712f1f96733: Pulling fs layer 02:40:15 63f879dbbcfc: Pulling fs layer 02:40:15 0d9ebad4ef96: Pulling fs layer 02:40:15 e9a5061849ea: Pulling fs layer 02:40:15 d747dcd14b5f: Pulling fs layer 02:40:15 2de7ff778b66: Pulling fs layer 02:40:15 d747dcd14b5f: Waiting 02:40:15 0d9ebad4ef96: Waiting 02:40:15 e9a5061849ea: Waiting 02:40:15 2de7ff778b66: Waiting 02:40:15 9712f1f96733: Verifying Checksum 02:40:15 9712f1f96733: Download complete 02:40:15 63f879dbbcfc: Verifying Checksum 02:40:15 63f879dbbcfc: Download complete 02:40:15 e9a5061849ea: Verifying Checksum 02:40:15 e9a5061849ea: Download complete 02:40:15 0d9ebad4ef96: Verifying Checksum 02:40:15 0d9ebad4ef96: Download complete 02:40:15 d747dcd14b5f: Download complete 02:40:16 ab5ef0e58194: Verifying Checksum 02:40:16 ab5ef0e58194: Download complete 02:40:16 2de7ff778b66: Verifying Checksum 02:40:16 2de7ff778b66: Download complete 02:40:18 ab5ef0e58194: Pull complete 02:40:18 9712f1f96733: Pull complete 02:40:19 63f879dbbcfc: Pull complete 02:40:22 0d9ebad4ef96: Pull complete 02:40:23 e9a5061849ea: Pull complete 02:40:23 d747dcd14b5f: Pull complete 02:40:24 2de7ff778b66: Pull complete 02:40:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:40:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:40:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:24 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:40:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:40:26 $ docker top dfd02d75d1d0279ec4c8a3bee3068b361585c0cb104ed09a5d3724bb1e34fd45 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:40:27 provisioning config files... 02:40:27 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config8636269585238862728tmp 02:40:27 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config3926555713526362836tmp 02:40:27 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config7292357464172971814tmp [Pipeline] { [Pipeline] echo 02:40:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:40:27 ---> sigul-configuration.sh 02:40:27 gpg: directory `/root/.gnupg' created 02:40:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:40:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:40:27 gpg: keyring `/root/.gnupg/secring.gpg' created 02:40:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:40:27 gpg: CAST5 encrypted data 02:40:27 gpg: encrypted with 1 passphrase 02:40:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:40:27 + mkdir /home/jenkins 02:40:27 + mkdir /home/jenkins/sigul [Pipeline] sh 02:40:27 + 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 02:40:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:40:28 ---> sigul-install.sh 02:40:28 Sigul already installed; skipping installation. [Pipeline] sh 02:40:28 + git tag --list 02:40:28 1.0.0 02:40:28 v0.0.0 02:40:28 v1.1.0 02:40:28 v1.1.1 02:40:28 v1.2.2 02:40:28 v1.3.0 02:40:28 v1.3.1 02:40:28 v2.0.0 02:40:28 v2.1.0 02:40:28 v2.1.1-dev.2 02:40:28 v2.2.0 02:40:28 v2.2.1-dev.1 02:40:28 v2.2.1-dev.2 [Pipeline] sh 02:40:28 + lftools sign git-tag v2.1.1-dev.2 02:40:29 Signing Git tag with Sigul... 02:40:29 Signing v2.1.1-dev.2 [Pipeline] echo 02:40:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:40:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:40:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:40:30 $ docker stop --time=1 dfd02d75d1d0279ec4c8a3bee3068b361585c0cb104ed09a5d3724bb1e34fd45 02:40:31 $ docker rm -f dfd02d75d1d0279ec4c8a3bee3068b361585c0cb104ed09a5d3724bb1e34fd45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:40:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:32 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:40:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:40:32 $ docker top c5e2f412d458328d8b4500062547a2504746780e517ca8a41ea85262a7495b1a -eo pid,comm 02:40:32 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). 02:40:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:32 [ssh-agent] Looking for ssh-agent implementation... 02:40:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:32 $ docker exec c5e2f412d458328d8b4500062547a2504746780e517ca8a41ea85262a7495b1a ssh-agent 02:40:33 SSH_AUTH_SOCK=/tmp/ssh-2Df8g7vPEXUQ/agent.32 02:40:33 SSH_AGENT_PID=38 02:40:33 Running ssh-add (command line suppressed) 02:40:33 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_496028106238146804.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_496028106238146804.key) 02:40:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:33 + git semver bump pre 02:40:33 2022-06-07 02:40:33,663 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 02:40:33 2022-06-07 02:40:33,664 [bump_version] DEBUG bumping version:2.1.1-dev.2 on axis:pre with prefix:dev 02:40:33 2022-06-07 02:40:33,664 [bump_version] DEBUG bumped version:2.1.1-dev.3 02:40:33 2022-06-07 02:40:33,664 [write_version] DEBUG write version:2.1.1-dev.3 to path:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta with force:True 02:40:33 2022-06-07 02:40:33,664 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 02:40:33 2022-06-07 02:40:33,664 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 02:40:33 2022-06-07 02:40:33,666 [execute] INFO git cat-file --batch-check 02:40:33 2022-06-07 02:40:33,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 02:40:33 2022-06-07 02:40:33,671 [execute] INFO git cat-file --batch 02:40:33 2022-06-07 02:40:33,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 02:40:33 2022-06-07 02:40:33,676 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 02:40:33 2.1.1-dev.3 [Pipeline] } 02:40:33 $ docker exec --env ******** --env ******** c5e2f412d458328d8b4500062547a2504746780e517ca8a41ea85262a7495b1a ssh-agent -k 02:40:33 unset SSH_AUTH_SOCK; 02:40:33 unset SSH_AGENT_PID; 02:40:33 echo Agent pid 38 killed; 02:40:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:34 + git semver [Pipeline] } 02:40:34 $ docker stop --time=1 c5e2f412d458328d8b4500062547a2504746780e517ca8a41ea85262a7495b1a 02:40:35 $ docker rm -f c5e2f412d458328d8b4500062547a2504746780e517ca8a41ea85262a7495b1a [Pipeline] // withDockerContainer [Pipeline] sh 02:40:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:36 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:40:36 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:40:37 $ docker top 962f06c65e078dc66efe7137636e1736eeba35ecc99246546fa6ae6d28dfbefb -eo pid,comm 02:40:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:40:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:37 [ssh-agent] Looking for ssh-agent implementation... 02:40:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:37 $ docker exec 962f06c65e078dc66efe7137636e1736eeba35ecc99246546fa6ae6d28dfbefb ssh-agent 02:40:37 SSH_AUTH_SOCK=/tmp/ssh-3dXNShKM3Jxt/agent.34 02:40:37 SSH_AGENT_PID=40 02:40:37 Running ssh-add (command line suppressed) 02:40:37 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_3760737209672545320.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_3760737209672545320.key) 02:40:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:37 + git semver push 02:40:38 2022-06-07 02:40:38,178 [run_push] DEBUG push 02:40:38 2022-06-07 02:40:38,179 [execute] INFO git cat-file --batch-check 02:40:38 2022-06-07 02:40:38,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 02:40:38 2022-06-07 02:40:38,182 [execute] INFO git rev-list 6f32a6deb88e31e197199ad8279508ebfa123198 -- 02:40:38 2022-06-07 02:40:38,183 [execute] DEBUG Popen(['git', 'rev-list', '6f32a6deb88e31e197199ad8279508ebfa123198', '--'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 02:40:38 2022-06-07 02:40:38,189 [execute] INFO git fetch -v origin 02:40:38 2022-06-07 02:40:38,190 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) 02:40:38 2022-06-07 02:40:38,654 [run_push] DEBUG no remote changes detected 02:40:38 2022-06-07 02:40:38,654 [execute] INFO git push origin semver 02:40:38 2022-06-07 02:40:38,655 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 02:40:39 2022-06-07 02:40:39,349 [run_push] DEBUG push all version tags 02:40:39 2022-06-07 02:40:39,349 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:40:39 2022-06-07 02:40:39,350 [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) 02:40:40 2022-06-07 02:40:39,979 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 02:40:40 2.1.1-dev.3 [Pipeline] } 02:40:40 $ docker exec --env ******** --env ******** 962f06c65e078dc66efe7137636e1736eeba35ecc99246546fa6ae6d28dfbefb ssh-agent -k 02:40:40 unset SSH_AUTH_SOCK; 02:40:40 unset SSH_AGENT_PID; 02:40:40 echo Agent pid 40 killed; 02:40:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:40 + git semver [Pipeline] } 02:40:41 $ docker stop --time=1 962f06c65e078dc66efe7137636e1736eeba35ecc99246546fa6ae6d28dfbefb 02:40:42 $ docker rm -f 962f06c65e078dc66efe7137636e1736eeba35ecc99246546fa6ae6d28dfbefb [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 02:40:43 + [ -d /w/workspace/exfoundry_device-snmp-go_jakarta/archives ] 02:40:43 + ls -al /w/workspace/exfoundry_device-snmp-go_jakarta/archives 02:40:43 total 16 02:40:43 drwxr-xr-x 3 root root 4096 Jun 7 02:32 . 02:40:43 drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 02:40 .. 02:40:43 drwxr-xr-x 2 root root 4096 Jun 7 02:32 cost 02:40:43 -rw-r--r-- 1 root root 86 Jun 7 02:32 cost.csv 02:40:43 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-snmp-go_jakarta/archives 02:40:43 + ls -al /w/workspace/exfoundry_device-snmp-go_jakarta/archives 02:40:43 total 16 02:40:43 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 02:32 . 02:40:43 drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 02:40 .. 02:40:43 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 02:32 cost 02:40:43 -rw-r--r-- 1 jenkins jenkins 86 Jun 7 02:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:40:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:40:44 ---> package-listing.sh 02:40:44 ++ facter osfamily 02:40:44 ++ tr '[:upper:]' '[:lower:]' 02:40:44 + OS_FAMILY=debian 02:40:44 + workspace=/w/workspace/exfoundry_device-snmp-go_jakarta 02:40:44 + START_PACKAGES=/tmp/packages_start.txt 02:40:44 + END_PACKAGES=/tmp/packages_end.txt 02:40:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:40:44 + PACKAGES=/tmp/packages_start.txt 02:40:44 + '[' /w/workspace/exfoundry_device-snmp-go_jakarta ']' 02:40:44 + PACKAGES=/tmp/packages_end.txt 02:40:44 + case "${OS_FAMILY}" in 02:40:44 + dpkg -l 02:40:44 + grep '^ii' 02:40:44 + '[' -f /tmp/packages_start.txt ']' 02:40:44 + '[' -f /tmp/packages_end.txt ']' 02:40:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:40:44 + '[' /w/workspace/exfoundry_device-snmp-go_jakarta ']' 02:40:44 + mkdir -p /w/workspace/exfoundry_device-snmp-go_jakarta/archives/ 02:40:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-snmp-go_jakarta/archives/ [Pipeline] echo 02:40:44 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 02:40:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:40:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:45 prd-ubuntu20.04-docker-8c-8g-1590 does not seem to be running inside a container 02:40:45 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:40:45 $ docker top 09ee44c03feafdb75213c246b35fef0cc569695753885e761a1c280256988726 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:46 + touch /tmp/pre-build-complete [Pipeline] sh 02:40:46 + mkdir -p /var/log/sysstat [Pipeline] sh 02:40:46 + ls /var/log/sa-host 02:40:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:47 provisioning config files... 02:40:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config2333797609163642567tmp [Pipeline] { [Pipeline] echo 02:40:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:40:47 ---> create-netrc.sh [Pipeline] } 02:40:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:40:47 ---> python-tools-install.sh [Pipeline] echo 02:40:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:40:48 ---> sudo-logs.sh 02:40:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:40:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:40:48 ---> job-cost.sh 02:40:48 lf-activate-venv: SKIPPING 02:40:48 DEBUG: total: 0.2199999988079071 02:40:48 INFO: Retrieving Stack Cost... 02:40:48 INFO: Retrieving Pricing Info for: v3-standard-8 02:40:49 INFO: Archiving Costs [Pipeline] echo 02:40:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:40:49 ---> logs-deploy.sh 02:40:49 lf-activate-venv: SKIPPING 02:40:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/jakarta/5 02:40:49 INFO: archiving workspace using pattern(s): 02:40:50 Archives upload complete. 02:40:50 INFO: archiving logs to Nexus