Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from de36933a196ec2e5ea0c5601bc2b4d4bfd93191e 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-ssh4896318836558123349.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10577156490910048512.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/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-ssh5094774881072839781.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8121974196518134073.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/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-ssh13886800657225418811.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2632’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-2679’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2681 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision de36933a196ec2e5ea0c5601bc2b4d4bfd93191e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de36933a196ec2e5ea0c5601bc2b4d4bfd93191e # timeout=10 Commit message: "Merge pull request #178 from weichou1229/upgrade-sdk" > git rev-list --no-walk c4b573a2bf76d46acd5797026015b66a4b354b83 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-19T06:14:51.061Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-19T06:14:51.110Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-19T06:14:51.124Z] ========================================================= [2022-06-19T06:14:51.124Z] EdgeX Global Pipelines Version Info [2022-06-19T06:14:51.124Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:14:51.887Z] ------------------- [2022-06-19T06:14:51.888Z] stable info: [2022-06-19T06:14:51.888Z] ------------------- [2022-06-19T06:14:51.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-19T06:14:51.888Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-19T06:14:51.888Z] Message: update stable to v1.0.234 [2022-06-19T06:14:52.462Z] ------------------- [2022-06-19T06:14:52.462Z] experimental info: [2022-06-19T06:14:52.462Z] ------------------- [2022-06-19T06:14:52.462Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-19T06:14:52.462Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-19T06:14:52.462Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-19T06:14:52.689Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-06-19T06:14:52.697Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-06-19T06:14:52.706Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-19T06:14:52.719Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-19T06:14:52.730Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-19T06:14:52.743Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-19T06:14:52.755Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-19T06:14:52.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-19T06:14:52.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-19T06:14:52.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-19T06:14:52.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-19T06:14:52.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-06-19T06:14:52.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-19T06:14:52.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-19T06:14:52.852Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-19T06:14:52.863Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-19T06:14:52.874Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-19T06:14:52.886Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-19T06:14:52.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-19T06:14:52.910Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-19T06:14:52.921Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-19T06:14:52.933Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-19T06:14:52.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-19T06:14:52.955Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-19T06:14:52.966Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-19T06:14:52.977Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-19T06:14:52.989Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-19T06:14:53.004Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-19T06:14:53.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-19T06:14:53.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-19T06:14:53.038Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [Pipeline] echo [2022-06-19T06:14:53.051Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de36933 [Pipeline] echo [2022-06-19T06:14:53.062Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:14:53.099Z] provisioning config files... [2022-06-19T06:14:53.113Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5037351614072812467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:14:53.427Z] ---> docker-login.sh [2022-06-19T06:14:53.427Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:14:53.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:14:53.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:14:53.689Z] Configure a credential helper to remove this warning. See [2022-06-19T06:14:53.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:14:53.689Z] [2022-06-19T06:14:53.689Z] Login Succeeded [2022-06-19T06:14:53.689Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:14:53.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:14:53.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:14:53.951Z] Configure a credential helper to remove this warning. See [2022-06-19T06:14:53.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:14:53.951Z] [2022-06-19T06:14:53.951Z] Login Succeeded [2022-06-19T06:14:53.951Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:14:53.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:14:53.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:14:53.951Z] Configure a credential helper to remove this warning. See [2022-06-19T06:14:53.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:14:53.951Z] [2022-06-19T06:14:53.951Z] Login Succeeded [2022-06-19T06:14:53.951Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:14:54.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:14:54.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:14:54.213Z] Configure a credential helper to remove this warning. See [2022-06-19T06:14:54.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:14:54.213Z] [2022-06-19T06:14:54.213Z] Login Succeeded [2022-06-19T06:14:54.213Z] docker.io [2022-06-19T06:14:54.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:14:54.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:14:54.475Z] Configure a credential helper to remove this warning. See [2022-06-19T06:14:54.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:14:54.475Z] [2022-06-19T06:14:54.475Z] Login Succeeded [2022-06-19T06:14:54.475Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:14:54.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-19T06:14:54.862Z] + git rev-list -1 --merges de36933a196ec2e5ea0c5601bc2b4d4bfd93191e~1..de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [Pipeline] echo [2022-06-19T06:14:54.890Z] -----------> git rev-list -1 --merges de36933a196ec2e5ea0c5601bc2b4d4bfd93191e~1..de36933a196ec2e5ea0c5601bc2b4d4bfd93191e de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [2022-06-19T06:14:54.890Z] de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [false] [Pipeline] sh [2022-06-19T06:14:55.183Z] + git log --format=format:%s -1 de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [Pipeline] echo [2022-06-19T06:14:55.200Z] ========================================================= [2022-06-19T06:14:55.200Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-19T06:14:55.200Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-19T06:14:55.542Z] + git log --format=format:%s -1 de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [Pipeline] echo [2022-06-19T06:14:55.553Z] [semverPrep] GIT_COMMIT: de36933a196ec2e5ea0c5601bc2b4d4bfd93191e, Commit Message: Merge pull request #178 from weichou1229/upgrade-sdk [Pipeline] echo [2022-06-19T06:14:55.563Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-19T06:14:55.908Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T06:14:55.908Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-19T06:14:55.908Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-19T06:14:55.908Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-19T06:14:55.908Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-19T06:14:55.908Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-19T06:14:55.908Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:14:56.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:14:56.268Z] [2022-06-19T06:14:56.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:14:56.578Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:14:56.578Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-19T06:14:56.578Z] 42c077c10790: Pulling fs layer [2022-06-19T06:14:56.578Z] f63e77b7563a: Pulling fs layer [2022-06-19T06:14:56.578Z] bd5fdadae976: Pulling fs layer [2022-06-19T06:14:56.578Z] 205491f53016: Pulling fs layer [2022-06-19T06:14:56.578Z] df18705c85c3: Pulling fs layer [2022-06-19T06:14:56.578Z] bdb3f477010e: Pulling fs layer [2022-06-19T06:14:56.578Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-19T06:14:56.578Z] 2c6e9b1d212d: Pulling fs layer [2022-06-19T06:14:56.578Z] bdb8f0575790: Pulling fs layer [2022-06-19T06:14:56.578Z] 386e3cb2ff24: Pulling fs layer [2022-06-19T06:14:56.578Z] 2343380bae48: Pulling fs layer [2022-06-19T06:14:56.578Z] df18705c85c3: Waiting [2022-06-19T06:14:56.578Z] bdb3f477010e: Waiting [2022-06-19T06:14:56.578Z] 386e3cb2ff24: Waiting [2022-06-19T06:14:56.578Z] c8a8fc8e1c8f: Waiting [2022-06-19T06:14:56.578Z] 205491f53016: Waiting [2022-06-19T06:14:56.578Z] bdb8f0575790: Waiting [2022-06-19T06:14:56.578Z] 2c6e9b1d212d: Waiting [2022-06-19T06:14:56.578Z] 2343380bae48: Waiting [2022-06-19T06:14:56.578Z] f63e77b7563a: Verifying Checksum [2022-06-19T06:14:56.578Z] f63e77b7563a: Download complete [2022-06-19T06:14:56.578Z] 205491f53016: Verifying Checksum [2022-06-19T06:14:56.578Z] 205491f53016: Download complete [2022-06-19T06:14:56.839Z] df18705c85c3: Download complete [2022-06-19T06:14:56.839Z] bdb3f477010e: Verifying Checksum [2022-06-19T06:14:56.839Z] bdb3f477010e: Download complete [2022-06-19T06:14:56.839Z] bd5fdadae976: Verifying Checksum [2022-06-19T06:14:56.839Z] bd5fdadae976: Download complete [2022-06-19T06:14:56.839Z] 2c6e9b1d212d: Download complete [2022-06-19T06:14:56.839Z] bdb8f0575790: Download complete [2022-06-19T06:14:56.839Z] 386e3cb2ff24: Verifying Checksum [2022-06-19T06:14:56.839Z] 386e3cb2ff24: Download complete [2022-06-19T06:14:56.839Z] 2343380bae48: Download complete [2022-06-19T06:14:56.839Z] 42c077c10790: Verifying Checksum [2022-06-19T06:14:56.839Z] 42c077c10790: Download complete [2022-06-19T06:14:57.101Z] c8a8fc8e1c8f: Download complete [2022-06-19T06:14:58.483Z] 42c077c10790: Pull complete [2022-06-19T06:14:58.483Z] f63e77b7563a: Pull complete [2022-06-19T06:14:59.053Z] bd5fdadae976: Pull complete [2022-06-19T06:14:59.053Z] 205491f53016: Pull complete [2022-06-19T06:14:59.314Z] df18705c85c3: Pull complete [2022-06-19T06:14:59.314Z] bdb3f477010e: Pull complete [2022-06-19T06:15:01.865Z] c8a8fc8e1c8f: Pull complete [2022-06-19T06:15:01.865Z] 2c6e9b1d212d: Pull complete [2022-06-19T06:15:01.865Z] bdb8f0575790: Pull complete [2022-06-19T06:15:01.865Z] 386e3cb2ff24: Pull complete [2022-06-19T06:15:01.865Z] 2343380bae48: Pull complete [2022-06-19T06:15:01.865Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-19T06:15:01.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T06:15:01.865Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:15:01.972Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T06:15:02.028Z] $ 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-06-19T06:15:03.704Z] $ docker top c71cda2be1c43557ad53677ab0a40e6365dd05f773cc7bc67be2660deef334cd -eo pid,comm [2022-06-19T06:15:03.765Z] 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-06-19T06:15:03.765Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T06:15:03.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:15:03.800Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:15:03.938Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:15:03.948Z] $ docker exec c71cda2be1c43557ad53677ab0a40e6365dd05f773cc7bc67be2660deef334cd ssh-agent [2022-06-19T06:15:04.070Z] SSH_AUTH_SOCK=/tmp/ssh-4nt2O8YDaUMy/agent.33 [2022-06-19T06:15:04.070Z] SSH_AGENT_PID=39 [2022-06-19T06:15:04.077Z] Running ssh-add (command line suppressed) [2022-06-19T06:15:04.211Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3126836251425383016.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3126836251425383016.key) [2022-06-19T06:15:04.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:15:04.512Z] + git tag --points-at HEAD [Pipeline] } [2022-06-19T06:15:04.536Z] $ docker exec --env ******** --env ******** c71cda2be1c43557ad53677ab0a40e6365dd05f773cc7bc67be2660deef334cd ssh-agent -k [2022-06-19T06:15:04.665Z] unset SSH_AUTH_SOCK; [2022-06-19T06:15:04.665Z] unset SSH_AGENT_PID; [2022-06-19T06:15:04.665Z] echo Agent pid 39 killed; [2022-06-19T06:15:04.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-19T06:15:04.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T06:15:04.693Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T06:15:04.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T06:15:04.845Z] $ docker exec c71cda2be1c43557ad53677ab0a40e6365dd05f773cc7bc67be2660deef334cd ssh-agent [2022-06-19T06:15:04.976Z] SSH_AUTH_SOCK=/tmp/ssh-GkA3ZXa0Drzi/agent.72 [2022-06-19T06:15:04.976Z] SSH_AGENT_PID=78 [2022-06-19T06:15:04.981Z] Running ssh-add (command line suppressed) [2022-06-19T06:15:05.108Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7858927494340271886.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7858927494340271886.key) [2022-06-19T06:15:05.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T06:15:05.412Z] + git semver init [2022-06-19T06:15:05.673Z] 2022-06-19 06:15:05,620 [run_init] DEBUG init version:0.0.0 force:False [2022-06-19T06:15:05.673Z] 2022-06-19 06:15:05,620 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-06-19T06:15:05.673Z] 2022-06-19 06:15:05,621 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-06-19T06:15:05.673Z] 2022-06-19 06:15:05,621 [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-06-19T06:15:06.616Z] 2022-06-19 06:15:06,329 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-06-19T06:15:06.616Z] 2022-06-19 06:15:06,330 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2022-06-19T06:15:06.616Z] 2022-06-19 06:15:06,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-06-19T06:15:06.616Z] 2022-06-19 06:15:06,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-06-19T06:15:06.616Z] 2.2.1-dev.3 [Pipeline] } [2022-06-19T06:15:06.637Z] $ docker exec --env ******** --env ******** c71cda2be1c43557ad53677ab0a40e6365dd05f773cc7bc67be2660deef334cd ssh-agent -k [2022-06-19T06:15:06.765Z] unset SSH_AUTH_SOCK; [2022-06-19T06:15:06.765Z] unset SSH_AGENT_PID; [2022-06-19T06:15:06.765Z] echo Agent pid 78 killed; [2022-06-19T06:15:06.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T06:15:07.077Z] + git semver [Pipeline] } [2022-06-19T06:15:07.358Z] $ docker stop --time=1 c71cda2be1c43557ad53677ab0a40e6365dd05f773cc7bc67be2660deef334cd [2022-06-19T06:15:08.698Z] $ docker rm -f c71cda2be1c43557ad53677ab0a40e6365dd05f773cc7bc67be2660deef334cd [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:15:09.056Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-19T06:15:09.329Z] Stashed 1 file(s) [Pipeline] echo [2022-06-19T06:15:09.332Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T06:15:09.478Z] provisioning config files... [2022-06-19T06:15:09.489Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7969697974178310627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:15:09.788Z] ---> docker-login.sh [2022-06-19T06:15:09.788Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:15:09.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:15:09.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:15:09.788Z] Configure a credential helper to remove this warning. See [2022-06-19T06:15:09.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:15:09.788Z] [2022-06-19T06:15:09.788Z] Login Succeeded [2022-06-19T06:15:09.788Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:15:09.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:15:10.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:15:10.049Z] Configure a credential helper to remove this warning. See [2022-06-19T06:15:10.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:15:10.049Z] [2022-06-19T06:15:10.049Z] Login Succeeded [2022-06-19T06:15:10.049Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:15:10.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:15:10.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:15:10.049Z] Configure a credential helper to remove this warning. See [2022-06-19T06:15:10.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:15:10.049Z] [2022-06-19T06:15:10.049Z] Login Succeeded [2022-06-19T06:15:10.049Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:15:10.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:15:10.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:15:10.311Z] Configure a credential helper to remove this warning. See [2022-06-19T06:15:10.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:15:10.311Z] [2022-06-19T06:15:10.311Z] Login Succeeded [2022-06-19T06:15:10.311Z] docker.io [2022-06-19T06:15:10.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:15:10.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:15:10.572Z] Configure a credential helper to remove this warning. See [2022-06-19T06:15:10.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:15:10.572Z] [2022-06-19T06:15:10.572Z] Login Succeeded [2022-06-19T06:15:10.572Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:15:10.580Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-19T06:15:10.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:15:10.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:15:10.670Z] ========================================================= [2022-06-19T06:15:10.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-19T06:15:10.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:15:10.995Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-19T06:15:10.996Z] Sending build context to Docker daemon 5.379MB [2022-06-19T06:15:10.996Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:15:10.996Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-19T06:15:10.996Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-19T06:15:10.996Z] 59bf1c3509f3: Pulling fs layer [2022-06-19T06:15:10.996Z] 666ba61612fd: Pulling fs layer [2022-06-19T06:15:10.996Z] 8ed8ca486205: Pulling fs layer [2022-06-19T06:15:10.996Z] cc1cd167ecdc: Pulling fs layer [2022-06-19T06:15:10.996Z] c516ae0d96e1: Pulling fs layer [2022-06-19T06:15:10.996Z] 684cea983483: Pulling fs layer [2022-06-19T06:15:10.996Z] dd3240ac7de5: Pulling fs layer [2022-06-19T06:15:10.996Z] b1e948a4e11c: Pulling fs layer [2022-06-19T06:15:10.996Z] a8fd76ee1af6: Pulling fs layer [2022-06-19T06:15:10.996Z] 646ad004c059: Pulling fs layer [2022-06-19T06:15:10.996Z] c516ae0d96e1: Waiting [2022-06-19T06:15:10.996Z] 684cea983483: Waiting [2022-06-19T06:15:10.996Z] a8fd76ee1af6: Waiting [2022-06-19T06:15:10.996Z] dd3240ac7de5: Waiting [2022-06-19T06:15:10.996Z] 646ad004c059: Waiting [2022-06-19T06:15:10.996Z] cc1cd167ecdc: Waiting [2022-06-19T06:15:10.996Z] 8ed8ca486205: Verifying Checksum [2022-06-19T06:15:10.996Z] 8ed8ca486205: Download complete [2022-06-19T06:15:10.996Z] 666ba61612fd: Verifying Checksum [2022-06-19T06:15:10.996Z] 666ba61612fd: Download complete [2022-06-19T06:15:11.259Z] c516ae0d96e1: Download complete [2022-06-19T06:15:11.259Z] 684cea983483: Verifying Checksum [2022-06-19T06:15:11.259Z] 684cea983483: Download complete [2022-06-19T06:15:11.259Z] dd3240ac7de5: Verifying Checksum [2022-06-19T06:15:11.259Z] dd3240ac7de5: Download complete [2022-06-19T06:15:11.259Z] 59bf1c3509f3: Verifying Checksum [2022-06-19T06:15:11.259Z] 59bf1c3509f3: Download complete [2022-06-19T06:15:11.259Z] b1e948a4e11c: Verifying Checksum [2022-06-19T06:15:11.259Z] b1e948a4e11c: Download complete [2022-06-19T06:15:11.259Z] 59bf1c3509f3: Pull complete [2022-06-19T06:15:11.522Z] 666ba61612fd: Pull complete [2022-06-19T06:15:11.522Z] 8ed8ca486205: Pull complete [2022-06-19T06:15:11.783Z] 646ad004c059: Verifying Checksum [2022-06-19T06:15:11.783Z] 646ad004c059: Download complete [2022-06-19T06:15:11.783Z] a8fd76ee1af6: Verifying Checksum [2022-06-19T06:15:12.044Z] cc1cd167ecdc: Verifying Checksum [2022-06-19T06:15:12.044Z] cc1cd167ecdc: Download complete [2022-06-19T06:15:16.244Z] cc1cd167ecdc: Pull complete [2022-06-19T06:15:16.244Z] c516ae0d96e1: Pull complete [2022-06-19T06:15:16.244Z] 684cea983483: Pull complete [2022-06-19T06:15:16.244Z] dd3240ac7de5: Pull complete [2022-06-19T06:15:16.504Z] b1e948a4e11c: Pull complete [2022-06-19T06:15:19.038Z] a8fd76ee1af6: Pull complete [2022-06-19T06:15:19.978Z] 646ad004c059: Pull complete [2022-06-19T06:15:19.978Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-19T06:15:19.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-19T06:15:19.978Z] ---> 8f69c11f6b0c [2022-06-19T06:15:19.978Z] Step 3/12 : ARG MAKE='make build' [2022-06-19T06:15:21.365Z] ---> Running in 07462bb0beac [2022-06-19T06:15:21.631Z] Removing intermediate container 07462bb0beac [2022-06-19T06:15:21.631Z] ---> 8da780ffdd39 [2022-06-19T06:15:21.631Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-19T06:15:21.631Z] ---> Running in 89e884ee3caa [2022-06-19T06:15:21.631Z] Removing intermediate container 89e884ee3caa [2022-06-19T06:15:21.631Z] ---> 64a2a7e6e102 [2022-06-19T06:15:21.631Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-19T06:15:21.631Z] ---> Running in ac60f5d14042 [2022-06-19T06:15:21.892Z] Removing intermediate container ac60f5d14042 [2022-06-19T06:15:21.892Z] ---> e8c5718aafc9 [2022-06-19T06:15:21.892Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:15:21.892Z] ---> Running in 8c27cecc917d [2022-06-19T06:15:22.463Z] Removing intermediate container 8c27cecc917d [2022-06-19T06:15:22.463Z] ---> 29e451348ad6 [2022-06-19T06:15:22.463Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-19T06:15:22.463Z] ---> Running in 398d3a7994b2 [2022-06-19T06:15:22.724Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-19T06:15:23.698Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-19T06:15:23.988Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-19T06:15:23.988Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-19T06:15:24.256Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-19T06:15:24.256Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-19T06:15:24.256Z] Executing busybox-1.34.1-r3.trigger [2022-06-19T06:15:24.256Z] OK: 224 MiB in 56 packages [2022-06-19T06:15:24.434Z] Still waiting to schedule task [2022-06-19T06:15:24.434Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-19T06:15:24.826Z] Removing intermediate container 398d3a7994b2 [2022-06-19T06:15:24.826Z] ---> 116de0b17d98 [2022-06-19T06:15:24.826Z] Step 8/12 : WORKDIR /device-snmp-go [2022-06-19T06:15:24.826Z] ---> Running in 50046fb24f7e [2022-06-19T06:15:24.826Z] Removing intermediate container 50046fb24f7e [2022-06-19T06:15:24.826Z] ---> 7d25f00d29ad [2022-06-19T06:15:24.826Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-19T06:15:25.087Z] ---> 14d27ba79d9b [2022-06-19T06:15:25.087Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:15:25.087Z] ---> Running in 756be0c2afc7 [2022-06-19T06:15:39.995Z] Removing intermediate container 756be0c2afc7 [2022-06-19T06:15:39.995Z] ---> 60c701e9bf9b [2022-06-19T06:15:39.995Z] Step 11/12 : COPY . . [2022-06-19T06:15:39.995Z] ---> 4d2cee177fb7 [2022-06-19T06:15:39.995Z] Step 12/12 : RUN ${MAKE} [2022-06-19T06:15:39.995Z] ---> Running in 64b444358ee6 [2022-06-19T06:15:39.995Z] noop [2022-06-19T06:15:39.995Z] Removing intermediate container 64b444358ee6 [2022-06-19T06:15:39.995Z] ---> 27e04879b5dc [2022-06-19T06:15:39.995Z] Successfully built 27e04879b5dc [2022-06-19T06:15:39.995Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:15:40.320Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-19T06:15:40.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:15:40.408Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T06:15:40.459Z] $ 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-06-19T06:15:40.872Z] $ docker top d397fa1865c4b79a0e5624b37a3fdb96a7dfce7c639ad1b2c3a689fd367453fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-19T06:15:41.229Z] + go version [2022-06-19T06:15:41.230Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-19T06:15:41.249Z] $ docker stop --time=1 d397fa1865c4b79a0e5624b37a3fdb96a7dfce7c639ad1b2c3a689fd367453fb [2022-06-19T06:15:42.538Z] $ docker rm -f d397fa1865c4b79a0e5624b37a3fdb96a7dfce7c639ad1b2c3a689fd367453fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:15:42.935Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-19T06:15:42.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:15:43.023Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T06:15:43.061Z] $ 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-06-19T06:15:43.489Z] $ docker top e8b5f96577cacecf7a59a231d022a7028a4d43036247aa3e1b5dd94a2434b1cf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-19T06:15:43.860Z] + make test [2022-06-19T06:15:43.860Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-19T06:15:44.431Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-06-19T06:15:54.427Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-06-19T06:15:54.427Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2022-06-19T06:16:01.002Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-19T06:16:04.304Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-19T06:16:04.304Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-19T06:16:04.304Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-19T06:16:04.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-19T06:16:04.914Z] $ docker stop --time=1 e8b5f96577cacecf7a59a231d022a7028a4d43036247aa3e1b5dd94a2434b1cf [2022-06-19T06:16:06.789Z] $ docker rm -f e8b5f96577cacecf7a59a231d022a7028a4d43036247aa3e1b5dd94a2434b1cf [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T06:16:07.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-19T06:16:07.294Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-19T06:16:07.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-19T06:16:08.012Z] + ls -al . [2022-06-19T06:16:08.012Z] total 168 [2022-06-19T06:16:08.012Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 06:16 . [2022-06-19T06:16:08.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:14 .. [2022-06-19T06:16:08.012Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 19 06:14 .dockerignore [2022-06-19T06:16:08.012Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:15 .git [2022-06-19T06:16:08.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:14 .github [2022-06-19T06:16:08.012Z] -rw-rw-r-- 1 jenkins jenkins 328 Jun 19 06:14 .gitignore [2022-06-19T06:16:08.012Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 06:14 .golangci.yml [2022-06-19T06:16:08.012Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:15 .semver [2022-06-19T06:16:08.012Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jun 19 06:14 Attribution.txt [2022-06-19T06:16:08.012Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jun 19 06:14 CHANGELOG.md [2022-06-19T06:16:08.012Z] -rw-rw-r-- 1 jenkins jenkins 1516 Jun 19 06:14 Dockerfile [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 06:14 GOVERNANCE.md [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 19 06:14 Jenkinsfile [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 06:14 LICENSE [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jun 19 06:14 Makefile [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 19 06:14 OWNERS.md [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jun 19 06:14 README.md [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:15 VERSION [2022-06-19T06:16:08.013Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:14 bin [2022-06-19T06:16:08.013Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:14 cmd [2022-06-19T06:16:08.013Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 19 06:15 coverage.out [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 3300 Jun 19 06:14 go.mod [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 36370 Jun 19 06:14 go.sum [2022-06-19T06:16:08.013Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:14 internal [2022-06-19T06:16:08.013Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:14 snap [2022-06-19T06:16:08.013Z] -rw-rw-r-- 1 jenkins jenkins 228 Jun 19 06:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:08.323Z] + 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=de36933a196ec2e5ea0c5601bc2b4d4bfd93191e --label arch=amd64 --label version=2.2.1-dev.3 . [2022-06-19T06:16:08.323Z] Sending build context to Docker daemon 5.387MB [2022-06-19T06:16:08.323Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T06:16:08.323Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-19T06:16:08.323Z] ---> 27e04879b5dc [2022-06-19T06:16:08.323Z] Step 3/24 : ARG MAKE='make build' [2022-06-19T06:16:08.323Z] ---> Running in 429a037734b3 [2022-06-19T06:16:08.595Z] Removing intermediate container 429a037734b3 [2022-06-19T06:16:08.595Z] ---> de95b146eb5a [2022-06-19T06:16:08.595Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-19T06:16:08.595Z] ---> Running in a7b4db51a780 [2022-06-19T06:16:08.595Z] Removing intermediate container a7b4db51a780 [2022-06-19T06:16:08.595Z] ---> 816e9fdb5100 [2022-06-19T06:16:08.595Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-19T06:16:08.595Z] ---> Running in 72ec0167c6bd [2022-06-19T06:16:08.854Z] Removing intermediate container 72ec0167c6bd [2022-06-19T06:16:08.854Z] ---> bda7a9e87b3d [2022-06-19T06:16:08.854Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T06:16:08.854Z] ---> Running in 381ff9937da6 [2022-06-19T06:16:09.423Z] Removing intermediate container 381ff9937da6 [2022-06-19T06:16:09.423Z] ---> 82831d74c4a5 [2022-06-19T06:16:09.423Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-19T06:16:09.423Z] ---> Running in fb1734247193 [2022-06-19T06:16:09.684Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-19T06:16:10.626Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-19T06:16:10.889Z] OK: 224 MiB in 56 packages [2022-06-19T06:16:11.152Z] Removing intermediate container fb1734247193 [2022-06-19T06:16:11.152Z] ---> 2fb9eda5fb5f [2022-06-19T06:16:11.152Z] Step 8/24 : WORKDIR /device-snmp-go [2022-06-19T06:16:11.416Z] ---> Running in ac3a31a80e13 [2022-06-19T06:16:11.416Z] Removing intermediate container ac3a31a80e13 [2022-06-19T06:16:11.416Z] ---> e621d05c7df0 [2022-06-19T06:16:11.416Z] Step 9/24 : COPY go.mod vendor* ./ [2022-06-19T06:16:11.416Z] ---> c97e3f362252 [2022-06-19T06:16:11.416Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T06:16:11.677Z] ---> Running in edd074c6ba54 [2022-06-19T06:16:12.247Z] Removing intermediate container edd074c6ba54 [2022-06-19T06:16:12.247Z] ---> 38bf812f04b7 [2022-06-19T06:16:12.247Z] Step 11/24 : COPY . . [2022-06-19T06:16:12.506Z] ---> e10f39922a73 [2022-06-19T06:16:12.506Z] Step 12/24 : RUN ${MAKE} [2022-06-19T06:16:12.506Z] ---> Running in ef785f2b1ee5 [2022-06-19T06:16:13.075Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.5 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-06-19T06:16:35.024Z] Removing intermediate container ef785f2b1ee5 [2022-06-19T06:16:35.024Z] ---> 4df5d283543c [2022-06-19T06:16:35.024Z] Step 13/24 : FROM alpine:3.14 [2022-06-19T06:16:35.024Z] 3.14: Pulling from library/alpine [2022-06-19T06:16:35.024Z] 8663204ce13b: Pulling fs layer [2022-06-19T06:16:35.024Z] 8663204ce13b: Verifying Checksum [2022-06-19T06:16:35.024Z] 8663204ce13b: Download complete [2022-06-19T06:16:35.024Z] 8663204ce13b: Pull complete [2022-06-19T06:16:35.024Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-19T06:16:35.024Z] Status: Downloaded newer image for alpine:3.14 [2022-06-19T06:16:35.024Z] ---> e04c818066af [2022-06-19T06:16:35.024Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-19T06:16:35.024Z] ---> Running in 1603e7569593 [2022-06-19T06:16:35.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-19T06:16:35.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-19T06:16:35.024Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-19T06:16:35.024Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-19T06:16:35.024Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-19T06:16:35.024Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-19T06:16:35.024Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-19T06:16:35.024Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-19T06:16:35.024Z] Executing busybox-1.33.1-r7.trigger [2022-06-19T06:16:35.024Z] OK: 8 MiB in 20 packages [2022-06-19T06:16:35.024Z] Removing intermediate container 1603e7569593 [2022-06-19T06:16:35.024Z] ---> 5f5135372543 [2022-06-19T06:16:35.024Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-06-19T06:16:35.969Z] ---> 72f43a93e9eb [2022-06-19T06:16:35.969Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-06-19T06:16:35.969Z] ---> fe20f52c3e98 [2022-06-19T06:16:35.969Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-06-19T06:16:35.969Z] ---> e80b5b7d80b1 [2022-06-19T06:16:35.969Z] Step 18/24 : EXPOSE 59993 [2022-06-19T06:16:36.229Z] ---> Running in 15b77e692f58 [2022-06-19T06:16:36.229Z] Removing intermediate container 15b77e692f58 [2022-06-19T06:16:36.229Z] ---> 0b66fa5cf2f2 [2022-06-19T06:16:36.229Z] Step 19/24 : EXPOSE 161 [2022-06-19T06:16:36.229Z] ---> Running in 0b4a254f42fa [2022-06-19T06:16:36.229Z] Removing intermediate container 0b4a254f42fa [2022-06-19T06:16:36.229Z] ---> 8b4b011ff08b [2022-06-19T06:16:36.229Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-06-19T06:16:36.491Z] ---> Running in 577eb018ef6f [2022-06-19T06:16:36.491Z] Removing intermediate container 577eb018ef6f [2022-06-19T06:16:36.491Z] ---> be8b96613d88 [2022-06-19T06:16:36.491Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-19T06:16:36.491Z] ---> Running in bb4e32d1bf32 [2022-06-19T06:16:36.491Z] Removing intermediate container bb4e32d1bf32 [2022-06-19T06:16:36.491Z] ---> bdc78c175caf [2022-06-19T06:16:36.491Z] Step 22/24 : LABEL arch=amd64 [2022-06-19T06:16:36.752Z] ---> Running in f4a97ef94910 [2022-06-19T06:16:36.752Z] Removing intermediate container f4a97ef94910 [2022-06-19T06:16:36.752Z] ---> 6df93be6f73d [2022-06-19T06:16:36.752Z] Step 23/24 : LABEL git_sha=de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [2022-06-19T06:16:36.752Z] ---> Running in 7425e1adeb3b [2022-06-19T06:16:37.013Z] Removing intermediate container 7425e1adeb3b [2022-06-19T06:16:37.013Z] ---> 475697d156a0 [2022-06-19T06:16:37.013Z] Step 24/24 : LABEL version=2.2.1-dev.3 [2022-06-19T06:16:37.013Z] ---> Running in 32b281c4f9dd [2022-06-19T06:16:37.013Z] Removing intermediate container 32b281c4f9dd [2022-06-19T06:16:37.013Z] ---> 1723cd30e685 [2022-06-19T06:16:37.013Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-19T06:16:37.013Z] Successfully built 1723cd30e685 [2022-06-19T06:16:37.013Z] 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-06-19T06:16:37.085Z] provisioning config files... [2022-06-19T06:16:37.094Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4431947740398645949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:16:37.390Z] ---> docker-login.sh [2022-06-19T06:16:37.390Z] nexus3.edgexfoundry.org:10001 [2022-06-19T06:16:37.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:16:37.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:16:37.390Z] Configure a credential helper to remove this warning. See [2022-06-19T06:16:37.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:16:37.390Z] [2022-06-19T06:16:37.390Z] Login Succeeded [2022-06-19T06:16:37.390Z] nexus3.edgexfoundry.org:10002 [2022-06-19T06:16:37.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:16:37.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:16:37.651Z] Configure a credential helper to remove this warning. See [2022-06-19T06:16:37.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:16:37.651Z] [2022-06-19T06:16:37.651Z] Login Succeeded [2022-06-19T06:16:37.651Z] nexus3.edgexfoundry.org:10003 [2022-06-19T06:16:37.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:16:37.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:16:37.651Z] Configure a credential helper to remove this warning. See [2022-06-19T06:16:37.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:16:37.651Z] [2022-06-19T06:16:37.651Z] Login Succeeded [2022-06-19T06:16:37.651Z] nexus3.edgexfoundry.org:10004 [2022-06-19T06:16:37.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:16:37.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:16:37.911Z] Configure a credential helper to remove this warning. See [2022-06-19T06:16:37.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:16:37.911Z] [2022-06-19T06:16:37.911Z] Login Succeeded [2022-06-19T06:16:37.911Z] docker.io [2022-06-19T06:16:37.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T06:16:38.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T06:16:38.172Z] Configure a credential helper to remove this warning. See [2022-06-19T06:16:38.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T06:16:38.172Z] [2022-06-19T06:16:38.172Z] Login Succeeded [2022-06-19T06:16:38.172Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T06:16:38.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:16:38.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T06:16:38.232Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-06-19T06:16:38.232Z] de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [2022-06-19T06:16:38.232Z] latest [2022-06-19T06:16:38.232Z] 2.2.1-dev.3 [2022-06-19T06:16:38.232Z] de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3 [2022-06-19T06:16:38.232Z] main [2022-06-19T06:16:38.232Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:38.557Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:38.874Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [2022-06-19T06:16:38.874Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-06-19T06:16:38.874Z] f54beb46382d: Preparing [2022-06-19T06:16:38.874Z] 440ad82c46b1: Preparing [2022-06-19T06:16:38.874Z] d5646500be7f: Preparing [2022-06-19T06:16:38.874Z] 7dbc5ec5128c: Preparing [2022-06-19T06:16:38.874Z] b541d28bf3b4: Preparing [2022-06-19T06:16:38.874Z] b541d28bf3b4: Layer already exists [2022-06-19T06:16:38.874Z] 440ad82c46b1: Pushed [2022-06-19T06:16:38.874Z] f54beb46382d: Pushed [2022-06-19T06:16:39.135Z] 7dbc5ec5128c: Pushed [2022-06-19T06:16:41.810Z] d5646500be7f: Pushed [2022-06-19T06:16:42.073Z] de36933a196ec2e5ea0c5601bc2b4d4bfd93191e: digest: sha256:c56479aa08802121734c572272cb7e03bde95755618aa0580866bcf60a119749 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:42.397Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:42.709Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-06-19T06:16:42.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-06-19T06:16:42.710Z] f54beb46382d: Preparing [2022-06-19T06:16:42.710Z] 440ad82c46b1: Preparing [2022-06-19T06:16:42.710Z] d5646500be7f: Preparing [2022-06-19T06:16:42.710Z] 7dbc5ec5128c: Preparing [2022-06-19T06:16:42.710Z] b541d28bf3b4: Preparing [2022-06-19T06:16:42.710Z] f54beb46382d: Layer already exists [2022-06-19T06:16:42.710Z] b541d28bf3b4: Layer already exists [2022-06-19T06:16:42.710Z] d5646500be7f: Layer already exists [2022-06-19T06:16:42.710Z] 7dbc5ec5128c: Layer already exists [2022-06-19T06:16:42.710Z] 440ad82c46b1: Layer already exists [2022-06-19T06:16:42.710Z] latest: digest: sha256:c56479aa08802121734c572272cb7e03bde95755618aa0580866bcf60a119749 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:43.092Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:43.443Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.3 [2022-06-19T06:16:43.443Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-06-19T06:16:43.443Z] f54beb46382d: Preparing [2022-06-19T06:16:43.443Z] 440ad82c46b1: Preparing [2022-06-19T06:16:43.443Z] d5646500be7f: Preparing [2022-06-19T06:16:43.443Z] 7dbc5ec5128c: Preparing [2022-06-19T06:16:43.443Z] b541d28bf3b4: Preparing [2022-06-19T06:16:43.443Z] 440ad82c46b1: Layer already exists [2022-06-19T06:16:43.443Z] b541d28bf3b4: Layer already exists [2022-06-19T06:16:43.443Z] 7dbc5ec5128c: Layer already exists [2022-06-19T06:16:43.443Z] f54beb46382d: Layer already exists [2022-06-19T06:16:43.443Z] d5646500be7f: Layer already exists [2022-06-19T06:16:43.443Z] 2.2.1-dev.3: digest: sha256:c56479aa08802121734c572272cb7e03bde95755618aa0580866bcf60a119749 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:43.792Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:44.101Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3 [2022-06-19T06:16:44.101Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-06-19T06:16:44.101Z] f54beb46382d: Preparing [2022-06-19T06:16:44.101Z] 440ad82c46b1: Preparing [2022-06-19T06:16:44.101Z] d5646500be7f: Preparing [2022-06-19T06:16:44.101Z] 7dbc5ec5128c: Preparing [2022-06-19T06:16:44.101Z] b541d28bf3b4: Preparing [2022-06-19T06:16:44.101Z] d5646500be7f: Layer already exists [2022-06-19T06:16:44.101Z] f54beb46382d: Layer already exists [2022-06-19T06:16:44.101Z] b541d28bf3b4: Layer already exists [2022-06-19T06:16:44.101Z] 7dbc5ec5128c: Layer already exists [2022-06-19T06:16:44.101Z] 440ad82c46b1: Layer already exists [2022-06-19T06:16:44.101Z] de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3: digest: sha256:c56479aa08802121734c572272cb7e03bde95755618aa0580866bcf60a119749 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:44.424Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:44.738Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-06-19T06:16:44.738Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-06-19T06:16:44.738Z] f54beb46382d: Preparing [2022-06-19T06:16:44.738Z] 440ad82c46b1: Preparing [2022-06-19T06:16:44.738Z] d5646500be7f: Preparing [2022-06-19T06:16:44.738Z] 7dbc5ec5128c: Preparing [2022-06-19T06:16:44.738Z] b541d28bf3b4: Preparing [2022-06-19T06:16:44.738Z] 7dbc5ec5128c: Layer already exists [2022-06-19T06:16:44.738Z] f54beb46382d: Layer already exists [2022-06-19T06:16:44.738Z] b541d28bf3b4: Layer already exists [2022-06-19T06:16:44.738Z] 440ad82c46b1: Layer already exists [2022-06-19T06:16:44.738Z] d5646500be7f: Layer already exists [2022-06-19T06:16:44.738Z] main: digest: sha256:c56479aa08802121734c572272cb7e03bde95755618aa0580866bcf60a119749 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T06:16:44.784Z] ===================================================== [Pipeline] echo [2022-06-19T06:16:44.795Z] taggedImages: [2022-06-19T06:16:44.795Z] - nexus3.edgexfoundry.org:10004/device-snmp:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [2022-06-19T06:16:44.795Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-06-19T06:16:44.795Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.3 [2022-06-19T06:16:44.795Z] - nexus3.edgexfoundry.org:10004/device-snmp:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3 [2022-06-19T06:16:44.795Z] - 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-06-19T06:16:45.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:16:45.186Z] [2022-06-19T06:16:45.186Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T06:16:45.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:16:45.484Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-19T06:16:45.484Z] 5eb5b503b376: Pulling fs layer [2022-06-19T06:16:45.484Z] 5c69ac0246d0: Pulling fs layer [2022-06-19T06:16:45.484Z] ec43610c2a17: Pulling fs layer [2022-06-19T06:16:45.484Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-19T06:16:45.484Z] 33b1e0a273af: Pulling fs layer [2022-06-19T06:16:45.484Z] 5d3b04190fa2: Pulling fs layer [2022-06-19T06:16:45.484Z] 2f39f015ded8: Pulling fs layer [2022-06-19T06:16:45.484Z] 33b1e0a273af: Waiting [2022-06-19T06:16:45.484Z] 5d3b04190fa2: Waiting [2022-06-19T06:16:45.484Z] 2f39f015ded8: Waiting [2022-06-19T06:16:45.484Z] 5c69ac0246d0: Download complete [2022-06-19T06:16:45.484Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-19T06:16:45.484Z] 3a2ae6a8a46f: Download complete [2022-06-19T06:16:45.484Z] 33b1e0a273af: Verifying Checksum [2022-06-19T06:16:45.484Z] 33b1e0a273af: Download complete [2022-06-19T06:16:45.484Z] 5d3b04190fa2: Download complete [2022-06-19T06:16:45.484Z] ec43610c2a17: Verifying Checksum [2022-06-19T06:16:45.484Z] ec43610c2a17: Download complete [2022-06-19T06:16:45.743Z] 5eb5b503b376: Download complete [2022-06-19T06:16:46.311Z] 2f39f015ded8: Download complete [2022-06-19T06:16:46.879Z] 5eb5b503b376: Pull complete [2022-06-19T06:16:47.139Z] 5c69ac0246d0: Pull complete [2022-06-19T06:16:47.710Z] ec43610c2a17: Pull complete [2022-06-19T06:16:47.710Z] 3a2ae6a8a46f: Pull complete [2022-06-19T06:16:47.968Z] 33b1e0a273af: Pull complete [2022-06-19T06:16:47.969Z] 5d3b04190fa2: Pull complete [2022-06-19T06:16:53.252Z] 2f39f015ded8: Pull complete [2022-06-19T06:16:53.252Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-19T06:16:53.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T06:16:53.252Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T06:16:53.350Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T06:16:53.394Z] $ 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-06-19T06:16:55.153Z] $ docker top 67c265ec292252c49a5ed028cc451c81e89fabae216c8d658581b8f498a4003c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T06:16:55.542Z] ---> job-cost.sh [2022-06-19T06:16:55.542Z] lf-activate-venv: SKIPPING [2022-06-19T06:16:55.542Z] INFO: No Stack... [2022-06-19T06:16:55.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-19T06:16:56.371Z] INFO: Archiving Costs [Pipeline] sh [2022-06-19T06:16:56.661Z] + cut -d, -f6 [2022-06-19T06:16:56.661Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [Pipeline] lock [2022-06-19T06:16:56.674Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-34-stack-cost] [2022-06-19T06:16:56.680Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-34-stack-cost] did not exist. Created. [2022-06-19T06:16:56.680Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-19T06:16:56.982Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-19T06:16:57.005Z] Stashed 1 file(s) [Pipeline] } [2022-06-19T06:16:57.011Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-19T06:16:57.034Z] $ docker stop --time=1 67c265ec292252c49a5ed028cc451c81e89fabae216c8d658581b8f498a4003c [2022-06-19T06:16:58.204Z] $ docker rm -f 67c265ec292252c49a5ed028cc451c81e89fabae216c8d658581b8f498a4003c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-19T08:54:07.569Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13399 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-06-19T08:54:07.584Z] Running in /w/workspace/device-snmp-go/34 [Pipeline] { [Pipeline] checkout [2022-06-19T08:54:07.637Z] Selected Git installation does not exist. Using Default [2022-06-19T08:54:07.637Z] The recommended git tool is: NONE [2022-06-19T08:54:14.625Z] using credential edgex-jenkins-ssh [2022-06-19T08:54:14.649Z] Cloning the remote Git repository [2022-06-19T08:54:14.770Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-06-19T08:54:14.861Z] > git init /w/workspace/device-snmp-go/34 # timeout=10 [2022-06-19T08:54:14.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-06-19T08:54:14.973Z] > git --version # timeout=10 [2022-06-19T08:54:15.012Z] > git --version # 'git version 2.25.1' [2022-06-19T08:54:15.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-19T08:54:15.121Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-19T08:54:16.145Z] Avoid second fetch [2022-06-19T08:54:16.145Z] Checking out Revision de36933a196ec2e5ea0c5601bc2b4d4bfd93191e (main) [2022-06-19T08:54:16.066Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-06-19T08:54:16.087Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-19T08:54:16.194Z] > git config core.sparsecheckout # timeout=10 [2022-06-19T08:54:16.242Z] > git checkout -f de36933a196ec2e5ea0c5601bc2b4d4bfd93191e # timeout=10 [2022-06-19T08:54:20.600Z] Commit message: "Merge pull request #178 from weichou1229/upgrade-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-19T08:54:21.366Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-19T08:54:21.366Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-19T08:54:21.366Z] Dload Upload Total Spent Left Speed [2022-06-19T08:54:21.366Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 70017 0 --:--:-- --:--:-- --:--:-- 70017 [Pipeline] sh [2022-06-19T08:54:22.016Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-19T08:54:22.363Z] + sudo tee /etc/docker/daemon.new [2022-06-19T08:54:22.363Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-19T08:54:22.363Z] { [2022-06-19T08:54:22.363Z] "registry-mirrors": [ [2022-06-19T08:54:22.363Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-19T08:54:22.363Z] ], [2022-06-19T08:54:22.363Z] "bip": "10.250.0.254/24", [2022-06-19T08:54:22.363Z] "hosts": [ [2022-06-19T08:54:22.363Z] "tcp://0.0.0.0:5555", [2022-06-19T08:54:22.363Z] "unix:///var/run/docker.sock" [2022-06-19T08:54:22.363Z] ], [2022-06-19T08:54:22.363Z] "mtu": 1458, [2022-06-19T08:54:22.363Z] "selinux-enabled": true, [2022-06-19T08:54:22.363Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-19T08:54:22.363Z] } [Pipeline] sh [2022-06-19T08:54:22.727Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-19T08:54:23.065Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T08:54:41.465Z] provisioning config files... [2022-06-19T08:54:41.489Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/34@tmp/config4962135860709097689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T08:54:41.849Z] ---> docker-login.sh [2022-06-19T08:54:41.849Z] nexus3.edgexfoundry.org:10001 [2022-06-19T08:54:42.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T08:54:42.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T08:54:42.716Z] Configure a credential helper to remove this warning. See [2022-06-19T08:54:42.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T08:54:42.716Z] [2022-06-19T08:54:42.716Z] Login Succeeded [2022-06-19T08:54:42.716Z] nexus3.edgexfoundry.org:10002 [2022-06-19T08:54:42.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T08:54:42.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T08:54:42.991Z] Configure a credential helper to remove this warning. See [2022-06-19T08:54:42.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T08:54:42.991Z] [2022-06-19T08:54:42.991Z] Login Succeeded [2022-06-19T08:54:42.991Z] nexus3.edgexfoundry.org:10003 [2022-06-19T08:54:43.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T08:54:43.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T08:54:43.592Z] Configure a credential helper to remove this warning. See [2022-06-19T08:54:43.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T08:54:43.592Z] [2022-06-19T08:54:43.592Z] Login Succeeded [2022-06-19T08:54:43.592Z] nexus3.edgexfoundry.org:10004 [2022-06-19T08:54:43.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T08:54:43.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T08:54:43.884Z] Configure a credential helper to remove this warning. See [2022-06-19T08:54:43.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T08:54:43.884Z] [2022-06-19T08:54:43.884Z] Login Succeeded [2022-06-19T08:54:43.884Z] docker.io [2022-06-19T08:54:44.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T08:54:44.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T08:54:44.753Z] Configure a credential helper to remove this warning. See [2022-06-19T08:54:44.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T08:54:44.753Z] [2022-06-19T08:54:44.753Z] Login Succeeded [2022-06-19T08:54:44.753Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T08:54:44.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-19T08:54:45.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T08:54:45.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T08:54:45.300Z] ========================================================= [2022-06-19T08:54:45.300Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-19T08:54:45.300Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T08:54:45.653Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-19T08:54:45.928Z] Sending build context to Docker daemon 2.77MB [2022-06-19T08:54:45.928Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T08:54:45.928Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-19T08:54:46.205Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-19T08:54:46.205Z] 9b3977197b4f: Pulling fs layer [2022-06-19T08:54:46.205Z] 1a89e8eeedd5: Pulling fs layer [2022-06-19T08:54:46.205Z] 94645a83ff95: Pulling fs layer [2022-06-19T08:54:46.205Z] e6fb740bc735: Pulling fs layer [2022-06-19T08:54:46.205Z] 3a77bd46dcc9: Pulling fs layer [2022-06-19T08:54:46.205Z] 355e64cbe906: Pulling fs layer [2022-06-19T08:54:46.205Z] 63ab81a10011: Pulling fs layer [2022-06-19T08:54:46.205Z] 555d1d1c4555: Pulling fs layer [2022-06-19T08:54:46.205Z] 7d9057610161: Pulling fs layer [2022-06-19T08:54:46.205Z] 355e64cbe906: Waiting [2022-06-19T08:54:46.205Z] 3a77bd46dcc9: Waiting [2022-06-19T08:54:46.205Z] 555d1d1c4555: Waiting [2022-06-19T08:54:46.205Z] 63ab81a10011: Waiting [2022-06-19T08:54:46.205Z] 7d9057610161: Waiting [2022-06-19T08:54:46.205Z] e6fb740bc735: Waiting [2022-06-19T08:54:46.205Z] 94645a83ff95: Download complete [2022-06-19T08:54:46.205Z] 1a89e8eeedd5: Verifying Checksum [2022-06-19T08:54:46.205Z] 1a89e8eeedd5: Download complete [2022-06-19T08:54:46.205Z] 3a77bd46dcc9: Verifying Checksum [2022-06-19T08:54:46.205Z] 3a77bd46dcc9: Download complete [2022-06-19T08:54:46.205Z] 355e64cbe906: Verifying Checksum [2022-06-19T08:54:46.205Z] 355e64cbe906: Download complete [2022-06-19T08:54:46.205Z] 9b3977197b4f: Verifying Checksum [2022-06-19T08:54:46.205Z] 9b3977197b4f: Download complete [2022-06-19T08:54:46.205Z] 63ab81a10011: Verifying Checksum [2022-06-19T08:54:46.205Z] 63ab81a10011: Download complete [2022-06-19T08:54:47.203Z] 9b3977197b4f: Pull complete [2022-06-19T08:54:47.203Z] 7d9057610161: Verifying Checksum [2022-06-19T08:54:47.203Z] 7d9057610161: Download complete [2022-06-19T08:54:47.810Z] 1a89e8eeedd5: Pull complete [2022-06-19T08:54:48.094Z] 94645a83ff95: Pull complete [2022-06-19T08:54:48.367Z] 555d1d1c4555: Verifying Checksum [2022-06-19T08:54:48.367Z] 555d1d1c4555: Download complete [2022-06-19T08:54:48.968Z] e6fb740bc735: Verifying Checksum [2022-06-19T08:54:48.968Z] e6fb740bc735: Download complete [2022-06-19T08:55:01.370Z] e6fb740bc735: Pull complete [2022-06-19T08:55:01.370Z] 3a77bd46dcc9: Pull complete [2022-06-19T08:55:01.370Z] 355e64cbe906: Pull complete [2022-06-19T08:55:01.644Z] 63ab81a10011: Pull complete [2022-06-19T08:55:08.361Z] 555d1d1c4555: Pull complete [2022-06-19T08:55:09.800Z] 7d9057610161: Pull complete [2022-06-19T08:55:10.077Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-19T08:55:10.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-19T08:55:10.077Z] ---> 819e984ddca1 [2022-06-19T08:55:10.077Z] Step 3/12 : ARG MAKE='make build' [2022-06-19T08:55:11.521Z] ---> Running in 58f3ce441ca0 [2022-06-19T08:55:11.796Z] Removing intermediate container 58f3ce441ca0 [2022-06-19T08:55:11.796Z] ---> 946ef3a1f69d [2022-06-19T08:55:11.796Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-19T08:55:12.069Z] ---> Running in eeaefd82f801 [2022-06-19T08:55:12.345Z] Removing intermediate container eeaefd82f801 [2022-06-19T08:55:12.345Z] ---> 7cb8f1862ae1 [2022-06-19T08:55:12.345Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-19T08:55:12.345Z] ---> Running in 5d843dcba340 [2022-06-19T08:55:12.621Z] Removing intermediate container 5d843dcba340 [2022-06-19T08:55:12.621Z] ---> ea7d28472c99 [2022-06-19T08:55:12.621Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T08:55:12.621Z] ---> Running in 5862477d21f7 [2022-06-19T08:55:14.617Z] Removing intermediate container 5862477d21f7 [2022-06-19T08:55:14.617Z] ---> c98ebde7a44f [2022-06-19T08:55:14.617Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-19T08:55:14.617Z] ---> Running in 52c4f56dce8c [2022-06-19T08:55:15.602Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-19T08:55:16.583Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-19T08:55:17.209Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-19T08:55:17.209Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-19T08:55:17.489Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-19T08:55:17.489Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-19T08:55:17.761Z] Executing busybox-1.34.1-r3.trigger [2022-06-19T08:55:17.761Z] OK: 224 MiB in 56 packages [2022-06-19T08:55:18.758Z] Removing intermediate container 52c4f56dce8c [2022-06-19T08:55:18.758Z] ---> 2e94b890f60d [2022-06-19T08:55:18.758Z] Step 8/12 : WORKDIR /device-snmp-go [2022-06-19T08:55:18.758Z] ---> Running in d7d27d4f0dc3 [2022-06-19T08:55:19.368Z] Removing intermediate container d7d27d4f0dc3 [2022-06-19T08:55:19.368Z] ---> e5192aaa7340 [2022-06-19T08:55:19.368Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-19T08:55:19.659Z] ---> 23e9a8c3cf9b [2022-06-19T08:55:19.659Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T08:55:19.659Z] ---> Running in 7ce24323b912 [2022-06-19T08:56:06.650Z] Removing intermediate container 7ce24323b912 [2022-06-19T08:56:06.650Z] ---> 69a07499f3ff [2022-06-19T08:56:06.650Z] Step 11/12 : COPY . . [2022-06-19T08:56:06.650Z] ---> 4995577b13b1 [2022-06-19T08:56:06.650Z] Step 12/12 : RUN ${MAKE} [2022-06-19T08:56:06.650Z] ---> Running in b529f880b2f5 [2022-06-19T08:56:06.650Z] noop [2022-06-19T08:56:06.650Z] Removing intermediate container b529f880b2f5 [2022-06-19T08:56:06.650Z] ---> a2e7d3daea62 [2022-06-19T08:56:06.650Z] Successfully built a2e7d3daea62 [2022-06-19T08:56:06.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T08:56:07.021Z] + docker inspect -f . ci-base-image-arm64 [2022-06-19T08:56:07.021Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T08:56:07.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-13399 does not seem to be running inside a container [2022-06-19T08:56:07.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/34 -v /w/workspace/device-snmp-go/34:/w/workspace/device-snmp-go/34:rw,z -v /w/workspace/device-snmp-go/34@tmp:/w/workspace/device-snmp-go/34@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-06-19T08:56:08.661Z] $ docker top 9d214486ddaa7a3295da1604a896db8719f74b4e1b84beb14e204ca0d566325c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-19T08:56:09.569Z] + go version [2022-06-19T08:56:09.569Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-19T08:56:09.597Z] $ docker stop --time=1 9d214486ddaa7a3295da1604a896db8719f74b4e1b84beb14e204ca0d566325c [2022-06-19T08:56:11.229Z] $ docker rm -f 9d214486ddaa7a3295da1604a896db8719f74b4e1b84beb14e204ca0d566325c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T08:56:11.835Z] + docker inspect -f . ci-base-image-arm64 [2022-06-19T08:56:11.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T08:56:12.083Z] prd-ubuntu20.04-docker-arm64-4c-16g-13399 does not seem to be running inside a container [2022-06-19T08:56:12.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/34 -v /w/workspace/device-snmp-go/34:/w/workspace/device-snmp-go/34:rw,z -v /w/workspace/device-snmp-go/34@tmp:/w/workspace/device-snmp-go/34@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-06-19T08:56:13.404Z] $ docker top 24ee69cc2d947476fe6d1b175b839dea8e639337862d17c6d0477d34dc03fed8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-19T08:56:14.322Z] + make test [2022-06-19T08:56:14.322Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-19T08:56:16.301Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-06-19T08:57:38.159Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-06-19T08:57:38.159Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements [2022-06-19T08:57:38.159Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-19T08:57:38.159Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-19T08:57:56.527Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-19T08:57:56.527Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-19T08:57:56.527Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-19T08:57:59.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-19T08:57:59.959Z] $ docker stop --time=1 24ee69cc2d947476fe6d1b175b839dea8e639337862d17c6d0477d34dc03fed8 [2022-06-19T08:58:01.692Z] $ docker rm -f 24ee69cc2d947476fe6d1b175b839dea8e639337862d17c6d0477d34dc03fed8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T08:58:02.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-19T08:58:02.663Z] Warning: overwriting stash ‘coverage-report’ [2022-06-19T08:58:03.089Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-19T08:58:03.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-19T08:58:03.809Z] + ls -al . [2022-06-19T08:58:03.809Z] total 164 [2022-06-19T08:58:03.809Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 08:57 . [2022-06-19T08:58:03.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 08:54 .. [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 19 08:54 .dockerignore [2022-06-19T08:58:03.809Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 08:54 .git [2022-06-19T08:58:03.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 08:54 .github [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 328 Jun 19 08:54 .gitignore [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 08:54 .golangci.yml [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jun 19 08:54 Attribution.txt [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jun 19 08:54 CHANGELOG.md [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 1516 Jun 19 08:54 Dockerfile [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 08:54 GOVERNANCE.md [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 19 08:54 Jenkinsfile [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 08:54 LICENSE [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jun 19 08:54 Makefile [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 19 08:54 OWNERS.md [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jun 19 08:54 README.md [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:15 VERSION [2022-06-19T08:58:03.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 08:54 bin [2022-06-19T08:58:03.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 08:54 cmd [2022-06-19T08:58:03.809Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 19 08:57 coverage.out [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 3300 Jun 19 08:54 go.mod [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 36370 Jun 19 08:54 go.sum [2022-06-19T08:58:03.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 08:54 internal [2022-06-19T08:58:03.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 08:54 snap [2022-06-19T08:58:03.809Z] -rw-rw-r-- 1 jenkins jenkins 228 Jun 19 08:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T08:58:04.160Z] + 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=de36933a196ec2e5ea0c5601bc2b4d4bfd93191e --label arch=arm64 --label version=2.2.1-dev.3 . [2022-06-19T08:58:04.432Z] Sending build context to Docker daemon 2.779MB [2022-06-19T08:58:04.432Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-19T08:58:04.432Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-19T08:58:04.432Z] ---> a2e7d3daea62 [2022-06-19T08:58:04.432Z] Step 3/24 : ARG MAKE='make build' [2022-06-19T08:58:04.710Z] ---> Running in 54f684109bc0 [2022-06-19T08:58:04.985Z] Removing intermediate container 54f684109bc0 [2022-06-19T08:58:04.985Z] ---> 643cbcc4c026 [2022-06-19T08:58:04.985Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-19T08:58:04.985Z] ---> Running in 4c80f51aaf6f [2022-06-19T08:58:05.264Z] Removing intermediate container 4c80f51aaf6f [2022-06-19T08:58:05.264Z] ---> ddc704fdb7c0 [2022-06-19T08:58:05.264Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-19T08:58:05.264Z] ---> Running in 7e47c47bebbd [2022-06-19T08:58:05.542Z] Removing intermediate container 7e47c47bebbd [2022-06-19T08:58:05.542Z] ---> 2701262fa74f [2022-06-19T08:58:05.542Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-19T08:58:05.835Z] ---> Running in 45c3801dbe17 [2022-06-19T08:58:07.270Z] Removing intermediate container 45c3801dbe17 [2022-06-19T08:58:07.270Z] ---> 6b0d1e5d63af [2022-06-19T08:58:07.270Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-19T08:58:07.270Z] ---> Running in f790dc90fe60 [2022-06-19T08:58:08.253Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-19T08:58:09.232Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-19T08:58:10.215Z] OK: 224 MiB in 56 packages [2022-06-19T08:58:10.817Z] Removing intermediate container f790dc90fe60 [2022-06-19T08:58:10.817Z] ---> d4f43a67d257 [2022-06-19T08:58:10.817Z] Step 8/24 : WORKDIR /device-snmp-go [2022-06-19T08:58:10.817Z] ---> Running in 9625715440d5 [2022-06-19T08:58:11.427Z] Removing intermediate container 9625715440d5 [2022-06-19T08:58:11.427Z] ---> ab3d887c2fb6 [2022-06-19T08:58:11.427Z] Step 9/24 : COPY go.mod vendor* ./ [2022-06-19T08:58:11.706Z] ---> 3e7cdeeb4d8e [2022-06-19T08:58:11.706Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-19T08:58:11.984Z] ---> Running in f0fb81e430c2 [2022-06-19T08:58:13.969Z] Removing intermediate container f0fb81e430c2 [2022-06-19T08:58:13.969Z] ---> fa17d55e7d33 [2022-06-19T08:58:13.969Z] Step 11/24 : COPY . . [2022-06-19T08:58:14.568Z] ---> 819e64da97ec [2022-06-19T08:58:14.568Z] Step 12/24 : RUN ${MAKE} [2022-06-19T08:58:14.568Z] ---> Running in c267285032f8 [2022-06-19T08:58:15.549Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.5 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-06-19T09:00:22.485Z] Removing intermediate container c267285032f8 [2022-06-19T09:00:22.485Z] ---> 63501f37be63 [2022-06-19T09:00:22.485Z] Step 13/24 : FROM alpine:3.14 [2022-06-19T09:00:22.485Z] 3.14: Pulling from library/alpine [2022-06-19T09:00:22.485Z] 455c02918c45: Pulling fs layer [2022-06-19T09:00:22.485Z] 455c02918c45: Verifying Checksum [2022-06-19T09:00:22.485Z] 455c02918c45: Download complete [2022-06-19T09:00:22.485Z] 455c02918c45: Pull complete [2022-06-19T09:00:22.485Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-19T09:00:22.485Z] Status: Downloaded newer image for alpine:3.14 [2022-06-19T09:00:22.485Z] ---> ac73e934f311 [2022-06-19T09:00:22.485Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-19T09:00:22.485Z] ---> Running in d27dedabd562 [2022-06-19T09:00:22.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-19T09:00:22.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-19T09:00:22.485Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-19T09:00:22.485Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-19T09:00:22.485Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-19T09:00:22.485Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-19T09:00:22.485Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-19T09:00:22.485Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-19T09:00:22.485Z] Executing busybox-1.33.1-r7.trigger [2022-06-19T09:00:22.485Z] OK: 8 MiB in 20 packages [2022-06-19T09:00:22.485Z] Removing intermediate container d27dedabd562 [2022-06-19T09:00:22.485Z] ---> 2b963df63254 [2022-06-19T09:00:22.485Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-06-19T09:00:22.485Z] ---> 8ea0a224e1f8 [2022-06-19T09:00:22.485Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-06-19T09:00:22.485Z] ---> ced12e17a30a [2022-06-19T09:00:22.485Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-06-19T09:00:22.485Z] ---> 2d50dc2741a3 [2022-06-19T09:00:22.485Z] Step 18/24 : EXPOSE 59993 [2022-06-19T09:00:22.485Z] ---> Running in 38ecd5afd594 [2022-06-19T09:00:22.485Z] Removing intermediate container 38ecd5afd594 [2022-06-19T09:00:22.485Z] ---> 425b26a9d62e [2022-06-19T09:00:22.485Z] Step 19/24 : EXPOSE 161 [2022-06-19T09:00:22.485Z] ---> Running in 97b9c64eb201 [2022-06-19T09:00:22.485Z] Removing intermediate container 97b9c64eb201 [2022-06-19T09:00:22.485Z] ---> cdb79e3b9aff [2022-06-19T09:00:22.485Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-06-19T09:00:22.485Z] ---> Running in 727b9de5623a [2022-06-19T09:00:22.485Z] Removing intermediate container 727b9de5623a [2022-06-19T09:00:22.485Z] ---> a4cf03e98ad6 [2022-06-19T09:00:22.485Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-19T09:00:22.485Z] ---> Running in 6d417152fce7 [2022-06-19T09:00:22.485Z] Removing intermediate container 6d417152fce7 [2022-06-19T09:00:22.485Z] ---> ccb3c5593a67 [2022-06-19T09:00:22.485Z] Step 22/24 : LABEL arch=arm64 [2022-06-19T09:00:22.485Z] ---> Running in 97a47a3a6423 [2022-06-19T09:00:22.485Z] Removing intermediate container 97a47a3a6423 [2022-06-19T09:00:22.485Z] ---> 3c69f3f85721 [2022-06-19T09:00:22.485Z] Step 23/24 : LABEL git_sha=de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [2022-06-19T09:00:22.485Z] ---> Running in fd041a5b2b8c [2022-06-19T09:00:22.485Z] Removing intermediate container fd041a5b2b8c [2022-06-19T09:00:22.485Z] ---> 04dbca1c4cff [2022-06-19T09:00:22.485Z] Step 24/24 : LABEL version=2.2.1-dev.3 [2022-06-19T09:00:22.485Z] ---> Running in f6035fcad080 [2022-06-19T09:00:22.485Z] Removing intermediate container f6035fcad080 [2022-06-19T09:00:22.485Z] ---> 1aa0bc6f5a04 [2022-06-19T09:00:22.485Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-19T09:00:22.485Z] Successfully built 1aa0bc6f5a04 [2022-06-19T09:00:22.485Z] 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-06-19T09:00:22.607Z] provisioning config files... [2022-06-19T09:00:22.629Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/34@tmp/config3409422049030453946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:00:23.000Z] ---> docker-login.sh [2022-06-19T09:00:23.000Z] nexus3.edgexfoundry.org:10001 [2022-06-19T09:00:23.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T09:00:23.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T09:00:23.276Z] Configure a credential helper to remove this warning. See [2022-06-19T09:00:23.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T09:00:23.276Z] [2022-06-19T09:00:23.276Z] Login Succeeded [2022-06-19T09:00:23.276Z] nexus3.edgexfoundry.org:10002 [2022-06-19T09:00:23.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T09:00:23.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T09:00:23.876Z] Configure a credential helper to remove this warning. See [2022-06-19T09:00:23.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T09:00:23.876Z] [2022-06-19T09:00:23.876Z] Login Succeeded [2022-06-19T09:00:23.876Z] nexus3.edgexfoundry.org:10003 [2022-06-19T09:00:24.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T09:00:24.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T09:00:24.425Z] Configure a credential helper to remove this warning. See [2022-06-19T09:00:24.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T09:00:24.425Z] [2022-06-19T09:00:24.425Z] Login Succeeded [2022-06-19T09:00:24.425Z] nexus3.edgexfoundry.org:10004 [2022-06-19T09:00:24.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T09:00:24.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T09:00:24.797Z] Configure a credential helper to remove this warning. See [2022-06-19T09:00:24.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T09:00:24.797Z] [2022-06-19T09:00:24.797Z] Login Succeeded [2022-06-19T09:00:24.797Z] docker.io [2022-06-19T09:00:25.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-19T09:00:25.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-19T09:00:25.667Z] Configure a credential helper to remove this warning. See [2022-06-19T09:00:25.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-19T09:00:25.667Z] [2022-06-19T09:00:25.667Z] Login Succeeded [2022-06-19T09:00:25.667Z] ---> docker-login.sh ends [Pipeline] } [2022-06-19T09:00:25.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T09:00:25.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-19T09:00:25.742Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-06-19T09:00:25.742Z] de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [2022-06-19T09:00:25.742Z] latest [2022-06-19T09:00:25.742Z] 2.2.1-dev.3 [2022-06-19T09:00:25.742Z] de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3 [2022-06-19T09:00:25.742Z] main [2022-06-19T09:00:25.742Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:26.104Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:26.470Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [2022-06-19T09:00:26.470Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-06-19T09:00:26.470Z] fc60e4924d01: Preparing [2022-06-19T09:00:26.470Z] 4df61cac01ea: Preparing [2022-06-19T09:00:26.470Z] 0b78ccce1629: Preparing [2022-06-19T09:00:26.470Z] 5d35cd796835: Preparing [2022-06-19T09:00:26.470Z] f73e7dbfee58: Preparing [2022-06-19T09:00:26.470Z] f73e7dbfee58: Layer already exists [2022-06-19T09:00:26.746Z] 4df61cac01ea: Pushed [2022-06-19T09:00:26.746Z] fc60e4924d01: Pushed [2022-06-19T09:00:27.343Z] 5d35cd796835: Pushed [2022-06-19T09:00:32.744Z] 0b78ccce1629: Pushed [2022-06-19T09:00:33.016Z] de36933a196ec2e5ea0c5601bc2b4d4bfd93191e: digest: sha256:ed9da5a0e4bb14e43869d1e926f346069f411325664858dac16b8cb760af95a9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:33.389Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:33.758Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-06-19T09:00:33.758Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-06-19T09:00:33.758Z] fc60e4924d01: Preparing [2022-06-19T09:00:33.758Z] 4df61cac01ea: Preparing [2022-06-19T09:00:33.758Z] 0b78ccce1629: Preparing [2022-06-19T09:00:33.758Z] 5d35cd796835: Preparing [2022-06-19T09:00:33.758Z] f73e7dbfee58: Preparing [2022-06-19T09:00:33.758Z] fc60e4924d01: Layer already exists [2022-06-19T09:00:33.758Z] 4df61cac01ea: Layer already exists [2022-06-19T09:00:33.758Z] f73e7dbfee58: Layer already exists [2022-06-19T09:00:33.758Z] 5d35cd796835: Layer already exists [2022-06-19T09:00:33.758Z] 0b78ccce1629: Layer already exists [2022-06-19T09:00:34.033Z] latest: digest: sha256:ed9da5a0e4bb14e43869d1e926f346069f411325664858dac16b8cb760af95a9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:34.408Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:34.770Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.3 [2022-06-19T09:00:34.770Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-06-19T09:00:34.770Z] fc60e4924d01: Preparing [2022-06-19T09:00:34.770Z] 4df61cac01ea: Preparing [2022-06-19T09:00:34.770Z] 0b78ccce1629: Preparing [2022-06-19T09:00:34.770Z] 5d35cd796835: Preparing [2022-06-19T09:00:34.770Z] f73e7dbfee58: Preparing [2022-06-19T09:00:34.770Z] 0b78ccce1629: Layer already exists [2022-06-19T09:00:34.770Z] 4df61cac01ea: Layer already exists [2022-06-19T09:00:34.770Z] f73e7dbfee58: Layer already exists [2022-06-19T09:00:34.770Z] 5d35cd796835: Layer already exists [2022-06-19T09:00:34.770Z] fc60e4924d01: Layer already exists [2022-06-19T09:00:35.044Z] 2.2.1-dev.3: digest: sha256:ed9da5a0e4bb14e43869d1e926f346069f411325664858dac16b8cb760af95a9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:35.414Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:35.779Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3 [2022-06-19T09:00:35.779Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-06-19T09:00:35.779Z] fc60e4924d01: Preparing [2022-06-19T09:00:35.779Z] 4df61cac01ea: Preparing [2022-06-19T09:00:35.779Z] 0b78ccce1629: Preparing [2022-06-19T09:00:35.779Z] 5d35cd796835: Preparing [2022-06-19T09:00:35.779Z] f73e7dbfee58: Preparing [2022-06-19T09:00:35.779Z] fc60e4924d01: Layer already exists [2022-06-19T09:00:35.779Z] f73e7dbfee58: Layer already exists [2022-06-19T09:00:35.779Z] 0b78ccce1629: Layer already exists [2022-06-19T09:00:35.779Z] 4df61cac01ea: Layer already exists [2022-06-19T09:00:35.779Z] 5d35cd796835: Layer already exists [2022-06-19T09:00:36.053Z] de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3: digest: sha256:ed9da5a0e4bb14e43869d1e926f346069f411325664858dac16b8cb760af95a9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:36.414Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:36.781Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-06-19T09:00:36.781Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-06-19T09:00:36.781Z] fc60e4924d01: Preparing [2022-06-19T09:00:36.781Z] 4df61cac01ea: Preparing [2022-06-19T09:00:36.781Z] 0b78ccce1629: Preparing [2022-06-19T09:00:36.781Z] 5d35cd796835: Preparing [2022-06-19T09:00:36.781Z] f73e7dbfee58: Preparing [2022-06-19T09:00:36.781Z] f73e7dbfee58: Layer already exists [2022-06-19T09:00:36.781Z] 4df61cac01ea: Layer already exists [2022-06-19T09:00:36.781Z] 0b78ccce1629: Layer already exists [2022-06-19T09:00:36.781Z] fc60e4924d01: Layer already exists [2022-06-19T09:00:36.781Z] 5d35cd796835: Layer already exists [2022-06-19T09:00:37.055Z] main: digest: sha256:ed9da5a0e4bb14e43869d1e926f346069f411325664858dac16b8cb760af95a9 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-19T09:00:37.116Z] ===================================================== [Pipeline] echo [2022-06-19T09:00:37.122Z] taggedImages: [2022-06-19T09:00:37.122Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [2022-06-19T09:00:37.122Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-06-19T09:00:37.122Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.3 [2022-06-19T09:00:37.122Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:de36933a196ec2e5ea0c5601bc2b4d4bfd93191e-2.2.1-dev.3 [2022-06-19T09:00:37.122Z] - 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-06-19T09:00:37.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-19T09:00:37.488Z] [2022-06-19T09:00:37.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:00:37.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-19T09:00:38.112Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-19T09:00:38.112Z] 8998bd30e6a1: Pulling fs layer [2022-06-19T09:00:38.112Z] 04944245beec: Pulling fs layer [2022-06-19T09:00:38.112Z] 699f458cf7ca: Pulling fs layer [2022-06-19T09:00:38.112Z] 765212b225bb: Pulling fs layer [2022-06-19T09:00:38.112Z] f23df028b6ca: Pulling fs layer [2022-06-19T09:00:38.112Z] d65c8cfc05b1: Pulling fs layer [2022-06-19T09:00:38.112Z] 2437ff75d9bd: Pulling fs layer [2022-06-19T09:00:38.112Z] 765212b225bb: Waiting [2022-06-19T09:00:38.112Z] f23df028b6ca: Waiting [2022-06-19T09:00:38.112Z] d65c8cfc05b1: Waiting [2022-06-19T09:00:38.112Z] 2437ff75d9bd: Waiting [2022-06-19T09:00:38.112Z] 04944245beec: Verifying Checksum [2022-06-19T09:00:38.112Z] 04944245beec: Download complete [2022-06-19T09:00:38.112Z] 765212b225bb: Download complete [2022-06-19T09:00:38.112Z] f23df028b6ca: Verifying Checksum [2022-06-19T09:00:38.112Z] f23df028b6ca: Download complete [2022-06-19T09:00:38.112Z] d65c8cfc05b1: Verifying Checksum [2022-06-19T09:00:38.112Z] d65c8cfc05b1: Download complete [2022-06-19T09:00:38.392Z] 699f458cf7ca: Verifying Checksum [2022-06-19T09:00:38.392Z] 699f458cf7ca: Download complete [2022-06-19T09:00:38.669Z] 8998bd30e6a1: Download complete [2022-06-19T09:00:41.297Z] 2437ff75d9bd: Verifying Checksum [2022-06-19T09:00:41.297Z] 2437ff75d9bd: Download complete [2022-06-19T09:00:43.275Z] 8998bd30e6a1: Pull complete [2022-06-19T09:00:43.553Z] 04944245beec: Pull complete [2022-06-19T09:00:44.988Z] 699f458cf7ca: Pull complete [2022-06-19T09:00:45.266Z] 765212b225bb: Pull complete [2022-06-19T09:00:46.249Z] f23df028b6ca: Pull complete [2022-06-19T09:00:46.249Z] d65c8cfc05b1: Pull complete [2022-06-19T09:01:01.343Z] 2437ff75d9bd: Pull complete [2022-06-19T09:01:01.343Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-19T09:01:01.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-19T09:01:01.343Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T09:01:01.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-13399 does not seem to be running inside a container [2022-06-19T09:01:01.686Z] $ 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/34 -v /w/workspace/device-snmp-go/34:/w/workspace/device-snmp-go/34:rw,z -v /w/workspace/device-snmp-go/34@tmp:/w/workspace/device-snmp-go/34@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-06-19T09:01:04.140Z] $ docker top a8e9bff82b10206717c6b911119aee369747f502d22151bb8134d8ec381e73a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:01:05.070Z] ---> job-cost.sh [2022-06-19T09:01:05.070Z] lf-activate-venv: SKIPPING [2022-06-19T09:01:05.070Z] INFO: No Stack... [2022-06-19T09:01:05.343Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-19T09:01:06.318Z] INFO: Archiving Costs [Pipeline] sh [2022-06-19T09:01:06.983Z] + cat /w/workspace/device-snmp-go/34/archives/cost.csv [2022-06-19T09:01:06.983Z] + cut -d, -f6 [Pipeline] lock [2022-06-19T09:01:07.053Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-34-stack-cost] [2022-06-19T09:01:07.060Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-34-stack-cost] did not exist. Created. [2022-06-19T09:01:07.060Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-19T09:01:07.742Z] /w/workspace/device-snmp-go/34@tmp/durable-e92ceeb3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-19T09:01:08.432Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-19T09:01:08.460Z] Warning: overwriting stash ‘stack-cost’ [2022-06-19T09:01:08.504Z] Stashed 1 file(s) [Pipeline] } [2022-06-19T09:01:08.510Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-19T09:01:08.529Z] $ docker stop --time=1 a8e9bff82b10206717c6b911119aee369747f502d22151bb8134d8ec381e73a5 [2022-06-19T09:01:10.008Z] $ docker rm -f a8e9bff82b10206717c6b911119aee369747f502d22151bb8134d8ec381e73a5 [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-06-19T09:01:10.461Z] provisioning config files... [2022-06-19T09:01:10.468Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8448978003837255679tmp [Pipeline] { [Pipeline] sh [2022-06-19T09:01:10.758Z] + set +x [2022-06-19T09:01:10.758Z] + + curl -s https://codecov.io/bash [2022-06-19T09:01:10.758Z] bash -s -- [2022-06-19T09:01:10.758Z] [2022-06-19T09:01:10.758Z] _____ _ [2022-06-19T09:01:10.758Z] / ____| | | [2022-06-19T09:01:10.758Z] | | ___ __| | ___ ___ _____ __ [2022-06-19T09:01:10.758Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-19T09:01:10.758Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-19T09:01:10.758Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-19T09:01:10.758Z] Bash-1.0.6 [2022-06-19T09:01:10.758Z] [2022-06-19T09:01:10.758Z] [2022-06-19T09:01:10.758Z] ==> git version 2.25.1 found [2022-06-19T09:01:10.758Z] ==> 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-06-19T09:01:10.758Z] Release-Date: 2020-01-08 [2022-06-19T09:01:10.758Z] 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-06-19T09:01:10.758Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-19T09:01:10.758Z] ==> Jenkins CI detected. [2022-06-19T09:01:10.758Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-06-19T09:01:10.758Z] project root: . [2022-06-19T09:01:10.758Z] --> token set from env [2022-06-19T09:01:10.758Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-19T09:01:10.758Z] ==> Running gcov in . (disable via -X gcov) [2022-06-19T09:01:10.758Z] ==> Python coveragepy not found [2022-06-19T09:01:10.758Z] ==> Searching for coverage reports in: [2022-06-19T09:01:10.758Z] + . [2022-06-19T09:01:10.758Z] -> Found 1 reports [2022-06-19T09:01:10.758Z] ==> Detecting git/mercurial file structure [2022-06-19T09:01:10.758Z] ==> Reading reports [2022-06-19T09:01:10.758Z] + ./coverage.out bytes=7631 [2022-06-19T09:01:10.758Z] ==> Appending adjustments [2022-06-19T09:01:10.758Z] https://docs.codecov.io/docs/fixing-reports [2022-06-19T09:01:11.019Z] + Found adjustments [2022-06-19T09:01:11.019Z] ==> Gzipping contents [2022-06-19T09:01:11.019Z] 4.0K /tmp/codecov.OoXNkM.gz [2022-06-19T09:01:11.019Z] ==> Uploading reports [2022-06-19T09:01:11.019Z] url: https://codecov.io [2022-06-19T09:01:11.019Z] query: branch=main&commit=de36933a196ec2e5ea0c5601bc2b4d4bfd93191e&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-19T09:01:11.019Z] -> Pinging Codecov [2022-06-19T09:01:11.019Z] 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=de36933a196ec2e5ea0c5601bc2b4d4bfd93191e&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-19T09:01:11.280Z] -> Uploading to [2022-06-19T09:01:11.280Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-19/6C56EA5C29638FB4528AC87E60AF5AE0/de36933a196ec2e5ea0c5601bc2b4d4bfd93191e/6f66a777-46ca-4eb1-8862-02f5c6af5524.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220619%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220619T090111Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c39bba1021f39ab4a7300d8c2a281d7988000246b58a25466306d1df883afc84 [2022-06-19T09:01:11.280Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-19T09:01:11.280Z] Dload Upload Total Spent Left Speed [2022-06-19T09:01:11.542Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 7220 --:--:-- --:--:-- --:--:-- 7188 100 1603 0 0 100 1603 0 5893 --:--:-- --:--:-- --:--:-- 5871 [2022-06-19T09:01:11.542Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [Pipeline] } [2022-06-19T09:01:11.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-19T09:01:11.676Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-19T09:01:11.686Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:01:11.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-19T09:01:11.978Z] [2022-06-19T09:01:11.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:01:12.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-19T09:01:12.284Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-19T09:01:12.284Z] df9b9388f04a: Pulling fs layer [2022-06-19T09:01:12.284Z] 52dc419b0ee2: Pulling fs layer [2022-06-19T09:01:12.284Z] 25bc292e5bac: Pulling fs layer [2022-06-19T09:01:12.284Z] 114826534d7a: Pulling fs layer [2022-06-19T09:01:12.284Z] 4657fd5d0bcf: Pulling fs layer [2022-06-19T09:01:12.284Z] 6ad1cebc031e: Pulling fs layer [2022-06-19T09:01:12.284Z] 8a3aa393b2d8: Pulling fs layer [2022-06-19T09:01:12.284Z] 4657fd5d0bcf: Waiting [2022-06-19T09:01:12.284Z] 6ad1cebc031e: Waiting [2022-06-19T09:01:12.284Z] 114826534d7a: Waiting [2022-06-19T09:01:12.284Z] 25bc292e5bac: Verifying Checksum [2022-06-19T09:01:12.284Z] 25bc292e5bac: Download complete [2022-06-19T09:01:12.284Z] 52dc419b0ee2: Verifying Checksum [2022-06-19T09:01:12.284Z] 4657fd5d0bcf: Verifying Checksum [2022-06-19T09:01:12.284Z] 4657fd5d0bcf: Download complete [2022-06-19T09:01:12.284Z] df9b9388f04a: Download complete [2022-06-19T09:01:12.544Z] df9b9388f04a: Pull complete [2022-06-19T09:01:12.544Z] 6ad1cebc031e: Download complete [2022-06-19T09:01:12.544Z] 52dc419b0ee2: Pull complete [2022-06-19T09:01:12.804Z] 25bc292e5bac: Pull complete [2022-06-19T09:01:13.063Z] 114826534d7a: Download complete [2022-06-19T09:01:13.063Z] 8a3aa393b2d8: Download complete [2022-06-19T09:01:16.356Z] 114826534d7a: Pull complete [2022-06-19T09:01:16.356Z] 4657fd5d0bcf: Pull complete [2022-06-19T09:01:16.925Z] 6ad1cebc031e: Pull complete [2022-06-19T09:01:19.463Z] 8a3aa393b2d8: Pull complete [2022-06-19T09:01:19.463Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-19T09:01:19.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-19T09:01:19.463Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T09:01:19.545Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T09:01:19.587Z] $ 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-06-19T09:01:21.745Z] $ docker top a59b999f4b3372b427b2b0ce953a82af3d6edb1943c89c7f39bb4cbda53b65d0 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-19T09:01:21.815Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2022-06-19T09:01:22.095Z] + set -o pipefail [2022-06-19T09:01:22.095Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2022-06-19T09:01:26.299Z] [2022-06-19T09:01:26.299Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-06-19T09:01:26.299Z] [2022-06-19T09:01:26.299Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/2a5bbc13-edce-49e0-81db-fa4f46c7dc6d [2022-06-19T09:01:26.299Z] [2022-06-19T09:01:26.299Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-19T09:01:26.299Z] [2022-06-19T09:01:26.299Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-19T09:01:26.299Z] [2022-06-19T09:01:26.559Z] [Pipeline] } [2022-06-19T09:01:26.580Z] $ docker stop --time=1 a59b999f4b3372b427b2b0ce953a82af3d6edb1943c89c7f39bb4cbda53b65d0 [2022-06-19T09:01:28.925Z] $ docker rm -f a59b999f4b3372b427b2b0ce953a82af3d6edb1943c89c7f39bb4cbda53b65d0 [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-06-19T09:01:29.615Z] + git log --format=format:%s -1 de36933a196ec2e5ea0c5601bc2b4d4bfd93191e [Pipeline] sh [2022-06-19T09:01:29.913Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T09:01:29.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:01:30.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T09:01:30.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T09:01:30.304Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T09:01:30.347Z] $ 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-06-19T09:01:30.804Z] $ docker top 577d910ae653a8e0c18e4eacacd7e575f40994f08960d841e65d6f3cb8abfb0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T09:01:30.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T09:01:30.896Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T09:01:31.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T09:01:31.033Z] $ docker exec 577d910ae653a8e0c18e4eacacd7e575f40994f08960d841e65d6f3cb8abfb0a ssh-agent [2022-06-19T09:01:31.149Z] SSH_AUTH_SOCK=/tmp/ssh-8yLIifZJ2UWk/agent.32 [2022-06-19T09:01:31.149Z] SSH_AGENT_PID=39 [2022-06-19T09:01:31.155Z] Running ssh-add (command line suppressed) [2022-06-19T09:01:31.281Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_435899765292196317.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_435899765292196317.key) [2022-06-19T09:01:31.288Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T09:01:31.658Z] + git semver tag [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,805 [run_tag] DEBUG tag force:False [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,805 [check_head_tag] DEBUG check head tag [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,805 [execute] INFO git cat-file --batch-check [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,809 [execute] INFO git cat-file --batch [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,818 [execute] INFO git tag -a v2.2.1-dev.3 -m v2.2.1-dev.3 [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,818 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.3', '-m', 'v2.2.1-dev.3'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-19T09:01:31.919Z] 2022-06-19 09:01:31,824 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-06-19T09:01:31.919Z] 2.2.1-dev.3 [Pipeline] } [2022-06-19T09:01:31.937Z] $ docker exec --env ******** --env ******** 577d910ae653a8e0c18e4eacacd7e575f40994f08960d841e65d6f3cb8abfb0a ssh-agent -k [2022-06-19T09:01:32.047Z] unset SSH_AUTH_SOCK; [2022-06-19T09:01:32.047Z] unset SSH_AGENT_PID; [2022-06-19T09:01:32.048Z] echo Agent pid 39 killed; [2022-06-19T09:01:32.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T09:01:32.364Z] + git semver [Pipeline] } [2022-06-19T09:01:32.648Z] $ docker stop --time=1 577d910ae653a8e0c18e4eacacd7e575f40994f08960d841e65d6f3cb8abfb0a [2022-06-19T09:01:33.955Z] $ docker rm -f 577d910ae653a8e0c18e4eacacd7e575f40994f08960d841e65d6f3cb8abfb0a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:01:34.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-19T09:01:34.359Z] [2022-06-19T09:01:34.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:01:34.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-19T09:01:34.662Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-19T09:01:34.662Z] ab5ef0e58194: Pulling fs layer [2022-06-19T09:01:34.662Z] 9712f1f96733: Pulling fs layer [2022-06-19T09:01:34.662Z] 63f879dbbcfc: Pulling fs layer [2022-06-19T09:01:34.662Z] 0d9ebad4ef96: Pulling fs layer [2022-06-19T09:01:34.662Z] e9a5061849ea: Pulling fs layer [2022-06-19T09:01:34.662Z] d747dcd14b5f: Pulling fs layer [2022-06-19T09:01:34.662Z] 2de7ff778b66: Pulling fs layer [2022-06-19T09:01:34.662Z] e9a5061849ea: Waiting [2022-06-19T09:01:34.662Z] d747dcd14b5f: Waiting [2022-06-19T09:01:34.662Z] 2de7ff778b66: Waiting [2022-06-19T09:01:34.662Z] 0d9ebad4ef96: Waiting [2022-06-19T09:01:34.662Z] 9712f1f96733: Verifying Checksum [2022-06-19T09:01:34.662Z] 9712f1f96733: Download complete [2022-06-19T09:01:34.921Z] 63f879dbbcfc: Verifying Checksum [2022-06-19T09:01:34.921Z] 63f879dbbcfc: Download complete [2022-06-19T09:01:35.180Z] e9a5061849ea: Verifying Checksum [2022-06-19T09:01:35.180Z] e9a5061849ea: Download complete [2022-06-19T09:01:35.180Z] 0d9ebad4ef96: Verifying Checksum [2022-06-19T09:01:35.180Z] 0d9ebad4ef96: Download complete [2022-06-19T09:01:35.180Z] d747dcd14b5f: Download complete [2022-06-19T09:01:35.180Z] ab5ef0e58194: Verifying Checksum [2022-06-19T09:01:35.180Z] ab5ef0e58194: Download complete [2022-06-19T09:01:35.180Z] 2de7ff778b66: Verifying Checksum [2022-06-19T09:01:35.180Z] 2de7ff778b66: Download complete [2022-06-19T09:01:38.473Z] ab5ef0e58194: Pull complete [2022-06-19T09:01:38.473Z] 9712f1f96733: Pull complete [2022-06-19T09:01:38.732Z] 63f879dbbcfc: Pull complete [2022-06-19T09:01:42.928Z] 0d9ebad4ef96: Pull complete [2022-06-19T09:01:42.928Z] e9a5061849ea: Pull complete [2022-06-19T09:01:42.928Z] d747dcd14b5f: Pull complete [2022-06-19T09:01:43.869Z] 2de7ff778b66: Pull complete [2022-06-19T09:01:43.869Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-19T09:01:43.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-19T09:01:43.869Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T09:01:43.970Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T09:01:44.013Z] $ 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-06-19T09:01:46.256Z] $ docker top 3f36e5b6b643bb2f46704ba255a9caf65ac57366daf86c6d9e1c7b82c8533aa3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-19T09:01:46.342Z] provisioning config files... [2022-06-19T09:01:46.351Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6652308241041458172tmp [2022-06-19T09:01:46.362Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config197831923182818077tmp [2022-06-19T09:01:46.373Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config498509632210804747tmp [Pipeline] { [Pipeline] echo [2022-06-19T09:01:46.389Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:01:46.672Z] ---> sigul-configuration.sh [2022-06-19T09:01:46.672Z] gpg: directory `/root/.gnupg' created [2022-06-19T09:01:46.672Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-19T09:01:46.672Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-19T09:01:46.672Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-19T09:01:46.672Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-19T09:01:46.672Z] gpg: CAST5 encrypted data [2022-06-19T09:01:46.672Z] gpg: encrypted with 1 passphrase [2022-06-19T09:01:46.672Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-19T09:01:46.956Z] + mkdir /home/jenkins [2022-06-19T09:01:46.956Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-19T09:01:47.246Z] + 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-06-19T09:01:47.255Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:01:47.543Z] ---> sigul-install.sh [2022-06-19T09:01:47.543Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-19T09:01:47.830Z] + git tag --list [2022-06-19T09:01:47.830Z] 1.0.0 [2022-06-19T09:01:47.830Z] v0.0.0 [2022-06-19T09:01:47.830Z] v1.1.0 [2022-06-19T09:01:47.830Z] v1.1.1 [2022-06-19T09:01:47.830Z] v1.2.2 [2022-06-19T09:01:47.830Z] v1.3.0 [2022-06-19T09:01:47.830Z] v1.3.1 [2022-06-19T09:01:47.830Z] v2.0.0 [2022-06-19T09:01:47.830Z] v2.1.0 [2022-06-19T09:01:47.830Z] v2.1.1 [2022-06-19T09:01:47.830Z] v2.1.1-dev.2 [2022-06-19T09:01:47.830Z] v2.1.1-dev.3 [2022-06-19T09:01:47.830Z] v2.2.0 [2022-06-19T09:01:47.830Z] v2.2.1-dev.1 [2022-06-19T09:01:47.830Z] v2.2.1-dev.2 [2022-06-19T09:01:47.830Z] v2.2.1-dev.3 [Pipeline] sh [2022-06-19T09:01:48.126Z] + lftools sign git-tag v2.2.1-dev.3 [2022-06-19T09:01:48.697Z] Signing Git tag with Sigul... [2022-06-19T09:01:48.698Z] Signing v2.2.1-dev.3 [Pipeline] echo [2022-06-19T09:01:48.973Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:01:49.262Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-19T09:01:49.271Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-19T09:01:49.301Z] $ docker stop --time=1 3f36e5b6b643bb2f46704ba255a9caf65ac57366daf86c6d9e1c7b82c8533aa3 [2022-06-19T09:01:50.645Z] $ docker rm -f 3f36e5b6b643bb2f46704ba255a9caf65ac57366daf86c6d9e1c7b82c8533aa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-19T09:01:51.056Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T09:01:51.056Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:01:51.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T09:01:51.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T09:01:51.450Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T09:01:51.493Z] $ 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-06-19T09:01:51.900Z] $ docker top 8f39aa23c85f1587aced057c6672e811f34d50507a5f07c68d18ad4b5a0a6797 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T09:01:51.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T09:01:51.999Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T09:01:52.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T09:01:52.159Z] $ docker exec 8f39aa23c85f1587aced057c6672e811f34d50507a5f07c68d18ad4b5a0a6797 ssh-agent [2022-06-19T09:01:52.277Z] SSH_AUTH_SOCK=/tmp/ssh-IJb2z7prIRFh/agent.32 [2022-06-19T09:01:52.277Z] SSH_AGENT_PID=38 [2022-06-19T09:01:52.282Z] Running ssh-add (command line suppressed) [2022-06-19T09:01:52.402Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9193724961974579842.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9193724961974579842.key) [2022-06-19T09:01:52.410Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T09:01:52.699Z] + git semver bump pre [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,899 [bump_version] DEBUG bumping version:2.2.1-dev.3 on axis:pre with prefix:dev [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,899 [bump_version] DEBUG bumped version:2.2.1-dev.4 [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,899 [write_version] DEBUG write version:2.2.1-dev.4 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,899 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,901 [execute] INFO git cat-file --batch-check [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,906 [execute] INFO git cat-file --batch [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-19T09:01:52.959Z] 2022-06-19 09:01:52,912 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-06-19T09:01:52.959Z] 2.2.1-dev.4 [Pipeline] } [2022-06-19T09:01:52.978Z] $ docker exec --env ******** --env ******** 8f39aa23c85f1587aced057c6672e811f34d50507a5f07c68d18ad4b5a0a6797 ssh-agent -k [2022-06-19T09:01:53.093Z] unset SSH_AUTH_SOCK; [2022-06-19T09:01:53.093Z] unset SSH_AGENT_PID; [2022-06-19T09:01:53.093Z] echo Agent pid 38 killed; [2022-06-19T09:01:53.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T09:01:53.405Z] + git semver [Pipeline] } [2022-06-19T09:01:53.689Z] $ docker stop --time=1 8f39aa23c85f1587aced057c6672e811f34d50507a5f07c68d18ad4b5a0a6797 [2022-06-19T09:01:55.003Z] $ docker rm -f 8f39aa23c85f1587aced057c6672e811f34d50507a5f07c68d18ad4b5a0a6797 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-19T09:01:55.346Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-19T09:01:55.347Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:01:55.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-19T09:01:55.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T09:01:55.737Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T09:01:55.784Z] $ 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-06-19T09:01:56.178Z] $ docker top df16f4ab81fb47e66568fd13660f805853270672c726ab50436f2e500381a9c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-19T09:01:56.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-19T09:01:56.262Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-19T09:01:56.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-19T09:01:56.415Z] $ docker exec df16f4ab81fb47e66568fd13660f805853270672c726ab50436f2e500381a9c3 ssh-agent [2022-06-19T09:01:56.590Z] SSH_AUTH_SOCK=/tmp/ssh-AT6aacCupXyh/agent.34 [2022-06-19T09:01:56.590Z] SSH_AGENT_PID=40 [2022-06-19T09:01:56.617Z] Running ssh-add (command line suppressed) [2022-06-19T09:01:56.731Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3355229939605871502.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3355229939605871502.key) [2022-06-19T09:01:56.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-19T09:01:57.027Z] + git semver push [2022-06-19T09:01:57.287Z] 2022-06-19 09:01:57,212 [run_push] DEBUG push [2022-06-19T09:01:57.287Z] 2022-06-19 09:01:57,212 [execute] INFO git cat-file --batch-check [2022-06-19T09:01:57.287Z] 2022-06-19 09:01:57,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-19T09:01:57.287Z] 2022-06-19 09:01:57,216 [execute] INFO git rev-list eca00a53d898f1dae100cb13d33cff5294eaaf7c -- [2022-06-19T09:01:57.287Z] 2022-06-19 09:01:57,216 [execute] DEBUG Popen(['git', 'rev-list', 'eca00a53d898f1dae100cb13d33cff5294eaaf7c', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-19T09:01:57.287Z] 2022-06-19 09:01:57,222 [execute] INFO git fetch -v origin [2022-06-19T09:01:57.287Z] 2022-06-19 09:01:57,222 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-19T09:01:57.857Z] 2022-06-19 09:01:57,696 [run_push] DEBUG no remote changes detected [2022-06-19T09:01:57.857Z] 2022-06-19 09:01:57,696 [execute] INFO git push origin semver [2022-06-19T09:01:57.857Z] 2022-06-19 09:01:57,697 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-19T09:01:58.799Z] 2022-06-19 09:01:58,503 [run_push] DEBUG push all version tags [2022-06-19T09:01:58.799Z] 2022-06-19 09:01:58,504 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-19T09:01:58.799Z] 2022-06-19 09:01:58,504 [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-06-19T09:01:59.370Z] 2022-06-19 09:01:59,167 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-06-19T09:01:59.370Z] 2.2.1-dev.4 [Pipeline] } [2022-06-19T09:01:59.390Z] $ docker exec --env ******** --env ******** df16f4ab81fb47e66568fd13660f805853270672c726ab50436f2e500381a9c3 ssh-agent -k [2022-06-19T09:01:59.506Z] unset SSH_AUTH_SOCK; [2022-06-19T09:01:59.506Z] unset SSH_AGENT_PID; [2022-06-19T09:01:59.506Z] echo Agent pid 40 killed; [2022-06-19T09:01:59.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-19T09:01:59.822Z] + git semver [Pipeline] } [2022-06-19T09:02:00.104Z] $ docker stop --time=1 df16f4ab81fb47e66568fd13660f805853270672c726ab50436f2e500381a9c3 [2022-06-19T09:02:01.421Z] $ docker rm -f df16f4ab81fb47e66568fd13660f805853270672c726ab50436f2e500381a9c3 [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-06-19T09:02:01.974Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-06-19T09:02:01.974Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-06-19T09:02:01.974Z] total 16 [2022-06-19T09:02:01.974Z] drwxr-xr-x 3 root root 4096 Jun 19 06:16 . [2022-06-19T09:02:01.974Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 09:01 .. [2022-06-19T09:02:01.974Z] drwxr-xr-x 2 root root 4096 Jun 19 06:16 cost [2022-06-19T09:02:01.974Z] -rw-r--r-- 1 root root 84 Jun 19 06:16 cost.csv [2022-06-19T09:02:01.974Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-06-19T09:02:01.974Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-06-19T09:02:01.974Z] total 16 [2022-06-19T09:02:01.974Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:16 . [2022-06-19T09:02:01.974Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 09:01 .. [2022-06-19T09:02:01.974Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 06:16 cost [2022-06-19T09:02:01.974Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 19 06:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:02:02.266Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:02:03.129Z] ---> package-listing.sh [2022-06-19T09:02:03.129Z] ++ facter osfamily [2022-06-19T09:02:03.129Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-19T09:02:03.390Z] + OS_FAMILY=debian [2022-06-19T09:02:03.390Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-06-19T09:02:03.390Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-19T09:02:03.390Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-19T09:02:03.390Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-19T09:02:03.390Z] + PACKAGES=/tmp/packages_start.txt [2022-06-19T09:02:03.390Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-06-19T09:02:03.390Z] + PACKAGES=/tmp/packages_end.txt [2022-06-19T09:02:03.390Z] + case "${OS_FAMILY}" in [2022-06-19T09:02:03.390Z] + dpkg -l [2022-06-19T09:02:03.390Z] + grep '^ii' [2022-06-19T09:02:03.390Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-19T09:02:03.390Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-19T09:02:03.390Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-19T09:02:03.390Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-06-19T09:02:03.390Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-06-19T09:02:03.390Z] + 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-06-19T09:02:03.402Z] 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-06-19T09:02:03.683Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-19T09:02:04.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-19T09:02:04.248Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-19T09:02:04.328Z] prd-ubuntu20.04-docker-8c-8g-2681 does not seem to be running inside a container [2022-06-19T09:02:04.367Z] $ 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-06-19T09:02:04.626Z] $ docker top 103142cb4fd7a47617c58f0864357a67f3a2961de5bbd256a81fbf7204f124b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-19T09:02:04.979Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-19T09:02:05.269Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-19T09:02:05.559Z] + ls /var/log/sa-host [2022-06-19T09:02:05.559Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-19T09:02:05.643Z] provisioning config files... [2022-06-19T09:02:05.654Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4668559312940384769tmp [Pipeline] { [Pipeline] echo [2022-06-19T09:02:05.670Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:02:05.957Z] ---> create-netrc.sh [Pipeline] } [2022-06-19T09:02:05.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:02:06.299Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-19T09:02:06.309Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:02:06.595Z] ---> sudo-logs.sh [2022-06-19T09:02:06.595Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-19T09:02:06.627Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:02:06.917Z] ---> job-cost.sh [2022-06-19T09:02:06.917Z] lf-activate-venv: SKIPPING [2022-06-19T09:02:06.917Z] DEBUG: total: 0.2199999988079071 [2022-06-19T09:02:06.917Z] INFO: Retrieving Stack Cost... [2022-06-19T09:02:07.491Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-19T09:02:08.064Z] INFO: Archiving Costs [Pipeline] echo [2022-06-19T09:02:08.077Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-19T09:02:08.365Z] ---> logs-deploy.sh [2022-06-19T09:02:08.365Z] lf-activate-venv: SKIPPING [2022-06-19T09:02:08.365Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/34 [2022-06-19T09:02:08.365Z] INFO: archiving workspace using pattern(s): [2022-06-19T09:02:09.309Z] Archives upload complete. [2022-06-19T09:02:09.309Z] INFO: archiving logs to Nexus