Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2a50195080db95dc897f07c56d427b58d1c43a7f 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-ssh4923957060643276071.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-ssh16147760493740512726.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-ssh11139186238110227827.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-ssh6431736797897056489.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-ssh7888688188511928160.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17390’ Running on prd-ubuntu20.04-docker-8c-8g-17393 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 Avoid second fetch Checking out Revision 2a50195080db95dc897f07c56d427b58d1c43a7f (main) 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 > 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 2a50195080db95dc897f07c56d427b58d1c43a7f # timeout=10 Commit message: "Merge pull request #181 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.11" > git rev-list --no-walk 4bd3e3f348316c3d3f0178918439f0265993f5e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T06:30:58.394Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T06:30:58.436Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T06:30:58.452Z] ========================================================= [2022-07-11T06:30:58.452Z] EdgeX Global Pipelines Version Info [2022-07-11T06:30:58.452Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:30:59.243Z] ------------------- [2022-07-11T06:30:59.243Z] stable info: [2022-07-11T06:30:59.243Z] ------------------- [2022-07-11T06:30:59.243Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T06:30:59.243Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-11T06:30:59.243Z] Message: update stable to v1.0.234 [2022-07-11T06:30:59.821Z] ------------------- [2022-07-11T06:30:59.821Z] experimental info: [2022-07-11T06:30:59.821Z] ------------------- [2022-07-11T06:30:59.821Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T06:30:59.821Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T06:30:59.821Z] Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T06:31:00.072Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-07-11T06:31:00.083Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-07-11T06:31:00.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T06:31:00.105Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T06:31:00.115Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T06:31:00.127Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-11T06:31:00.141Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T06:31:00.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T06:31:00.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T06:31:00.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T06:31:00.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T06:31:00.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-07-11T06:31:00.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T06:31:00.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T06:31:00.231Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T06:31:00.242Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T06:31:00.256Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T06:31:00.266Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T06:31:00.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T06:31:00.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T06:31:00.301Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T06:31:00.312Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T06:31:00.324Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T06:31:00.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T06:31:00.347Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T06:31:00.361Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T06:31:00.372Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T06:31:00.383Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-11T06:31:00.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-11T06:31:00.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-11T06:31:00.422Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a50195080db95dc897f07c56d427b58d1c43a7f [Pipeline] echo [2022-07-11T06:31:00.433Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a50195 [Pipeline] echo [2022-07-11T06:31:00.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T06:31:00.492Z] provisioning config files... [2022-07-11T06:31:00.507Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8228536990760742636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:31:00.813Z] ---> docker-login.sh [2022-07-11T06:31:00.813Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:31:01.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:01.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:01.075Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:01.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:01.075Z] [2022-07-11T06:31:01.075Z] Login Succeeded [2022-07-11T06:31:01.075Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:31:01.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:01.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:01.336Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:01.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:01.336Z] [2022-07-11T06:31:01.336Z] Login Succeeded [2022-07-11T06:31:01.336Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:31:01.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:01.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:01.336Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:01.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:01.336Z] [2022-07-11T06:31:01.336Z] Login Succeeded [2022-07-11T06:31:01.336Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:31:01.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:01.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:01.598Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:01.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:01.598Z] [2022-07-11T06:31:01.598Z] Login Succeeded [2022-07-11T06:31:01.598Z] docker.io [2022-07-11T06:31:01.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:01.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:01.858Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:01.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:01.858Z] [2022-07-11T06:31:01.858Z] Login Succeeded [2022-07-11T06:31:01.858Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:31:01.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T06:31:02.255Z] + git rev-list -1 --merges 2a50195080db95dc897f07c56d427b58d1c43a7f~1..2a50195080db95dc897f07c56d427b58d1c43a7f [Pipeline] echo [2022-07-11T06:31:02.282Z] -----------> git rev-list -1 --merges 2a50195080db95dc897f07c56d427b58d1c43a7f~1..2a50195080db95dc897f07c56d427b58d1c43a7f 2a50195080db95dc897f07c56d427b58d1c43a7f [2022-07-11T06:31:02.282Z] 2a50195080db95dc897f07c56d427b58d1c43a7f [false] [Pipeline] sh [2022-07-11T06:31:02.580Z] + git log --format=format:%s -1 2a50195080db95dc897f07c56d427b58d1c43a7f [Pipeline] echo [2022-07-11T06:31:02.596Z] ========================================================= [2022-07-11T06:31:02.596Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T06:31:02.596Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T06:31:02.927Z] + git log --format=format:%s -1 2a50195080db95dc897f07c56d427b58d1c43a7f [Pipeline] echo [2022-07-11T06:31:02.939Z] [semverPrep] GIT_COMMIT: 2a50195080db95dc897f07c56d427b58d1c43a7f, Commit Message: Merge pull request #181 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.11 [Pipeline] echo [2022-07-11T06:31:02.946Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T06:31:03.295Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T06:31:03.295Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T06:31:03.295Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T06:31:03.295Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T06:31:03.295Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T06:31:03.295Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T06:31:03.295Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:31:03.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:31:03.644Z] [2022-07-11T06:31:03.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:31:03.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:31:03.951Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T06:31:03.951Z] b85a868b505f: Pulling fs layer [2022-07-11T06:31:03.951Z] e2be974225ed: Pulling fs layer [2022-07-11T06:31:03.951Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T06:31:03.951Z] 988bab9f4d93: Pulling fs layer [2022-07-11T06:31:03.951Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T06:31:03.951Z] eaf3925da568: Pulling fs layer [2022-07-11T06:31:03.951Z] bab4dde63d76: Pulling fs layer [2022-07-11T06:31:03.951Z] bde34c3a00c8: Pulling fs layer [2022-07-11T06:31:03.951Z] b352a97aabf1: Pulling fs layer [2022-07-11T06:31:03.951Z] 4872d77fe225: Pulling fs layer [2022-07-11T06:31:03.951Z] 5851b861e8e6: Pulling fs layer [2022-07-11T06:31:03.951Z] 988bab9f4d93: Waiting [2022-07-11T06:31:03.951Z] 1469e6f7b9e6: Waiting [2022-07-11T06:31:03.951Z] eaf3925da568: Waiting [2022-07-11T06:31:03.951Z] bab4dde63d76: Waiting [2022-07-11T06:31:03.951Z] bde34c3a00c8: Waiting [2022-07-11T06:31:03.951Z] b352a97aabf1: Waiting [2022-07-11T06:31:03.951Z] 4872d77fe225: Waiting [2022-07-11T06:31:03.951Z] 5851b861e8e6: Waiting [2022-07-11T06:31:03.951Z] e2be974225ed: Verifying Checksum [2022-07-11T06:31:03.951Z] e2be974225ed: Download complete [2022-07-11T06:31:03.951Z] 988bab9f4d93: Verifying Checksum [2022-07-11T06:31:03.951Z] 988bab9f4d93: Download complete [2022-07-11T06:31:04.211Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T06:31:04.211Z] 1469e6f7b9e6: Download complete [2022-07-11T06:31:04.211Z] eaf3925da568: Download complete [2022-07-11T06:31:04.211Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T06:31:04.211Z] 339a4e72a1f5: Download complete [2022-07-11T06:31:04.211Z] bde34c3a00c8: Download complete [2022-07-11T06:31:04.211Z] b352a97aabf1: Download complete [2022-07-11T06:31:04.211Z] 4872d77fe225: Verifying Checksum [2022-07-11T06:31:04.211Z] 4872d77fe225: Download complete [2022-07-11T06:31:04.211Z] 5851b861e8e6: Download complete [2022-07-11T06:31:04.211Z] b85a868b505f: Verifying Checksum [2022-07-11T06:31:04.211Z] b85a868b505f: Download complete [2022-07-11T06:31:04.479Z] bab4dde63d76: Verifying Checksum [2022-07-11T06:31:04.479Z] bab4dde63d76: Download complete [2022-07-11T06:31:05.861Z] b85a868b505f: Pull complete [2022-07-11T06:31:05.861Z] e2be974225ed: Pull complete [2022-07-11T06:31:06.430Z] 339a4e72a1f5: Pull complete [2022-07-11T06:31:06.430Z] 988bab9f4d93: Pull complete [2022-07-11T06:31:06.690Z] 1469e6f7b9e6: Pull complete [2022-07-11T06:31:06.690Z] eaf3925da568: Pull complete [2022-07-11T06:31:09.236Z] bab4dde63d76: Pull complete [2022-07-11T06:31:09.236Z] bde34c3a00c8: Pull complete [2022-07-11T06:31:09.236Z] b352a97aabf1: Pull complete [2022-07-11T06:31:09.236Z] 4872d77fe225: Pull complete [2022-07-11T06:31:09.236Z] 5851b861e8e6: Pull complete [2022-07-11T06:31:09.236Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T06:31:09.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:31:09.236Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:31:09.343Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:31:09.386Z] $ 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-07-11T06:31:10.872Z] $ docker top 305e4f38db8265e1d7a3a80eb233c4347b77850360e0f201fc70b461581bfeca -eo pid,comm [2022-07-11T06:31:10.946Z] 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-07-11T06:31:10.946Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T06:31:10.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:31:10.984Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:31:11.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:31:11.130Z] $ docker exec 305e4f38db8265e1d7a3a80eb233c4347b77850360e0f201fc70b461581bfeca ssh-agent [2022-07-11T06:31:11.258Z] SSH_AUTH_SOCK=/tmp/ssh-hHaZDiGrB7pR/agent.32 [2022-07-11T06:31:11.258Z] SSH_AGENT_PID=38 [2022-07-11T06:31:11.265Z] Running ssh-add (command line suppressed) [2022-07-11T06:31:11.394Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3256234333660248695.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3256234333660248695.key) [2022-07-11T06:31:11.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:31:11.714Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T06:31:11.737Z] $ docker exec --env ******** --env ******** 305e4f38db8265e1d7a3a80eb233c4347b77850360e0f201fc70b461581bfeca ssh-agent -k [2022-07-11T06:31:11.851Z] unset SSH_AUTH_SOCK; [2022-07-11T06:31:11.852Z] unset SSH_AGENT_PID; [2022-07-11T06:31:11.852Z] echo Agent pid 38 killed; [2022-07-11T06:31:11.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-11T06:31:11.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:31:11.887Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:31:12.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:31:12.031Z] $ docker exec 305e4f38db8265e1d7a3a80eb233c4347b77850360e0f201fc70b461581bfeca ssh-agent [2022-07-11T06:31:12.164Z] SSH_AUTH_SOCK=/tmp/ssh-2ZtHUsOApo7Q/agent.70 [2022-07-11T06:31:12.164Z] SSH_AGENT_PID=76 [2022-07-11T06:31:12.170Z] Running ssh-add (command line suppressed) [2022-07-11T06:31:12.299Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4030604013272059302.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4030604013272059302.key) [2022-07-11T06:31:12.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:31:12.621Z] + git semver init [2022-07-11T06:31:12.888Z] 2022-07-11 06:31:12,809 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T06:31:12.888Z] 2022-07-11 06:31:12,810 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-07-11T06:31:12.888Z] 2022-07-11 06:31:12,811 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-07-11T06:31:12.888Z] 2022-07-11 06:31:12,811 [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-07-11T06:31:13.832Z] 2022-07-11 06:31:13,554 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-07-11T06:31:13.832Z] 2022-07-11 06:31:13,555 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2022-07-11T06:31:13.832Z] 2022-07-11 06:31:13,555 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-07-11T06:31:13.832Z] 2022-07-11 06:31:13,555 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-07-11T06:31:13.832Z] 2.2.1-dev.5 [Pipeline] } [2022-07-11T06:31:13.843Z] $ docker exec --env ******** --env ******** 305e4f38db8265e1d7a3a80eb233c4347b77850360e0f201fc70b461581bfeca ssh-agent -k [2022-07-11T06:31:13.952Z] unset SSH_AUTH_SOCK; [2022-07-11T06:31:13.952Z] unset SSH_AGENT_PID; [2022-07-11T06:31:13.952Z] echo Agent pid 76 killed; [2022-07-11T06:31:13.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T06:31:14.282Z] + git semver [Pipeline] } [2022-07-11T06:31:14.557Z] $ docker stop --time=1 305e4f38db8265e1d7a3a80eb233c4347b77850360e0f201fc70b461581bfeca [2022-07-11T06:31:15.878Z] $ docker rm -f 305e4f38db8265e1d7a3a80eb233c4347b77850360e0f201fc70b461581bfeca [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T06:31:16.232Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T06:31:16.504Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T06:31:16.508Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.5 [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-07-11T06:31:16.645Z] provisioning config files... [2022-07-11T06:31:16.656Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5678081646024185816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:31:16.956Z] ---> docker-login.sh [2022-07-11T06:31:16.956Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:31:16.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:16.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:16.956Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:16.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:16.956Z] [2022-07-11T06:31:16.956Z] Login Succeeded [2022-07-11T06:31:16.956Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:31:16.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:17.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:17.217Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:17.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:17.217Z] [2022-07-11T06:31:17.217Z] Login Succeeded [2022-07-11T06:31:17.217Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:31:17.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:17.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:17.217Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:17.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:17.217Z] [2022-07-11T06:31:17.217Z] Login Succeeded [2022-07-11T06:31:17.217Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:31:17.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:17.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:17.479Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:17.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:17.479Z] [2022-07-11T06:31:17.479Z] Login Succeeded [2022-07-11T06:31:17.479Z] docker.io [2022-07-11T06:31:17.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:31:17.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:31:17.739Z] Configure a credential helper to remove this warning. See [2022-07-11T06:31:17.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:31:17.739Z] [2022-07-11T06:31:17.739Z] Login Succeeded [2022-07-11T06:31:17.739Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:31:17.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T06:31:17.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:31:17.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:31:17.835Z] ========================================================= [2022-07-11T06:31:17.835Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-11T06:31:17.835Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:31:18.162Z] + 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-07-11T06:31:18.162Z] Sending build context to Docker daemon 5.395MB [2022-07-11T06:31:18.162Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T06:31:18.162Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T06:31:18.162Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T06:31:18.162Z] 59bf1c3509f3: Pulling fs layer [2022-07-11T06:31:18.162Z] 666ba61612fd: Pulling fs layer [2022-07-11T06:31:18.162Z] 8ed8ca486205: Pulling fs layer [2022-07-11T06:31:18.162Z] cc1cd167ecdc: Pulling fs layer [2022-07-11T06:31:18.162Z] c516ae0d96e1: Pulling fs layer [2022-07-11T06:31:18.162Z] cc1cd167ecdc: Waiting [2022-07-11T06:31:18.162Z] 684cea983483: Pulling fs layer [2022-07-11T06:31:18.162Z] dd3240ac7de5: Pulling fs layer [2022-07-11T06:31:18.162Z] b1e948a4e11c: Pulling fs layer [2022-07-11T06:31:18.162Z] a8fd76ee1af6: Pulling fs layer [2022-07-11T06:31:18.162Z] c516ae0d96e1: Waiting [2022-07-11T06:31:18.162Z] 646ad004c059: Pulling fs layer [2022-07-11T06:31:18.162Z] b1e948a4e11c: Waiting [2022-07-11T06:31:18.162Z] dd3240ac7de5: Waiting [2022-07-11T06:31:18.162Z] 646ad004c059: Waiting [2022-07-11T06:31:18.162Z] a8fd76ee1af6: Waiting [2022-07-11T06:31:18.162Z] 8ed8ca486205: Verifying Checksum [2022-07-11T06:31:18.162Z] 8ed8ca486205: Download complete [2022-07-11T06:31:18.423Z] 666ba61612fd: Download complete [2022-07-11T06:31:18.423Z] c516ae0d96e1: Verifying Checksum [2022-07-11T06:31:18.423Z] c516ae0d96e1: Download complete [2022-07-11T06:31:18.423Z] 684cea983483: Verifying Checksum [2022-07-11T06:31:18.423Z] 684cea983483: Download complete [2022-07-11T06:31:18.423Z] dd3240ac7de5: Verifying Checksum [2022-07-11T06:31:18.423Z] dd3240ac7de5: Download complete [2022-07-11T06:31:18.423Z] 59bf1c3509f3: Verifying Checksum [2022-07-11T06:31:18.423Z] 59bf1c3509f3: Download complete [2022-07-11T06:31:18.423Z] b1e948a4e11c: Download complete [2022-07-11T06:31:18.423Z] 59bf1c3509f3: Pull complete [2022-07-11T06:31:18.688Z] 666ba61612fd: Pull complete [2022-07-11T06:31:18.688Z] 8ed8ca486205: Pull complete [2022-07-11T06:31:18.950Z] 646ad004c059: Verifying Checksum [2022-07-11T06:31:18.950Z] 646ad004c059: Download complete [2022-07-11T06:31:18.950Z] a8fd76ee1af6: Verifying Checksum [2022-07-11T06:31:18.950Z] a8fd76ee1af6: Download complete [2022-07-11T06:31:19.210Z] cc1cd167ecdc: Verifying Checksum [2022-07-11T06:31:19.210Z] cc1cd167ecdc: Download complete [2022-07-11T06:31:23.406Z] cc1cd167ecdc: Pull complete [2022-07-11T06:31:23.406Z] c516ae0d96e1: Pull complete [2022-07-11T06:31:23.406Z] 684cea983483: Pull complete [2022-07-11T06:31:23.406Z] dd3240ac7de5: Pull complete [2022-07-11T06:31:23.406Z] b1e948a4e11c: Pull complete [2022-07-11T06:31:25.941Z] a8fd76ee1af6: Pull complete [2022-07-11T06:31:26.511Z] 646ad004c059: Pull complete [2022-07-11T06:31:26.511Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-11T06:31:26.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-11T06:31:26.511Z] ---> 8f69c11f6b0c [2022-07-11T06:31:26.511Z] Step 3/12 : ARG MAKE='make build' [2022-07-11T06:31:28.433Z] ---> Running in 0a3be59768ac [2022-07-11T06:31:28.433Z] Removing intermediate container 0a3be59768ac [2022-07-11T06:31:28.433Z] ---> 5757909268ba [2022-07-11T06:31:28.433Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T06:31:28.433Z] ---> Running in 2952439e137a [2022-07-11T06:31:28.433Z] Removing intermediate container 2952439e137a [2022-07-11T06:31:28.433Z] ---> 916d05915497 [2022-07-11T06:31:28.433Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T06:31:28.433Z] ---> Running in ba598c0e12df [2022-07-11T06:31:28.433Z] Removing intermediate container ba598c0e12df [2022-07-11T06:31:28.433Z] ---> f959f612a813 [2022-07-11T06:31:28.433Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:31:28.694Z] ---> Running in c1830b2e9e92 [2022-07-11T06:31:29.270Z] Removing intermediate container c1830b2e9e92 [2022-07-11T06:31:29.270Z] ---> 1579f4ef8f7b [2022-07-11T06:31:29.270Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T06:31:29.270Z] ---> Running in 0e831c72f5fd [2022-07-11T06:31:29.530Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T06:31:30.473Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T06:31:30.473Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T06:31:30.736Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T06:31:30.736Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T06:31:30.997Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T06:31:30.997Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T06:31:30.997Z] OK: 224 MiB in 56 packages [2022-07-11T06:31:31.573Z] Removing intermediate container 0e831c72f5fd [2022-07-11T06:31:31.573Z] ---> 469b60208269 [2022-07-11T06:31:31.573Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-11T06:31:31.573Z] ---> Running in 617a2d1a1179 [2022-07-11T06:31:31.573Z] Removing intermediate container 617a2d1a1179 [2022-07-11T06:31:31.573Z] ---> 6b2b97665c55 [2022-07-11T06:31:31.573Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T06:31:31.617Z] Still waiting to schedule task [2022-07-11T06:31:31.618Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17391’ [2022-07-11T06:31:31.832Z] ---> b3cee3e742fc [2022-07-11T06:31:31.832Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T06:31:31.832Z] ---> Running in 73ecdeda1fa1 [2022-07-11T06:31:46.739Z] Removing intermediate container 73ecdeda1fa1 [2022-07-11T06:31:46.739Z] ---> d2180c0d89d9 [2022-07-11T06:31:46.739Z] Step 11/12 : COPY . . [2022-07-11T06:31:46.739Z] ---> 0c205831ea41 [2022-07-11T06:31:46.739Z] Step 12/12 : RUN ${MAKE} [2022-07-11T06:31:46.740Z] ---> Running in a77853d007b5 [2022-07-11T06:31:46.740Z] noop [2022-07-11T06:31:46.740Z] Removing intermediate container a77853d007b5 [2022-07-11T06:31:46.740Z] ---> 31fbbfa3644c [2022-07-11T06:31:46.740Z] Successfully built 31fbbfa3644c [2022-07-11T06:31:46.740Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:31:47.061Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T06:31:47.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:31:47.148Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:31:47.184Z] $ 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-07-11T06:31:47.574Z] $ docker top 112f5825dee510cdfd24b71c5f1abbe907e99b4ba9b7bde16b7e3c7441b4b763 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T06:31:47.931Z] + go version [2022-07-11T06:31:47.931Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-11T06:31:47.944Z] $ docker stop --time=1 112f5825dee510cdfd24b71c5f1abbe907e99b4ba9b7bde16b7e3c7441b4b763 [2022-07-11T06:31:49.221Z] $ docker rm -f 112f5825dee510cdfd24b71c5f1abbe907e99b4ba9b7bde16b7e3c7441b4b763 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:31:49.653Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T06:31:49.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:31:49.756Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:31:49.820Z] $ 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-07-11T06:31:50.224Z] $ docker top 576d3755eedd0b1a614fc49258695a03080e7f6cf6c6ef3db3379be0c38577fc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T06:31:50.597Z] + make test [2022-07-11T06:31:50.598Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T06:31:51.168Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-11T06:32:01.169Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-11T06:32:01.169Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2022-07-11T06:32:07.738Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T06:32:11.936Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T06:32:11.936Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T06:32:11.936Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T06:32:12.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T06:32:12.221Z] $ docker stop --time=1 576d3755eedd0b1a614fc49258695a03080e7f6cf6c6ef3db3379be0c38577fc [2022-07-11T06:32:13.946Z] $ docker rm -f 576d3755eedd0b1a614fc49258695a03080e7f6cf6c6ef3db3379be0c38577fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T06:32:14.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T06:32:14.522Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-11T06:32:14.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T06:32:15.212Z] + ls -al . [2022-07-11T06:32:15.212Z] total 168 [2022-07-11T06:32:15.212Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 06:32 . [2022-07-11T06:32:15.212Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 06:30 .. [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 11 06:30 .dockerignore [2022-07-11T06:32:15.212Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 06:31 .git [2022-07-11T06:32:15.212Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:30 .github [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 11 06:30 .gitignore [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 06:30 .golangci.yml [2022-07-11T06:32:15.212Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 06:31 .semver [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 11 06:30 Attribution.txt [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 11 06:30 CHANGELOG.md [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 1516 Jul 11 06:30 Dockerfile [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 06:30 GOVERNANCE.md [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 11 06:30 Jenkinsfile [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 06:30 LICENSE [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 11 06:30 Makefile [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 06:30 OWNERS.md [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 11 06:30 README.md [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 06:31 VERSION [2022-07-11T06:32:15.212Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 06:30 bin [2022-07-11T06:32:15.212Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:30 cmd [2022-07-11T06:32:15.212Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 11 06:31 coverage.out [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 3301 Jul 11 06:30 go.mod [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 36459 Jul 11 06:30 go.sum [2022-07-11T06:32:15.212Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:30 internal [2022-07-11T06:32:15.212Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:30 snap [2022-07-11T06:32:15.212Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 11 06:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:15.522Z] + 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=2a50195080db95dc897f07c56d427b58d1c43a7f --label arch=amd64 --label version=2.2.1-dev.5 . [2022-07-11T06:32:15.522Z] Sending build context to Docker daemon 5.404MB [2022-07-11T06:32:15.522Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T06:32:15.522Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-11T06:32:15.522Z] ---> 31fbbfa3644c [2022-07-11T06:32:15.522Z] Step 3/24 : ARG MAKE='make build' [2022-07-11T06:32:15.522Z] ---> Running in 6fb1936af730 [2022-07-11T06:32:15.782Z] Removing intermediate container 6fb1936af730 [2022-07-11T06:32:15.782Z] ---> 949a29c7dfe0 [2022-07-11T06:32:15.782Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T06:32:15.782Z] ---> Running in 7c72d7028e1a [2022-07-11T06:32:15.782Z] Removing intermediate container 7c72d7028e1a [2022-07-11T06:32:15.782Z] ---> 577e1faeeca9 [2022-07-11T06:32:15.782Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T06:32:15.782Z] ---> Running in dd99a2099ef0 [2022-07-11T06:32:16.043Z] Removing intermediate container dd99a2099ef0 [2022-07-11T06:32:16.043Z] ---> 54920fc9b4cf [2022-07-11T06:32:16.043Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:32:16.043Z] ---> Running in a613fbffb6b2 [2022-07-11T06:32:16.615Z] Removing intermediate container a613fbffb6b2 [2022-07-11T06:32:16.615Z] ---> 5b0db4718cc9 [2022-07-11T06:32:16.615Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T06:32:16.615Z] ---> Running in 03aabbfbffdd [2022-07-11T06:32:16.875Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T06:32:17.819Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T06:32:18.080Z] OK: 224 MiB in 56 packages [2022-07-11T06:32:18.340Z] Removing intermediate container 03aabbfbffdd [2022-07-11T06:32:18.340Z] ---> a33a799b300e [2022-07-11T06:32:18.340Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-11T06:32:18.605Z] ---> Running in 78c0be15f94b [2022-07-11T06:32:18.605Z] Removing intermediate container 78c0be15f94b [2022-07-11T06:32:18.605Z] ---> 7643d003d951 [2022-07-11T06:32:18.605Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-11T06:32:18.605Z] ---> 39a45da795f7 [2022-07-11T06:32:18.606Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T06:32:18.866Z] ---> Running in 185d8eb67d9d [2022-07-11T06:32:19.447Z] Removing intermediate container 185d8eb67d9d [2022-07-11T06:32:19.447Z] ---> e9cd4758b8c6 [2022-07-11T06:32:19.447Z] Step 11/24 : COPY . . [2022-07-11T06:32:19.707Z] ---> d1ea4830186e [2022-07-11T06:32:19.707Z] Step 12/24 : RUN ${MAKE} [2022-07-11T06:32:19.707Z] ---> Running in 6fc21bf697fc [2022-07-11T06:32:19.968Z] 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.11 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-11T06:32:41.926Z] Removing intermediate container 6fc21bf697fc [2022-07-11T06:32:41.926Z] ---> 3748047837da [2022-07-11T06:32:41.926Z] Step 13/24 : FROM alpine:3.14 [2022-07-11T06:32:41.926Z] 3.14: Pulling from library/alpine [2022-07-11T06:32:41.926Z] 8663204ce13b: Pulling fs layer [2022-07-11T06:32:41.926Z] 8663204ce13b: Verifying Checksum [2022-07-11T06:32:41.926Z] 8663204ce13b: Download complete [2022-07-11T06:32:41.926Z] 8663204ce13b: Pull complete [2022-07-11T06:32:41.926Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T06:32:41.926Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T06:32:41.926Z] ---> e04c818066af [2022-07-11T06:32:41.926Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T06:32:41.926Z] ---> Running in fb7cb3187126 [2022-07-11T06:32:41.926Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-11T06:32:41.926Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-11T06:32:41.926Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T06:32:41.926Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T06:32:41.926Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T06:32:41.926Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T06:32:41.926Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T06:32:41.926Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T06:32:41.926Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T06:32:41.926Z] OK: 8 MiB in 20 packages [2022-07-11T06:32:41.926Z] Removing intermediate container fb7cb3187126 [2022-07-11T06:32:41.926Z] ---> 0816c1cf361c [2022-07-11T06:32:41.926Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-11T06:32:41.926Z] ---> 1464a114f217 [2022-07-11T06:32:41.926Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-11T06:32:42.186Z] ---> 28800eb059a4 [2022-07-11T06:32:42.187Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-11T06:32:42.187Z] ---> dae637b30967 [2022-07-11T06:32:42.187Z] Step 18/24 : EXPOSE 59993 [2022-07-11T06:32:42.446Z] ---> Running in cac911d600b0 [2022-07-11T06:32:42.446Z] Removing intermediate container cac911d600b0 [2022-07-11T06:32:42.446Z] ---> 3c47527b66ad [2022-07-11T06:32:42.446Z] Step 19/24 : EXPOSE 161 [2022-07-11T06:32:42.446Z] ---> Running in c9ccd743b64f [2022-07-11T06:32:42.706Z] Removing intermediate container c9ccd743b64f [2022-07-11T06:32:42.706Z] ---> 03e907cc8ae0 [2022-07-11T06:32:42.706Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-11T06:32:42.706Z] ---> Running in b86f0947af4a [2022-07-11T06:32:42.706Z] Removing intermediate container b86f0947af4a [2022-07-11T06:32:42.706Z] ---> a3f0c3309c2f [2022-07-11T06:32:42.706Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-11T06:32:42.706Z] ---> Running in 523994c59807 [2022-07-11T06:32:42.967Z] Removing intermediate container 523994c59807 [2022-07-11T06:32:42.967Z] ---> 9f5e53f638de [2022-07-11T06:32:42.967Z] Step 22/24 : LABEL arch=amd64 [2022-07-11T06:32:42.967Z] ---> Running in 9616b7012b11 [2022-07-11T06:32:42.967Z] Removing intermediate container 9616b7012b11 [2022-07-11T06:32:42.967Z] ---> 6284c1094f14 [2022-07-11T06:32:42.967Z] Step 23/24 : LABEL git_sha=2a50195080db95dc897f07c56d427b58d1c43a7f [2022-07-11T06:32:42.967Z] ---> Running in e9892d2e2176 [2022-07-11T06:32:43.228Z] Removing intermediate container e9892d2e2176 [2022-07-11T06:32:43.228Z] ---> acb5de0ef33e [2022-07-11T06:32:43.228Z] Step 24/24 : LABEL version=2.2.1-dev.5 [2022-07-11T06:32:43.228Z] ---> Running in b9cea6cd3893 [2022-07-11T06:32:43.228Z] Removing intermediate container b9cea6cd3893 [2022-07-11T06:32:43.228Z] ---> 50521c32bdf3 [2022-07-11T06:32:43.228Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T06:32:43.228Z] Successfully built 50521c32bdf3 [2022-07-11T06:32:43.228Z] 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-07-11T06:32:43.326Z] provisioning config files... [2022-07-11T06:32:43.335Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3364012762979944715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:32:43.632Z] ---> docker-login.sh [2022-07-11T06:32:43.632Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:32:43.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:43.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:43.632Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:43.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:43.632Z] [2022-07-11T06:32:43.632Z] Login Succeeded [2022-07-11T06:32:43.632Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:32:43.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:43.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:43.632Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:43.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:43.632Z] [2022-07-11T06:32:43.632Z] Login Succeeded [2022-07-11T06:32:43.892Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:32:43.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:43.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:43.892Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:43.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:43.892Z] [2022-07-11T06:32:43.892Z] Login Succeeded [2022-07-11T06:32:43.892Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:32:43.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:44.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:44.151Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:44.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:44.151Z] [2022-07-11T06:32:44.151Z] Login Succeeded [2022-07-11T06:32:44.151Z] docker.io [2022-07-11T06:32:44.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:32:44.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:32:44.410Z] Configure a credential helper to remove this warning. See [2022-07-11T06:32:44.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:32:44.410Z] [2022-07-11T06:32:44.410Z] Login Succeeded [2022-07-11T06:32:44.410Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:32:44.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T06:32:44.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:32:44.458Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-07-11T06:32:44.458Z] 2a50195080db95dc897f07c56d427b58d1c43a7f [2022-07-11T06:32:44.458Z] latest [2022-07-11T06:32:44.458Z] 2.2.1-dev.5 [2022-07-11T06:32:44.458Z] 2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5 [2022-07-11T06:32:44.458Z] main [2022-07-11T06:32:44.458Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:44.779Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2a50195080db95dc897f07c56d427b58d1c43a7f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:45.095Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2a50195080db95dc897f07c56d427b58d1c43a7f [2022-07-11T06:32:45.095Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-07-11T06:32:45.095Z] 938df5c9af19: Preparing [2022-07-11T06:32:45.095Z] 93deb9dbcd14: Preparing [2022-07-11T06:32:45.095Z] 0761fd0ec00c: Preparing [2022-07-11T06:32:45.095Z] c160133ab263: Preparing [2022-07-11T06:32:45.095Z] b541d28bf3b4: Preparing [2022-07-11T06:32:45.095Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:45.095Z] 938df5c9af19: Pushed [2022-07-11T06:32:45.095Z] 93deb9dbcd14: Pushed [2022-07-11T06:32:45.355Z] c160133ab263: Pushed [2022-07-11T06:32:47.902Z] 0761fd0ec00c: Pushed [2022-07-11T06:32:47.902Z] 2a50195080db95dc897f07c56d427b58d1c43a7f: digest: sha256:cb0f089cc483cda8b1d8ae7857e67d12d3d2d55259f0bc3785f70babe5f1d127 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:48.223Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:48.537Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-07-11T06:32:48.537Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-07-11T06:32:48.537Z] 938df5c9af19: Preparing [2022-07-11T06:32:48.537Z] 93deb9dbcd14: Preparing [2022-07-11T06:32:48.537Z] 0761fd0ec00c: Preparing [2022-07-11T06:32:48.537Z] c160133ab263: Preparing [2022-07-11T06:32:48.537Z] b541d28bf3b4: Preparing [2022-07-11T06:32:48.537Z] 93deb9dbcd14: Layer already exists [2022-07-11T06:32:48.537Z] c160133ab263: Layer already exists [2022-07-11T06:32:48.537Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:48.537Z] 938df5c9af19: Layer already exists [2022-07-11T06:32:48.537Z] 0761fd0ec00c: Layer already exists [2022-07-11T06:32:48.537Z] latest: digest: sha256:cb0f089cc483cda8b1d8ae7857e67d12d3d2d55259f0bc3785f70babe5f1d127 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:48.858Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:49.169Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.5 [2022-07-11T06:32:49.169Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-07-11T06:32:49.169Z] 938df5c9af19: Preparing [2022-07-11T06:32:49.169Z] 93deb9dbcd14: Preparing [2022-07-11T06:32:49.169Z] 0761fd0ec00c: Preparing [2022-07-11T06:32:49.169Z] c160133ab263: Preparing [2022-07-11T06:32:49.169Z] b541d28bf3b4: Preparing [2022-07-11T06:32:49.169Z] 0761fd0ec00c: Layer already exists [2022-07-11T06:32:49.169Z] 93deb9dbcd14: Layer already exists [2022-07-11T06:32:49.169Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:49.169Z] c160133ab263: Layer already exists [2022-07-11T06:32:49.169Z] 938df5c9af19: Layer already exists [2022-07-11T06:32:49.169Z] 2.2.1-dev.5: digest: sha256:cb0f089cc483cda8b1d8ae7857e67d12d3d2d55259f0bc3785f70babe5f1d127 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:49.485Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:49.805Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5 [2022-07-11T06:32:49.806Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-07-11T06:32:49.806Z] 938df5c9af19: Preparing [2022-07-11T06:32:49.806Z] 93deb9dbcd14: Preparing [2022-07-11T06:32:49.806Z] 0761fd0ec00c: Preparing [2022-07-11T06:32:49.806Z] c160133ab263: Preparing [2022-07-11T06:32:49.806Z] b541d28bf3b4: Preparing [2022-07-11T06:32:49.806Z] 93deb9dbcd14: Layer already exists [2022-07-11T06:32:49.806Z] 938df5c9af19: Layer already exists [2022-07-11T06:32:49.806Z] c160133ab263: Layer already exists [2022-07-11T06:32:49.806Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:49.806Z] 0761fd0ec00c: Layer already exists [2022-07-11T06:32:49.806Z] 2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5: digest: sha256:cb0f089cc483cda8b1d8ae7857e67d12d3d2d55259f0bc3785f70babe5f1d127 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:50.126Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:50.442Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-07-11T06:32:50.442Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-07-11T06:32:50.442Z] 938df5c9af19: Preparing [2022-07-11T06:32:50.442Z] 93deb9dbcd14: Preparing [2022-07-11T06:32:50.442Z] 0761fd0ec00c: Preparing [2022-07-11T06:32:50.442Z] c160133ab263: Preparing [2022-07-11T06:32:50.442Z] b541d28bf3b4: Preparing [2022-07-11T06:32:50.442Z] 938df5c9af19: Layer already exists [2022-07-11T06:32:50.442Z] c160133ab263: Layer already exists [2022-07-11T06:32:50.442Z] 0761fd0ec00c: Layer already exists [2022-07-11T06:32:50.442Z] b541d28bf3b4: Layer already exists [2022-07-11T06:32:50.442Z] 93deb9dbcd14: Layer already exists [2022-07-11T06:32:50.442Z] main: digest: sha256:cb0f089cc483cda8b1d8ae7857e67d12d3d2d55259f0bc3785f70babe5f1d127 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T06:32:50.491Z] ===================================================== [Pipeline] echo [2022-07-11T06:32:50.499Z] taggedImages: [2022-07-11T06:32:50.499Z] - nexus3.edgexfoundry.org:10004/device-snmp:2a50195080db95dc897f07c56d427b58d1c43a7f [2022-07-11T06:32:50.499Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-07-11T06:32:50.499Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.5 [2022-07-11T06:32:50.499Z] - nexus3.edgexfoundry.org:10004/device-snmp:2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5 [2022-07-11T06:32:50.499Z] - 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-07-11T06:32:50.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T06:32:50.861Z] [2022-07-11T06:32:50.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:32:51.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T06:32:51.204Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T06:32:51.204Z] 5eb5b503b376: Pulling fs layer [2022-07-11T06:32:51.204Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T06:32:51.204Z] ec43610c2a17: Pulling fs layer [2022-07-11T06:32:51.204Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T06:32:51.204Z] 33b1e0a273af: Pulling fs layer [2022-07-11T06:32:51.204Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T06:32:51.204Z] 2f39f015ded8: Pulling fs layer [2022-07-11T06:32:51.204Z] 3a2ae6a8a46f: Waiting [2022-07-11T06:32:51.204Z] 33b1e0a273af: Waiting [2022-07-11T06:32:51.204Z] 5d3b04190fa2: Waiting [2022-07-11T06:32:51.204Z] 5c69ac0246d0: Download complete [2022-07-11T06:32:51.204Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T06:32:51.204Z] 3a2ae6a8a46f: Download complete [2022-07-11T06:32:51.204Z] 33b1e0a273af: Verifying Checksum [2022-07-11T06:32:51.204Z] 33b1e0a273af: Download complete [2022-07-11T06:32:51.204Z] ec43610c2a17: Verifying Checksum [2022-07-11T06:32:51.204Z] ec43610c2a17: Download complete [2022-07-11T06:32:51.204Z] 5d3b04190fa2: Download complete [2022-07-11T06:32:51.485Z] 5eb5b503b376: Verifying Checksum [2022-07-11T06:32:51.485Z] 5eb5b503b376: Download complete [2022-07-11T06:32:52.103Z] 2f39f015ded8: Download complete [2022-07-11T06:32:53.040Z] 5eb5b503b376: Pull complete [2022-07-11T06:32:53.041Z] 5c69ac0246d0: Pull complete [2022-07-11T06:32:53.610Z] ec43610c2a17: Pull complete [2022-07-11T06:32:53.610Z] 3a2ae6a8a46f: Pull complete [2022-07-11T06:32:53.871Z] 33b1e0a273af: Pull complete [2022-07-11T06:32:53.871Z] 5d3b04190fa2: Pull complete [2022-07-11T06:32:59.154Z] 2f39f015ded8: Pull complete [2022-07-11T06:32:59.154Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T06:32:59.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T06:32:59.154Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:32:59.245Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:32:59.284Z] $ 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-07-11T06:33:00.811Z] $ docker top 30f0b82a0c9973178736187678e7cbf742c689abb384c13a2dc4504c8351485c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:33:01.205Z] ---> job-cost.sh [2022-07-11T06:33:01.205Z] lf-activate-venv: SKIPPING [2022-07-11T06:33:01.205Z] INFO: No Stack... [2022-07-11T06:33:01.466Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T06:33:02.036Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T06:33:02.330Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-07-11T06:33:02.330Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T06:33:02.346Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-36-stack-cost] [2022-07-11T06:33:02.356Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-36-stack-cost] did not exist. Created. [2022-07-11T06:33:02.356Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T06:33:02.663Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T06:33:02.690Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T06:33:02.696Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T06:33:02.716Z] $ docker stop --time=1 30f0b82a0c9973178736187678e7cbf742c689abb384c13a2dc4504c8351485c [2022-07-11T06:33:03.896Z] $ docker rm -f 30f0b82a0c9973178736187678e7cbf742c689abb384c13a2dc4504c8351485c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T06:34:22.617Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17395 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-07-11T06:34:22.631Z] Running in /w/workspace/device-snmp-go/36 [Pipeline] { [Pipeline] checkout [2022-07-11T06:34:22.662Z] Selected Git installation does not exist. Using Default [2022-07-11T06:34:22.662Z] The recommended git tool is: NONE [2022-07-11T06:34:27.647Z] using credential edgex-jenkins-ssh [2022-07-11T06:34:27.664Z] Cloning the remote Git repository [2022-07-11T06:34:27.729Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-07-11T06:34:27.898Z] > git init /w/workspace/device-snmp-go/36 # timeout=10 [2022-07-11T06:34:28.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-07-11T06:34:28.069Z] > git --version # timeout=10 [2022-07-11T06:34:28.123Z] > git --version # 'git version 2.25.1' [2022-07-11T06:34:28.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T06:34:28.207Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T06:34:29.184Z] Avoid second fetch [2022-07-11T06:34:29.184Z] Checking out Revision 2a50195080db95dc897f07c56d427b58d1c43a7f (main) [2022-07-11T06:34:29.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-07-11T06:34:29.166Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T06:34:29.214Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T06:34:29.236Z] > git checkout -f 2a50195080db95dc897f07c56d427b58d1c43a7f # timeout=10 [2022-07-11T06:34:33.602Z] Commit message: "Merge pull request #181 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.11" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T06:34:34.484Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T06:34:34.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T06:34:34.484Z] Dload Upload Total Spent Left Speed [2022-07-11T06:34:34.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 203k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-07-11T06:34:35.200Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T06:34:35.596Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-07-11T06:34:35.596Z] sudo tee /etc/docker/daemon.new [2022-07-11T06:34:35.596Z] { [2022-07-11T06:34:35.596Z] "registry-mirrors": [ [2022-07-11T06:34:35.596Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T06:34:35.596Z] ], [2022-07-11T06:34:35.596Z] "bip": "10.250.0.254/24", [2022-07-11T06:34:35.596Z] "hosts": [ [2022-07-11T06:34:35.596Z] "tcp://0.0.0.0:5555", [2022-07-11T06:34:35.596Z] "unix:///var/run/docker.sock" [2022-07-11T06:34:35.596Z] ], [2022-07-11T06:34:35.596Z] "mtu": 1458, [2022-07-11T06:34:35.596Z] "selinux-enabled": true, [2022-07-11T06:34:35.596Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T06:34:35.596Z] } [Pipeline] sh [2022-07-11T06:34:35.975Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T06:34:36.319Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T06:34:54.696Z] provisioning config files... [2022-07-11T06:34:54.721Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/36@tmp/config4018586901945146931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:34:55.092Z] ---> docker-login.sh [2022-07-11T06:34:55.092Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:34:55.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:34:55.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:34:55.968Z] Configure a credential helper to remove this warning. See [2022-07-11T06:34:55.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:34:55.968Z] [2022-07-11T06:34:55.968Z] Login Succeeded [2022-07-11T06:34:56.251Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:34:56.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:34:56.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:34:56.526Z] Configure a credential helper to remove this warning. See [2022-07-11T06:34:56.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:34:56.526Z] [2022-07-11T06:34:56.526Z] Login Succeeded [2022-07-11T06:34:56.526Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:34:57.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:34:57.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:34:57.136Z] Configure a credential helper to remove this warning. See [2022-07-11T06:34:57.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:34:57.136Z] [2022-07-11T06:34:57.136Z] Login Succeeded [2022-07-11T06:34:57.136Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:34:57.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:34:57.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:34:57.693Z] Configure a credential helper to remove this warning. See [2022-07-11T06:34:57.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:34:57.693Z] [2022-07-11T06:34:57.693Z] Login Succeeded [2022-07-11T06:34:57.693Z] docker.io [2022-07-11T06:34:57.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:34:58.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:34:58.569Z] Configure a credential helper to remove this warning. See [2022-07-11T06:34:58.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:34:58.569Z] [2022-07-11T06:34:58.569Z] Login Succeeded [2022-07-11T06:34:58.569Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:34:58.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T06:34:59.174Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:34:59.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:34:59.199Z] ========================================================= [2022-07-11T06:34:59.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-11T06:34:59.199Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:34:59.591Z] + 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-07-11T06:34:59.865Z] Sending build context to Docker daemon 2.78MB [2022-07-11T06:34:59.865Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T06:34:59.865Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T06:35:00.142Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T06:35:00.142Z] 9b3977197b4f: Pulling fs layer [2022-07-11T06:35:00.142Z] 1a89e8eeedd5: Pulling fs layer [2022-07-11T06:35:00.142Z] 94645a83ff95: Pulling fs layer [2022-07-11T06:35:00.142Z] e6fb740bc735: Pulling fs layer [2022-07-11T06:35:00.142Z] 3a77bd46dcc9: Pulling fs layer [2022-07-11T06:35:00.142Z] 355e64cbe906: Pulling fs layer [2022-07-11T06:35:00.142Z] 63ab81a10011: Pulling fs layer [2022-07-11T06:35:00.142Z] 555d1d1c4555: Pulling fs layer [2022-07-11T06:35:00.142Z] 7d9057610161: Pulling fs layer [2022-07-11T06:35:00.142Z] 355e64cbe906: Waiting [2022-07-11T06:35:00.142Z] 63ab81a10011: Waiting [2022-07-11T06:35:00.142Z] 555d1d1c4555: Waiting [2022-07-11T06:35:00.142Z] e6fb740bc735: Waiting [2022-07-11T06:35:00.142Z] 7d9057610161: Waiting [2022-07-11T06:35:00.142Z] 3a77bd46dcc9: Waiting [2022-07-11T06:35:00.142Z] 94645a83ff95: Download complete [2022-07-11T06:35:00.142Z] 1a89e8eeedd5: Verifying Checksum [2022-07-11T06:35:00.142Z] 1a89e8eeedd5: Download complete [2022-07-11T06:35:00.142Z] 3a77bd46dcc9: Verifying Checksum [2022-07-11T06:35:00.142Z] 3a77bd46dcc9: Download complete [2022-07-11T06:35:00.142Z] 355e64cbe906: Verifying Checksum [2022-07-11T06:35:00.142Z] 355e64cbe906: Download complete [2022-07-11T06:35:00.142Z] 9b3977197b4f: Verifying Checksum [2022-07-11T06:35:00.142Z] 9b3977197b4f: Download complete [2022-07-11T06:35:00.142Z] 63ab81a10011: Verifying Checksum [2022-07-11T06:35:00.142Z] 63ab81a10011: Download complete [2022-07-11T06:35:01.146Z] 9b3977197b4f: Pull complete [2022-07-11T06:35:01.146Z] 7d9057610161: Verifying Checksum [2022-07-11T06:35:01.146Z] 7d9057610161: Download complete [2022-07-11T06:35:01.760Z] 1a89e8eeedd5: Pull complete [2022-07-11T06:35:02.375Z] 94645a83ff95: Pull complete [2022-07-11T06:35:02.375Z] 555d1d1c4555: Verifying Checksum [2022-07-11T06:35:02.970Z] e6fb740bc735: Verifying Checksum [2022-07-11T06:35:02.970Z] e6fb740bc735: Download complete [2022-07-11T06:35:15.369Z] e6fb740bc735: Pull complete [2022-07-11T06:35:15.369Z] 3a77bd46dcc9: Pull complete [2022-07-11T06:35:15.369Z] 355e64cbe906: Pull complete [2022-07-11T06:35:15.369Z] 63ab81a10011: Pull complete [2022-07-11T06:35:20.769Z] 555d1d1c4555: Pull complete [2022-07-11T06:35:22.749Z] 7d9057610161: Pull complete [2022-07-11T06:35:22.749Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-11T06:35:22.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-11T06:35:22.749Z] ---> 819e984ddca1 [2022-07-11T06:35:22.749Z] Step 3/12 : ARG MAKE='make build' [2022-07-11T06:35:24.734Z] ---> Running in f8ba311fb783 [2022-07-11T06:35:24.734Z] Removing intermediate container f8ba311fb783 [2022-07-11T06:35:24.734Z] ---> f2c2f4ed0823 [2022-07-11T06:35:24.734Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T06:35:24.734Z] ---> Running in cd0887f3c92f [2022-07-11T06:35:25.006Z] Removing intermediate container cd0887f3c92f [2022-07-11T06:35:25.006Z] ---> 3c1d86d44ddb [2022-07-11T06:35:25.006Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T06:35:25.278Z] ---> Running in 4fca1beee9b1 [2022-07-11T06:35:25.550Z] Removing intermediate container 4fca1beee9b1 [2022-07-11T06:35:25.550Z] ---> c162bb02be8c [2022-07-11T06:35:25.550Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:35:25.550Z] ---> Running in 8ab7fd056a7b [2022-07-11T06:35:27.541Z] Removing intermediate container 8ab7fd056a7b [2022-07-11T06:35:27.541Z] ---> 107e273b63da [2022-07-11T06:35:27.541Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T06:35:27.541Z] ---> Running in b18791e7d2f6 [2022-07-11T06:35:28.520Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T06:35:29.499Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T06:35:30.095Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T06:35:30.367Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T06:35:30.367Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T06:35:30.639Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T06:35:30.639Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T06:35:30.639Z] OK: 224 MiB in 56 packages [2022-07-11T06:35:31.627Z] Removing intermediate container b18791e7d2f6 [2022-07-11T06:35:31.627Z] ---> 0b5b40fe43b7 [2022-07-11T06:35:31.627Z] Step 8/12 : WORKDIR /device-snmp-go [2022-07-11T06:35:31.627Z] ---> Running in 811d8097886e [2022-07-11T06:35:31.902Z] Removing intermediate container 811d8097886e [2022-07-11T06:35:31.902Z] ---> 79a5a09714f8 [2022-07-11T06:35:31.902Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T06:35:32.510Z] ---> c398fbb718d9 [2022-07-11T06:35:32.510Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T06:35:32.785Z] ---> Running in a1fe44f30f00 [2022-07-11T06:36:19.794Z] Removing intermediate container a1fe44f30f00 [2022-07-11T06:36:19.794Z] ---> 16f27dcc058e [2022-07-11T06:36:19.794Z] Step 11/12 : COPY . . [2022-07-11T06:36:19.794Z] ---> 42a4b1bb515f [2022-07-11T06:36:19.794Z] Step 12/12 : RUN ${MAKE} [2022-07-11T06:36:19.794Z] ---> Running in e3d58c52a1d7 [2022-07-11T06:36:20.071Z] noop [2022-07-11T06:36:20.678Z] Removing intermediate container e3d58c52a1d7 [2022-07-11T06:36:20.678Z] ---> 0ca8fffd7e3d [2022-07-11T06:36:20.678Z] Successfully built 0ca8fffd7e3d [2022-07-11T06:36:20.678Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:36:21.053Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T06:36:21.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:36:21.312Z] prd-ubuntu20.04-docker-arm64-4c-16g-17395 does not seem to be running inside a container [2022-07-11T06:36:21.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/36 -v /w/workspace/device-snmp-go/36:/w/workspace/device-snmp-go/36:rw,z -v /w/workspace/device-snmp-go/36@tmp:/w/workspace/device-snmp-go/36@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-07-11T06:36:22.758Z] $ docker top 57fdd9837797b06ae9c97ad62a4917356c004a87b6224e85a0459488838880ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T06:36:23.695Z] + go version [2022-07-11T06:36:23.695Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-11T06:36:23.724Z] $ docker stop --time=1 57fdd9837797b06ae9c97ad62a4917356c004a87b6224e85a0459488838880ae [2022-07-11T06:36:25.416Z] $ docker rm -f 57fdd9837797b06ae9c97ad62a4917356c004a87b6224e85a0459488838880ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:36:26.030Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T06:36:26.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:36:26.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-17395 does not seem to be running inside a container [2022-07-11T06:36:26.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/36 -v /w/workspace/device-snmp-go/36:/w/workspace/device-snmp-go/36:rw,z -v /w/workspace/device-snmp-go/36@tmp:/w/workspace/device-snmp-go/36@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-07-11T06:36:27.706Z] $ docker top 5e3fd8caf868fe774cbc800c89465399dcf97d5325803fb276b28289e630cb22 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T06:36:28.628Z] + make test [2022-07-11T06:36:28.628Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T06:36:30.627Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-07-11T06:37:52.478Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-07-11T06:37:52.478Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2022-07-11T06:37:52.478Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T06:37:52.478Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T06:38:19.288Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T06:38:19.288Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T06:38:19.288Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T06:38:22.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T06:38:22.726Z] $ docker stop --time=1 5e3fd8caf868fe774cbc800c89465399dcf97d5325803fb276b28289e630cb22 [2022-07-11T06:38:24.510Z] $ docker rm -f 5e3fd8caf868fe774cbc800c89465399dcf97d5325803fb276b28289e630cb22 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T06:38:25.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T06:38:25.525Z] Warning: overwriting stash ‘coverage-report’ [2022-07-11T06:38:25.993Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T06:38:26.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T06:38:26.734Z] + ls -al . [2022-07-11T06:38:26.734Z] total 164 [2022-07-11T06:38:26.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 06:38 . [2022-07-11T06:38:26.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 06:34 .. [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 11 06:34 .dockerignore [2022-07-11T06:38:26.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 06:34 .git [2022-07-11T06:38:26.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:34 .github [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 328 Jul 11 06:34 .gitignore [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 06:34 .golangci.yml [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 8556 Jul 11 06:34 Attribution.txt [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 6948 Jul 11 06:34 CHANGELOG.md [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 1516 Jul 11 06:34 Dockerfile [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 06:34 GOVERNANCE.md [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 11 06:34 Jenkinsfile [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 06:34 LICENSE [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 2334 Jul 11 06:34 Makefile [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 06:34 OWNERS.md [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 9390 Jul 11 06:34 README.md [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 06:31 VERSION [2022-07-11T06:38:26.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 06:34 bin [2022-07-11T06:38:26.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:34 cmd [2022-07-11T06:38:26.734Z] -rw-r--r-- 1 jenkins jenkins 7631 Jul 11 06:37 coverage.out [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 3301 Jul 11 06:34 go.mod [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 36459 Jul 11 06:34 go.sum [2022-07-11T06:38:26.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:34 internal [2022-07-11T06:38:26.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 06:34 snap [2022-07-11T06:38:26.734Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 11 06:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:38:27.107Z] + 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=2a50195080db95dc897f07c56d427b58d1c43a7f --label arch=arm64 --label version=2.2.1-dev.5 . [2022-07-11T06:38:27.380Z] Sending build context to Docker daemon 2.788MB [2022-07-11T06:38:27.380Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T06:38:27.380Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-11T06:38:27.380Z] ---> 0ca8fffd7e3d [2022-07-11T06:38:27.380Z] Step 3/24 : ARG MAKE='make build' [2022-07-11T06:38:27.653Z] ---> Running in 62249cbd0fff [2022-07-11T06:38:27.927Z] Removing intermediate container 62249cbd0fff [2022-07-11T06:38:27.927Z] ---> 643f4430c0da [2022-07-11T06:38:27.927Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T06:38:27.927Z] ---> Running in d3158cf68dab [2022-07-11T06:38:28.260Z] Removing intermediate container d3158cf68dab [2022-07-11T06:38:28.260Z] ---> 2dd6384b4400 [2022-07-11T06:38:28.260Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T06:38:28.550Z] ---> Running in c86f93b86f93 [2022-07-11T06:38:28.838Z] Removing intermediate container c86f93b86f93 [2022-07-11T06:38:28.838Z] ---> fae4c5c92f38 [2022-07-11T06:38:28.838Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T06:38:28.838Z] ---> Running in 92c4014b5f2b [2022-07-11T06:38:30.869Z] Removing intermediate container 92c4014b5f2b [2022-07-11T06:38:30.869Z] ---> 37cc3a621a4f [2022-07-11T06:38:30.869Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T06:38:30.869Z] ---> Running in 282a0bbb98e1 [2022-07-11T06:38:31.853Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T06:38:32.838Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T06:38:33.820Z] OK: 224 MiB in 56 packages [2022-07-11T06:38:34.798Z] Removing intermediate container 282a0bbb98e1 [2022-07-11T06:38:34.798Z] ---> 7e4c3546b94c [2022-07-11T06:38:34.798Z] Step 8/24 : WORKDIR /device-snmp-go [2022-07-11T06:38:34.798Z] ---> Running in 70505acad437 [2022-07-11T06:38:35.077Z] Removing intermediate container 70505acad437 [2022-07-11T06:38:35.077Z] ---> d05af9e92551 [2022-07-11T06:38:35.077Z] Step 9/24 : COPY go.mod vendor* ./ [2022-07-11T06:38:35.679Z] ---> cc08b635bfa2 [2022-07-11T06:38:35.679Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T06:38:35.679Z] ---> Running in e960f566367a [2022-07-11T06:38:37.658Z] Removing intermediate container e960f566367a [2022-07-11T06:38:37.658Z] ---> a48cef99f06a [2022-07-11T06:38:37.658Z] Step 11/24 : COPY . . [2022-07-11T06:38:38.262Z] ---> 9149623880fa [2022-07-11T06:38:38.262Z] Step 12/24 : RUN ${MAKE} [2022-07-11T06:38:38.262Z] ---> Running in 6834ee53467b [2022-07-11T06:38:39.252Z] 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.11 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-07-11T06:40:46.147Z] Removing intermediate container 6834ee53467b [2022-07-11T06:40:46.147Z] ---> 359a7ac1793a [2022-07-11T06:40:46.147Z] Step 13/24 : FROM alpine:3.14 [2022-07-11T06:40:46.147Z] 3.14: Pulling from library/alpine [2022-07-11T06:40:46.147Z] 455c02918c45: Pulling fs layer [2022-07-11T06:40:46.147Z] 455c02918c45: Download complete [2022-07-11T06:40:46.147Z] 455c02918c45: Pull complete [2022-07-11T06:40:46.147Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T06:40:46.147Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T06:40:46.147Z] ---> ac73e934f311 [2022-07-11T06:40:46.147Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T06:40:46.147Z] ---> Running in 59802858def5 [2022-07-11T06:40:46.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-11T06:40:46.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-11T06:40:46.147Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T06:40:46.147Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T06:40:46.147Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T06:40:46.147Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T06:40:46.147Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T06:40:46.147Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T06:40:46.147Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T06:40:46.147Z] OK: 8 MiB in 20 packages [2022-07-11T06:40:46.147Z] Removing intermediate container 59802858def5 [2022-07-11T06:40:46.147Z] ---> d7db2c8f3c60 [2022-07-11T06:40:46.147Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-07-11T06:40:47.583Z] ---> a13dfc49469c [2022-07-11T06:40:47.583Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-07-11T06:40:48.181Z] ---> ac24bc82bd8c [2022-07-11T06:40:48.181Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-07-11T06:40:48.457Z] ---> 8dcc75da019b [2022-07-11T06:40:48.457Z] Step 18/24 : EXPOSE 59993 [2022-07-11T06:40:48.732Z] ---> Running in ed2619a082ac [2022-07-11T06:40:49.009Z] Removing intermediate container ed2619a082ac [2022-07-11T06:40:49.010Z] ---> cb33685ade6a [2022-07-11T06:40:49.010Z] Step 19/24 : EXPOSE 161 [2022-07-11T06:40:49.010Z] ---> Running in db7e3804b7be [2022-07-11T06:40:49.294Z] Removing intermediate container db7e3804b7be [2022-07-11T06:40:49.294Z] ---> 0921db15005b [2022-07-11T06:40:49.294Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-07-11T06:40:49.294Z] ---> Running in 61fa12d3bc3a [2022-07-11T06:40:49.568Z] Removing intermediate container 61fa12d3bc3a [2022-07-11T06:40:49.568Z] ---> 9ba2ca8003ce [2022-07-11T06:40:49.568Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-11T06:40:49.848Z] ---> Running in f57538d0a2a3 [2022-07-11T06:40:50.126Z] Removing intermediate container f57538d0a2a3 [2022-07-11T06:40:50.126Z] ---> f07f9492a6ca [2022-07-11T06:40:50.126Z] Step 22/24 : LABEL arch=arm64 [2022-07-11T06:40:50.126Z] ---> Running in 2f3765b580f7 [2022-07-11T06:40:50.399Z] Removing intermediate container 2f3765b580f7 [2022-07-11T06:40:50.399Z] ---> bc8d4ece46a1 [2022-07-11T06:40:50.399Z] Step 23/24 : LABEL git_sha=2a50195080db95dc897f07c56d427b58d1c43a7f [2022-07-11T06:40:50.399Z] ---> Running in 9095f4e20983 [2022-07-11T06:40:50.675Z] Removing intermediate container 9095f4e20983 [2022-07-11T06:40:50.675Z] ---> 39bc161f7c46 [2022-07-11T06:40:50.675Z] Step 24/24 : LABEL version=2.2.1-dev.5 [2022-07-11T06:40:50.963Z] ---> Running in 53b85c3be50e [2022-07-11T06:40:51.240Z] Removing intermediate container 53b85c3be50e [2022-07-11T06:40:51.240Z] ---> beafefdf7894 [2022-07-11T06:40:51.240Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T06:40:51.240Z] Successfully built beafefdf7894 [2022-07-11T06:40:51.240Z] 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-07-11T06:40:51.345Z] provisioning config files... [2022-07-11T06:40:51.361Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/36@tmp/config6438874630150946132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:40:51.705Z] ---> docker-login.sh [2022-07-11T06:40:51.705Z] nexus3.edgexfoundry.org:10001 [2022-07-11T06:40:51.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:40:51.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:40:51.976Z] Configure a credential helper to remove this warning. See [2022-07-11T06:40:51.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:40:51.977Z] [2022-07-11T06:40:51.977Z] Login Succeeded [2022-07-11T06:40:51.977Z] nexus3.edgexfoundry.org:10002 [2022-07-11T06:40:52.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:40:52.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:40:52.573Z] Configure a credential helper to remove this warning. See [2022-07-11T06:40:52.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:40:52.573Z] [2022-07-11T06:40:52.573Z] Login Succeeded [2022-07-11T06:40:52.573Z] nexus3.edgexfoundry.org:10003 [2022-07-11T06:40:52.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:40:53.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:40:53.118Z] Configure a credential helper to remove this warning. See [2022-07-11T06:40:53.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:40:53.118Z] [2022-07-11T06:40:53.118Z] Login Succeeded [2022-07-11T06:40:53.118Z] nexus3.edgexfoundry.org:10004 [2022-07-11T06:40:53.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:40:53.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:40:53.390Z] Configure a credential helper to remove this warning. See [2022-07-11T06:40:53.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:40:53.390Z] [2022-07-11T06:40:53.664Z] Login Succeeded [2022-07-11T06:40:53.664Z] docker.io [2022-07-11T06:40:53.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T06:40:54.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T06:40:54.204Z] Configure a credential helper to remove this warning. See [2022-07-11T06:40:54.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T06:40:54.204Z] [2022-07-11T06:40:54.204Z] Login Succeeded [2022-07-11T06:40:54.204Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T06:40:54.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T06:40:54.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T06:40:54.271Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-07-11T06:40:54.271Z] 2a50195080db95dc897f07c56d427b58d1c43a7f [2022-07-11T06:40:54.271Z] latest [2022-07-11T06:40:54.271Z] 2.2.1-dev.5 [2022-07-11T06:40:54.271Z] 2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5 [2022-07-11T06:40:54.271Z] main [2022-07-11T06:40:54.271Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:54.624Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a50195080db95dc897f07c56d427b58d1c43a7f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:40:54.985Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a50195080db95dc897f07c56d427b58d1c43a7f [2022-07-11T06:40:54.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-07-11T06:40:54.985Z] 6e780c52c18e: Preparing [2022-07-11T06:40:54.985Z] e5b4b6b88000: Preparing [2022-07-11T06:40:54.985Z] 53b60979377a: Preparing [2022-07-11T06:40:54.985Z] f967b1941c65: Preparing [2022-07-11T06:40:54.985Z] f73e7dbfee58: Preparing [2022-07-11T06:40:54.985Z] f73e7dbfee58: Layer already exists [2022-07-11T06:40:55.264Z] e5b4b6b88000: Pushed [2022-07-11T06:40:55.264Z] 6e780c52c18e: Pushed [2022-07-11T06:40:55.876Z] f967b1941c65: Pushed [2022-07-11T06:41:01.284Z] 53b60979377a: Pushed [2022-07-11T06:41:01.284Z] 2a50195080db95dc897f07c56d427b58d1c43a7f: digest: sha256:0fbf7118b7164568b847448d107fab6251106f5e904b80a1558963f6f32be0c1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:01.656Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:02.019Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-07-11T06:41:02.019Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-07-11T06:41:02.020Z] 6e780c52c18e: Preparing [2022-07-11T06:41:02.020Z] e5b4b6b88000: Preparing [2022-07-11T06:41:02.020Z] 53b60979377a: Preparing [2022-07-11T06:41:02.020Z] f967b1941c65: Preparing [2022-07-11T06:41:02.020Z] f73e7dbfee58: Preparing [2022-07-11T06:41:02.020Z] f967b1941c65: Layer already exists [2022-07-11T06:41:02.020Z] 53b60979377a: Layer already exists [2022-07-11T06:41:02.020Z] 6e780c52c18e: Layer already exists [2022-07-11T06:41:02.020Z] f73e7dbfee58: Layer already exists [2022-07-11T06:41:02.020Z] e5b4b6b88000: Layer already exists [2022-07-11T06:41:02.294Z] latest: digest: sha256:0fbf7118b7164568b847448d107fab6251106f5e904b80a1558963f6f32be0c1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:02.680Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:03.046Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.5 [2022-07-11T06:41:03.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-07-11T06:41:03.317Z] 6e780c52c18e: Preparing [2022-07-11T06:41:03.317Z] e5b4b6b88000: Preparing [2022-07-11T06:41:03.317Z] 53b60979377a: Preparing [2022-07-11T06:41:03.317Z] f967b1941c65: Preparing [2022-07-11T06:41:03.317Z] f73e7dbfee58: Preparing [2022-07-11T06:41:03.317Z] e5b4b6b88000: Layer already exists [2022-07-11T06:41:03.317Z] f73e7dbfee58: Layer already exists [2022-07-11T06:41:03.317Z] 6e780c52c18e: Layer already exists [2022-07-11T06:41:03.317Z] f967b1941c65: Layer already exists [2022-07-11T06:41:03.317Z] 53b60979377a: Layer already exists [2022-07-11T06:41:03.317Z] 2.2.1-dev.5: digest: sha256:0fbf7118b7164568b847448d107fab6251106f5e904b80a1558963f6f32be0c1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:03.686Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:04.037Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5 [2022-07-11T06:41:04.037Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-07-11T06:41:04.037Z] 6e780c52c18e: Preparing [2022-07-11T06:41:04.037Z] e5b4b6b88000: Preparing [2022-07-11T06:41:04.037Z] 53b60979377a: Preparing [2022-07-11T06:41:04.037Z] f967b1941c65: Preparing [2022-07-11T06:41:04.037Z] f73e7dbfee58: Preparing [2022-07-11T06:41:04.037Z] 53b60979377a: Layer already exists [2022-07-11T06:41:04.037Z] e5b4b6b88000: Layer already exists [2022-07-11T06:41:04.037Z] f73e7dbfee58: Layer already exists [2022-07-11T06:41:04.037Z] 6e780c52c18e: Layer already exists [2022-07-11T06:41:04.037Z] f967b1941c65: Layer already exists [2022-07-11T06:41:04.308Z] 2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5: digest: sha256:0fbf7118b7164568b847448d107fab6251106f5e904b80a1558963f6f32be0c1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:04.672Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:05.028Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-07-11T06:41:05.028Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-07-11T06:41:05.028Z] 6e780c52c18e: Preparing [2022-07-11T06:41:05.028Z] e5b4b6b88000: Preparing [2022-07-11T06:41:05.028Z] 53b60979377a: Preparing [2022-07-11T06:41:05.028Z] f967b1941c65: Preparing [2022-07-11T06:41:05.028Z] f73e7dbfee58: Preparing [2022-07-11T06:41:05.028Z] f967b1941c65: Layer already exists [2022-07-11T06:41:05.028Z] 53b60979377a: Layer already exists [2022-07-11T06:41:05.028Z] 6e780c52c18e: Layer already exists [2022-07-11T06:41:05.301Z] f73e7dbfee58: Layer already exists [2022-07-11T06:41:05.301Z] e5b4b6b88000: Layer already exists [2022-07-11T06:41:05.301Z] main: digest: sha256:0fbf7118b7164568b847448d107fab6251106f5e904b80a1558963f6f32be0c1 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T06:41:05.359Z] ===================================================== [Pipeline] echo [2022-07-11T06:41:05.369Z] taggedImages: [2022-07-11T06:41:05.369Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a50195080db95dc897f07c56d427b58d1c43a7f [2022-07-11T06:41:05.369Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-07-11T06:41:05.369Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.5 [2022-07-11T06:41:05.369Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a50195080db95dc897f07c56d427b58d1c43a7f-2.2.1-dev.5 [2022-07-11T06:41:05.369Z] - 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-07-11T06:41:05.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T06:41:05.740Z] [2022-07-11T06:41:05.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:06.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T06:41:06.403Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T06:41:06.404Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T06:41:06.404Z] 04944245beec: Pulling fs layer [2022-07-11T06:41:06.404Z] 699f458cf7ca: Pulling fs layer [2022-07-11T06:41:06.404Z] 765212b225bb: Pulling fs layer [2022-07-11T06:41:06.404Z] f23df028b6ca: Pulling fs layer [2022-07-11T06:41:06.404Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T06:41:06.404Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T06:41:06.404Z] f23df028b6ca: Waiting [2022-07-11T06:41:06.404Z] d65c8cfc05b1: Waiting [2022-07-11T06:41:06.404Z] 765212b225bb: Waiting [2022-07-11T06:41:06.404Z] 2437ff75d9bd: Waiting [2022-07-11T06:41:06.404Z] 04944245beec: Verifying Checksum [2022-07-11T06:41:06.404Z] 04944245beec: Download complete [2022-07-11T06:41:06.404Z] 765212b225bb: Verifying Checksum [2022-07-11T06:41:06.404Z] 765212b225bb: Download complete [2022-07-11T06:41:06.404Z] f23df028b6ca: Verifying Checksum [2022-07-11T06:41:06.404Z] f23df028b6ca: Download complete [2022-07-11T06:41:06.692Z] d65c8cfc05b1: Verifying Checksum [2022-07-11T06:41:06.692Z] d65c8cfc05b1: Download complete [2022-07-11T06:41:06.692Z] 699f458cf7ca: Verifying Checksum [2022-07-11T06:41:06.692Z] 699f458cf7ca: Download complete [2022-07-11T06:41:07.343Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T06:41:07.343Z] 8998bd30e6a1: Download complete [2022-07-11T06:41:09.356Z] 2437ff75d9bd: Download complete [2022-07-11T06:41:11.345Z] 8998bd30e6a1: Pull complete [2022-07-11T06:41:11.942Z] 04944245beec: Pull complete [2022-07-11T06:41:13.376Z] 699f458cf7ca: Pull complete [2022-07-11T06:41:13.647Z] 765212b225bb: Pull complete [2022-07-11T06:41:14.246Z] f23df028b6ca: Pull complete [2022-07-11T06:41:14.518Z] d65c8cfc05b1: Pull complete [2022-07-11T06:41:29.620Z] 2437ff75d9bd: Pull complete [2022-07-11T06:41:29.620Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T06:41:29.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T06:41:29.620Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:41:29.879Z] prd-ubuntu20.04-docker-arm64-4c-16g-17395 does not seem to be running inside a container [2022-07-11T06:41:29.958Z] $ 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/36 -v /w/workspace/device-snmp-go/36:/w/workspace/device-snmp-go/36:rw,z -v /w/workspace/device-snmp-go/36@tmp:/w/workspace/device-snmp-go/36@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-07-11T06:41:32.455Z] $ docker top 74b04975736aa53838c3354eb89c9a2c6da39b4771fcf558af8b833a473eeadc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:41:33.359Z] ---> job-cost.sh [2022-07-11T06:41:33.359Z] lf-activate-venv: SKIPPING [2022-07-11T06:41:33.359Z] INFO: No Stack... [2022-07-11T06:41:33.954Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T06:41:34.547Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T06:41:35.203Z] + cat /w/workspace/device-snmp-go/36/archives/cost.csv [2022-07-11T06:41:35.203Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T06:41:35.261Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-36-stack-cost] [2022-07-11T06:41:35.270Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-36-stack-cost] did not exist. Created. [2022-07-11T06:41:35.270Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T06:41:35.929Z] /w/workspace/device-snmp-go/36@tmp/durable-d388bbcc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T06:41:36.598Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T06:41:36.625Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T06:41:36.667Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T06:41:36.675Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T06:41:36.695Z] $ docker stop --time=1 74b04975736aa53838c3354eb89c9a2c6da39b4771fcf558af8b833a473eeadc [2022-07-11T06:41:38.183Z] $ docker rm -f 74b04975736aa53838c3354eb89c9a2c6da39b4771fcf558af8b833a473eeadc [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-07-11T06:41:38.644Z] provisioning config files... [2022-07-11T06:41:38.653Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3776598096038920906tmp [Pipeline] { [Pipeline] sh [2022-07-11T06:41:38.948Z] + set +x [2022-07-11T06:41:38.948Z] + curl -s https://codecov.io/bash [2022-07-11T06:41:38.948Z] + bash -s -- [2022-07-11T06:41:38.948Z] [2022-07-11T06:41:38.948Z] _____ _ [2022-07-11T06:41:38.948Z] / ____| | | [2022-07-11T06:41:38.948Z] | | ___ __| | ___ ___ _____ __ [2022-07-11T06:41:38.948Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-11T06:41:38.948Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-11T06:41:38.948Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-11T06:41:38.948Z] Bash-1.0.6 [2022-07-11T06:41:38.948Z] [2022-07-11T06:41:38.948Z] [2022-07-11T06:41:38.948Z] ==> git version 2.25.1 found [2022-07-11T06:41:38.948Z] ==> 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-07-11T06:41:38.948Z] Release-Date: 2020-01-08 [2022-07-11T06:41:38.948Z] 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-07-11T06:41:38.948Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-11T06:41:38.948Z] ==> Jenkins CI detected. [2022-07-11T06:41:38.948Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-07-11T06:41:38.948Z] project root: . [2022-07-11T06:41:38.948Z] --> token set from env [2022-07-11T06:41:38.948Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-11T06:41:38.948Z] ==> Running gcov in . (disable via -X gcov) [2022-07-11T06:41:38.948Z] ==> Python coveragepy not found [2022-07-11T06:41:38.948Z] ==> Searching for coverage reports in: [2022-07-11T06:41:38.948Z] + . [2022-07-11T06:41:38.948Z] -> Found 1 reports [2022-07-11T06:41:38.948Z] ==> Detecting git/mercurial file structure [2022-07-11T06:41:38.948Z] ==> Reading reports [2022-07-11T06:41:38.948Z] + ./coverage.out bytes=7631 [2022-07-11T06:41:38.948Z] ==> Appending adjustments [2022-07-11T06:41:38.948Z] https://docs.codecov.io/docs/fixing-reports [2022-07-11T06:41:38.948Z] + Found adjustments [2022-07-11T06:41:39.208Z] ==> Gzipping contents [2022-07-11T06:41:39.208Z] 4.0K /tmp/codecov.1rmvgE.gz [2022-07-11T06:41:39.208Z] ==> Uploading reports [2022-07-11T06:41:39.208Z] url: https://codecov.io [2022-07-11T06:41:39.208Z] query: branch=main&commit=2a50195080db95dc897f07c56d427b58d1c43a7f&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-11T06:41:39.208Z] -> Pinging Codecov [2022-07-11T06:41:39.208Z] 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=2a50195080db95dc897f07c56d427b58d1c43a7f&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-11T06:41:39.208Z] -> Uploading to [2022-07-11T06:41:39.208Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-11/6C56EA5C29638FB4528AC87E60AF5AE0/2a50195080db95dc897f07c56d427b58d1c43a7f/396b8d00-9495-4745-9c89-ea0b997c4030.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T064139Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=904489723956ebaac64072cd11cd50e1f9d64b83872f201b9dbb26fee4078145 [2022-07-11T06:41:39.208Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T06:41:39.208Z] Dload Upload Total Spent Left Speed [2022-07-11T06:41:39.467Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 6118 --:--:-- --:--:-- --:--:-- 6118 [2022-07-11T06:41:39.467Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/2a50195080db95dc897f07c56d427b58d1c43a7f [Pipeline] } [2022-07-11T06:41:39.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-11T06:41:39.578Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-11T06:41:39.595Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:39.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-11T06:41:39.901Z] [2022-07-11T06:41:39.901Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:40.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-11T06:41:40.479Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-11T06:41:40.479Z] df9b9388f04a: Pulling fs layer [2022-07-11T06:41:40.479Z] 52dc419b0ee2: Pulling fs layer [2022-07-11T06:41:40.479Z] 25bc292e5bac: Pulling fs layer [2022-07-11T06:41:40.479Z] 114826534d7a: Pulling fs layer [2022-07-11T06:41:40.479Z] 4657fd5d0bcf: Pulling fs layer [2022-07-11T06:41:40.479Z] 6ad1cebc031e: Pulling fs layer [2022-07-11T06:41:40.479Z] 8a3aa393b2d8: Pulling fs layer [2022-07-11T06:41:40.479Z] 114826534d7a: Waiting [2022-07-11T06:41:40.479Z] 6ad1cebc031e: Waiting [2022-07-11T06:41:40.479Z] 8a3aa393b2d8: Waiting [2022-07-11T06:41:40.479Z] 4657fd5d0bcf: Waiting [2022-07-11T06:41:40.479Z] 25bc292e5bac: Download complete [2022-07-11T06:41:40.479Z] 52dc419b0ee2: Verifying Checksum [2022-07-11T06:41:40.479Z] 52dc419b0ee2: Download complete [2022-07-11T06:41:40.479Z] 4657fd5d0bcf: Verifying Checksum [2022-07-11T06:41:40.479Z] 4657fd5d0bcf: Download complete [2022-07-11T06:41:40.479Z] df9b9388f04a: Verifying Checksum [2022-07-11T06:41:40.479Z] df9b9388f04a: Download complete [2022-07-11T06:41:40.740Z] 6ad1cebc031e: Verifying Checksum [2022-07-11T06:41:40.740Z] 6ad1cebc031e: Download complete [2022-07-11T06:41:40.740Z] df9b9388f04a: Pull complete [2022-07-11T06:41:40.740Z] 52dc419b0ee2: Pull complete [2022-07-11T06:41:40.740Z] 25bc292e5bac: Pull complete [2022-07-11T06:41:41.310Z] 114826534d7a: Verifying Checksum [2022-07-11T06:41:41.310Z] 114826534d7a: Download complete [2022-07-11T06:41:41.310Z] 8a3aa393b2d8: Verifying Checksum [2022-07-11T06:41:41.310Z] 8a3aa393b2d8: Download complete [2022-07-11T06:41:44.601Z] 114826534d7a: Pull complete [2022-07-11T06:41:44.601Z] 4657fd5d0bcf: Pull complete [2022-07-11T06:41:45.170Z] 6ad1cebc031e: Pull complete [2022-07-11T06:41:47.707Z] 8a3aa393b2d8: Pull complete [2022-07-11T06:41:47.707Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-11T06:41:47.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-11T06:41:47.707Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:41:47.802Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:41:47.834Z] $ 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-07-11T06:41:50.009Z] $ docker top 70f6b9f58fb32c8c03886841e5000fd6b84014ee077b8eba728616151f65a0bf -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-11T06:41:50.091Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2022-07-11T06:41:50.377Z] + set -o pipefail [2022-07-11T06:41:50.377Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2022-07-11T06:41:55.665Z] [2022-07-11T06:41:55.665Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-07-11T06:41:55.665Z] [2022-07-11T06:41:55.665Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/032044a3-1f14-40e4-a2e0-76ccb56f216d [2022-07-11T06:41:55.665Z] [2022-07-11T06:41:55.665Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-11T06:41:55.665Z] [2022-07-11T06:41:55.665Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-11T06:41:55.665Z] [2022-07-11T06:41:55.665Z] [2022-07-11T06:41:55.665Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-11T06:41:55.665Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-11T06:41:55.674Z] $ docker stop --time=1 70f6b9f58fb32c8c03886841e5000fd6b84014ee077b8eba728616151f65a0bf [2022-07-11T06:41:58.026Z] $ docker rm -f 70f6b9f58fb32c8c03886841e5000fd6b84014ee077b8eba728616151f65a0bf [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-07-11T06:41:58.763Z] + git log --format=format:%s -1 2a50195080db95dc897f07c56d427b58d1c43a7f [Pipeline] sh [2022-07-11T06:41:59.058Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T06:41:59.058Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:41:59.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:41:59.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:41:59.440Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:41:59.473Z] $ 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-07-11T06:41:59.913Z] $ docker top 8fa710c76f8704f4c05ab204d33691bf5103bed4b0b1edb86bb1ab30c4f618a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T06:42:00.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:42:00.015Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:42:00.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:42:00.132Z] $ docker exec 8fa710c76f8704f4c05ab204d33691bf5103bed4b0b1edb86bb1ab30c4f618a5 ssh-agent [2022-07-11T06:42:00.272Z] SSH_AUTH_SOCK=/tmp/ssh-VCVuRFeukI4u/agent.33 [2022-07-11T06:42:00.272Z] SSH_AGENT_PID=39 [2022-07-11T06:42:00.279Z] Running ssh-add (command line suppressed) [2022-07-11T06:42:00.386Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3223990710875186910.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3223990710875186910.key) [2022-07-11T06:42:00.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:42:00.700Z] + git semver tag [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,880 [run_tag] DEBUG tag force:False [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,880 [check_head_tag] DEBUG check head tag [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,880 [execute] INFO git cat-file --batch-check [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,885 [execute] INFO git cat-file --batch [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,895 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,895 [execute] INFO git tag -a v2.2.1-dev.5 -m v2.2.1-dev.5 [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,895 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.5', '-m', 'v2.2.1-dev.5'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-11T06:42:00.961Z] 2022-07-11 06:42:00,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-07-11T06:42:00.961Z] 2.2.1-dev.5 [Pipeline] } [2022-07-11T06:42:00.970Z] $ docker exec --env ******** --env ******** 8fa710c76f8704f4c05ab204d33691bf5103bed4b0b1edb86bb1ab30c4f618a5 ssh-agent -k [2022-07-11T06:42:01.073Z] unset SSH_AUTH_SOCK; [2022-07-11T06:42:01.074Z] unset SSH_AGENT_PID; [2022-07-11T06:42:01.074Z] echo Agent pid 39 killed; [2022-07-11T06:42:01.093Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T06:42:01.398Z] + git semver [Pipeline] } [2022-07-11T06:42:01.669Z] $ docker stop --time=1 8fa710c76f8704f4c05ab204d33691bf5103bed4b0b1edb86bb1ab30c4f618a5 [2022-07-11T06:42:02.950Z] $ docker rm -f 8fa710c76f8704f4c05ab204d33691bf5103bed4b0b1edb86bb1ab30c4f618a5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:42:03.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-11T06:42:03.371Z] [2022-07-11T06:42:03.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:42:03.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-11T06:42:03.671Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-11T06:42:03.671Z] ab5ef0e58194: Pulling fs layer [2022-07-11T06:42:03.671Z] 9712f1f96733: Pulling fs layer [2022-07-11T06:42:03.671Z] 63f879dbbcfc: Pulling fs layer [2022-07-11T06:42:03.671Z] 0d9ebad4ef96: Pulling fs layer [2022-07-11T06:42:03.671Z] e9a5061849ea: Pulling fs layer [2022-07-11T06:42:03.671Z] d747dcd14b5f: Pulling fs layer [2022-07-11T06:42:03.671Z] 2de7ff778b66: Pulling fs layer [2022-07-11T06:42:03.671Z] e9a5061849ea: Waiting [2022-07-11T06:42:03.671Z] d747dcd14b5f: Waiting [2022-07-11T06:42:03.671Z] 0d9ebad4ef96: Waiting [2022-07-11T06:42:03.671Z] 2de7ff778b66: Waiting [2022-07-11T06:42:03.671Z] 9712f1f96733: Verifying Checksum [2022-07-11T06:42:03.671Z] 9712f1f96733: Download complete [2022-07-11T06:42:03.936Z] 63f879dbbcfc: Verifying Checksum [2022-07-11T06:42:03.936Z] 63f879dbbcfc: Download complete [2022-07-11T06:42:04.197Z] ab5ef0e58194: Verifying Checksum [2022-07-11T06:42:04.197Z] ab5ef0e58194: Download complete [2022-07-11T06:42:04.197Z] e9a5061849ea: Verifying Checksum [2022-07-11T06:42:04.197Z] e9a5061849ea: Download complete [2022-07-11T06:42:04.197Z] 0d9ebad4ef96: Verifying Checksum [2022-07-11T06:42:04.197Z] 0d9ebad4ef96: Download complete [2022-07-11T06:42:04.197Z] d747dcd14b5f: Verifying Checksum [2022-07-11T06:42:04.197Z] d747dcd14b5f: Download complete [2022-07-11T06:42:04.456Z] 2de7ff778b66: Verifying Checksum [2022-07-11T06:42:04.456Z] 2de7ff778b66: Download complete [2022-07-11T06:42:06.995Z] ab5ef0e58194: Pull complete [2022-07-11T06:42:06.995Z] 9712f1f96733: Pull complete [2022-07-11T06:42:07.933Z] 63f879dbbcfc: Pull complete [2022-07-11T06:42:12.130Z] 0d9ebad4ef96: Pull complete [2022-07-11T06:42:12.130Z] e9a5061849ea: Pull complete [2022-07-11T06:42:12.130Z] d747dcd14b5f: Pull complete [2022-07-11T06:42:13.512Z] 2de7ff778b66: Pull complete [2022-07-11T06:42:13.512Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-11T06:42:13.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-11T06:42:13.512Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:42:13.609Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:42:13.643Z] $ 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-07-11T06:42:15.895Z] $ docker top 3c2cc36e90cd005f7741dbc54b5c789485e639beccb84bb15b61d6c4fb37ae0f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-11T06:42:15.986Z] provisioning config files... [2022-07-11T06:42:15.993Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6182596510839914698tmp [2022-07-11T06:42:16.005Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2133233940947658792tmp [2022-07-11T06:42:16.016Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3283563852740011939tmp [Pipeline] { [Pipeline] echo [2022-07-11T06:42:16.028Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:16.313Z] ---> sigul-configuration.sh [2022-07-11T06:42:16.313Z] gpg: directory `/root/.gnupg' created [2022-07-11T06:42:16.313Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-11T06:42:16.313Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-11T06:42:16.313Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-11T06:42:16.313Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-11T06:42:16.313Z] gpg: CAST5 encrypted data [2022-07-11T06:42:16.313Z] gpg: encrypted with 1 passphrase [2022-07-11T06:42:16.313Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-11T06:42:16.603Z] + mkdir /home/jenkins [2022-07-11T06:42:16.603Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-11T06:42:16.899Z] + 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-07-11T06:42:16.908Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:17.195Z] ---> sigul-install.sh [2022-07-11T06:42:17.195Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-11T06:42:17.490Z] + git tag --list [2022-07-11T06:42:17.490Z] 1.0.0 [2022-07-11T06:42:17.490Z] v0.0.0 [2022-07-11T06:42:17.490Z] v1.1.0 [2022-07-11T06:42:17.490Z] v1.1.1 [2022-07-11T06:42:17.490Z] v1.2.2 [2022-07-11T06:42:17.490Z] v1.3.0 [2022-07-11T06:42:17.490Z] v1.3.1 [2022-07-11T06:42:17.490Z] v2.0.0 [2022-07-11T06:42:17.490Z] v2.1.0 [2022-07-11T06:42:17.490Z] v2.1.1 [2022-07-11T06:42:17.490Z] v2.1.1-dev.2 [2022-07-11T06:42:17.490Z] v2.1.1-dev.3 [2022-07-11T06:42:17.490Z] v2.2.0 [2022-07-11T06:42:17.490Z] v2.2.1-dev.1 [2022-07-11T06:42:17.490Z] v2.2.1-dev.2 [2022-07-11T06:42:17.490Z] v2.2.1-dev.3 [2022-07-11T06:42:17.490Z] v2.2.1-dev.4 [2022-07-11T06:42:17.490Z] v2.2.1-dev.5 [Pipeline] sh [2022-07-11T06:42:17.781Z] + lftools sign git-tag v2.2.1-dev.5 [2022-07-11T06:42:18.352Z] Signing Git tag with Sigul... [2022-07-11T06:42:18.352Z] Signing v2.2.1-dev.5 [Pipeline] echo [2022-07-11T06:42:18.937Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:19.221Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-11T06:42:19.229Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-11T06:42:19.243Z] $ docker stop --time=1 3c2cc36e90cd005f7741dbc54b5c789485e639beccb84bb15b61d6c4fb37ae0f [2022-07-11T06:42:20.547Z] $ docker rm -f 3c2cc36e90cd005f7741dbc54b5c789485e639beccb84bb15b61d6c4fb37ae0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-11T06:42:20.988Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T06:42:20.988Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:42:21.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:42:21.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:42:21.376Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:42:21.414Z] $ 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-07-11T06:42:21.813Z] $ docker top ab8da6699528f3c60e0c5eef9f78441d3dc52ac863f1f97e29e78a463fc60eee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T06:42:21.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:42:21.916Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:42:22.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:42:22.046Z] $ docker exec ab8da6699528f3c60e0c5eef9f78441d3dc52ac863f1f97e29e78a463fc60eee ssh-agent [2022-07-11T06:42:22.175Z] SSH_AUTH_SOCK=/tmp/ssh-TxQXgSvepfQT/agent.33 [2022-07-11T06:42:22.175Z] SSH_AGENT_PID=39 [2022-07-11T06:42:22.179Z] Running ssh-add (command line suppressed) [2022-07-11T06:42:22.301Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_207894604395596502.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_207894604395596502.key) [2022-07-11T06:42:22.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:42:22.606Z] + git semver bump pre [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,792 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,792 [bump_version] DEBUG bumping version:2.2.1-dev.5 on axis:pre with prefix:dev [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,792 [bump_version] DEBUG bumped version:2.2.1-dev.6 [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,792 [write_version] DEBUG write version:2.2.1-dev.6 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,792 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,792 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,794 [execute] INFO git cat-file --batch-check [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,800 [execute] INFO git cat-file --batch [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,800 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T06:42:22.867Z] 2022-07-11 06:42:22,805 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-07-11T06:42:22.867Z] 2.2.1-dev.6 [Pipeline] } [2022-07-11T06:42:22.874Z] $ docker exec --env ******** --env ******** ab8da6699528f3c60e0c5eef9f78441d3dc52ac863f1f97e29e78a463fc60eee ssh-agent -k [2022-07-11T06:42:22.994Z] unset SSH_AUTH_SOCK; [2022-07-11T06:42:22.994Z] unset SSH_AGENT_PID; [2022-07-11T06:42:22.994Z] echo Agent pid 39 killed; [2022-07-11T06:42:23.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T06:42:23.328Z] + git semver [Pipeline] } [2022-07-11T06:42:23.598Z] $ docker stop --time=1 ab8da6699528f3c60e0c5eef9f78441d3dc52ac863f1f97e29e78a463fc60eee [2022-07-11T06:42:24.912Z] $ docker rm -f ab8da6699528f3c60e0c5eef9f78441d3dc52ac863f1f97e29e78a463fc60eee [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T06:42:25.272Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T06:42:25.272Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:42:25.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T06:42:25.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:42:25.663Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:42:25.692Z] $ 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-07-11T06:42:26.117Z] $ docker top 8e4dc123d62ba6ba7cf47427dbca965ac69b99c661f4c86133db986dd5ab8b55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T06:42:26.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T06:42:26.226Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T06:42:26.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T06:42:26.350Z] $ docker exec 8e4dc123d62ba6ba7cf47427dbca965ac69b99c661f4c86133db986dd5ab8b55 ssh-agent [2022-07-11T06:42:26.504Z] SSH_AUTH_SOCK=/tmp/ssh-zL2icNlLQPhK/agent.33 [2022-07-11T06:42:26.504Z] SSH_AGENT_PID=39 [2022-07-11T06:42:26.510Z] Running ssh-add (command line suppressed) [2022-07-11T06:42:26.628Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5586460651606524466.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5586460651606524466.key) [2022-07-11T06:42:26.646Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T06:42:26.933Z] + git semver push [2022-07-11T06:42:27.194Z] 2022-07-11 06:42:27,125 [run_push] DEBUG push [2022-07-11T06:42:27.194Z] 2022-07-11 06:42:27,126 [execute] INFO git cat-file --batch-check [2022-07-11T06:42:27.194Z] 2022-07-11 06:42:27,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T06:42:27.194Z] 2022-07-11 06:42:27,130 [execute] INFO git rev-list 96a4e011439ad00f3232ed5d4ddac78865e026ad -- [2022-07-11T06:42:27.194Z] 2022-07-11 06:42:27,130 [execute] DEBUG Popen(['git', 'rev-list', '96a4e011439ad00f3232ed5d4ddac78865e026ad', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-11T06:42:27.194Z] 2022-07-11 06:42:27,138 [execute] INFO git fetch -v origin [2022-07-11T06:42:27.194Z] 2022-07-11 06:42:27,138 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-11T06:42:27.763Z] 2022-07-11 06:42:27,613 [run_push] DEBUG no remote changes detected [2022-07-11T06:42:27.763Z] 2022-07-11 06:42:27,613 [execute] INFO git push origin semver [2022-07-11T06:42:27.763Z] 2022-07-11 06:42:27,614 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-11T06:42:28.702Z] 2022-07-11 06:42:28,333 [run_push] DEBUG push all version tags [2022-07-11T06:42:28.703Z] 2022-07-11 06:42:28,334 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-11T06:42:28.703Z] 2022-07-11 06:42:28,334 [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-07-11T06:42:29.272Z] 2022-07-11 06:42:29,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-07-11T06:42:29.272Z] 2.2.1-dev.6 [Pipeline] } [2022-07-11T06:42:29.280Z] $ docker exec --env ******** --env ******** 8e4dc123d62ba6ba7cf47427dbca965ac69b99c661f4c86133db986dd5ab8b55 ssh-agent -k [2022-07-11T06:42:29.388Z] unset SSH_AUTH_SOCK; [2022-07-11T06:42:29.389Z] unset SSH_AGENT_PID; [2022-07-11T06:42:29.389Z] echo Agent pid 39 killed; [2022-07-11T06:42:29.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T06:42:29.717Z] + git semver [Pipeline] } [2022-07-11T06:42:29.990Z] $ docker stop --time=1 8e4dc123d62ba6ba7cf47427dbca965ac69b99c661f4c86133db986dd5ab8b55 [2022-07-11T06:42:31.326Z] $ docker rm -f 8e4dc123d62ba6ba7cf47427dbca965ac69b99c661f4c86133db986dd5ab8b55 [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-07-11T06:42:31.942Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-07-11T06:42:31.942Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-07-11T06:42:31.942Z] total 16 [2022-07-11T06:42:31.942Z] drwxr-xr-x 3 root root 4096 Jul 11 06:33 . [2022-07-11T06:42:31.942Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 06:42 .. [2022-07-11T06:42:31.942Z] drwxr-xr-x 2 root root 4096 Jul 11 06:33 cost [2022-07-11T06:42:31.942Z] -rw-r--r-- 1 root root 84 Jul 11 06:33 cost.csv [2022-07-11T06:42:31.942Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-07-11T06:42:31.942Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-07-11T06:42:31.942Z] total 16 [2022-07-11T06:42:31.942Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 06:33 . [2022-07-11T06:42:31.942Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 06:42 .. [2022-07-11T06:42:31.943Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 06:33 cost [2022-07-11T06:42:31.943Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 11 06:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:32.236Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:33.103Z] ---> package-listing.sh [2022-07-11T06:42:33.103Z] ++ facter osfamily [2022-07-11T06:42:33.103Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T06:42:33.365Z] + OS_FAMILY=debian [2022-07-11T06:42:33.365Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-07-11T06:42:33.365Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T06:42:33.365Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T06:42:33.365Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T06:42:33.365Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T06:42:33.365Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-07-11T06:42:33.365Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T06:42:33.365Z] + case "${OS_FAMILY}" in [2022-07-11T06:42:33.365Z] + dpkg -l [2022-07-11T06:42:33.365Z] + grep '^ii' [2022-07-11T06:42:33.365Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T06:42:33.365Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T06:42:33.365Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T06:42:33.365Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-07-11T06:42:33.365Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-07-11T06:42:33.365Z] + 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-07-11T06:42:33.376Z] 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-07-11T06:42:33.659Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T06:42:34.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T06:42:34.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T06:42:34.313Z] prd-ubuntu20.04-docker-8c-8g-17393 does not seem to be running inside a container [2022-07-11T06:42:34.343Z] $ 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-07-11T06:42:34.611Z] $ docker top 4bd08dcf7c1da2ad534449ae7837de4380e8f43bf9f09dff2c119d3c198d02d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T06:42:34.973Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T06:42:35.261Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T06:42:35.547Z] + ls /var/log/sa-host [2022-07-11T06:42:35.547Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T06:42:35.616Z] provisioning config files... [2022-07-11T06:42:35.624Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1693291613354483958tmp [Pipeline] { [Pipeline] echo [2022-07-11T06:42:35.639Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:35.923Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T06:42:35.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:36.260Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T06:42:36.270Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:36.555Z] ---> sudo-logs.sh [2022-07-11T06:42:36.555Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T06:42:36.579Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:36.862Z] ---> job-cost.sh [2022-07-11T06:42:36.862Z] lf-activate-venv: SKIPPING [2022-07-11T06:42:36.862Z] DEBUG: total: 0.2199999988079071 [2022-07-11T06:42:36.862Z] INFO: Retrieving Stack Cost... [2022-07-11T06:42:37.433Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T06:42:37.693Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T06:42:37.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T06:42:37.992Z] ---> logs-deploy.sh [2022-07-11T06:42:37.992Z] lf-activate-venv: SKIPPING [2022-07-11T06:42:37.992Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/36 [2022-07-11T06:42:37.992Z] INFO: archiving workspace using pattern(s): [2022-07-11T06:42:38.935Z] Archives upload complete. [2022-07-11T06:42:38.935Z] INFO: archiving logs to Nexus