Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ef51753be6f5a47d4d6f224ef8f149167d14d206 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-ssh9712127842677869156.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15512688446355908767.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16673028114203072596.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5664965977027478455.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1840434663122960074.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.18 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-118688 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ef51753be6f5a47d4d6f224ef8f149167d14d206 (main) Commit message: "build: Update to use released SDK (#204)" > 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 ef51753be6f5a47d4d6f224ef8f149167d14d206 # timeout=10 > git rev-list --no-walk 0845b1209c9eb9dd940496004e850c7da2ef6955 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T23:32:17.079Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T23:32:17.117Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T23:32:17.130Z] ========================================================= [2022-11-08T23:32:17.130Z] EdgeX Global Pipelines Version Info [2022-11-08T23:32:17.130Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:32:17.840Z] ------------------- [2022-11-08T23:32:17.840Z] stable info: [2022-11-08T23:32:17.840Z] ------------------- [2022-11-08T23:32:17.840Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T23:32:17.840Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T23:32:17.840Z] Message: update stable to v1.0.244 [2022-11-08T23:32:18.410Z] ------------------- [2022-11-08T23:32:18.410Z] experimental info: [2022-11-08T23:32:18.410Z] ------------------- [2022-11-08T23:32:18.410Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T23:32:18.410Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T23:32:18.410Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T23:32:18.569Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-11-08T23:32:18.583Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-11-08T23:32:18.593Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T23:32:18.603Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T23:32:18.615Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T23:32:18.627Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T23:32:18.640Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T23:32:18.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T23:32:18.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T23:32:18.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T23:32:18.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T23:32:18.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-11-08T23:32:18.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T23:32:18.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T23:32:18.729Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T23:32:18.739Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T23:32:18.750Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T23:32:18.764Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T23:32:18.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T23:32:18.784Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T23:32:18.800Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T23:32:18.817Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T23:32:18.834Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T23:32:18.847Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T23:32:18.859Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T23:32:18.874Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T23:32:18.884Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T23:32:18.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-08T23:32:18.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-08T23:32:18.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-08T23:32:18.929Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef51753be6f5a47d4d6f224ef8f149167d14d206 [Pipeline] echo [2022-11-08T23:32:18.941Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef51753 [Pipeline] echo [2022-11-08T23:32:18.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:32:18.992Z] provisioning config files... [2022-11-08T23:32:19.005Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2871248731913995869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:32:19.305Z] ---> docker-login.sh [2022-11-08T23:32:19.305Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:32:19.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:19.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:19.565Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:19.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:19.565Z] [2022-11-08T23:32:19.565Z] Login Succeeded [2022-11-08T23:32:19.565Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:32:19.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:19.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:19.565Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:19.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:19.565Z] [2022-11-08T23:32:19.565Z] Login Succeeded [2022-11-08T23:32:19.565Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:32:19.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:19.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:19.825Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:19.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:19.825Z] [2022-11-08T23:32:19.825Z] Login Succeeded [2022-11-08T23:32:19.825Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:32:19.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:19.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:19.825Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:19.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:19.825Z] [2022-11-08T23:32:19.825Z] Login Succeeded [2022-11-08T23:32:19.825Z] docker.io [2022-11-08T23:32:20.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:20.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:20.346Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:20.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:20.346Z] [2022-11-08T23:32:20.346Z] Login Succeeded [2022-11-08T23:32:20.346Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:32:20.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T23:32:20.718Z] + git rev-list -1 --merges ef51753be6f5a47d4d6f224ef8f149167d14d206~1..ef51753be6f5a47d4d6f224ef8f149167d14d206 [Pipeline] echo [2022-11-08T23:32:20.753Z] -----------> git rev-list -1 --merges ef51753be6f5a47d4d6f224ef8f149167d14d206~1..ef51753be6f5a47d4d6f224ef8f149167d14d206 ef51753be6f5a47d4d6f224ef8f149167d14d206 [false] [Pipeline] sh [2022-11-08T23:32:21.043Z] + git log --format=format:%s -1 ef51753be6f5a47d4d6f224ef8f149167d14d206 [Pipeline] echo [2022-11-08T23:32:21.059Z] ========================================================= [2022-11-08T23:32:21.059Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T23:32:21.059Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:32:21.394Z] + git log --format=format:%s -1 ef51753be6f5a47d4d6f224ef8f149167d14d206 [Pipeline] echo [2022-11-08T23:32:21.403Z] [semverPrep] GIT_COMMIT: ef51753be6f5a47d4d6f224ef8f149167d14d206, Commit Message: build: Update to use released SDK (#204) [Pipeline] echo [2022-11-08T23:32:21.411Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T23:32:21.744Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:32:21.744Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T23:32:21.744Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T23:32:21.744Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T23:32:21.744Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T23:32:21.744Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T23:32:21.744Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:32:22.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:32:22.084Z] [2022-11-08T23:32:22.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:32:22.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:32:22.381Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T23:32:22.381Z] b85a868b505f: Pulling fs layer [2022-11-08T23:32:22.381Z] e2be974225ed: Pulling fs layer [2022-11-08T23:32:22.381Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T23:32:22.381Z] 988bab9f4d93: Pulling fs layer [2022-11-08T23:32:22.381Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T23:32:22.381Z] eaf3925da568: Pulling fs layer [2022-11-08T23:32:22.381Z] bab4dde63d76: Pulling fs layer [2022-11-08T23:32:22.381Z] bde34c3a00c8: Pulling fs layer [2022-11-08T23:32:22.381Z] b352a97aabf1: Pulling fs layer [2022-11-08T23:32:22.381Z] 4872d77fe225: Pulling fs layer [2022-11-08T23:32:22.381Z] 988bab9f4d93: Waiting [2022-11-08T23:32:22.381Z] 1469e6f7b9e6: Waiting [2022-11-08T23:32:22.381Z] eaf3925da568: Waiting [2022-11-08T23:32:22.381Z] bab4dde63d76: Waiting [2022-11-08T23:32:22.381Z] bde34c3a00c8: Waiting [2022-11-08T23:32:22.381Z] b352a97aabf1: Waiting [2022-11-08T23:32:22.381Z] 5851b861e8e6: Pulling fs layer [2022-11-08T23:32:22.381Z] 4872d77fe225: Waiting [2022-11-08T23:32:22.381Z] 5851b861e8e6: Waiting [2022-11-08T23:32:22.381Z] e2be974225ed: Download complete [2022-11-08T23:32:22.381Z] 988bab9f4d93: Verifying Checksum [2022-11-08T23:32:22.381Z] 988bab9f4d93: Download complete [2022-11-08T23:32:22.641Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T23:32:22.641Z] 1469e6f7b9e6: Download complete [2022-11-08T23:32:22.641Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T23:32:22.641Z] 339a4e72a1f5: Download complete [2022-11-08T23:32:22.641Z] eaf3925da568: Verifying Checksum [2022-11-08T23:32:22.641Z] eaf3925da568: Download complete [2022-11-08T23:32:22.641Z] bde34c3a00c8: Verifying Checksum [2022-11-08T23:32:22.641Z] bde34c3a00c8: Download complete [2022-11-08T23:32:22.641Z] b352a97aabf1: Verifying Checksum [2022-11-08T23:32:22.641Z] b352a97aabf1: Download complete [2022-11-08T23:32:22.641Z] 4872d77fe225: Download complete [2022-11-08T23:32:22.641Z] 5851b861e8e6: Download complete [2022-11-08T23:32:22.641Z] b85a868b505f: Verifying Checksum [2022-11-08T23:32:22.641Z] b85a868b505f: Download complete [2022-11-08T23:32:22.899Z] bab4dde63d76: Verifying Checksum [2022-11-08T23:32:22.899Z] bab4dde63d76: Download complete [2022-11-08T23:32:23.838Z] b85a868b505f: Pull complete [2022-11-08T23:32:24.096Z] e2be974225ed: Pull complete [2022-11-08T23:32:24.663Z] 339a4e72a1f5: Pull complete [2022-11-08T23:32:24.663Z] 988bab9f4d93: Pull complete [2022-11-08T23:32:24.923Z] 1469e6f7b9e6: Pull complete [2022-11-08T23:32:24.923Z] eaf3925da568: Pull complete [2022-11-08T23:32:26.850Z] bab4dde63d76: Pull complete [2022-11-08T23:32:26.850Z] bde34c3a00c8: Pull complete [2022-11-08T23:32:27.109Z] b352a97aabf1: Pull complete [2022-11-08T23:32:27.109Z] 4872d77fe225: Pull complete [2022-11-08T23:32:27.368Z] 5851b861e8e6: Pull complete [2022-11-08T23:32:27.368Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T23:32:27.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:32:27.368Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:32:27.453Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:32:27.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T23:32:28.957Z] $ docker top d1f6cd298f5954ea642e55ecb795f23403af1778043aa236397d05a5c688018a -eo pid,comm [2022-11-08T23:32:29.020Z] 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). [2022-11-08T23:32:29.020Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:32:29.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:32:29.050Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:32:29.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:32:29.163Z] $ docker exec d1f6cd298f5954ea642e55ecb795f23403af1778043aa236397d05a5c688018a ssh-agent [2022-11-08T23:32:29.293Z] SSH_AUTH_SOCK=/tmp/ssh-gJntIteDNkid/agent.32 [2022-11-08T23:32:29.293Z] SSH_AGENT_PID=38 [2022-11-08T23:32:29.300Z] Running ssh-add (command line suppressed) [2022-11-08T23:32:29.410Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2112733282136568022.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2112733282136568022.key) [2022-11-08T23:32:29.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:32:29.711Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T23:32:29.721Z] $ docker exec --env ******** --env ******** d1f6cd298f5954ea642e55ecb795f23403af1778043aa236397d05a5c688018a ssh-agent -k [2022-11-08T23:32:29.829Z] unset SSH_AUTH_SOCK; [2022-11-08T23:32:29.830Z] unset SSH_AGENT_PID; [2022-11-08T23:32:29.830Z] echo Agent pid 38 killed; [2022-11-08T23:32:29.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T23:32:29.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:32:29.870Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:32:30.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:32:30.000Z] $ docker exec d1f6cd298f5954ea642e55ecb795f23403af1778043aa236397d05a5c688018a ssh-agent [2022-11-08T23:32:30.126Z] SSH_AUTH_SOCK=/tmp/ssh-Sv9LYYXxYuL3/agent.70 [2022-11-08T23:32:30.126Z] SSH_AGENT_PID=76 [2022-11-08T23:32:30.130Z] Running ssh-add (command line suppressed) [2022-11-08T23:32:30.255Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2702829289435053551.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2702829289435053551.key) [2022-11-08T23:32:30.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:32:30.562Z] + git semver init [2022-11-08T23:32:30.822Z] 2022-11-08 23:32:30,749 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T23:32:30.822Z] 2022-11-08 23:32:30,750 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-11-08T23:32:30.822Z] 2022-11-08 23:32:30,750 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-11-08T23:32:30.822Z] 2022-11-08 23:32:30,751 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:32:31.761Z] 2022-11-08 23:32:31,673 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-11-08T23:32:31.761Z] 2022-11-08 23:32:31,674 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2022-11-08T23:32:31.761Z] 2022-11-08 23:32:31,674 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-08T23:32:31.761Z] 2022-11-08 23:32:31,674 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-08T23:32:31.761Z] 2.3.0-dev.24 [Pipeline] } [2022-11-08T23:32:31.771Z] $ docker exec --env ******** --env ******** d1f6cd298f5954ea642e55ecb795f23403af1778043aa236397d05a5c688018a ssh-agent -k [2022-11-08T23:32:31.863Z] unset SSH_AUTH_SOCK; [2022-11-08T23:32:31.864Z] unset SSH_AGENT_PID; [2022-11-08T23:32:31.864Z] echo Agent pid 76 killed; [2022-11-08T23:32:31.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:32:32.182Z] + git semver [Pipeline] } [2022-11-08T23:32:32.453Z] $ docker stop --time=1 d1f6cd298f5954ea642e55ecb795f23403af1778043aa236397d05a5c688018a [2022-11-08T23:32:33.818Z] $ docker rm -f d1f6cd298f5954ea642e55ecb795f23403af1778043aa236397d05a5c688018a [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:32:34.167Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T23:32:34.347Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T23:32:34.350Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.24 [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 [2022-11-08T23:32:34.443Z] provisioning config files... [2022-11-08T23:32:34.453Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1528578642231539483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:32:34.882Z] ---> docker-login.sh [2022-11-08T23:32:34.882Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:32:34.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:34.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:34.882Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:34.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:34.882Z] [2022-11-08T23:32:34.882Z] Login Succeeded [2022-11-08T23:32:34.882Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:32:34.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:34.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:34.883Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:34.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:34.883Z] [2022-11-08T23:32:34.883Z] Login Succeeded [2022-11-08T23:32:34.883Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:32:35.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:35.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:35.141Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:35.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:35.141Z] [2022-11-08T23:32:35.141Z] Login Succeeded [2022-11-08T23:32:35.141Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:32:35.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:35.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:35.141Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:35.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:35.141Z] [2022-11-08T23:32:35.141Z] Login Succeeded [2022-11-08T23:32:35.141Z] docker.io [2022-11-08T23:32:35.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:32:35.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:32:35.660Z] Configure a credential helper to remove this warning. See [2022-11-08T23:32:35.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:32:35.660Z] [2022-11-08T23:32:35.660Z] Login Succeeded [2022-11-08T23:32:35.660Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:32:35.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T23:32:35.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:32:35.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:32:35.740Z] ========================================================= [2022-11-08T23:32:35.740Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T23:32:35.740Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:32:36.050Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T23:32:36.050Z] Sending build context to Docker daemon 5.57MB [2022-11-08T23:32:36.050Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:32:36.050Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T23:32:36.050Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T23:32:36.050Z] 213ec9aee27d: Pulling fs layer [2022-11-08T23:32:36.050Z] 4583459ba037: Pulling fs layer [2022-11-08T23:32:36.050Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T23:32:36.050Z] 53926ce57604: Pulling fs layer [2022-11-08T23:32:36.050Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T23:32:36.050Z] 22ff95d597cd: Pulling fs layer [2022-11-08T23:32:36.050Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T23:32:36.050Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T23:32:36.050Z] a7acece74701: Pulling fs layer [2022-11-08T23:32:36.050Z] 12d6caf4c0d1: Waiting [2022-11-08T23:32:36.050Z] 96b7cbca73a9: Waiting [2022-11-08T23:32:36.050Z] 53926ce57604: Waiting [2022-11-08T23:32:36.050Z] a7acece74701: Waiting [2022-11-08T23:32:36.050Z] 21b2b0c7a3f4: Waiting [2022-11-08T23:32:36.050Z] 22ff95d597cd: Waiting [2022-11-08T23:32:36.050Z] 93c1e223e6f2: Download complete [2022-11-08T23:32:36.050Z] 4583459ba037: Verifying Checksum [2022-11-08T23:32:36.050Z] 4583459ba037: Download complete [2022-11-08T23:32:36.050Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T23:32:36.050Z] 21b2b0c7a3f4: Download complete [2022-11-08T23:32:36.311Z] 22ff95d597cd: Verifying Checksum [2022-11-08T23:32:36.311Z] 22ff95d597cd: Download complete [2022-11-08T23:32:36.311Z] 213ec9aee27d: Verifying Checksum [2022-11-08T23:32:36.311Z] 213ec9aee27d: Download complete [2022-11-08T23:32:36.311Z] 12d6caf4c0d1: Verifying Checksum [2022-11-08T23:32:36.311Z] 12d6caf4c0d1: Download complete [2022-11-08T23:32:36.311Z] 213ec9aee27d: Pull complete [2022-11-08T23:32:36.573Z] 4583459ba037: Pull complete [2022-11-08T23:32:36.573Z] 93c1e223e6f2: Pull complete [2022-11-08T23:32:36.573Z] a7acece74701: Verifying Checksum [2022-11-08T23:32:36.573Z] a7acece74701: Download complete [2022-11-08T23:32:37.140Z] 53926ce57604: Verifying Checksum [2022-11-08T23:32:37.140Z] 53926ce57604: Download complete [2022-11-08T23:32:37.140Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T23:32:37.140Z] 96b7cbca73a9: Download complete [2022-11-08T23:32:41.321Z] 53926ce57604: Pull complete [2022-11-08T23:32:41.321Z] 21b2b0c7a3f4: Pull complete [2022-11-08T23:32:41.321Z] 22ff95d597cd: Pull complete [2022-11-08T23:32:41.321Z] 12d6caf4c0d1: Pull complete [2022-11-08T23:32:43.858Z] 96b7cbca73a9: Pull complete [2022-11-08T23:32:44.425Z] a7acece74701: Pull complete [2022-11-08T23:32:44.425Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T23:32:44.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T23:32:44.425Z] ---> db6d94c90886 [2022-11-08T23:32:44.425Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:32:46.330Z] ---> Running in 68d96bffcc8d [2022-11-08T23:32:46.331Z] Removing intermediate container 68d96bffcc8d [2022-11-08T23:32:46.331Z] ---> e81761a4a433 [2022-11-08T23:32:46.331Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:32:46.331Z] ---> Running in a0bb3b5659f6 [2022-11-08T23:32:46.331Z] Removing intermediate container a0bb3b5659f6 [2022-11-08T23:32:46.331Z] ---> 829ed332671b [2022-11-08T23:32:46.331Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:32:46.593Z] ---> Running in 6f5149bc42a9 [2022-11-08T23:32:46.593Z] Removing intermediate container 6f5149bc42a9 [2022-11-08T23:32:46.593Z] ---> 8fc125f4aca5 [2022-11-08T23:32:46.593Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:32:46.593Z] ---> Running in f045ec8c58da [2022-11-08T23:32:46.852Z] Removing intermediate container f045ec8c58da [2022-11-08T23:32:46.852Z] ---> e18bcac639a0 [2022-11-08T23:32:46.852Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:32:46.852Z] ---> Running in 4a19adc61f74 [2022-11-08T23:32:47.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:32:47.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:32:47.378Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:32:47.378Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:32:47.378Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:32:47.378Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:32:47.378Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:32:47.637Z] OK: 216 MiB in 55 packages [2022-11-08T23:32:47.899Z] Removing intermediate container 4a19adc61f74 [2022-11-08T23:32:47.899Z] ---> 55b091068144 [2022-11-08T23:32:47.899Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-08T23:32:47.899Z] ---> Running in 1bbc6bc1059e [2022-11-08T23:32:48.158Z] Removing intermediate container 1bbc6bc1059e [2022-11-08T23:32:48.158Z] ---> 7bc131a106d8 [2022-11-08T23:32:48.159Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:32:48.159Z] ---> 479f0eada24b [2022-11-08T23:32:48.159Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:32:48.417Z] ---> Running in 350d5e69e48a [2022-11-08T23:32:49.417Z] Still waiting to schedule task [2022-11-08T23:32:49.417Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-08T23:33:10.355Z] Removing intermediate container 350d5e69e48a [2022-11-08T23:33:10.355Z] ---> 8c691a1184c1 [2022-11-08T23:33:10.355Z] Step 11/12 : COPY . . [2022-11-08T23:33:10.355Z] ---> e42ebc113149 [2022-11-08T23:33:10.355Z] Step 12/12 : RUN ${MAKE} [2022-11-08T23:33:10.355Z] ---> Running in 21d13e560c11 [2022-11-08T23:33:10.355Z] noop [2022-11-08T23:33:10.355Z] Removing intermediate container 21d13e560c11 [2022-11-08T23:33:10.355Z] ---> cb3f43ab9424 [2022-11-08T23:33:10.355Z] Successfully built cb3f43ab9424 [2022-11-08T23:33:10.355Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:33:10.663Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T23:33:10.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:33:10.730Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:33:10.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T23:33:11.163Z] $ docker top 657527d4aef30d783310c08a4cb843a604fa308117bb78c3627c8762eb2a29b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:33:11.505Z] + go version [2022-11-08T23:33:11.505Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T23:33:11.519Z] $ docker stop --time=1 657527d4aef30d783310c08a4cb843a604fa308117bb78c3627c8762eb2a29b1 [2022-11-08T23:33:12.827Z] $ docker rm -f 657527d4aef30d783310c08a4cb843a604fa308117bb78c3627c8762eb2a29b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:33:13.205Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T23:33:13.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:33:13.268Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:33:13.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T23:33:13.712Z] $ docker top 966499992a082a0ea9f9edcd835c2643c4b3b3078f39dfaacf534b3490b07396 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:33:14.058Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:33:14.354Z] + make test [2022-11-08T23:33:14.354Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T23:33:14.919Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-08T23:33:24.885Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-08T23:33:24.885Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.023s coverage: 0.0% of statements [2022-11-08T23:33:31.453Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-08T23:33:31.453Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:33:34.737Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:33:34.737Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:33:34.737Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:33:34.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:33:34.763Z] $ docker stop --time=1 966499992a082a0ea9f9edcd835c2643c4b3b3078f39dfaacf534b3490b07396 [2022-11-08T23:33:36.671Z] $ docker rm -f 966499992a082a0ea9f9edcd835c2643c4b3b3078f39dfaacf534b3490b07396 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:33:37.099Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:33:37.142Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T23:33:37.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:33:37.864Z] + ls -al . [2022-11-08T23:33:37.864Z] total 180 [2022-11-08T23:33:37.864Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 23:33 . [2022-11-08T23:33:37.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:32 .. [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 8 23:32 .dockerignore [2022-11-08T23:33:37.864Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:33 .git [2022-11-08T23:33:37.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:32 .github [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 8 23:32 .gitignore [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:32 .golangci.yml [2022-11-08T23:33:37.864Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:32 .semver [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 8 23:32 Attribution.txt [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 8 23:32 CHANGELOG.md [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 8 23:32 Dockerfile [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:32 GOVERNANCE.md [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 8 23:32 Jenkinsfile [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:32 LICENSE [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 8 23:32 Makefile [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:32 OWNERS.md [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 8 23:32 README.md [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 23:32 VERSION [2022-11-08T23:33:37.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:32 bin [2022-11-08T23:33:37.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:32 cmd [2022-11-08T23:33:37.864Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 8 23:33 coverage.out [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 3413 Nov 8 23:32 go.mod [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 44971 Nov 8 23:32 go.sum [2022-11-08T23:33:37.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:32 internal [2022-11-08T23:33:37.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:32 snap [2022-11-08T23:33:37.864Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 8 23:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:33:38.160Z] + 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=ef51753be6f5a47d4d6f224ef8f149167d14d206 --label arch=amd64 --label version=2.3.0-dev.24 . [2022-11-08T23:33:38.160Z] Sending build context to Docker daemon 5.578MB [2022-11-08T23:33:38.160Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:33:38.160Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-08T23:33:38.160Z] ---> cb3f43ab9424 [2022-11-08T23:33:38.160Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:33:38.160Z] ---> Running in f0de3f6af0f5 [2022-11-08T23:33:38.417Z] Removing intermediate container f0de3f6af0f5 [2022-11-08T23:33:38.417Z] ---> 9bc57f5b5557 [2022-11-08T23:33:38.417Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:33:38.417Z] ---> Running in 1b530c30eec5 [2022-11-08T23:33:38.417Z] Removing intermediate container 1b530c30eec5 [2022-11-08T23:33:38.417Z] ---> 8c41ab834c15 [2022-11-08T23:33:38.417Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:33:38.417Z] ---> Running in 0857149ec26f [2022-11-08T23:33:38.675Z] Removing intermediate container 0857149ec26f [2022-11-08T23:33:38.675Z] ---> f4efe23ca1fe [2022-11-08T23:33:38.675Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:33:38.675Z] ---> Running in 25a900f826c1 [2022-11-08T23:33:38.675Z] Removing intermediate container 25a900f826c1 [2022-11-08T23:33:38.675Z] ---> 28f15dbda11f [2022-11-08T23:33:38.675Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:33:38.675Z] ---> Running in a5634a140752 [2022-11-08T23:33:38.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:33:39.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:33:39.449Z] OK: 216 MiB in 55 packages [2022-11-08T23:33:39.708Z] Removing intermediate container a5634a140752 [2022-11-08T23:33:39.708Z] ---> c65adb565e64 [2022-11-08T23:33:39.708Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-08T23:33:39.708Z] ---> Running in c6bef778e5ef [2022-11-08T23:33:39.967Z] Removing intermediate container c6bef778e5ef [2022-11-08T23:33:39.967Z] ---> 14d6eb06ed24 [2022-11-08T23:33:39.967Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-08T23:33:39.967Z] ---> 6e701d173890 [2022-11-08T23:33:39.967Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:33:40.225Z] ---> Running in 45a3ca3892f4 [2022-11-08T23:33:40.791Z] Removing intermediate container 45a3ca3892f4 [2022-11-08T23:33:40.791Z] ---> 7319740d86ba [2022-11-08T23:33:40.791Z] Step 11/24 : COPY . . [2022-11-08T23:33:41.049Z] ---> b4fa860905d6 [2022-11-08T23:33:41.049Z] Step 12/24 : RUN ${MAKE} [2022-11-08T23:33:41.049Z] ---> Running in 6a6628d1ef4e [2022-11-08T23:33:41.618Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-08T23:34:03.651Z] Removing intermediate container 6a6628d1ef4e [2022-11-08T23:34:03.651Z] ---> 99f9df6674bb [2022-11-08T23:34:03.651Z] Step 13/24 : FROM alpine:3.16 [2022-11-08T23:34:03.651Z] 3.16: Pulling from library/alpine [2022-11-08T23:34:03.651Z] 213ec9aee27d: Already exists [2022-11-08T23:34:03.651Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:34:03.651Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:34:03.651Z] ---> 9c6f07244728 [2022-11-08T23:34:03.651Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T23:34:03.651Z] ---> Running in 329eb7adc090 [2022-11-08T23:34:03.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T23:34:03.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T23:34:03.651Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T23:34:03.651Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:34:03.651Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T23:34:03.651Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:34:03.651Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T23:34:03.651Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T23:34:03.651Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:34:03.651Z] OK: 8 MiB in 20 packages [2022-11-08T23:34:03.651Z] Removing intermediate container 329eb7adc090 [2022-11-08T23:34:03.651Z] ---> b4bf1b01343a [2022-11-08T23:34:03.651Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-08T23:34:03.986Z] ---> 66f5119fc062 [2022-11-08T23:34:03.986Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-08T23:34:04.259Z] ---> 7a7271f2d0b6 [2022-11-08T23:34:04.259Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-08T23:34:04.539Z] ---> ea7abbcd655b [2022-11-08T23:34:04.539Z] Step 18/24 : EXPOSE 59993 [2022-11-08T23:34:04.539Z] ---> Running in bdc567b8e975 [2022-11-08T23:34:04.539Z] Removing intermediate container bdc567b8e975 [2022-11-08T23:34:04.539Z] ---> 00b21cf6ee2f [2022-11-08T23:34:04.539Z] Step 19/24 : EXPOSE 161 [2022-11-08T23:34:04.539Z] ---> Running in 9d1bc7b86879 [2022-11-08T23:34:04.539Z] Removing intermediate container 9d1bc7b86879 [2022-11-08T23:34:04.539Z] ---> 616cdce96956 [2022-11-08T23:34:04.539Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-08T23:34:04.801Z] ---> Running in a3ccbb77b741 [2022-11-08T23:34:04.801Z] Removing intermediate container a3ccbb77b741 [2022-11-08T23:34:04.801Z] ---> d33eecf46123 [2022-11-08T23:34:04.801Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-08T23:34:04.801Z] ---> Running in f4899ec443fe [2022-11-08T23:34:04.801Z] Removing intermediate container f4899ec443fe [2022-11-08T23:34:04.801Z] ---> 92d11ec1c3cb [2022-11-08T23:34:04.801Z] Step 22/24 : LABEL arch=amd64 [2022-11-08T23:34:05.060Z] ---> Running in 1f3be44c2e76 [2022-11-08T23:34:05.060Z] Removing intermediate container 1f3be44c2e76 [2022-11-08T23:34:05.060Z] ---> ab31371ff029 [2022-11-08T23:34:05.060Z] Step 23/24 : LABEL git_sha=ef51753be6f5a47d4d6f224ef8f149167d14d206 [2022-11-08T23:34:05.060Z] ---> Running in 3ddcd898a54e [2022-11-08T23:34:05.060Z] Removing intermediate container 3ddcd898a54e [2022-11-08T23:34:05.060Z] ---> d049972622e4 [2022-11-08T23:34:05.060Z] Step 24/24 : LABEL version=2.3.0-dev.24 [2022-11-08T23:34:05.319Z] ---> Running in 461506b9e41d [2022-11-08T23:34:05.319Z] Removing intermediate container 461506b9e41d [2022-11-08T23:34:05.319Z] ---> eee4820d75a6 [2022-11-08T23:34:05.319Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:34:05.319Z] Successfully built eee4820d75a6 [2022-11-08T23:34:05.319Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:34:05.387Z] provisioning config files... [2022-11-08T23:34:05.395Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3433381521709319067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:34:05.685Z] ---> docker-login.sh [2022-11-08T23:34:05.685Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:34:05.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:34:05.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:34:05.685Z] Configure a credential helper to remove this warning. See [2022-11-08T23:34:05.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:34:05.685Z] [2022-11-08T23:34:05.685Z] Login Succeeded [2022-11-08T23:34:05.685Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:34:05.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:34:05.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:34:05.685Z] Configure a credential helper to remove this warning. See [2022-11-08T23:34:05.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:34:05.685Z] [2022-11-08T23:34:05.685Z] Login Succeeded [2022-11-08T23:34:05.685Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:34:05.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:34:05.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:34:05.943Z] Configure a credential helper to remove this warning. See [2022-11-08T23:34:05.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:34:05.943Z] [2022-11-08T23:34:05.943Z] Login Succeeded [2022-11-08T23:34:05.943Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:34:05.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:34:05.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:34:05.943Z] Configure a credential helper to remove this warning. See [2022-11-08T23:34:05.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:34:05.943Z] [2022-11-08T23:34:05.943Z] Login Succeeded [2022-11-08T23:34:05.943Z] docker.io [2022-11-08T23:34:06.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:34:06.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:34:06.459Z] Configure a credential helper to remove this warning. See [2022-11-08T23:34:06.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:34:06.459Z] [2022-11-08T23:34:06.459Z] Login Succeeded [2022-11-08T23:34:06.459Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:34:06.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T23:34:06.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:34:06.503Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-11-08T23:34:06.503Z] ef51753be6f5a47d4d6f224ef8f149167d14d206 [2022-11-08T23:34:06.503Z] latest [2022-11-08T23:34:06.503Z] 2.3.0-dev.24 [2022-11-08T23:34:06.503Z] ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24 [2022-11-08T23:34:06.503Z] main [2022-11-08T23:34:06.503Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:06.806Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:ef51753be6f5a47d4d6f224ef8f149167d14d206 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:07.108Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:ef51753be6f5a47d4d6f224ef8f149167d14d206 [2022-11-08T23:34:07.109Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-08T23:34:07.109Z] 49c1654f3266: Preparing [2022-11-08T23:34:07.109Z] 27406f67ce92: Preparing [2022-11-08T23:34:07.109Z] 392e89f5c61b: Preparing [2022-11-08T23:34:07.109Z] 360a14234c7b: Preparing [2022-11-08T23:34:07.109Z] 994393dc58e7: Preparing [2022-11-08T23:34:07.109Z] 994393dc58e7: Layer already exists [2022-11-08T23:34:07.109Z] 49c1654f3266: Pushed [2022-11-08T23:34:07.109Z] 27406f67ce92: Pushed [2022-11-08T23:34:07.366Z] 360a14234c7b: Pushed [2022-11-08T23:34:09.266Z] 392e89f5c61b: Pushed [2022-11-08T23:34:09.525Z] ef51753be6f5a47d4d6f224ef8f149167d14d206: digest: sha256:1c5f89bcd26869b06aea10829dc231b7cdd4b6e3cd277da195bbbce6c1101d08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:09.826Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:10.127Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-11-08T23:34:10.127Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-08T23:34:10.127Z] 49c1654f3266: Preparing [2022-11-08T23:34:10.127Z] 27406f67ce92: Preparing [2022-11-08T23:34:10.127Z] 392e89f5c61b: Preparing [2022-11-08T23:34:10.127Z] 360a14234c7b: Preparing [2022-11-08T23:34:10.127Z] 994393dc58e7: Preparing [2022-11-08T23:34:10.127Z] 27406f67ce92: Layer already exists [2022-11-08T23:34:10.127Z] 392e89f5c61b: Layer already exists [2022-11-08T23:34:10.127Z] 994393dc58e7: Layer already exists [2022-11-08T23:34:10.127Z] 360a14234c7b: Layer already exists [2022-11-08T23:34:10.127Z] 49c1654f3266: Layer already exists [2022-11-08T23:34:10.127Z] latest: digest: sha256:1c5f89bcd26869b06aea10829dc231b7cdd4b6e3cd277da195bbbce6c1101d08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:10.428Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:10.726Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.24 [2022-11-08T23:34:10.726Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-08T23:34:10.726Z] 49c1654f3266: Preparing [2022-11-08T23:34:10.726Z] 27406f67ce92: Preparing [2022-11-08T23:34:10.726Z] 392e89f5c61b: Preparing [2022-11-08T23:34:10.726Z] 360a14234c7b: Preparing [2022-11-08T23:34:10.726Z] 994393dc58e7: Preparing [2022-11-08T23:34:10.726Z] 994393dc58e7: Layer already exists [2022-11-08T23:34:10.726Z] 360a14234c7b: Layer already exists [2022-11-08T23:34:10.726Z] 27406f67ce92: Layer already exists [2022-11-08T23:34:10.726Z] 49c1654f3266: Layer already exists [2022-11-08T23:34:10.726Z] 392e89f5c61b: Layer already exists [2022-11-08T23:34:10.726Z] 2.3.0-dev.24: digest: sha256:1c5f89bcd26869b06aea10829dc231b7cdd4b6e3cd277da195bbbce6c1101d08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:11.095Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:11.396Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24 [2022-11-08T23:34:11.396Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-08T23:34:11.396Z] 49c1654f3266: Preparing [2022-11-08T23:34:11.396Z] 27406f67ce92: Preparing [2022-11-08T23:34:11.396Z] 392e89f5c61b: Preparing [2022-11-08T23:34:11.396Z] 360a14234c7b: Preparing [2022-11-08T23:34:11.396Z] 994393dc58e7: Preparing [2022-11-08T23:34:11.396Z] 49c1654f3266: Layer already exists [2022-11-08T23:34:11.396Z] 994393dc58e7: Layer already exists [2022-11-08T23:34:11.396Z] 27406f67ce92: Layer already exists [2022-11-08T23:34:11.396Z] 360a14234c7b: Layer already exists [2022-11-08T23:34:11.396Z] 392e89f5c61b: Layer already exists [2022-11-08T23:34:11.396Z] ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24: digest: sha256:1c5f89bcd26869b06aea10829dc231b7cdd4b6e3cd277da195bbbce6c1101d08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:11.707Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:12.009Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-11-08T23:34:12.009Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-08T23:34:12.009Z] 49c1654f3266: Preparing [2022-11-08T23:34:12.009Z] 27406f67ce92: Preparing [2022-11-08T23:34:12.009Z] 392e89f5c61b: Preparing [2022-11-08T23:34:12.009Z] 360a14234c7b: Preparing [2022-11-08T23:34:12.009Z] 994393dc58e7: Preparing [2022-11-08T23:34:12.009Z] 994393dc58e7: Layer already exists [2022-11-08T23:34:12.009Z] 360a14234c7b: Layer already exists [2022-11-08T23:34:12.009Z] 27406f67ce92: Layer already exists [2022-11-08T23:34:12.009Z] 392e89f5c61b: Layer already exists [2022-11-08T23:34:12.009Z] 49c1654f3266: Layer already exists [2022-11-08T23:34:12.009Z] main: digest: sha256:1c5f89bcd26869b06aea10829dc231b7cdd4b6e3cd277da195bbbce6c1101d08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T23:34:12.055Z] ===================================================== [Pipeline] echo [2022-11-08T23:34:12.063Z] taggedImages: [2022-11-08T23:34:12.063Z] - nexus3.edgexfoundry.org:10004/device-snmp:ef51753be6f5a47d4d6f224ef8f149167d14d206 [2022-11-08T23:34:12.063Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-11-08T23:34:12.063Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.24 [2022-11-08T23:34:12.063Z] - nexus3.edgexfoundry.org:10004/device-snmp:ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24 [2022-11-08T23:34:12.063Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:12.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:34:12.425Z] [2022-11-08T23:34:12.425Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:34:12.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:34:12.725Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T23:34:12.725Z] 5eb5b503b376: Pulling fs layer [2022-11-08T23:34:12.725Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T23:34:12.725Z] ec43610c2a17: Pulling fs layer [2022-11-08T23:34:12.725Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T23:34:12.725Z] 33b1e0a273af: Pulling fs layer [2022-11-08T23:34:12.725Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T23:34:12.725Z] 2f39f015ded8: Pulling fs layer [2022-11-08T23:34:12.725Z] 33b1e0a273af: Waiting [2022-11-08T23:34:12.725Z] 5d3b04190fa2: Waiting [2022-11-08T23:34:12.725Z] 2f39f015ded8: Waiting [2022-11-08T23:34:12.725Z] 3a2ae6a8a46f: Waiting [2022-11-08T23:34:12.725Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T23:34:12.725Z] 5c69ac0246d0: Download complete [2022-11-08T23:34:12.725Z] 3a2ae6a8a46f: Download complete [2022-11-08T23:34:12.725Z] 33b1e0a273af: Verifying Checksum [2022-11-08T23:34:12.725Z] 33b1e0a273af: Download complete [2022-11-08T23:34:12.725Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T23:34:12.725Z] 5d3b04190fa2: Download complete [2022-11-08T23:34:12.725Z] ec43610c2a17: Verifying Checksum [2022-11-08T23:34:12.725Z] ec43610c2a17: Download complete [2022-11-08T23:34:12.985Z] 5eb5b503b376: Verifying Checksum [2022-11-08T23:34:12.985Z] 5eb5b503b376: Download complete [2022-11-08T23:34:13.549Z] 2f39f015ded8: Verifying Checksum [2022-11-08T23:34:13.549Z] 2f39f015ded8: Download complete [2022-11-08T23:34:14.112Z] 5eb5b503b376: Pull complete [2022-11-08T23:34:14.112Z] 5c69ac0246d0: Pull complete [2022-11-08T23:34:14.677Z] ec43610c2a17: Pull complete [2022-11-08T23:34:14.677Z] 3a2ae6a8a46f: Pull complete [2022-11-08T23:34:14.677Z] 33b1e0a273af: Pull complete [2022-11-08T23:34:14.934Z] 5d3b04190fa2: Pull complete [2022-11-08T23:34:19.112Z] 2f39f015ded8: Pull complete [2022-11-08T23:34:19.112Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T23:34:19.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:34:19.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:34:19.185Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:34:19.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T23:34:21.034Z] $ docker top 01d738f6cd522da5e143d15b17f9d4ab9b9dafccdfe73e12e3ee258af06eb041 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:34:21.400Z] ---> job-cost.sh [2022-11-08T23:34:21.400Z] lf-activate-venv: SKIPPING [2022-11-08T23:34:21.400Z] INFO: No Stack... [2022-11-08T23:34:21.658Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:34:22.225Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:34:22.516Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-11-08T23:34:22.516Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T23:34:22.528Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-55-stack-cost] [2022-11-08T23:34:22.537Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-55-stack-cost] did not exist. Created. [2022-11-08T23:34:22.537Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:34:22.832Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T23:34:22.862Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:34:22.868Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:34:22.889Z] $ docker stop --time=1 01d738f6cd522da5e143d15b17f9d4ab9b9dafccdfe73e12e3ee258af06eb041 [2022-11-08T23:34:24.129Z] $ docker rm -f 01d738f6cd522da5e143d15b17f9d4ab9b9dafccdfe73e12e3ee258af06eb041 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T23:35:08.626Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118692 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-11-08T23:35:08.638Z] Running in /w/workspace/device-snmp-go/55 [Pipeline] { [Pipeline] checkout [2022-11-08T23:35:08.666Z] Selected Git installation does not exist. Using Default [2022-11-08T23:35:08.666Z] The recommended git tool is: NONE [2022-11-08T23:35:13.889Z] using credential edgex-jenkins-ssh [2022-11-08T23:35:13.910Z] Cloning the remote Git repository [2022-11-08T23:35:13.955Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-11-08T23:35:14.031Z] > git init /w/workspace/device-snmp-go/55 # timeout=10 [2022-11-08T23:35:14.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-08T23:35:14.179Z] > git --version # timeout=10 [2022-11-08T23:35:14.200Z] > git --version # 'git version 2.25.1' [2022-11-08T23:35:14.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:35:14.252Z] Verifying host key using known hosts file [2022-11-08T23:35:14.447Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T23:35:14.459Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:35:15.536Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-08T23:35:15.556Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:35:16.378Z] Avoid second fetch [2022-11-08T23:35:16.378Z] Checking out Revision ef51753be6f5a47d4d6f224ef8f149167d14d206 (main) [2022-11-08T23:35:16.875Z] Commit message: "build: Update to use released SDK (#204)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:35:16.394Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T23:35:16.412Z] > git checkout -f ef51753be6f5a47d4d6f224ef8f149167d14d206 # timeout=10 [2022-11-08T23:35:17.752Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T23:35:17.752Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:35:17.752Z] Dload Upload Total Spent Left Speed [2022-11-08T23:35:17.752Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2022-11-08T23:35:18.372Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T23:35:18.706Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T23:35:18.706Z] + sudo tee /etc/docker/daemon.new [2022-11-08T23:35:18.706Z] { [2022-11-08T23:35:18.706Z] "registry-mirrors": [ [2022-11-08T23:35:18.706Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T23:35:18.706Z] ], [2022-11-08T23:35:18.706Z] "bip": "10.250.0.254/24", [2022-11-08T23:35:18.706Z] "hosts": [ [2022-11-08T23:35:18.706Z] "tcp://0.0.0.0:5555", [2022-11-08T23:35:18.706Z] "unix:///var/run/docker.sock" [2022-11-08T23:35:18.706Z] ], [2022-11-08T23:35:18.706Z] "mtu": 1458, [2022-11-08T23:35:18.706Z] "selinux-enabled": true, [2022-11-08T23:35:18.706Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T23:35:18.706Z] } [Pipeline] sh [2022-11-08T23:35:19.048Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T23:35:19.392Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:35:37.687Z] provisioning config files... [2022-11-08T23:35:37.713Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/55@tmp/config9242878211385996784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:35:38.062Z] ---> docker-login.sh [2022-11-08T23:35:38.062Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:35:38.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:35:38.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:35:38.651Z] Configure a credential helper to remove this warning. See [2022-11-08T23:35:38.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:35:38.651Z] [2022-11-08T23:35:38.651Z] Login Succeeded [2022-11-08T23:35:38.651Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:35:38.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:35:39.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:35:39.190Z] Configure a credential helper to remove this warning. See [2022-11-08T23:35:39.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:35:39.190Z] [2022-11-08T23:35:39.190Z] Login Succeeded [2022-11-08T23:35:39.190Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:35:39.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:35:39.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:35:39.461Z] Configure a credential helper to remove this warning. See [2022-11-08T23:35:39.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:35:39.461Z] [2022-11-08T23:35:39.461Z] Login Succeeded [2022-11-08T23:35:39.461Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:35:39.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:35:39.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:35:39.731Z] Configure a credential helper to remove this warning. See [2022-11-08T23:35:39.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:35:39.731Z] [2022-11-08T23:35:39.731Z] Login Succeeded [2022-11-08T23:35:39.731Z] docker.io [2022-11-08T23:35:40.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:35:40.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:35:40.589Z] Configure a credential helper to remove this warning. See [2022-11-08T23:35:40.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:35:40.589Z] [2022-11-08T23:35:40.589Z] Login Succeeded [2022-11-08T23:35:40.590Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:35:40.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T23:35:40.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:35:40.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:35:40.799Z] ========================================================= [2022-11-08T23:35:40.799Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T23:35:40.799Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:35:41.155Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-08T23:35:41.427Z] Sending build context to Docker daemon 2.877MB [2022-11-08T23:35:41.427Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:35:41.427Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T23:35:41.698Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T23:35:41.698Z] 9b18e9b68314: Pulling fs layer [2022-11-08T23:35:41.698Z] 35d82f9e3411: Pulling fs layer [2022-11-08T23:35:41.698Z] e16973657156: Pulling fs layer [2022-11-08T23:35:41.698Z] fc693d55d65f: Pulling fs layer [2022-11-08T23:35:41.698Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T23:35:41.698Z] dda99020689f: Pulling fs layer [2022-11-08T23:35:41.698Z] db1c61fa0a46: Pulling fs layer [2022-11-08T23:35:41.698Z] 891c053d2c06: Pulling fs layer [2022-11-08T23:35:41.698Z] fc693d55d65f: Waiting [2022-11-08T23:35:41.698Z] dda99020689f: Waiting [2022-11-08T23:35:41.698Z] 7e9fc2657dce: Waiting [2022-11-08T23:35:41.698Z] db1c61fa0a46: Waiting [2022-11-08T23:35:41.698Z] 891c053d2c06: Waiting [2022-11-08T23:35:41.698Z] e16973657156: Download complete [2022-11-08T23:35:41.698Z] 35d82f9e3411: Verifying Checksum [2022-11-08T23:35:41.698Z] 35d82f9e3411: Download complete [2022-11-08T23:35:41.698Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T23:35:41.698Z] 7e9fc2657dce: Download complete [2022-11-08T23:35:41.698Z] dda99020689f: Verifying Checksum [2022-11-08T23:35:41.698Z] dda99020689f: Download complete [2022-11-08T23:35:41.698Z] 9b18e9b68314: Verifying Checksum [2022-11-08T23:35:41.698Z] 9b18e9b68314: Download complete [2022-11-08T23:35:42.691Z] 9b18e9b68314: Pull complete [2022-11-08T23:35:42.958Z] 891c053d2c06: Verifying Checksum [2022-11-08T23:35:42.958Z] 891c053d2c06: Download complete [2022-11-08T23:35:43.230Z] 35d82f9e3411: Pull complete [2022-11-08T23:35:43.498Z] e16973657156: Pull complete [2022-11-08T23:35:44.090Z] db1c61fa0a46: Verifying Checksum [2022-11-08T23:35:44.090Z] db1c61fa0a46: Download complete [2022-11-08T23:35:44.680Z] fc693d55d65f: Verifying Checksum [2022-11-08T23:35:44.680Z] fc693d55d65f: Download complete [2022-11-08T23:35:57.015Z] fc693d55d65f: Pull complete [2022-11-08T23:35:57.015Z] 7e9fc2657dce: Pull complete [2022-11-08T23:35:57.015Z] dda99020689f: Pull complete [2022-11-08T23:36:02.366Z] db1c61fa0a46: Pull complete [2022-11-08T23:36:04.328Z] 891c053d2c06: Pull complete [2022-11-08T23:36:04.328Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T23:36:04.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T23:36:04.328Z] ---> f96f9c87975a [2022-11-08T23:36:04.328Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:36:06.918Z] ---> Running in 3125e663eaa2 [2022-11-08T23:36:06.918Z] Removing intermediate container 3125e663eaa2 [2022-11-08T23:36:06.918Z] ---> 58d71d160980 [2022-11-08T23:36:06.918Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:36:06.918Z] ---> Running in 58e8cdc86401 [2022-11-08T23:36:07.188Z] Removing intermediate container 58e8cdc86401 [2022-11-08T23:36:07.189Z] ---> 9a4ac73b513f [2022-11-08T23:36:07.189Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:36:07.189Z] ---> Running in 03fdf893165c [2022-11-08T23:36:07.457Z] Removing intermediate container 03fdf893165c [2022-11-08T23:36:07.457Z] ---> dd726451edf2 [2022-11-08T23:36:07.457Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:36:07.724Z] ---> Running in 944c285e24c3 [2022-11-08T23:36:07.996Z] Removing intermediate container 944c285e24c3 [2022-11-08T23:36:07.996Z] ---> 6d3e401613ae [2022-11-08T23:36:07.996Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:36:07.996Z] ---> Running in 30d9501a02e9 [2022-11-08T23:36:09.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:36:09.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:36:10.825Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:36:10.825Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:36:10.825Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:36:10.825Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:36:10.825Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:36:10.825Z] OK: 226 MiB in 55 packages [2022-11-08T23:36:13.518Z] Removing intermediate container 30d9501a02e9 [2022-11-08T23:36:13.518Z] ---> 56ee23751acd [2022-11-08T23:36:13.518Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-08T23:36:13.518Z] ---> Running in 236e921cb70e [2022-11-08T23:36:13.518Z] Removing intermediate container 236e921cb70e [2022-11-08T23:36:13.518Z] ---> 5fe2af24c140 [2022-11-08T23:36:13.518Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:36:14.118Z] ---> e5adb0d34fac [2022-11-08T23:36:14.118Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:36:14.118Z] ---> Running in 3c407824b877 [2022-11-08T23:37:10.559Z] Removing intermediate container 3c407824b877 [2022-11-08T23:37:10.559Z] ---> 478de4f207d4 [2022-11-08T23:37:10.559Z] Step 11/12 : COPY . . [2022-11-08T23:37:10.559Z] ---> b2312d5f3421 [2022-11-08T23:37:10.559Z] Step 12/12 : RUN ${MAKE} [2022-11-08T23:37:10.559Z] ---> Running in 44642a407501 [2022-11-08T23:37:11.146Z] noop [2022-11-08T23:37:11.731Z] Removing intermediate container 44642a407501 [2022-11-08T23:37:11.732Z] ---> 61bad8f7b49d [2022-11-08T23:37:11.732Z] Successfully built 61bad8f7b49d [2022-11-08T23:37:11.732Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:37:12.086Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:37:12.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:37:12.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-118692 does not seem to be running inside a container [2022-11-08T23:37:12.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/55 -v /w/workspace/device-snmp-go/55:/w/workspace/device-snmp-go/55:rw,z -v /w/workspace/device-snmp-go/55@tmp:/w/workspace/device-snmp-go/55@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 ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:37:13.610Z] $ docker top 219004b3b4fac88f090fed53ac091e1428b9ed6266f77c20b82a07c5689bb082 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:37:14.462Z] + go version [2022-11-08T23:37:14.462Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T23:37:14.486Z] $ docker stop --time=1 219004b3b4fac88f090fed53ac091e1428b9ed6266f77c20b82a07c5689bb082 [2022-11-08T23:37:16.140Z] $ docker rm -f 219004b3b4fac88f090fed53ac091e1428b9ed6266f77c20b82a07c5689bb082 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:37:16.706Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:37:16.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:37:16.886Z] prd-ubuntu20.04-docker-arm64-4c-16g-118692 does not seem to be running inside a container [2022-11-08T23:37:16.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/55 -v /w/workspace/device-snmp-go/55:/w/workspace/device-snmp-go/55:rw,z -v /w/workspace/device-snmp-go/55@tmp:/w/workspace/device-snmp-go/55@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 ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:37:18.147Z] $ docker top cce14a407d726116cf109b6a07e16ab9486811772d90180baae3162828755501 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:37:18.980Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/55 [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:37:19.631Z] + make test [2022-11-08T23:37:19.632Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-08T23:37:21.591Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-08T23:38:58.414Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-08T23:38:58.414Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2022-11-08T23:38:58.414Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T23:38:58.414Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:39:16.647Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:39:16.647Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:39:16.647Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:39:17.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:39:17.272Z] $ docker stop --time=1 cce14a407d726116cf109b6a07e16ab9486811772d90180baae3162828755501 [2022-11-08T23:39:19.216Z] $ docker rm -f cce14a407d726116cf109b6a07e16ab9486811772d90180baae3162828755501 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:39:20.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:39:20.214Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T23:39:20.701Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:39:21.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:39:21.402Z] + ls -al . [2022-11-08T23:39:21.402Z] total 176 [2022-11-08T23:39:21.402Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:37 . [2022-11-08T23:39:21.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:35 .. [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 8 23:35 .dockerignore [2022-11-08T23:39:21.402Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:35 .git [2022-11-08T23:39:21.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:35 .github [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 8 23:35 .gitignore [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:35 .golangci.yml [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 8 23:35 Attribution.txt [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 8 23:35 CHANGELOG.md [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 8 23:35 Dockerfile [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:35 GOVERNANCE.md [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 8 23:35 Jenkinsfile [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:35 LICENSE [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 8 23:35 Makefile [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:35 OWNERS.md [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 8 23:35 README.md [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 23:32 VERSION [2022-11-08T23:39:21.402Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:35 bin [2022-11-08T23:39:21.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:35 cmd [2022-11-08T23:39:21.402Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 8 23:38 coverage.out [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 3413 Nov 8 23:35 go.mod [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 44971 Nov 8 23:35 go.sum [2022-11-08T23:39:21.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:35 internal [2022-11-08T23:39:21.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:35 snap [2022-11-08T23:39:21.402Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 8 23:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:39:21.746Z] + 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=ef51753be6f5a47d4d6f224ef8f149167d14d206 --label arch=arm64 --label version=2.3.0-dev.24 . [2022-11-08T23:39:22.016Z] Sending build context to Docker daemon 2.886MB [2022-11-08T23:39:22.016Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:39:22.016Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-08T23:39:22.016Z] ---> 61bad8f7b49d [2022-11-08T23:39:22.016Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:39:22.286Z] ---> Running in 60b38a0f0b6a [2022-11-08T23:39:22.557Z] Removing intermediate container 60b38a0f0b6a [2022-11-08T23:39:22.557Z] ---> d9e5ececcadf [2022-11-08T23:39:22.557Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:39:22.557Z] ---> Running in 7f3d6b2dfcd3 [2022-11-08T23:39:22.828Z] Removing intermediate container 7f3d6b2dfcd3 [2022-11-08T23:39:22.828Z] ---> 7f5574cbdbc4 [2022-11-08T23:39:22.828Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:39:23.098Z] ---> Running in 79987e0e2343 [2022-11-08T23:39:23.367Z] Removing intermediate container 79987e0e2343 [2022-11-08T23:39:23.367Z] ---> 9dbd50100723 [2022-11-08T23:39:23.367Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:39:23.367Z] ---> Running in f9f634240f5e [2022-11-08T23:39:23.962Z] Removing intermediate container f9f634240f5e [2022-11-08T23:39:23.962Z] ---> de973adf4b98 [2022-11-08T23:39:23.962Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:39:23.962Z] ---> Running in 2f2434d4476e [2022-11-08T23:39:24.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:39:25.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:39:26.944Z] OK: 226 MiB in 55 packages [2022-11-08T23:39:27.915Z] Removing intermediate container 2f2434d4476e [2022-11-08T23:39:27.915Z] ---> 38cbfaa826c2 [2022-11-08T23:39:27.915Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-08T23:39:27.915Z] ---> Running in a24a28a7cd51 [2022-11-08T23:39:28.187Z] Removing intermediate container a24a28a7cd51 [2022-11-08T23:39:28.187Z] ---> 9e920832a95c [2022-11-08T23:39:28.187Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-08T23:39:29.162Z] ---> 931d342d2460 [2022-11-08T23:39:29.162Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:39:29.162Z] ---> Running in 32168103ec78 [2022-11-08T23:39:31.757Z] Removing intermediate container 32168103ec78 [2022-11-08T23:39:31.757Z] ---> 95b67dcf4c0f [2022-11-08T23:39:31.757Z] Step 11/24 : COPY . . [2022-11-08T23:39:32.722Z] ---> 4e7ef5709946 [2022-11-08T23:39:32.722Z] Step 12/24 : RUN ${MAKE} [2022-11-08T23:39:32.722Z] ---> Running in 441d5a0f13f4 [2022-11-08T23:39:33.686Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-08T23:42:10.457Z] Removing intermediate container 441d5a0f13f4 [2022-11-08T23:42:10.458Z] ---> bca8749f6159 [2022-11-08T23:42:10.458Z] Step 13/24 : FROM alpine:3.16 [2022-11-08T23:42:10.458Z] 3.16: Pulling from library/alpine [2022-11-08T23:42:10.458Z] 9b18e9b68314: Already exists [2022-11-08T23:42:10.458Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:42:10.458Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:42:10.458Z] ---> a6215f271958 [2022-11-08T23:42:10.458Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T23:42:10.458Z] ---> Running in dda15ef2351f [2022-11-08T23:42:10.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:42:10.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:42:10.458Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T23:42:10.458Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:42:10.458Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T23:42:10.458Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:42:10.728Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T23:42:10.728Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T23:42:10.728Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:42:10.728Z] OK: 8 MiB in 20 packages [2022-11-08T23:42:11.693Z] Removing intermediate container dda15ef2351f [2022-11-08T23:42:11.693Z] ---> 7e4caab520e8 [2022-11-08T23:42:11.693Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-08T23:42:13.230Z] ---> e90c09e0fd89 [2022-11-08T23:42:13.230Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-08T23:42:13.850Z] ---> b876801f3463 [2022-11-08T23:42:13.850Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-08T23:42:14.451Z] ---> 93d5511c8ac1 [2022-11-08T23:42:14.451Z] Step 18/24 : EXPOSE 59993 [2022-11-08T23:42:14.750Z] ---> Running in 10a3619dd1a1 [2022-11-08T23:42:15.031Z] Removing intermediate container 10a3619dd1a1 [2022-11-08T23:42:15.031Z] ---> a8a22de470fc [2022-11-08T23:42:15.031Z] Step 19/24 : EXPOSE 161 [2022-11-08T23:42:15.031Z] ---> Running in 98239d69fb59 [2022-11-08T23:42:15.302Z] Removing intermediate container 98239d69fb59 [2022-11-08T23:42:15.302Z] ---> e86a3da24558 [2022-11-08T23:42:15.302Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-08T23:42:15.572Z] ---> Running in 9648553bdbac [2022-11-08T23:42:15.847Z] Removing intermediate container 9648553bdbac [2022-11-08T23:42:15.847Z] ---> 1efdd5f8b742 [2022-11-08T23:42:15.847Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-08T23:42:15.847Z] ---> Running in aa5c6777c2b8 [2022-11-08T23:42:16.117Z] Removing intermediate container aa5c6777c2b8 [2022-11-08T23:42:16.117Z] ---> 6e677556fb76 [2022-11-08T23:42:16.117Z] Step 22/24 : LABEL arch=arm64 [2022-11-08T23:42:16.117Z] ---> Running in dbf57544034e [2022-11-08T23:42:16.387Z] Removing intermediate container dbf57544034e [2022-11-08T23:42:16.387Z] ---> 4b51bfddb6fd [2022-11-08T23:42:16.387Z] Step 23/24 : LABEL git_sha=ef51753be6f5a47d4d6f224ef8f149167d14d206 [2022-11-08T23:42:16.654Z] ---> Running in c037a941a4fb [2022-11-08T23:42:16.922Z] Removing intermediate container c037a941a4fb [2022-11-08T23:42:16.922Z] ---> 3f1ed1c8e38b [2022-11-08T23:42:16.922Z] Step 24/24 : LABEL version=2.3.0-dev.24 [2022-11-08T23:42:16.922Z] ---> Running in 1cf1f907a2e1 [2022-11-08T23:42:17.189Z] Removing intermediate container 1cf1f907a2e1 [2022-11-08T23:42:17.189Z] ---> b9165f4be20c [2022-11-08T23:42:17.189Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:42:17.189Z] Successfully built b9165f4be20c [2022-11-08T23:42:17.189Z] 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 [2022-11-08T23:42:17.292Z] provisioning config files... [2022-11-08T23:42:17.306Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/55@tmp/config18196016975708291358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:42:17.637Z] ---> docker-login.sh [2022-11-08T23:42:17.637Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:42:17.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:42:17.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:42:17.905Z] Configure a credential helper to remove this warning. See [2022-11-08T23:42:17.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:42:17.905Z] [2022-11-08T23:42:17.905Z] Login Succeeded [2022-11-08T23:42:17.905Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:42:18.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:42:18.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:42:18.172Z] Configure a credential helper to remove this warning. See [2022-11-08T23:42:18.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:42:18.172Z] [2022-11-08T23:42:18.172Z] Login Succeeded [2022-11-08T23:42:18.172Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:42:18.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:42:18.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:42:18.710Z] Configure a credential helper to remove this warning. See [2022-11-08T23:42:18.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:42:18.710Z] [2022-11-08T23:42:18.710Z] Login Succeeded [2022-11-08T23:42:18.710Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:42:18.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:42:18.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:42:18.977Z] Configure a credential helper to remove this warning. See [2022-11-08T23:42:18.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:42:18.977Z] [2022-11-08T23:42:18.977Z] Login Succeeded [2022-11-08T23:42:18.977Z] docker.io [2022-11-08T23:42:19.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:42:19.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:42:19.833Z] Configure a credential helper to remove this warning. See [2022-11-08T23:42:19.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:42:19.833Z] [2022-11-08T23:42:19.833Z] Login Succeeded [2022-11-08T23:42:19.833Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:42:19.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T23:42:19.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:42:19.884Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-11-08T23:42:19.884Z] ef51753be6f5a47d4d6f224ef8f149167d14d206 [2022-11-08T23:42:19.884Z] latest [2022-11-08T23:42:19.884Z] 2.3.0-dev.24 [2022-11-08T23:42:19.884Z] ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24 [2022-11-08T23:42:19.884Z] main [2022-11-08T23:42:19.884Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:20.214Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:ef51753be6f5a47d4d6f224ef8f149167d14d206 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:20.553Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:ef51753be6f5a47d4d6f224ef8f149167d14d206 [2022-11-08T23:42:20.553Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-08T23:42:20.553Z] 6209c468a639: Preparing [2022-11-08T23:42:20.553Z] 44f8d2b59478: Preparing [2022-11-08T23:42:20.553Z] 73e6600b0f3f: Preparing [2022-11-08T23:42:20.553Z] b439af444c80: Preparing [2022-11-08T23:42:20.553Z] 5d3e392a13a0: Preparing [2022-11-08T23:42:20.553Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:42:20.820Z] 44f8d2b59478: Pushed [2022-11-08T23:42:20.820Z] 6209c468a639: Pushed [2022-11-08T23:42:21.499Z] b439af444c80: Pushed [2022-11-08T23:42:26.846Z] 73e6600b0f3f: Pushed [2022-11-08T23:42:26.846Z] ef51753be6f5a47d4d6f224ef8f149167d14d206: digest: sha256:c4a7061dde4325554ffcf90693d11c2f99e3ff13954c8953c2fa245905e5d41b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:27.196Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:27.549Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-11-08T23:42:27.549Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-08T23:42:27.549Z] 6209c468a639: Preparing [2022-11-08T23:42:27.549Z] 44f8d2b59478: Preparing [2022-11-08T23:42:27.549Z] 73e6600b0f3f: Preparing [2022-11-08T23:42:27.549Z] b439af444c80: Preparing [2022-11-08T23:42:27.549Z] 5d3e392a13a0: Preparing [2022-11-08T23:42:27.549Z] b439af444c80: Layer already exists [2022-11-08T23:42:27.549Z] 73e6600b0f3f: Layer already exists [2022-11-08T23:42:27.549Z] 6209c468a639: Layer already exists [2022-11-08T23:42:27.549Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:42:27.549Z] 44f8d2b59478: Layer already exists [2022-11-08T23:42:27.549Z] latest: digest: sha256:c4a7061dde4325554ffcf90693d11c2f99e3ff13954c8953c2fa245905e5d41b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:27.895Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:28.238Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.24 [2022-11-08T23:42:28.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-08T23:42:28.238Z] 6209c468a639: Preparing [2022-11-08T23:42:28.238Z] 44f8d2b59478: Preparing [2022-11-08T23:42:28.238Z] 73e6600b0f3f: Preparing [2022-11-08T23:42:28.238Z] b439af444c80: Preparing [2022-11-08T23:42:28.238Z] 5d3e392a13a0: Preparing [2022-11-08T23:42:28.238Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:42:28.238Z] 6209c468a639: Layer already exists [2022-11-08T23:42:28.238Z] 44f8d2b59478: Layer already exists [2022-11-08T23:42:28.238Z] 73e6600b0f3f: Layer already exists [2022-11-08T23:42:28.238Z] b439af444c80: Layer already exists [2022-11-08T23:42:28.238Z] 2.3.0-dev.24: digest: sha256:c4a7061dde4325554ffcf90693d11c2f99e3ff13954c8953c2fa245905e5d41b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:28.575Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:28.907Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24 [2022-11-08T23:42:28.908Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-08T23:42:28.908Z] 6209c468a639: Preparing [2022-11-08T23:42:28.908Z] 44f8d2b59478: Preparing [2022-11-08T23:42:28.908Z] 73e6600b0f3f: Preparing [2022-11-08T23:42:28.908Z] b439af444c80: Preparing [2022-11-08T23:42:28.908Z] 5d3e392a13a0: Preparing [2022-11-08T23:42:28.908Z] b439af444c80: Layer already exists [2022-11-08T23:42:28.908Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:42:28.908Z] 73e6600b0f3f: Layer already exists [2022-11-08T23:42:28.908Z] 44f8d2b59478: Layer already exists [2022-11-08T23:42:28.908Z] 6209c468a639: Layer already exists [2022-11-08T23:42:28.908Z] ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24: digest: sha256:c4a7061dde4325554ffcf90693d11c2f99e3ff13954c8953c2fa245905e5d41b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:29.259Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:29.600Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-11-08T23:42:29.600Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-08T23:42:29.600Z] 6209c468a639: Preparing [2022-11-08T23:42:29.600Z] 44f8d2b59478: Preparing [2022-11-08T23:42:29.600Z] 73e6600b0f3f: Preparing [2022-11-08T23:42:29.600Z] b439af444c80: Preparing [2022-11-08T23:42:29.600Z] 5d3e392a13a0: Preparing [2022-11-08T23:42:29.600Z] 5d3e392a13a0: Layer already exists [2022-11-08T23:42:29.600Z] 73e6600b0f3f: Layer already exists [2022-11-08T23:42:29.600Z] b439af444c80: Layer already exists [2022-11-08T23:42:29.600Z] 6209c468a639: Layer already exists [2022-11-08T23:42:29.600Z] 44f8d2b59478: Layer already exists [2022-11-08T23:42:29.600Z] main: digest: sha256:c4a7061dde4325554ffcf90693d11c2f99e3ff13954c8953c2fa245905e5d41b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T23:42:29.911Z] ===================================================== [Pipeline] echo [2022-11-08T23:42:29.917Z] taggedImages: [2022-11-08T23:42:29.917Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:ef51753be6f5a47d4d6f224ef8f149167d14d206 [2022-11-08T23:42:29.917Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-11-08T23:42:29.917Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.24 [2022-11-08T23:42:29.917Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:ef51753be6f5a47d4d6f224ef8f149167d14d206-2.3.0-dev.24 [2022-11-08T23:42:29.917Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:30.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:42:30.290Z] [2022-11-08T23:42:30.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:42:30.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:42:30.625Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T23:42:30.625Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T23:42:30.625Z] 04944245beec: Pulling fs layer [2022-11-08T23:42:30.625Z] 699f458cf7ca: Pulling fs layer [2022-11-08T23:42:30.625Z] 765212b225bb: Pulling fs layer [2022-11-08T23:42:30.625Z] f23df028b6ca: Pulling fs layer [2022-11-08T23:42:30.625Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T23:42:30.625Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T23:42:30.625Z] 765212b225bb: Waiting [2022-11-08T23:42:30.625Z] f23df028b6ca: Waiting [2022-11-08T23:42:30.625Z] d65c8cfc05b1: Waiting [2022-11-08T23:42:30.625Z] 2437ff75d9bd: Waiting [2022-11-08T23:42:30.895Z] 04944245beec: Download complete [2022-11-08T23:42:30.895Z] 765212b225bb: Verifying Checksum [2022-11-08T23:42:30.895Z] 765212b225bb: Download complete [2022-11-08T23:42:30.895Z] f23df028b6ca: Download complete [2022-11-08T23:42:30.895Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T23:42:30.895Z] d65c8cfc05b1: Download complete [2022-11-08T23:42:30.895Z] 699f458cf7ca: Verifying Checksum [2022-11-08T23:42:30.895Z] 699f458cf7ca: Download complete [2022-11-08T23:42:31.481Z] 8998bd30e6a1: Download complete [2022-11-08T23:42:34.059Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T23:42:34.059Z] 2437ff75d9bd: Download complete [2022-11-08T23:42:35.471Z] 8998bd30e6a1: Pull complete [2022-11-08T23:42:37.413Z] 04944245beec: Pull complete [2022-11-08T23:42:38.820Z] 699f458cf7ca: Pull complete [2022-11-08T23:42:38.820Z] 765212b225bb: Pull complete [2022-11-08T23:42:39.401Z] f23df028b6ca: Pull complete [2022-11-08T23:42:39.668Z] d65c8cfc05b1: Pull complete [2022-11-08T23:42:51.968Z] 2437ff75d9bd: Pull complete [2022-11-08T23:42:51.968Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T23:42:52.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:42:52.235Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:42:52.413Z] prd-ubuntu20.04-docker-arm64-4c-16g-118692 does not seem to be running inside a container [2022-11-08T23:42:52.476Z] $ 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/55 -v /w/workspace/device-snmp-go/55:/w/workspace/device-snmp-go/55:rw,z -v /w/workspace/device-snmp-go/55@tmp:/w/workspace/device-snmp-go/55@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T23:42:55.131Z] $ docker top 3c19a2deaa07857c654fdbbac0407ba1f825c7efe399cad54dff03f266b54326 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:42:55.960Z] ---> job-cost.sh [2022-11-08T23:42:55.960Z] lf-activate-venv: SKIPPING [2022-11-08T23:42:55.960Z] INFO: No Stack... [2022-11-08T23:42:56.225Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T23:42:57.181Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:42:57.824Z] + cat /w/workspace/device-snmp-go/55/archives/cost.csv [2022-11-08T23:42:57.824Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T23:42:57.860Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-55-stack-cost] [2022-11-08T23:42:57.865Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-55-stack-cost] did not exist. Created. [2022-11-08T23:42:57.865Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:42:58.525Z] /w/workspace/device-snmp-go/55@tmp/durable-d0c94759/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T23:42:59.194Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T23:42:59.209Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T23:42:59.261Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:42:59.268Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:42:59.287Z] $ docker stop --time=1 3c19a2deaa07857c654fdbbac0407ba1f825c7efe399cad54dff03f266b54326 [2022-11-08T23:43:00.834Z] $ docker rm -f 3c19a2deaa07857c654fdbbac0407ba1f825c7efe399cad54dff03f266b54326 [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 [2022-11-08T23:43:01.166Z] provisioning config files... [2022-11-08T23:43:01.172Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9750563537998167903tmp [Pipeline] { [Pipeline] sh [2022-11-08T23:43:01.467Z] + set +x [2022-11-08T23:43:01.467Z] + bash -s -- [2022-11-08T23:43:01.467Z] + curl -s https://codecov.io/bash [2022-11-08T23:43:01.467Z] [2022-11-08T23:43:01.467Z] _____ _ [2022-11-08T23:43:01.467Z] / ____| | | [2022-11-08T23:43:01.467Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T23:43:01.467Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T23:43:01.467Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T23:43:01.467Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T23:43:01.467Z] Bash-1.0.6 [2022-11-08T23:43:01.467Z] [2022-11-08T23:43:01.467Z] [2022-11-08T23:43:01.467Z] ==> git version 2.25.1 found [2022-11-08T23:43:01.467Z] ==> 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 [2022-11-08T23:43:01.467Z] Release-Date: 2020-01-08 [2022-11-08T23:43:01.467Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-08T23:43:01.467Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T23:43:01.467Z] ==> Jenkins CI detected. [2022-11-08T23:43:01.467Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-11-08T23:43:01.467Z] project root: . [2022-11-08T23:43:01.467Z] --> token set from env [2022-11-08T23:43:01.467Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T23:43:01.467Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T23:43:01.467Z] ==> Python coveragepy not found [2022-11-08T23:43:01.467Z] ==> Searching for coverage reports in: [2022-11-08T23:43:01.467Z] + . [2022-11-08T23:43:01.467Z] -> Found 1 reports [2022-11-08T23:43:01.467Z] ==> Detecting git/mercurial file structure [2022-11-08T23:43:01.467Z] ==> Reading reports [2022-11-08T23:43:01.467Z] + ./coverage.out bytes=7631 [2022-11-08T23:43:01.467Z] ==> Appending adjustments [2022-11-08T23:43:01.467Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T23:43:01.725Z] + Found adjustments [2022-11-08T23:43:01.725Z] ==> Gzipping contents [2022-11-08T23:43:01.725Z] 4.0K /tmp/codecov.JggZkR.gz [2022-11-08T23:43:01.725Z] ==> Uploading reports [2022-11-08T23:43:01.725Z] url: https://codecov.io [2022-11-08T23:43:01.725Z] query: branch=main&commit=ef51753be6f5a47d4d6f224ef8f149167d14d206&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T23:43:01.725Z] -> Pinging Codecov [2022-11-08T23:43:01.725Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=ef51753be6f5a47d4d6f224ef8f149167d14d206&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T23:43:01.983Z] -> Uploading to [2022-11-08T23:43:01.983Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/6C56EA5C29638FB4528AC87E60AF5AE0/ef51753be6f5a47d4d6f224ef8f149167d14d206/3088ba12-9203-41f3-92aa-72d21f15217d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T234301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=393bafed28e015aec10ce930374cdedb57658658f88bf68d6c081d4ae370301a [2022-11-08T23:43:01.983Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:43:01.983Z] Dload Upload Total Spent Left Speed [2022-11-08T23:43:02.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6123 --:--:-- --:--:-- --:--:-- 6123 [2022-11-08T23:43:02.241Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/ef51753be6f5a47d4d6f224ef8f149167d14d206 [Pipeline] } [2022-11-08T23:43:02.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-11-08T23:43:02.355Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-11-08T23:43:02.369Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:43:02.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T23:43:02.669Z] [2022-11-08T23:43:02.669Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:43:02.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T23:43:02.966Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-11-08T23:43:02.966Z] df9b9388f04a: Pulling fs layer [2022-11-08T23:43:02.966Z] 52dc419b0ee2: Pulling fs layer [2022-11-08T23:43:02.966Z] 25bc292e5bac: Pulling fs layer [2022-11-08T23:43:02.966Z] 114826534d7a: Pulling fs layer [2022-11-08T23:43:02.966Z] 4657fd5d0bcf: Pulling fs layer [2022-11-08T23:43:02.966Z] 6ad1cebc031e: Pulling fs layer [2022-11-08T23:43:02.966Z] 8a3aa393b2d8: Pulling fs layer [2022-11-08T23:43:02.966Z] 114826534d7a: Waiting [2022-11-08T23:43:02.966Z] 4657fd5d0bcf: Waiting [2022-11-08T23:43:02.966Z] 6ad1cebc031e: Waiting [2022-11-08T23:43:02.966Z] 8a3aa393b2d8: Waiting [2022-11-08T23:43:02.966Z] 25bc292e5bac: Verifying Checksum [2022-11-08T23:43:02.966Z] 25bc292e5bac: Download complete [2022-11-08T23:43:02.966Z] 52dc419b0ee2: Verifying Checksum [2022-11-08T23:43:02.966Z] 52dc419b0ee2: Download complete [2022-11-08T23:43:02.966Z] 4657fd5d0bcf: Download complete [2022-11-08T23:43:02.966Z] df9b9388f04a: Verifying Checksum [2022-11-08T23:43:02.966Z] df9b9388f04a: Download complete [2022-11-08T23:43:03.231Z] df9b9388f04a: Pull complete [2022-11-08T23:43:03.231Z] 6ad1cebc031e: Verifying Checksum [2022-11-08T23:43:03.231Z] 6ad1cebc031e: Download complete [2022-11-08T23:43:03.231Z] 52dc419b0ee2: Pull complete [2022-11-08T23:43:03.231Z] 25bc292e5bac: Pull complete [2022-11-08T23:43:03.815Z] 114826534d7a: Verifying Checksum [2022-11-08T23:43:03.815Z] 114826534d7a: Download complete [2022-11-08T23:43:04.073Z] 8a3aa393b2d8: Verifying Checksum [2022-11-08T23:43:04.073Z] 8a3aa393b2d8: Download complete [2022-11-08T23:43:07.353Z] 114826534d7a: Pull complete [2022-11-08T23:43:07.353Z] 4657fd5d0bcf: Pull complete [2022-11-08T23:43:07.353Z] 6ad1cebc031e: Pull complete [2022-11-08T23:43:10.631Z] 8a3aa393b2d8: Pull complete [2022-11-08T23:43:10.631Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-11-08T23:43:10.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T23:43:10.631Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:43:10.703Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:43:10.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-11-08T23:43:13.510Z] $ docker top 064a0ca9066872be18efd07b22e51a731123e6a5a14b2eab112912e07e175e95 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-11-08T23:43:13.573Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2022-11-08T23:43:13.851Z] + set -o pipefail [2022-11-08T23:43:13.852Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2022-11-08T23:43:20.426Z] [2022-11-08T23:43:20.426Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-11-08T23:43:20.426Z] [2022-11-08T23:43:20.426Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/a02f4f5f-1510-4ca1-a8fa-c130e2e9283d [2022-11-08T23:43:20.426Z] [2022-11-08T23:43:20.426Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-11-08T23:43:20.426Z] [2022-11-08T23:43:20.426Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-11-08T23:43:20.426Z] [2022-11-08T23:43:20.426Z] [2022-11-08T23:43:20.426Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-11-08T23:43:20.426Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-11-08T23:43:20.426Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-11-08T23:43:20.441Z] $ docker stop --time=1 064a0ca9066872be18efd07b22e51a731123e6a5a14b2eab112912e07e175e95 [2022-11-08T23:43:22.762Z] $ docker rm -f 064a0ca9066872be18efd07b22e51a731123e6a5a14b2eab112912e07e175e95 [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 [2022-11-08T23:43:23.416Z] + git log --format=format:%s -1 ef51753be6f5a47d4d6f224ef8f149167d14d206 [Pipeline] sh [2022-11-08T23:43:23.705Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:43:23.705Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:43:24.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:43:24.004Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:43:24.068Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:43:24.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T23:43:24.512Z] $ docker top b312d02a4c863fe0a3658a35576e189b9d0778e67c1d64f62f32181ce0153896 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:43:24.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:43:24.585Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:43:24.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:43:24.699Z] $ docker exec b312d02a4c863fe0a3658a35576e189b9d0778e67c1d64f62f32181ce0153896 ssh-agent [2022-11-08T23:43:24.815Z] SSH_AUTH_SOCK=/tmp/ssh-picPNZ6aO9D7/agent.32 [2022-11-08T23:43:24.815Z] SSH_AGENT_PID=38 [2022-11-08T23:43:24.820Z] Running ssh-add (command line suppressed) [2022-11-08T23:43:24.934Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4203732538247881737.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4203732538247881737.key) [2022-11-08T23:43:24.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:43:25.228Z] + git semver tag [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,411 [run_tag] DEBUG tag force:False [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,411 [check_head_tag] DEBUG check head tag [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,412 [execute] INFO git cat-file --batch-check [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,416 [execute] INFO git cat-file --batch [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,416 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,432 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,432 [execute] INFO git tag -a v2.3.0-dev.24 -m v2.3.0-dev.24 [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,432 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.24', '-m', 'v2.3.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:43:25.487Z] 2022-11-08 23:43:25,437 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-08T23:43:25.487Z] 2.3.0-dev.24 [Pipeline] } [2022-11-08T23:43:25.502Z] $ docker exec --env ******** --env ******** b312d02a4c863fe0a3658a35576e189b9d0778e67c1d64f62f32181ce0153896 ssh-agent -k [2022-11-08T23:43:25.605Z] unset SSH_AUTH_SOCK; [2022-11-08T23:43:25.606Z] unset SSH_AGENT_PID; [2022-11-08T23:43:25.606Z] echo Agent pid 38 killed; [2022-11-08T23:43:25.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:43:25.902Z] + git semver [Pipeline] } [2022-11-08T23:43:26.180Z] $ docker stop --time=1 b312d02a4c863fe0a3658a35576e189b9d0778e67c1d64f62f32181ce0153896 [2022-11-08T23:43:27.525Z] $ docker rm -f b312d02a4c863fe0a3658a35576e189b9d0778e67c1d64f62f32181ce0153896 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:43:27.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T23:43:27.901Z] [2022-11-08T23:43:27.901Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:43:28.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T23:43:28.194Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-08T23:43:28.194Z] ab5ef0e58194: Pulling fs layer [2022-11-08T23:43:28.194Z] 9712f1f96733: Pulling fs layer [2022-11-08T23:43:28.194Z] 63f879dbbcfc: Pulling fs layer [2022-11-08T23:43:28.194Z] 0d9ebad4ef96: Pulling fs layer [2022-11-08T23:43:28.194Z] e9a5061849ea: Pulling fs layer [2022-11-08T23:43:28.194Z] d747dcd14b5f: Pulling fs layer [2022-11-08T23:43:28.194Z] 2de7ff778b66: Pulling fs layer [2022-11-08T23:43:28.194Z] 0d9ebad4ef96: Waiting [2022-11-08T23:43:28.194Z] e9a5061849ea: Waiting [2022-11-08T23:43:28.194Z] d747dcd14b5f: Waiting [2022-11-08T23:43:28.194Z] 2de7ff778b66: Waiting [2022-11-08T23:43:28.194Z] 9712f1f96733: Verifying Checksum [2022-11-08T23:43:28.194Z] 9712f1f96733: Download complete [2022-11-08T23:43:28.781Z] 63f879dbbcfc: Verifying Checksum [2022-11-08T23:43:28.781Z] 63f879dbbcfc: Download complete [2022-11-08T23:43:28.781Z] 0d9ebad4ef96: Verifying Checksum [2022-11-08T23:43:28.781Z] 0d9ebad4ef96: Download complete [2022-11-08T23:43:28.781Z] d747dcd14b5f: Verifying Checksum [2022-11-08T23:43:28.781Z] d747dcd14b5f: Download complete [2022-11-08T23:43:28.781Z] e9a5061849ea: Download complete [2022-11-08T23:43:28.781Z] 2de7ff778b66: Verifying Checksum [2022-11-08T23:43:28.781Z] 2de7ff778b66: Download complete [2022-11-08T23:43:29.040Z] ab5ef0e58194: Verifying Checksum [2022-11-08T23:43:29.040Z] ab5ef0e58194: Download complete [2022-11-08T23:43:31.566Z] ab5ef0e58194: Pull complete [2022-11-08T23:43:31.566Z] 9712f1f96733: Pull complete [2022-11-08T23:43:32.130Z] 63f879dbbcfc: Pull complete [2022-11-08T23:43:35.421Z] 0d9ebad4ef96: Pull complete [2022-11-08T23:43:35.421Z] e9a5061849ea: Pull complete [2022-11-08T23:43:35.421Z] d747dcd14b5f: Pull complete [2022-11-08T23:43:36.352Z] 2de7ff778b66: Pull complete [2022-11-08T23:43:36.352Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-08T23:43:36.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T23:43:36.352Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:43:36.416Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:43:36.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-11-08T23:43:38.644Z] $ docker top d03ccf9fb08861c387d47521b32709a0776fa64099a77df48a6a6b29631bd599 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:43:38.711Z] provisioning config files... [2022-11-08T23:43:38.718Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5497324675216867943tmp [2022-11-08T23:43:38.726Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3464896232764406521tmp [2022-11-08T23:43:38.733Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config559044700989116250tmp [Pipeline] { [Pipeline] echo [2022-11-08T23:43:38.748Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:43:39.027Z] ---> sigul-configuration.sh [2022-11-08T23:43:39.027Z] gpg: directory `/root/.gnupg' created [2022-11-08T23:43:39.027Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-08T23:43:39.027Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-08T23:43:39.027Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-08T23:43:39.027Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-08T23:43:39.027Z] gpg: CAST5 encrypted data [2022-11-08T23:43:39.027Z] gpg: encrypted with 1 passphrase [2022-11-08T23:43:39.027Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-08T23:43:39.312Z] + mkdir /home/jenkins [2022-11-08T23:43:39.312Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-08T23:43:39.596Z] + 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 [2022-11-08T23:43:39.603Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:43:39.887Z] ---> sigul-install.sh [2022-11-08T23:43:39.887Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-08T23:43:40.173Z] + git tag --list [2022-11-08T23:43:40.173Z] 1.0.0 [2022-11-08T23:43:40.173Z] v0.0.0 [2022-11-08T23:43:40.173Z] v1.1.0 [2022-11-08T23:43:40.173Z] v1.1.1 [2022-11-08T23:43:40.173Z] v1.2.2 [2022-11-08T23:43:40.173Z] v1.3.0 [2022-11-08T23:43:40.173Z] v1.3.1 [2022-11-08T23:43:40.173Z] v2.0.0 [2022-11-08T23:43:40.173Z] v2.1.0 [2022-11-08T23:43:40.173Z] v2.1.1 [2022-11-08T23:43:40.173Z] v2.1.1-dev.2 [2022-11-08T23:43:40.173Z] v2.1.1-dev.3 [2022-11-08T23:43:40.173Z] v2.2.0 [2022-11-08T23:43:40.173Z] v2.2.1-dev.1 [2022-11-08T23:43:40.173Z] v2.2.1-dev.2 [2022-11-08T23:43:40.173Z] v2.2.1-dev.3 [2022-11-08T23:43:40.173Z] v2.2.1-dev.4 [2022-11-08T23:43:40.173Z] v2.2.1-dev.5 [2022-11-08T23:43:40.173Z] v2.2.1-dev.6 [2022-11-08T23:43:40.173Z] v2.2.1-dev.7 [2022-11-08T23:43:40.173Z] v2.3.0-dev.10 [2022-11-08T23:43:40.173Z] v2.3.0-dev.11 [2022-11-08T23:43:40.173Z] v2.3.0-dev.12 [2022-11-08T23:43:40.173Z] v2.3.0-dev.13 [2022-11-08T23:43:40.173Z] v2.3.0-dev.14 [2022-11-08T23:43:40.173Z] v2.3.0-dev.15 [2022-11-08T23:43:40.173Z] v2.3.0-dev.16 [2022-11-08T23:43:40.173Z] v2.3.0-dev.17 [2022-11-08T23:43:40.173Z] v2.3.0-dev.18 [2022-11-08T23:43:40.173Z] v2.3.0-dev.19 [2022-11-08T23:43:40.173Z] v2.3.0-dev.20 [2022-11-08T23:43:40.173Z] v2.3.0-dev.21 [2022-11-08T23:43:40.173Z] v2.3.0-dev.22 [2022-11-08T23:43:40.173Z] v2.3.0-dev.23 [2022-11-08T23:43:40.173Z] v2.3.0-dev.24 [2022-11-08T23:43:40.173Z] v2.3.0-dev.7 [2022-11-08T23:43:40.173Z] v2.3.0-dev.8 [2022-11-08T23:43:40.173Z] v2.3.0-dev.9 [Pipeline] sh [2022-11-08T23:43:40.460Z] + lftools sign git-tag v2.3.0-dev.24 [2022-11-08T23:43:41.027Z] Signing Git tag with Sigul... [2022-11-08T23:43:41.027Z] Signing v2.3.0-dev.24 [Pipeline] echo [2022-11-08T23:43:41.294Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:43:41.574Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-08T23:43:41.581Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-08T23:43:41.603Z] $ docker stop --time=1 d03ccf9fb08861c387d47521b32709a0776fa64099a77df48a6a6b29631bd599 [2022-11-08T23:43:42.905Z] $ docker rm -f d03ccf9fb08861c387d47521b32709a0776fa64099a77df48a6a6b29631bd599 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-08T23:43:43.285Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:43:43.285Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:43:43.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:43:43.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:43:43.639Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:43:43.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T23:43:44.033Z] $ docker top 8aab5611671789b77f6e85b8b63f08ac41845d254acdc78471cda6c403086e99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:43:44.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:43:44.116Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:43:44.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:43:44.233Z] $ docker exec 8aab5611671789b77f6e85b8b63f08ac41845d254acdc78471cda6c403086e99 ssh-agent [2022-11-08T23:43:44.337Z] SSH_AUTH_SOCK=/tmp/ssh-S1OkxkFjpfUR/agent.32 [2022-11-08T23:43:44.337Z] SSH_AGENT_PID=38 [2022-11-08T23:43:44.342Z] Running ssh-add (command line suppressed) [2022-11-08T23:43:44.456Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6111768437539008824.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6111768437539008824.key) [2022-11-08T23:43:44.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:43:44.745Z] + git semver bump pre [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,927 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,927 [bump_version] DEBUG bumping version:2.3.0-dev.24 on axis:pre with prefix:dev [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,927 [bump_version] DEBUG bumped version:2.3.0-dev.25 [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,927 [write_version] DEBUG write version:2.3.0-dev.25 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,927 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,927 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,929 [execute] INFO git cat-file --batch-check [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,934 [execute] INFO git cat-file --batch [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:43:45.003Z] 2022-11-08 23:43:44,938 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-08T23:43:45.003Z] 2.3.0-dev.25 [Pipeline] } [2022-11-08T23:43:45.017Z] $ docker exec --env ******** --env ******** 8aab5611671789b77f6e85b8b63f08ac41845d254acdc78471cda6c403086e99 ssh-agent -k [2022-11-08T23:43:45.112Z] unset SSH_AUTH_SOCK; [2022-11-08T23:43:45.113Z] unset SSH_AGENT_PID; [2022-11-08T23:43:45.113Z] echo Agent pid 38 killed; [2022-11-08T23:43:45.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:43:45.411Z] + git semver [Pipeline] } [2022-11-08T23:43:45.688Z] $ docker stop --time=1 8aab5611671789b77f6e85b8b63f08ac41845d254acdc78471cda6c403086e99 [2022-11-08T23:43:47.031Z] $ docker rm -f 8aab5611671789b77f6e85b8b63f08ac41845d254acdc78471cda6c403086e99 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:43:47.362Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T23:43:47.362Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:43:47.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T23:43:47.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:43:47.719Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:43:47.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T23:43:48.112Z] $ docker top 08cb1366928373ed49ec03e8c8ba81e319008ac62cb234ea58d5a502244d748e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T23:43:48.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T23:43:48.189Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T23:43:48.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T23:43:48.314Z] $ docker exec 08cb1366928373ed49ec03e8c8ba81e319008ac62cb234ea58d5a502244d748e ssh-agent [2022-11-08T23:43:48.419Z] SSH_AUTH_SOCK=/tmp/ssh-TijEHr9Dk2cm/agent.32 [2022-11-08T23:43:48.419Z] SSH_AGENT_PID=38 [2022-11-08T23:43:48.424Z] Running ssh-add (command line suppressed) [2022-11-08T23:43:48.535Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8626789388582212077.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8626789388582212077.key) [2022-11-08T23:43:48.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T23:43:48.827Z] + git semver push [2022-11-08T23:43:49.086Z] 2022-11-08 23:43:49,014 [run_push] DEBUG push [2022-11-08T23:43:49.086Z] 2022-11-08 23:43:49,015 [execute] INFO git cat-file --batch-check [2022-11-08T23:43:49.086Z] 2022-11-08 23:43:49,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T23:43:49.086Z] 2022-11-08 23:43:49,019 [execute] INFO git rev-list 22a0f4d07e8cf75b7cf8c9dcfd53b44a68d984b5 -- [2022-11-08T23:43:49.086Z] 2022-11-08 23:43:49,019 [execute] DEBUG Popen(['git', 'rev-list', '22a0f4d07e8cf75b7cf8c9dcfd53b44a68d984b5', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:43:49.086Z] 2022-11-08 23:43:49,028 [execute] INFO git fetch -v origin [2022-11-08T23:43:49.086Z] 2022-11-08 23:43:49,028 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-11-08T23:43:49.654Z] 2022-11-08 23:43:49,606 [run_push] DEBUG no remote changes detected [2022-11-08T23:43:49.654Z] 2022-11-08 23:43:49,606 [execute] INFO git push origin semver [2022-11-08T23:43:49.654Z] 2022-11-08 23:43:49,607 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:43:50.592Z] 2022-11-08 23:43:50,466 [run_push] DEBUG push all version tags [2022-11-08T23:43:50.592Z] 2022-11-08 23:43:50,466 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-11-08T23:43:50.592Z] 2022-11-08 23:43:50,467 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-08T23:43:51.530Z] 2022-11-08 23:43:51,267 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-08T23:43:51.530Z] 2.3.0-dev.25 [Pipeline] } [2022-11-08T23:43:51.544Z] $ docker exec --env ******** --env ******** 08cb1366928373ed49ec03e8c8ba81e319008ac62cb234ea58d5a502244d748e ssh-agent -k [2022-11-08T23:43:51.643Z] unset SSH_AUTH_SOCK; [2022-11-08T23:43:51.644Z] unset SSH_AGENT_PID; [2022-11-08T23:43:51.644Z] echo Agent pid 38 killed; [2022-11-08T23:43:51.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T23:43:51.955Z] + git semver [Pipeline] } [2022-11-08T23:43:52.230Z] $ docker stop --time=1 08cb1366928373ed49ec03e8c8ba81e319008ac62cb234ea58d5a502244d748e [2022-11-08T23:43:53.577Z] $ docker rm -f 08cb1366928373ed49ec03e8c8ba81e319008ac62cb234ea58d5a502244d748e [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 [2022-11-08T23:43:54.088Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-11-08T23:43:54.088Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-11-08T23:43:54.088Z] total 16 [2022-11-08T23:43:54.088Z] drwxr-xr-x 3 root root 4096 Nov 8 23:34 . [2022-11-08T23:43:54.088Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:43 .. [2022-11-08T23:43:54.088Z] drwxr-xr-x 2 root root 4096 Nov 8 23:34 cost [2022-11-08T23:43:54.088Z] -rw-r--r-- 1 root root 85 Nov 8 23:34 cost.csv [2022-11-08T23:43:54.088Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-11-08T23:43:54.088Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-11-08T23:43:54.088Z] total 16 [2022-11-08T23:43:54.088Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:34 . [2022-11-08T23:43:54.088Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:43 .. [2022-11-08T23:43:54.088Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 23:34 cost [2022-11-08T23:43:54.088Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 8 23:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:43:54.486Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:43:55.399Z] ---> package-listing.sh [2022-11-08T23:43:55.399Z] ++ facter osfamily [2022-11-08T23:43:55.399Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T23:43:55.657Z] + OS_FAMILY=debian [2022-11-08T23:43:55.657Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-11-08T23:43:55.657Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T23:43:55.657Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T23:43:55.657Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T23:43:55.657Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T23:43:55.657Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-11-08T23:43:55.657Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T23:43:55.657Z] + case "${OS_FAMILY}" in [2022-11-08T23:43:55.657Z] + dpkg -l [2022-11-08T23:43:55.657Z] + grep '^ii' [2022-11-08T23:43:55.657Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T23:43:55.657Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T23:43:55.657Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T23:43:55.657Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-11-08T23:43:55.657Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-11-08T23:43:55.657Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2022-11-08T23:43:55.667Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T23:43:55.942Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:43:56.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:43:56.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:43:56.554Z] prd-ubuntu20.04-docker-8c-8g-118688 does not seem to be running inside a container [2022-11-08T23:43:56.588Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T23:43:56.814Z] $ docker top 96880934b599ea3d7c78df260b549ece1777353906cc1c72b61061085b2270a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:43:57.161Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T23:43:57.445Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T23:43:57.730Z] + ls /var/log/sa-host [2022-11-08T23:43:57.730Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:43:57.790Z] provisioning config files... [2022-11-08T23:43:57.798Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3763392554873323582tmp [Pipeline] { [Pipeline] echo [2022-11-08T23:43:57.810Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:43:58.091Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T23:43:58.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:43:58.416Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T23:43:58.425Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:43:58.709Z] ---> sudo-logs.sh [2022-11-08T23:43:58.709Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T23:43:58.729Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:43:59.005Z] ---> job-cost.sh [2022-11-08T23:43:59.005Z] lf-activate-venv: SKIPPING [2022-11-08T23:43:59.005Z] DEBUG: total: 0.2199999988079071 [2022-11-08T23:43:59.005Z] INFO: Retrieving Stack Cost... [2022-11-08T23:43:59.573Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:43:59.832Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T23:43:59.842Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:44:00.122Z] ---> logs-deploy.sh [2022-11-08T23:44:00.122Z] lf-activate-venv: SKIPPING [2022-11-08T23:44:00.122Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/55 [2022-11-08T23:44:00.122Z] INFO: archiving workspace using pattern(s): [2022-11-08T23:44:01.058Z] Archives upload complete. [2022-11-08T23:44:01.058Z] INFO: archiving logs to Nexus