Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 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-ssh307268429327367474.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh1700093406862651776.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15174099760693317612.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh5139409335262841995.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh6799402841515238686.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40581 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 Commit message: "docs(snap): Move usage instructions to docs (#167)" > git rev-list --no-walk d555bf136e773009b6ef88c6c814540d1eb4cbee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-06T13:16:05.328Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-06T13:16:05.390Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-06T13:16:05.414Z] ========================================================= [2022-05-06T13:16:05.414Z] EdgeX Global Pipelines Version Info [2022-05-06T13:16:05.414Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:16:06.177Z] ------------------- [2022-05-06T13:16:06.177Z] stable info: [2022-05-06T13:16:06.177Z] ------------------- [2022-05-06T13:16:06.177Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-06T13:16:06.177Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-06T13:16:06.177Z] Message: update stable to v1.0.227 [2022-05-06T13:16:06.750Z] ------------------- [2022-05-06T13:16:06.750Z] experimental info: [2022-05-06T13:16:06.750Z] ------------------- [2022-05-06T13:16:06.750Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-06T13:16:06.750Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-06T13:16:06.750Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-06T13:16:06.865Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-05-06T13:16:06.879Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-05-06T13:16:06.897Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-06T13:16:06.917Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-06T13:16:06.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-06T13:16:06.953Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-06T13:16:06.967Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-06T13:16:06.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-06T13:16:06.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-06T13:16:07.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-06T13:16:07.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-06T13:16:07.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-05-06T13:16:07.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-06T13:16:07.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-06T13:16:07.089Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-06T13:16:07.101Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-06T13:16:07.117Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-06T13:16:07.135Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-06T13:16:07.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-06T13:16:07.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-06T13:16:07.176Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-06T13:16:07.186Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-06T13:16:07.198Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-06T13:16:07.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-06T13:16:07.221Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-06T13:16:07.230Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-06T13:16:07.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-06T13:16:07.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-06T13:16:07.259Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-06T13:16:07.269Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] echo [2022-05-06T13:16:07.279Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73713b9 [Pipeline] echo [2022-05-06T13:16:07.295Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:16:07.340Z] provisioning config files... [2022-05-06T13:16:07.353Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2727642279921445306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:16:07.668Z] ---> docker-login.sh [2022-05-06T13:16:07.668Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:16:07.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:07.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:07.930Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:07.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:07.930Z] [2022-05-06T13:16:07.930Z] Login Succeeded [2022-05-06T13:16:07.930Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:16:08.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:08.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:08.192Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:08.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:08.192Z] [2022-05-06T13:16:08.192Z] Login Succeeded [2022-05-06T13:16:08.192Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:16:08.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:08.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:08.193Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:08.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:08.193Z] [2022-05-06T13:16:08.193Z] Login Succeeded [2022-05-06T13:16:08.193Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:16:08.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:08.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:08.454Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:08.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:08.454Z] [2022-05-06T13:16:08.454Z] Login Succeeded [2022-05-06T13:16:08.454Z] docker.io [2022-05-06T13:16:08.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:09.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:09.027Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:09.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:09.027Z] [2022-05-06T13:16:09.027Z] Login Succeeded [2022-05-06T13:16:09.027Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:16:09.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-06T13:16:09.438Z] + git rev-list -1 --merges 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8~1..73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] echo [2022-05-06T13:16:09.569Z] -----------> git rev-list -1 --merges 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8~1..73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [false] [Pipeline] sh [2022-05-06T13:16:09.866Z] + git log --format=format:%s -1 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] echo [2022-05-06T13:16:09.884Z] ========================================================= [2022-05-06T13:16:09.884Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-06T13:16:09.884Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-06T13:16:10.231Z] + git log --format=format:%s -1 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] echo [2022-05-06T13:16:10.251Z] [semverPrep] GIT_COMMIT: 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8, Commit Message: docs(snap): Move usage instructions to docs (#167) [Pipeline] echo [2022-05-06T13:16:10.260Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-06T13:16:10.642Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-06T13:16:10.642Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-06T13:16:10.642Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-06T13:16:10.642Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-06T13:16:10.642Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-06T13:16:10.642Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-06T13:16:10.642Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:16:10.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:16:10.990Z] [2022-05-06T13:16:10.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:16:11.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:16:11.294Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-06T13:16:11.294Z] 1fe172e4850f: Pulling fs layer [2022-05-06T13:16:11.294Z] caf521ccaac6: Pulling fs layer [2022-05-06T13:16:11.294Z] 3ead6fa29328: Pulling fs layer [2022-05-06T13:16:11.294Z] 5c2a1cbceb83: Pulling fs layer [2022-05-06T13:16:11.294Z] a8d5f1318db7: Pulling fs layer [2022-05-06T13:16:11.294Z] c427282e49a2: Pulling fs layer [2022-05-06T13:16:11.294Z] 1827001aaf11: Pulling fs layer [2022-05-06T13:16:11.294Z] 0714d37db230: Pulling fs layer [2022-05-06T13:16:11.294Z] ac28cf19c067: Pulling fs layer [2022-05-06T13:16:11.294Z] ca983d60f3e2: Pulling fs layer [2022-05-06T13:16:11.294Z] 9f894cec8388: Pulling fs layer [2022-05-06T13:16:11.294Z] 9f894cec8388: Waiting [2022-05-06T13:16:11.294Z] ca983d60f3e2: Waiting [2022-05-06T13:16:11.294Z] a8d5f1318db7: Waiting [2022-05-06T13:16:11.294Z] 1827001aaf11: Waiting [2022-05-06T13:16:11.294Z] c427282e49a2: Waiting [2022-05-06T13:16:11.294Z] 0714d37db230: Waiting [2022-05-06T13:16:11.294Z] ac28cf19c067: Waiting [2022-05-06T13:16:11.294Z] 5c2a1cbceb83: Waiting [2022-05-06T13:16:11.294Z] caf521ccaac6: Verifying Checksum [2022-05-06T13:16:11.294Z] caf521ccaac6: Download complete [2022-05-06T13:16:11.294Z] 5c2a1cbceb83: Verifying Checksum [2022-05-06T13:16:11.294Z] 5c2a1cbceb83: Download complete [2022-05-06T13:16:11.555Z] a8d5f1318db7: Verifying Checksum [2022-05-06T13:16:11.555Z] a8d5f1318db7: Download complete [2022-05-06T13:16:11.555Z] c427282e49a2: Verifying Checksum [2022-05-06T13:16:11.555Z] c427282e49a2: Download complete [2022-05-06T13:16:11.555Z] 3ead6fa29328: Verifying Checksum [2022-05-06T13:16:11.555Z] 3ead6fa29328: Download complete [2022-05-06T13:16:11.555Z] 0714d37db230: Verifying Checksum [2022-05-06T13:16:11.555Z] 0714d37db230: Download complete [2022-05-06T13:16:11.555Z] ac28cf19c067: Download complete [2022-05-06T13:16:11.555Z] ca983d60f3e2: Verifying Checksum [2022-05-06T13:16:11.555Z] ca983d60f3e2: Download complete [2022-05-06T13:16:11.555Z] 9f894cec8388: Verifying Checksum [2022-05-06T13:16:11.555Z] 9f894cec8388: Download complete [2022-05-06T13:16:11.555Z] 1fe172e4850f: Verifying Checksum [2022-05-06T13:16:11.555Z] 1fe172e4850f: Download complete [2022-05-06T13:16:11.815Z] 1827001aaf11: Verifying Checksum [2022-05-06T13:16:11.815Z] 1827001aaf11: Download complete [2022-05-06T13:16:13.195Z] 1fe172e4850f: Pull complete [2022-05-06T13:16:13.195Z] caf521ccaac6: Pull complete [2022-05-06T13:16:13.764Z] 3ead6fa29328: Pull complete [2022-05-06T13:16:13.764Z] 5c2a1cbceb83: Pull complete [2022-05-06T13:16:14.026Z] a8d5f1318db7: Pull complete [2022-05-06T13:16:14.026Z] c427282e49a2: Pull complete [2022-05-06T13:16:15.946Z] 1827001aaf11: Pull complete [2022-05-06T13:16:15.946Z] 0714d37db230: Pull complete [2022-05-06T13:16:16.211Z] ac28cf19c067: Pull complete [2022-05-06T13:16:16.211Z] ca983d60f3e2: Pull complete [2022-05-06T13:16:16.211Z] 9f894cec8388: Pull complete [2022-05-06T13:16:16.211Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-06T13:16:16.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:16:16.211Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-06T13:16:16.301Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:16:16.345Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-06T13:16:17.604Z] $ docker top b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 -eo pid,comm [2022-05-06T13:16:17.670Z] 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-05-06T13:16:17.670Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-06T13:16:17.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:16:17.712Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:16:17.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:16:17.858Z] $ docker exec b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 ssh-agent [2022-05-06T13:16:17.978Z] SSH_AUTH_SOCK=/tmp/ssh-KIHd6g3DtUmU/agent.32 [2022-05-06T13:16:17.978Z] SSH_AGENT_PID=38 [2022-05-06T13:16:17.987Z] Running ssh-add (command line suppressed) [2022-05-06T13:16:18.107Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7273001044218875167.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7273001044218875167.key) [2022-05-06T13:16:18.116Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:16:18.408Z] + git tag --points-at HEAD [Pipeline] } [2022-05-06T13:16:18.429Z] $ docker exec --env ******** --env ******** b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 ssh-agent -k [2022-05-06T13:16:18.560Z] unset SSH_AUTH_SOCK; [2022-05-06T13:16:18.561Z] unset SSH_AGENT_PID; [2022-05-06T13:16:18.561Z] echo Agent pid 38 killed; [2022-05-06T13:16:18.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-06T13:16:18.597Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:16:18.597Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:16:18.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:16:18.729Z] $ docker exec b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 ssh-agent [2022-05-06T13:16:18.850Z] SSH_AUTH_SOCK=/tmp/ssh-djr3LOXJHfs5/agent.70 [2022-05-06T13:16:18.850Z] SSH_AGENT_PID=77 [2022-05-06T13:16:18.855Z] Running ssh-add (command line suppressed) [2022-05-06T13:16:18.972Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2333680207148168901.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2333680207148168901.key) [2022-05-06T13:16:18.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:16:19.272Z] + git semver init [2022-05-06T13:16:19.531Z] 2022-05-06 13:16:19,490 [run_init] DEBUG init version:0.0.0 force:False [2022-05-06T13:16:19.531Z] 2022-05-06 13:16:19,491 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-05-06T13:16:19.531Z] 2022-05-06 13:16:19,491 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-05-06T13:16:19.531Z] 2022-05-06 13:16:19,492 [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-05-06T13:16:20.481Z] 2022-05-06 13:16:20,296 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-05-06T13:16:20.481Z] 2022-05-06 13:16:20,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2022-05-06T13:16:20.481Z] 2022-05-06 13:16:20,297 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-06T13:16:20.481Z] 2022-05-06 13:16:20,297 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-06T13:16:20.481Z] 2.2.0-dev.15 [Pipeline] } [2022-05-06T13:16:20.500Z] $ docker exec --env ******** --env ******** b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 ssh-agent -k [2022-05-06T13:16:20.606Z] unset SSH_AUTH_SOCK; [2022-05-06T13:16:20.607Z] unset SSH_AGENT_PID; [2022-05-06T13:16:20.607Z] echo Agent pid 77 killed; [2022-05-06T13:16:20.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-06T13:16:20.939Z] + git semver [Pipeline] } [2022-05-06T13:16:21.219Z] $ docker stop --time=1 b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 [2022-05-06T13:16:22.550Z] $ docker rm -f b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-06T13:16:22.907Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-06T13:16:23.238Z] Stashed 1 file(s) [Pipeline] echo [2022-05-06T13:16:23.242Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [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-05-06T13:16:23.397Z] provisioning config files... [2022-05-06T13:16:23.407Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config533575026870848320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:16:23.725Z] ---> docker-login.sh [2022-05-06T13:16:23.725Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:16:23.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:23.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:23.725Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:23.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:23.725Z] [2022-05-06T13:16:23.725Z] Login Succeeded [2022-05-06T13:16:23.725Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:16:23.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:23.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:23.986Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:23.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:23.986Z] [2022-05-06T13:16:23.986Z] Login Succeeded [2022-05-06T13:16:23.986Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:16:23.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:23.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:23.987Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:23.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:23.987Z] [2022-05-06T13:16:23.987Z] Login Succeeded [2022-05-06T13:16:23.987Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:16:24.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:24.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:24.247Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:24.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:24.247Z] [2022-05-06T13:16:24.247Z] Login Succeeded [2022-05-06T13:16:24.247Z] docker.io [2022-05-06T13:16:24.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:16:24.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:16:24.507Z] Configure a credential helper to remove this warning. See [2022-05-06T13:16:24.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:16:24.507Z] [2022-05-06T13:16:24.507Z] Login Succeeded [2022-05-06T13:16:24.507Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:16:24.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-06T13:16:24.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T13:16:24.604Z] ========================================================= [2022-05-06T13:16:24.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-06T13:16:24.604Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:16:24.921Z] + 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-05-06T13:16:24.921Z] Sending build context to Docker daemon 5.308MB [2022-05-06T13:16:24.921Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-06T13:16:24.921Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-06T13:16:24.921Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-06T13:16:24.921Z] 59bf1c3509f3: Pulling fs layer [2022-05-06T13:16:24.921Z] 666ba61612fd: Pulling fs layer [2022-05-06T13:16:24.921Z] 8ed8ca486205: Pulling fs layer [2022-05-06T13:16:24.921Z] 4fe6c5a15a65: Pulling fs layer [2022-05-06T13:16:24.921Z] 22a0e8bec74d: Pulling fs layer [2022-05-06T13:16:24.921Z] ca2b28591e48: Pulling fs layer [2022-05-06T13:16:24.921Z] a51346096db8: Pulling fs layer [2022-05-06T13:16:24.921Z] daebc70d1ce1: Pulling fs layer [2022-05-06T13:16:24.921Z] 0e18a0eac166: Pulling fs layer [2022-05-06T13:16:24.921Z] 4fe6c5a15a65: Waiting [2022-05-06T13:16:24.921Z] 22a0e8bec74d: Waiting [2022-05-06T13:16:24.921Z] ca2b28591e48: Waiting [2022-05-06T13:16:24.921Z] a51346096db8: Waiting [2022-05-06T13:16:24.921Z] daebc70d1ce1: Waiting [2022-05-06T13:16:24.921Z] 0e18a0eac166: Waiting [2022-05-06T13:16:24.921Z] 8ed8ca486205: Download complete [2022-05-06T13:16:24.921Z] 666ba61612fd: Verifying Checksum [2022-05-06T13:16:24.921Z] 666ba61612fd: Download complete [2022-05-06T13:16:24.921Z] 22a0e8bec74d: Verifying Checksum [2022-05-06T13:16:24.921Z] 22a0e8bec74d: Download complete [2022-05-06T13:16:24.921Z] ca2b28591e48: Verifying Checksum [2022-05-06T13:16:24.921Z] ca2b28591e48: Download complete [2022-05-06T13:16:24.921Z] 59bf1c3509f3: Verifying Checksum [2022-05-06T13:16:24.921Z] 59bf1c3509f3: Download complete [2022-05-06T13:16:25.185Z] a51346096db8: Verifying Checksum [2022-05-06T13:16:25.185Z] a51346096db8: Download complete [2022-05-06T13:16:25.185Z] daebc70d1ce1: Verifying Checksum [2022-05-06T13:16:25.185Z] daebc70d1ce1: Download complete [2022-05-06T13:16:25.185Z] 59bf1c3509f3: Pull complete [2022-05-06T13:16:25.454Z] 666ba61612fd: Pull complete [2022-05-06T13:16:25.454Z] 8ed8ca486205: Pull complete [2022-05-06T13:16:25.717Z] 4fe6c5a15a65: Verifying Checksum [2022-05-06T13:16:25.717Z] 4fe6c5a15a65: Download complete [2022-05-06T13:16:25.717Z] 0e18a0eac166: Verifying Checksum [2022-05-06T13:16:25.717Z] 0e18a0eac166: Download complete [2022-05-06T13:16:29.913Z] 4fe6c5a15a65: Pull complete [2022-05-06T13:16:29.913Z] 22a0e8bec74d: Pull complete [2022-05-06T13:16:29.913Z] ca2b28591e48: Pull complete [2022-05-06T13:16:29.913Z] a51346096db8: Pull complete [2022-05-06T13:16:29.913Z] daebc70d1ce1: Pull complete [2022-05-06T13:16:32.452Z] 0e18a0eac166: Pull complete [2022-05-06T13:16:32.452Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-06T13:16:32.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-06T13:16:32.452Z] ---> f018257e8ee9 [2022-05-06T13:16:32.452Z] Step 3/12 : ARG MAKE='make build' [2022-05-06T13:16:33.395Z] ---> Running in 709af7dc85e8 [2022-05-06T13:16:33.395Z] Removing intermediate container 709af7dc85e8 [2022-05-06T13:16:33.395Z] ---> 478f6a864c64 [2022-05-06T13:16:33.395Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-06T13:16:33.395Z] ---> Running in 487ef961c043 [2022-05-06T13:16:33.395Z] Removing intermediate container 487ef961c043 [2022-05-06T13:16:33.395Z] ---> d1cce3f8f8f6 [2022-05-06T13:16:33.395Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-06T13:16:33.655Z] ---> Running in d4626c4aa5e9 [2022-05-06T13:16:33.655Z] Removing intermediate container d4626c4aa5e9 [2022-05-06T13:16:33.655Z] ---> 522eec697350 [2022-05-06T13:16:33.655Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:16:33.655Z] ---> Running in d787fccbb8a1 [2022-05-06T13:16:34.223Z] Removing intermediate container d787fccbb8a1 [2022-05-06T13:16:34.223Z] ---> 8c58d0280a77 [2022-05-06T13:16:34.223Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-06T13:16:34.223Z] ---> Running in 05e14b901e2b [2022-05-06T13:16:34.484Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-06T13:16:35.424Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-06T13:16:35.684Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-06T13:16:35.684Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-06T13:16:35.684Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-06T13:16:35.946Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-06T13:16:35.946Z] Executing busybox-1.34.1-r3.trigger [2022-05-06T13:16:35.946Z] OK: 224 MiB in 56 packages [2022-05-06T13:16:36.515Z] Removing intermediate container 05e14b901e2b [2022-05-06T13:16:36.515Z] ---> 0b9ae3bc964d [2022-05-06T13:16:36.515Z] Step 8/12 : WORKDIR /device-snmp-go [2022-05-06T13:16:36.515Z] ---> Running in d4f5c3076f61 [2022-05-06T13:16:36.515Z] Removing intermediate container d4f5c3076f61 [2022-05-06T13:16:36.515Z] ---> c00850756604 [2022-05-06T13:16:36.515Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-06T13:16:36.774Z] ---> 283bb8dceb08 [2022-05-06T13:16:36.774Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-06T13:16:36.774Z] ---> Running in 108bf09c67d9 [2022-05-06T13:16:38.343Z] Still waiting to schedule task [2022-05-06T13:16:38.343Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-06T13:16:51.685Z] Removing intermediate container 108bf09c67d9 [2022-05-06T13:16:51.685Z] ---> 54b13bea4d23 [2022-05-06T13:16:51.685Z] Step 11/12 : COPY . . [2022-05-06T13:16:51.685Z] ---> f7fb505f83f8 [2022-05-06T13:16:51.685Z] Step 12/12 : RUN ${MAKE} [2022-05-06T13:16:51.685Z] ---> Running in 0edf44f9f302 [2022-05-06T13:16:51.685Z] noop [2022-05-06T13:16:51.685Z] Removing intermediate container 0edf44f9f302 [2022-05-06T13:16:51.685Z] ---> 77305c035261 [2022-05-06T13:16:51.685Z] Successfully built 77305c035261 [2022-05-06T13:16:51.685Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:16:51.994Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-06T13:16:51.994Z] . [Pipeline] withDockerContainer [2022-05-06T13:16:52.066Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:16:52.108Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-06T13:16:52.519Z] $ docker top 1548134e371fc9da8886adc2e741d34bb5261cd95af2ee5ecd87533d99d6c732 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-06T13:16:52.882Z] + go version [2022-05-06T13:16:52.882Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-06T13:16:52.899Z] $ docker stop --time=1 1548134e371fc9da8886adc2e741d34bb5261cd95af2ee5ecd87533d99d6c732 [2022-05-06T13:16:54.253Z] $ docker rm -f 1548134e371fc9da8886adc2e741d34bb5261cd95af2ee5ecd87533d99d6c732 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:16:54.767Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-06T13:16:54.767Z] . [Pipeline] withDockerContainer [2022-05-06T13:16:54.869Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:16:54.906Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-06T13:16:55.280Z] $ docker top 3f09269ade175c522b1c38d55ebb9db318edfb45e55d1b41f3f6bbd29886eb92 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-06T13:16:55.654Z] + make test [2022-05-06T13:16:55.654Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-06T13:16:55.918Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-05-06T13:17:05.919Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-05-06T13:17:05.919Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2022-05-06T13:17:12.506Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-06T13:17:16.708Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-06T13:17:16.708Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-06T13:17:16.708Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-06T13:17:16.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-06T13:17:17.004Z] $ docker stop --time=1 3f09269ade175c522b1c38d55ebb9db318edfb45e55d1b41f3f6bbd29886eb92 [2022-05-06T13:17:18.651Z] $ docker rm -f 3f09269ade175c522b1c38d55ebb9db318edfb45e55d1b41f3f6bbd29886eb92 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-06T13:17:19.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-06T13:17:19.150Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-06T13:17:19.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-06T13:17:19.986Z] + ls -al . [2022-05-06T13:17:19.986Z] total 168 [2022-05-06T13:17:19.986Z] drwxrwxr-x 9 jenkins jenkins 4096 May 6 13:17 . [2022-05-06T13:17:19.986Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:16 .. [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 6 May 6 13:16 .dockerignore [2022-05-06T13:17:19.986Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:16 .git [2022-05-06T13:17:19.986Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:16 .github [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 328 May 6 13:16 .gitignore [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:16 .golangci.yml [2022-05-06T13:17:19.986Z] drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:16 .semver [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 8296 May 6 13:16 Attribution.txt [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 4401 May 6 13:16 CHANGELOG.md [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 1516 May 6 13:16 Dockerfile [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:16 GOVERNANCE.md [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 656 May 6 13:16 Jenkinsfile [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:16 LICENSE [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 1938 May 6 13:16 Makefile [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 620 May 6 13:16 OWNERS.md [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 9390 May 6 13:16 README.md [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:16 VERSION [2022-05-06T13:17:19.986Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:16 bin [2022-05-06T13:17:19.986Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:16 cmd [2022-05-06T13:17:19.986Z] -rw-r--r-- 1 jenkins jenkins 7631 May 6 13:17 coverage.out [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 3296 May 6 13:16 go.mod [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 35911 May 6 13:16 go.sum [2022-05-06T13:17:19.986Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:16 internal [2022-05-06T13:17:19.986Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:16 snap [2022-05-06T13:17:19.986Z] -rw-rw-r-- 1 jenkins jenkins 209 May 6 13:16 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:20.287Z] + 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=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 --label arch=amd64 --label version=2.2.0-dev.15 . [2022-05-06T13:17:20.287Z] Sending build context to Docker daemon 5.316MB [2022-05-06T13:17:20.287Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-06T13:17:20.287Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-06T13:17:20.287Z] ---> 77305c035261 [2022-05-06T13:17:20.287Z] Step 3/24 : ARG MAKE='make build' [2022-05-06T13:17:20.287Z] ---> Running in 143571eb9268 [2022-05-06T13:17:20.547Z] Removing intermediate container 143571eb9268 [2022-05-06T13:17:20.547Z] ---> 2462a97d8780 [2022-05-06T13:17:20.547Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-06T13:17:20.547Z] ---> Running in c718de4e195b [2022-05-06T13:17:20.547Z] Removing intermediate container c718de4e195b [2022-05-06T13:17:20.547Z] ---> 83964cadad21 [2022-05-06T13:17:20.547Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-06T13:17:20.547Z] ---> Running in 816b5c2a1f66 [2022-05-06T13:17:20.547Z] Removing intermediate container 816b5c2a1f66 [2022-05-06T13:17:20.547Z] ---> 26091903a0dc [2022-05-06T13:17:20.547Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:17:20.811Z] ---> Running in 4aa045a902ab [2022-05-06T13:17:21.382Z] Removing intermediate container 4aa045a902ab [2022-05-06T13:17:21.382Z] ---> f9cf14a42828 [2022-05-06T13:17:21.382Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-06T13:17:21.382Z] ---> Running in cd3448a64a68 [2022-05-06T13:17:21.642Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-06T13:17:22.593Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-06T13:17:22.593Z] OK: 224 MiB in 56 packages [2022-05-06T13:17:23.168Z] Removing intermediate container cd3448a64a68 [2022-05-06T13:17:23.168Z] ---> 87b672bd9d1b [2022-05-06T13:17:23.168Z] Step 8/24 : WORKDIR /device-snmp-go [2022-05-06T13:17:23.168Z] ---> Running in 381d0fcfeda0 [2022-05-06T13:17:23.168Z] Removing intermediate container 381d0fcfeda0 [2022-05-06T13:17:23.168Z] ---> da4fbadced67 [2022-05-06T13:17:23.168Z] Step 9/24 : COPY go.mod vendor* ./ [2022-05-06T13:17:23.168Z] ---> d09104b02343 [2022-05-06T13:17:23.168Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-06T13:17:23.427Z] ---> Running in 25114fe65b4a [2022-05-06T13:17:24.002Z] Removing intermediate container 25114fe65b4a [2022-05-06T13:17:24.002Z] ---> fcebbbeff059 [2022-05-06T13:17:24.002Z] Step 11/24 : COPY . . [2022-05-06T13:17:24.262Z] ---> 8674df82333f [2022-05-06T13:17:24.262Z] Step 12/24 : RUN ${MAKE} [2022-05-06T13:17:24.262Z] ---> Running in aecf91afcca1 [2022-05-06T13:17:24.524Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-05-06T13:17:46.485Z] Removing intermediate container aecf91afcca1 [2022-05-06T13:17:46.485Z] ---> 21681581b9ee [2022-05-06T13:17:46.485Z] Step 13/24 : FROM alpine:3.14 [2022-05-06T13:17:46.485Z] 3.14: Pulling from library/alpine [2022-05-06T13:17:46.485Z] 8663204ce13b: Pulling fs layer [2022-05-06T13:17:46.485Z] 8663204ce13b: Verifying Checksum [2022-05-06T13:17:46.485Z] 8663204ce13b: Download complete [2022-05-06T13:17:46.485Z] 8663204ce13b: Pull complete [2022-05-06T13:17:46.485Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-06T13:17:46.485Z] Status: Downloaded newer image for alpine:3.14 [2022-05-06T13:17:46.485Z] ---> e04c818066af [2022-05-06T13:17:46.485Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-06T13:17:46.485Z] ---> Running in bd7a55339c58 [2022-05-06T13:17:46.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-06T13:17:46.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-06T13:17:46.485Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-06T13:17:46.485Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-06T13:17:46.485Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-06T13:17:46.485Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-06T13:17:46.485Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-06T13:17:46.485Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-06T13:17:46.485Z] Executing busybox-1.33.1-r7.trigger [2022-05-06T13:17:46.485Z] OK: 8 MiB in 20 packages [2022-05-06T13:17:46.485Z] Removing intermediate container bd7a55339c58 [2022-05-06T13:17:46.485Z] ---> 0ce3abe369f6 [2022-05-06T13:17:46.485Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-05-06T13:17:46.748Z] ---> 5200ed61c977 [2022-05-06T13:17:46.748Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-05-06T13:17:46.748Z] ---> 965e2c1ade9e [2022-05-06T13:17:46.748Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-05-06T13:17:47.009Z] ---> 10b848fe1a9d [2022-05-06T13:17:47.009Z] Step 18/24 : EXPOSE 59993 [2022-05-06T13:17:47.009Z] ---> Running in d99f30d8bac8 [2022-05-06T13:17:47.009Z] Removing intermediate container d99f30d8bac8 [2022-05-06T13:17:47.009Z] ---> 5e0ca0215fc3 [2022-05-06T13:17:47.009Z] Step 19/24 : EXPOSE 161 [2022-05-06T13:17:47.009Z] ---> Running in bbbeb428a715 [2022-05-06T13:17:47.009Z] Removing intermediate container bbbeb428a715 [2022-05-06T13:17:47.009Z] ---> 5143e527a44e [2022-05-06T13:17:47.009Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-05-06T13:17:47.271Z] ---> Running in dcb55e9044a8 [2022-05-06T13:17:47.271Z] Removing intermediate container dcb55e9044a8 [2022-05-06T13:17:47.271Z] ---> 10be7b2df632 [2022-05-06T13:17:47.271Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-06T13:17:47.271Z] ---> Running in 6bf908a2b9a7 [2022-05-06T13:17:47.271Z] Removing intermediate container 6bf908a2b9a7 [2022-05-06T13:17:47.271Z] ---> 34dbb7e09577 [2022-05-06T13:17:47.271Z] Step 22/24 : LABEL arch=amd64 [2022-05-06T13:17:47.271Z] ---> Running in 4e1bd7a7fafb [2022-05-06T13:17:47.530Z] Removing intermediate container 4e1bd7a7fafb [2022-05-06T13:17:47.530Z] ---> 33acbec34a73 [2022-05-06T13:17:47.530Z] Step 23/24 : LABEL git_sha=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [2022-05-06T13:17:47.530Z] ---> Running in a849b9598c48 [2022-05-06T13:17:47.530Z] Removing intermediate container a849b9598c48 [2022-05-06T13:17:47.530Z] ---> df8db61870ae [2022-05-06T13:17:47.530Z] Step 24/24 : LABEL version=2.2.0-dev.15 [2022-05-06T13:17:47.530Z] ---> Running in 49555a99f2b2 [2022-05-06T13:17:47.792Z] Removing intermediate container 49555a99f2b2 [2022-05-06T13:17:47.792Z] ---> ba21038a7c52 [2022-05-06T13:17:47.792Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-06T13:17:47.792Z] Successfully built ba21038a7c52 [2022-05-06T13:17:47.792Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:17:47.871Z] provisioning config files... [2022-05-06T13:17:47.881Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7453915342096950720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:17:48.180Z] ---> docker-login.sh [2022-05-06T13:17:48.180Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:17:48.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:17:48.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:17:48.180Z] Configure a credential helper to remove this warning. See [2022-05-06T13:17:48.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:17:48.180Z] [2022-05-06T13:17:48.180Z] Login Succeeded [2022-05-06T13:17:48.180Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:17:48.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:17:48.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:17:48.440Z] Configure a credential helper to remove this warning. See [2022-05-06T13:17:48.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:17:48.440Z] [2022-05-06T13:17:48.440Z] Login Succeeded [2022-05-06T13:17:48.440Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:17:48.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:17:48.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:17:48.440Z] Configure a credential helper to remove this warning. See [2022-05-06T13:17:48.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:17:48.440Z] [2022-05-06T13:17:48.440Z] Login Succeeded [2022-05-06T13:17:48.440Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:17:48.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:17:48.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:17:48.700Z] Configure a credential helper to remove this warning. See [2022-05-06T13:17:48.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:17:48.700Z] [2022-05-06T13:17:48.700Z] Login Succeeded [2022-05-06T13:17:48.700Z] docker.io [2022-05-06T13:17:48.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:17:48.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:17:48.960Z] Configure a credential helper to remove this warning. See [2022-05-06T13:17:48.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:17:48.960Z] [2022-05-06T13:17:48.960Z] Login Succeeded [2022-05-06T13:17:48.960Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:17:48.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-06T13:17:49.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T13:17:49.037Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-05-06T13:17:49.037Z] 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [2022-05-06T13:17:49.037Z] latest [2022-05-06T13:17:49.037Z] 2.2.0-dev.15 [2022-05-06T13:17:49.037Z] 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [2022-05-06T13:17:49.037Z] main [2022-05-06T13:17:49.037Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:49.359Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:49.660Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [2022-05-06T13:17:49.660Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-06T13:17:49.660Z] 18ec2e93d487: Preparing [2022-05-06T13:17:49.660Z] ac4c1822ce85: Preparing [2022-05-06T13:17:49.660Z] 976a0f3741ee: Preparing [2022-05-06T13:17:49.660Z] 2cf7be30d646: Preparing [2022-05-06T13:17:49.660Z] b541d28bf3b4: Preparing [2022-05-06T13:17:49.660Z] b541d28bf3b4: Layer already exists [2022-05-06T13:17:49.660Z] 18ec2e93d487: Pushed [2022-05-06T13:17:49.660Z] ac4c1822ce85: Pushed [2022-05-06T13:17:49.920Z] 2cf7be30d646: Pushed [2022-05-06T13:17:52.461Z] 976a0f3741ee: Pushed [2022-05-06T13:17:52.461Z] 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:52.760Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:53.057Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-05-06T13:17:53.058Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-06T13:17:53.058Z] 18ec2e93d487: Preparing [2022-05-06T13:17:53.058Z] ac4c1822ce85: Preparing [2022-05-06T13:17:53.058Z] 976a0f3741ee: Preparing [2022-05-06T13:17:53.058Z] 2cf7be30d646: Preparing [2022-05-06T13:17:53.058Z] b541d28bf3b4: Preparing [2022-05-06T13:17:53.058Z] b541d28bf3b4: Layer already exists [2022-05-06T13:17:53.058Z] 2cf7be30d646: Layer already exists [2022-05-06T13:17:53.058Z] 18ec2e93d487: Layer already exists [2022-05-06T13:17:53.058Z] 976a0f3741ee: Layer already exists [2022-05-06T13:17:53.058Z] ac4c1822ce85: Layer already exists [2022-05-06T13:17:53.058Z] latest: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:53.356Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:53.651Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.15 [2022-05-06T13:17:53.651Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-06T13:17:53.651Z] 18ec2e93d487: Preparing [2022-05-06T13:17:53.651Z] ac4c1822ce85: Preparing [2022-05-06T13:17:53.651Z] 976a0f3741ee: Preparing [2022-05-06T13:17:53.651Z] 2cf7be30d646: Preparing [2022-05-06T13:17:53.651Z] b541d28bf3b4: Preparing [2022-05-06T13:17:53.651Z] 976a0f3741ee: Layer already exists [2022-05-06T13:17:53.651Z] 2cf7be30d646: Layer already exists [2022-05-06T13:17:53.651Z] ac4c1822ce85: Layer already exists [2022-05-06T13:17:53.651Z] 18ec2e93d487: Layer already exists [2022-05-06T13:17:53.651Z] b541d28bf3b4: Layer already exists [2022-05-06T13:17:53.651Z] 2.2.0-dev.15: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:53.954Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:54.254Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [2022-05-06T13:17:54.255Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-06T13:17:54.255Z] 18ec2e93d487: Preparing [2022-05-06T13:17:54.255Z] ac4c1822ce85: Preparing [2022-05-06T13:17:54.255Z] 976a0f3741ee: Preparing [2022-05-06T13:17:54.255Z] 2cf7be30d646: Preparing [2022-05-06T13:17:54.255Z] b541d28bf3b4: Preparing [2022-05-06T13:17:54.255Z] 18ec2e93d487: Layer already exists [2022-05-06T13:17:54.255Z] 976a0f3741ee: Layer already exists [2022-05-06T13:17:54.255Z] b541d28bf3b4: Layer already exists [2022-05-06T13:17:54.255Z] ac4c1822ce85: Layer already exists [2022-05-06T13:17:54.255Z] 2cf7be30d646: Layer already exists [2022-05-06T13:17:54.255Z] 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:54.554Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:54.851Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-05-06T13:17:54.851Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-06T13:17:54.851Z] 18ec2e93d487: Preparing [2022-05-06T13:17:54.851Z] ac4c1822ce85: Preparing [2022-05-06T13:17:54.851Z] 976a0f3741ee: Preparing [2022-05-06T13:17:54.851Z] 2cf7be30d646: Preparing [2022-05-06T13:17:54.851Z] b541d28bf3b4: Preparing [2022-05-06T13:17:54.851Z] 18ec2e93d487: Layer already exists [2022-05-06T13:17:54.851Z] 976a0f3741ee: Layer already exists [2022-05-06T13:17:54.851Z] ac4c1822ce85: Layer already exists [2022-05-06T13:17:54.851Z] b541d28bf3b4: Layer already exists [2022-05-06T13:17:54.851Z] 2cf7be30d646: Layer already exists [2022-05-06T13:17:54.851Z] main: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-06T13:17:54.891Z] ===================================================== [Pipeline] echo [2022-05-06T13:17:54.899Z] taggedImages: [2022-05-06T13:17:54.899Z] - nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [2022-05-06T13:17:54.899Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-05-06T13:17:54.899Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.15 [2022-05-06T13:17:54.899Z] - nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [2022-05-06T13:17:54.899Z] - 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] sh [2022-05-06T13:17:55.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T13:17:55.271Z] [2022-05-06T13:17:55.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:17:55.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T13:17:55.574Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-06T13:17:55.574Z] 5eb5b503b376: Pulling fs layer [2022-05-06T13:17:55.574Z] 5c69ac0246d0: Pulling fs layer [2022-05-06T13:17:55.574Z] ec43610c2a17: Pulling fs layer [2022-05-06T13:17:55.574Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-06T13:17:55.574Z] 33b1e0a273af: Pulling fs layer [2022-05-06T13:17:55.574Z] 5d3b04190fa2: Pulling fs layer [2022-05-06T13:17:55.574Z] 2f39f015ded8: Pulling fs layer [2022-05-06T13:17:55.574Z] 5d3b04190fa2: Waiting [2022-05-06T13:17:55.574Z] 3a2ae6a8a46f: Waiting [2022-05-06T13:17:55.574Z] 33b1e0a273af: Waiting [2022-05-06T13:17:55.574Z] 2f39f015ded8: Waiting [2022-05-06T13:17:55.574Z] 5c69ac0246d0: Verifying Checksum [2022-05-06T13:17:55.574Z] 5c69ac0246d0: Download complete [2022-05-06T13:17:55.574Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-06T13:17:55.574Z] 3a2ae6a8a46f: Download complete [2022-05-06T13:17:55.574Z] 33b1e0a273af: Verifying Checksum [2022-05-06T13:17:55.574Z] 33b1e0a273af: Download complete [2022-05-06T13:17:55.574Z] 5d3b04190fa2: Verifying Checksum [2022-05-06T13:17:55.574Z] 5d3b04190fa2: Download complete [2022-05-06T13:17:55.834Z] ec43610c2a17: Verifying Checksum [2022-05-06T13:17:55.834Z] ec43610c2a17: Download complete [2022-05-06T13:17:55.834Z] 5eb5b503b376: Verifying Checksum [2022-05-06T13:17:55.834Z] 5eb5b503b376: Download complete [2022-05-06T13:17:56.403Z] 2f39f015ded8: Verifying Checksum [2022-05-06T13:17:56.403Z] 2f39f015ded8: Download complete [2022-05-06T13:17:57.341Z] 5eb5b503b376: Pull complete [2022-05-06T13:17:57.341Z] 5c69ac0246d0: Pull complete [2022-05-06T13:17:57.910Z] ec43610c2a17: Pull complete [2022-05-06T13:17:57.910Z] 3a2ae6a8a46f: Pull complete [2022-05-06T13:17:58.169Z] 33b1e0a273af: Pull complete [2022-05-06T13:17:58.169Z] 5d3b04190fa2: Pull complete [2022-05-06T13:18:03.526Z] 2f39f015ded8: Pull complete [2022-05-06T13:18:03.526Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-06T13:18:03.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T13:18:03.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-06T13:18:03.623Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:18:03.665Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-06T13:18:05.101Z] $ docker top d3253e92258417338563a84fcf4e1efa07c946a24720a5e905aefd63609f9b31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:18:05.500Z] ---> job-cost.sh [2022-05-06T13:18:05.500Z] lf-activate-venv: SKIPPING [2022-05-06T13:18:05.500Z] INFO: No Stack... [2022-05-06T13:18:05.762Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-06T13:18:06.333Z] INFO: Archiving Costs [Pipeline] sh [2022-05-06T13:18:06.630Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-05-06T13:18:06.630Z] + cut -d, -f6 [Pipeline] lock [2022-05-06T13:18:06.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [2022-05-06T13:18:06.654Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] did not exist. Created. [2022-05-06T13:18:06.654Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-06T13:18:06.956Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-06T13:18:06.990Z] Stashed 1 file(s) [Pipeline] } [2022-05-06T13:18:06.998Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-06T13:18:07.022Z] $ docker stop --time=1 d3253e92258417338563a84fcf4e1efa07c946a24720a5e905aefd63609f9b31 [2022-05-06T13:18:08.211Z] $ docker rm -f d3253e92258417338563a84fcf4e1efa07c946a24720a5e905aefd63609f9b31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-06T13:35:04.959Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41053 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-05-06T13:35:04.971Z] Running in /w/workspace/device-snmp-go/25 [Pipeline] { [Pipeline] checkout [2022-05-06T13:35:05.407Z] Selected Git installation does not exist. Using Default [2022-05-06T13:35:05.407Z] The recommended git tool is: NONE [2022-05-06T13:35:12.788Z] using credential edgex-jenkins-ssh [2022-05-06T13:35:12.808Z] Cloning the remote Git repository [2022-05-06T13:35:12.892Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-05-06T13:35:12.994Z] > git init /w/workspace/device-snmp-go/25 # timeout=10 [2022-05-06T13:35:13.097Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-05-06T13:35:13.098Z] > git --version # timeout=10 [2022-05-06T13:35:13.124Z] > git --version # 'git version 2.25.1' [2022-05-06T13:35:13.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-06T13:35:13.208Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-06T13:35:14.335Z] Avoid second fetch [2022-05-06T13:35:14.335Z] Checking out Revision 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 (main) [2022-05-06T13:35:14.285Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-05-06T13:35:14.312Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-06T13:35:14.368Z] > git config core.sparsecheckout # timeout=10 [2022-05-06T13:35:14.386Z] > git checkout -f 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 [2022-05-06T13:35:18.872Z] Commit message: "docs(snap): Move usage instructions to docs (#167)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-06T13:35:19.720Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-06T13:35:19.720Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-06T13:35:19.720Z] Dload Upload Total Spent Left Speed [2022-05-06T13:35:19.720Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-05-06T13:35:20.279Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-06T13:35:20.623Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-06T13:35:20.623Z] sudo tee /etc/docker/daemon.new [2022-05-06T13:35:20.623Z] { [2022-05-06T13:35:20.623Z] "registry-mirrors": [ [2022-05-06T13:35:20.623Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-06T13:35:20.623Z] ], [2022-05-06T13:35:20.623Z] "bip": "10.250.0.254/24", [2022-05-06T13:35:20.623Z] "hosts": [ [2022-05-06T13:35:20.623Z] "tcp://0.0.0.0:5555", [2022-05-06T13:35:20.623Z] "unix:///var/run/docker.sock" [2022-05-06T13:35:20.623Z] ], [2022-05-06T13:35:20.623Z] "mtu": 1458, [2022-05-06T13:35:20.623Z] "selinux-enabled": true, [2022-05-06T13:35:20.623Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-06T13:35:20.623Z] } [Pipeline] sh [2022-05-06T13:35:20.989Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-06T13:35:21.341Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:35:39.727Z] provisioning config files... [2022-05-06T13:35:39.758Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/25@tmp/config2756331182745547334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:35:40.132Z] ---> docker-login.sh [2022-05-06T13:35:40.132Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:35:40.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:41.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:41.019Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:41.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:41.019Z] [2022-05-06T13:35:41.019Z] Login Succeeded [2022-05-06T13:35:41.019Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:35:41.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:41.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:41.622Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:41.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:41.622Z] [2022-05-06T13:35:41.622Z] Login Succeeded [2022-05-06T13:35:41.622Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:35:42.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:42.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:42.229Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:42.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:42.229Z] [2022-05-06T13:35:42.229Z] Login Succeeded [2022-05-06T13:35:42.229Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:35:42.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:42.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:42.781Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:42.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:42.781Z] [2022-05-06T13:35:42.781Z] Login Succeeded [2022-05-06T13:35:42.781Z] docker.io [2022-05-06T13:35:43.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:35:43.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:35:43.665Z] Configure a credential helper to remove this warning. See [2022-05-06T13:35:43.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:35:43.665Z] [2022-05-06T13:35:43.665Z] Login Succeeded [2022-05-06T13:35:43.665Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:35:43.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-06T13:35:44.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T13:35:44.316Z] ========================================================= [2022-05-06T13:35:44.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-06T13:35:44.316Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:35:44.695Z] + 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-05-06T13:35:45.317Z] Sending build context to Docker daemon 2.741MB [2022-05-06T13:35:45.317Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-06T13:35:45.317Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-06T13:35:45.317Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-06T13:35:45.317Z] 9b3977197b4f: Pulling fs layer [2022-05-06T13:35:45.317Z] 1a89e8eeedd5: Pulling fs layer [2022-05-06T13:35:45.317Z] 94645a83ff95: Pulling fs layer [2022-05-06T13:35:45.317Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-06T13:35:45.317Z] 0c92f367c5e7: Pulling fs layer [2022-05-06T13:35:45.317Z] 3096ccb668a1: Pulling fs layer [2022-05-06T13:35:45.317Z] e8cf19c19ddd: Pulling fs layer [2022-05-06T13:35:45.317Z] a4caa8a26152: Pulling fs layer [2022-05-06T13:35:45.317Z] 3f3a8bcf1eab: Waiting [2022-05-06T13:35:45.317Z] 0c92f367c5e7: Waiting [2022-05-06T13:35:45.317Z] 3096ccb668a1: Waiting [2022-05-06T13:35:45.317Z] a4caa8a26152: Waiting [2022-05-06T13:35:45.317Z] e8cf19c19ddd: Waiting [2022-05-06T13:35:45.604Z] 94645a83ff95: Verifying Checksum [2022-05-06T13:35:45.604Z] 94645a83ff95: Download complete [2022-05-06T13:35:45.604Z] 1a89e8eeedd5: Verifying Checksum [2022-05-06T13:35:45.604Z] 1a89e8eeedd5: Download complete [2022-05-06T13:35:45.604Z] 0c92f367c5e7: Verifying Checksum [2022-05-06T13:35:45.604Z] 0c92f367c5e7: Download complete [2022-05-06T13:35:45.604Z] 3096ccb668a1: Verifying Checksum [2022-05-06T13:35:45.604Z] 3096ccb668a1: Download complete [2022-05-06T13:35:45.604Z] 9b3977197b4f: Verifying Checksum [2022-05-06T13:35:45.604Z] 9b3977197b4f: Download complete [2022-05-06T13:35:45.604Z] e8cf19c19ddd: Verifying Checksum [2022-05-06T13:35:45.604Z] e8cf19c19ddd: Download complete [2022-05-06T13:35:46.601Z] 9b3977197b4f: Pull complete [2022-05-06T13:35:47.226Z] 1a89e8eeedd5: Pull complete [2022-05-06T13:35:47.506Z] 94645a83ff95: Pull complete [2022-05-06T13:35:47.784Z] a4caa8a26152: Verifying Checksum [2022-05-06T13:35:47.784Z] a4caa8a26152: Download complete [2022-05-06T13:35:48.774Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-06T13:35:48.774Z] 3f3a8bcf1eab: Download complete [2022-05-06T13:36:03.952Z] 3f3a8bcf1eab: Pull complete [2022-05-06T13:36:03.952Z] 0c92f367c5e7: Pull complete [2022-05-06T13:36:03.952Z] 3096ccb668a1: Pull complete [2022-05-06T13:36:03.952Z] e8cf19c19ddd: Pull complete [2022-05-06T13:36:09.400Z] a4caa8a26152: Pull complete [2022-05-06T13:36:09.400Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-06T13:36:09.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-06T13:36:09.400Z] ---> 725f1c02e7f9 [2022-05-06T13:36:09.400Z] Step 3/12 : ARG MAKE='make build' [2022-05-06T13:36:11.416Z] ---> Running in b71a18e9bc20 [2022-05-06T13:36:11.416Z] Removing intermediate container b71a18e9bc20 [2022-05-06T13:36:11.416Z] ---> 1202e81ed95d [2022-05-06T13:36:11.416Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-06T13:36:11.703Z] ---> Running in ba0a15356452 [2022-05-06T13:36:13.709Z] Removing intermediate container ba0a15356452 [2022-05-06T13:36:13.709Z] ---> cad599964a63 [2022-05-06T13:36:13.709Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-06T13:36:13.709Z] ---> Running in 7e50875d08e5 [2022-05-06T13:36:13.991Z] Removing intermediate container 7e50875d08e5 [2022-05-06T13:36:13.991Z] ---> cd675c4c38e8 [2022-05-06T13:36:13.991Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:36:13.991Z] ---> Running in 36cd9f1decfa [2022-05-06T13:36:16.013Z] Removing intermediate container 36cd9f1decfa [2022-05-06T13:36:16.013Z] ---> 0840ca08ac7e [2022-05-06T13:36:16.013Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-06T13:36:16.313Z] ---> Running in 27a6bf80cdd2 [2022-05-06T13:36:17.322Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T13:36:18.307Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-06T13:36:19.293Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-06T13:36:19.293Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-06T13:36:19.577Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-06T13:36:19.577Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-06T13:36:19.856Z] Executing busybox-1.34.1-r3.trigger [2022-05-06T13:36:19.856Z] OK: 224 MiB in 56 packages [2022-05-06T13:36:20.869Z] Removing intermediate container 27a6bf80cdd2 [2022-05-06T13:36:20.869Z] ---> 6bbcb9413599 [2022-05-06T13:36:20.869Z] Step 8/12 : WORKDIR /device-snmp-go [2022-05-06T13:36:20.869Z] ---> Running in fe3d280cc10b [2022-05-06T13:36:21.146Z] Removing intermediate container fe3d280cc10b [2022-05-06T13:36:21.146Z] ---> 191134c48537 [2022-05-06T13:36:21.146Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-06T13:36:21.749Z] ---> d44e8c08dc8f [2022-05-06T13:36:21.749Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-06T13:36:21.749Z] ---> Running in 3605fb2e95da [2022-05-06T13:37:18.342Z] Removing intermediate container 3605fb2e95da [2022-05-06T13:37:18.342Z] ---> d908f5c56e1c [2022-05-06T13:37:18.342Z] Step 11/12 : COPY . . [2022-05-06T13:37:18.342Z] ---> 8a8c016f7f94 [2022-05-06T13:37:18.342Z] Step 12/12 : RUN ${MAKE} [2022-05-06T13:37:18.342Z] ---> Running in d44232adfa69 [2022-05-06T13:37:18.342Z] noop [2022-05-06T13:37:18.342Z] Removing intermediate container d44232adfa69 [2022-05-06T13:37:18.342Z] ---> 8a846ad7e4b7 [2022-05-06T13:37:18.342Z] Successfully built 8a846ad7e4b7 [2022-05-06T13:37:18.342Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:37:18.709Z] + docker inspect -f . ci-base-image-arm64 [2022-05-06T13:37:18.709Z] . [Pipeline] withDockerContainer [2022-05-06T13:37:19.005Z] prd-ubuntu20.04-docker-arm64-4c-16g-41053 does not seem to be running inside a container [2022-05-06T13:37:19.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-06T13:37:20.689Z] $ docker top 1b83071cbff90f54749ce76e9dca217340871c9c8ec6191dd353575d2ca231fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-06T13:37:21.682Z] + go version [2022-05-06T13:37:21.682Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-06T13:37:21.715Z] $ docker stop --time=1 1b83071cbff90f54749ce76e9dca217340871c9c8ec6191dd353575d2ca231fb [2022-05-06T13:37:23.506Z] $ docker rm -f 1b83071cbff90f54749ce76e9dca217340871c9c8ec6191dd353575d2ca231fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:37:24.193Z] + docker inspect -f . ci-base-image-arm64 [2022-05-06T13:37:24.193Z] . [Pipeline] withDockerContainer [2022-05-06T13:37:24.448Z] prd-ubuntu20.04-docker-arm64-4c-16g-41053 does not seem to be running inside a container [2022-05-06T13:37:24.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-06T13:37:26.100Z] $ docker top 0a83e70d0a03a9b730e0c4d45ab533df8466b4b80abd53ed12b7e044b0f84d2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-06T13:37:27.105Z] + make test [2022-05-06T13:37:27.105Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-06T13:37:29.739Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-05-06T13:39:06.714Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-05-06T13:39:06.714Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements [2022-05-06T13:39:06.714Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-06T13:39:06.714Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-06T13:39:39.152Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-06T13:39:39.152Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-06T13:39:39.152Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-06T13:39:39.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-06T13:39:39.193Z] $ docker stop --time=1 0a83e70d0a03a9b730e0c4d45ab533df8466b4b80abd53ed12b7e044b0f84d2b [2022-05-06T13:39:41.014Z] $ docker rm -f 0a83e70d0a03a9b730e0c4d45ab533df8466b4b80abd53ed12b7e044b0f84d2b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-06T13:39:42.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-06T13:39:42.091Z] Warning: overwriting stash ‘coverage-report’ [2022-05-06T13:39:42.677Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-06T13:39:43.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-06T13:39:43.443Z] + ls -al . [2022-05-06T13:39:43.443Z] total 164 [2022-05-06T13:39:43.443Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:39 . [2022-05-06T13:39:43.443Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:35 .. [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 6 May 6 13:35 .dockerignore [2022-05-06T13:39:43.443Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:35 .git [2022-05-06T13:39:43.443Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 .github [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 328 May 6 13:35 .gitignore [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:35 .golangci.yml [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 8296 May 6 13:35 Attribution.txt [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 4401 May 6 13:35 CHANGELOG.md [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 1516 May 6 13:35 Dockerfile [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:35 GOVERNANCE.md [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 656 May 6 13:35 Jenkinsfile [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:35 LICENSE [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 1938 May 6 13:35 Makefile [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 620 May 6 13:35 OWNERS.md [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 9390 May 6 13:35 README.md [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:16 VERSION [2022-05-06T13:39:43.443Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:35 bin [2022-05-06T13:39:43.443Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 cmd [2022-05-06T13:39:43.443Z] -rw-r--r-- 1 jenkins jenkins 7631 May 6 13:38 coverage.out [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 3296 May 6 13:35 go.mod [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 35911 May 6 13:35 go.sum [2022-05-06T13:39:43.443Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 internal [2022-05-06T13:39:43.443Z] drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 snap [2022-05-06T13:39:43.443Z] -rw-rw-r-- 1 jenkins jenkins 209 May 6 13:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:39:43.893Z] + 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=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 --label arch=arm64 --label version=2.2.0-dev.15 . [2022-05-06T13:39:44.532Z] Sending build context to Docker daemon 2.749MB [2022-05-06T13:39:44.532Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-06T13:39:44.532Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-06T13:39:44.532Z] ---> 8a846ad7e4b7 [2022-05-06T13:39:44.532Z] Step 3/24 : ARG MAKE='make build' [2022-05-06T13:39:44.532Z] ---> Running in d7f45710896e [2022-05-06T13:39:44.843Z] Removing intermediate container d7f45710896e [2022-05-06T13:39:44.843Z] ---> 7cbd302f358a [2022-05-06T13:39:44.843Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-06T13:39:45.152Z] ---> Running in 6c45fa82e3b8 [2022-05-06T13:39:45.470Z] Removing intermediate container 6c45fa82e3b8 [2022-05-06T13:39:45.470Z] ---> 3d6b7fc229a1 [2022-05-06T13:39:45.470Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-06T13:39:45.470Z] ---> Running in dc3176d7123f [2022-05-06T13:39:46.073Z] Removing intermediate container dc3176d7123f [2022-05-06T13:39:46.073Z] ---> ca1ed453945e [2022-05-06T13:39:46.073Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-06T13:39:46.073Z] ---> Running in a8232d1a07d3 [2022-05-06T13:39:48.067Z] Removing intermediate container a8232d1a07d3 [2022-05-06T13:39:48.067Z] ---> 1a0bc13e4a2b [2022-05-06T13:39:48.067Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-06T13:39:48.067Z] ---> Running in 7bccd88e941f [2022-05-06T13:39:49.059Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-06T13:39:50.048Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-06T13:39:51.495Z] OK: 224 MiB in 56 packages [2022-05-06T13:39:52.098Z] Removing intermediate container 7bccd88e941f [2022-05-06T13:39:52.098Z] ---> 28777f2c48e0 [2022-05-06T13:39:52.098Z] Step 8/24 : WORKDIR /device-snmp-go [2022-05-06T13:39:52.374Z] ---> Running in 172b671e6322 [2022-05-06T13:39:52.651Z] Removing intermediate container 172b671e6322 [2022-05-06T13:39:52.651Z] ---> b4de64968873 [2022-05-06T13:39:52.651Z] Step 9/24 : COPY go.mod vendor* ./ [2022-05-06T13:39:53.262Z] ---> e29c781f2b6d [2022-05-06T13:39:53.262Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-06T13:39:53.262Z] ---> Running in 5df2f13aa4c5 [2022-05-06T13:39:55.894Z] Removing intermediate container 5df2f13aa4c5 [2022-05-06T13:39:55.894Z] ---> 0ad6bf5ec978 [2022-05-06T13:39:55.894Z] Step 11/24 : COPY . . [2022-05-06T13:39:56.498Z] ---> fa6b19749d5d [2022-05-06T13:39:56.498Z] Step 12/24 : RUN ${MAKE} [2022-05-06T13:39:56.498Z] ---> Running in 05280948a3f9 [2022-05-06T13:39:57.490Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-05-06T13:42:19.429Z] Removing intermediate container 05280948a3f9 [2022-05-06T13:42:19.429Z] ---> 570b9acde092 [2022-05-06T13:42:19.429Z] Step 13/24 : FROM alpine:3.14 [2022-05-06T13:42:19.429Z] 3.14: Pulling from library/alpine [2022-05-06T13:42:19.429Z] 455c02918c45: Pulling fs layer [2022-05-06T13:42:19.429Z] 455c02918c45: Verifying Checksum [2022-05-06T13:42:19.429Z] 455c02918c45: Download complete [2022-05-06T13:42:19.429Z] 455c02918c45: Pull complete [2022-05-06T13:42:19.429Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-06T13:42:19.429Z] Status: Downloaded newer image for alpine:3.14 [2022-05-06T13:42:19.429Z] ---> ac73e934f311 [2022-05-06T13:42:19.429Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-06T13:42:19.429Z] ---> Running in 58dda5397304 [2022-05-06T13:42:19.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-06T13:42:19.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-06T13:42:19.429Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-06T13:42:19.429Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-06T13:42:19.429Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-06T13:42:19.429Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-06T13:42:19.429Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-06T13:42:19.429Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-06T13:42:19.429Z] Executing busybox-1.33.1-r7.trigger [2022-05-06T13:42:19.429Z] OK: 8 MiB in 20 packages [2022-05-06T13:42:19.429Z] Removing intermediate container 58dda5397304 [2022-05-06T13:42:19.429Z] ---> 333346f91ea7 [2022-05-06T13:42:19.429Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-05-06T13:42:19.429Z] ---> a8146a4b0c79 [2022-05-06T13:42:19.429Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-05-06T13:42:19.709Z] ---> 8e1fcbccb466 [2022-05-06T13:42:19.709Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-05-06T13:42:20.309Z] ---> 339af5733f40 [2022-05-06T13:42:20.309Z] Step 18/24 : EXPOSE 59993 [2022-05-06T13:42:20.309Z] ---> Running in 741a949a71f8 [2022-05-06T13:42:20.589Z] Removing intermediate container 741a949a71f8 [2022-05-06T13:42:20.589Z] ---> 0dfbd34ec1d7 [2022-05-06T13:42:20.589Z] Step 19/24 : EXPOSE 161 [2022-05-06T13:42:20.870Z] ---> Running in 26b7035212b0 [2022-05-06T13:42:21.143Z] Removing intermediate container 26b7035212b0 [2022-05-06T13:42:21.143Z] ---> 5d2dd6532d0d [2022-05-06T13:42:21.143Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-05-06T13:42:21.143Z] ---> Running in 7040a44055de [2022-05-06T13:42:21.748Z] Removing intermediate container 7040a44055de [2022-05-06T13:42:21.748Z] ---> 59824498fea2 [2022-05-06T13:42:21.748Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-06T13:42:21.748Z] ---> Running in 35cb30f3ba93 [2022-05-06T13:42:22.023Z] Removing intermediate container 35cb30f3ba93 [2022-05-06T13:42:22.023Z] ---> 747168023453 [2022-05-06T13:42:22.023Z] Step 22/24 : LABEL arch=arm64 [2022-05-06T13:42:22.023Z] ---> Running in ecd7ce32518b [2022-05-06T13:42:22.624Z] Removing intermediate container ecd7ce32518b [2022-05-06T13:42:22.624Z] ---> 9fec5e4e5235 [2022-05-06T13:42:22.624Z] Step 23/24 : LABEL git_sha=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [2022-05-06T13:42:22.624Z] ---> Running in e513efd4a4bc [2022-05-06T13:42:22.898Z] Removing intermediate container e513efd4a4bc [2022-05-06T13:42:22.898Z] ---> b8e697b20706 [2022-05-06T13:42:22.898Z] Step 24/24 : LABEL version=2.2.0-dev.15 [2022-05-06T13:42:22.898Z] ---> Running in 1a93addf3211 [2022-05-06T13:42:23.172Z] Removing intermediate container 1a93addf3211 [2022-05-06T13:42:23.172Z] ---> 7f9717e5858c [2022-05-06T13:42:23.172Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-06T13:42:23.448Z] Successfully built 7f9717e5858c [2022-05-06T13:42:23.448Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:42:23.565Z] provisioning config files... [2022-05-06T13:42:23.587Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/25@tmp/config3599475804777222411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:42:23.953Z] ---> docker-login.sh [2022-05-06T13:42:23.953Z] nexus3.edgexfoundry.org:10001 [2022-05-06T13:42:24.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:42:24.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:42:24.229Z] Configure a credential helper to remove this warning. See [2022-05-06T13:42:24.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:42:24.229Z] [2022-05-06T13:42:24.229Z] Login Succeeded [2022-05-06T13:42:24.229Z] nexus3.edgexfoundry.org:10002 [2022-05-06T13:42:24.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:42:24.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:42:24.831Z] Configure a credential helper to remove this warning. See [2022-05-06T13:42:24.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:42:24.831Z] [2022-05-06T13:42:24.831Z] Login Succeeded [2022-05-06T13:42:24.831Z] nexus3.edgexfoundry.org:10003 [2022-05-06T13:42:25.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:42:25.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:42:25.376Z] Configure a credential helper to remove this warning. See [2022-05-06T13:42:25.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:42:25.376Z] [2022-05-06T13:42:25.376Z] Login Succeeded [2022-05-06T13:42:25.376Z] nexus3.edgexfoundry.org:10004 [2022-05-06T13:42:25.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:42:25.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:42:25.925Z] Configure a credential helper to remove this warning. See [2022-05-06T13:42:25.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:42:25.925Z] [2022-05-06T13:42:25.925Z] Login Succeeded [2022-05-06T13:42:25.925Z] docker.io [2022-05-06T13:42:26.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-06T13:42:26.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-06T13:42:26.798Z] Configure a credential helper to remove this warning. See [2022-05-06T13:42:26.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-06T13:42:26.798Z] [2022-05-06T13:42:26.798Z] Login Succeeded [2022-05-06T13:42:26.798Z] ---> docker-login.sh ends [Pipeline] } [2022-05-06T13:42:26.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-06T13:42:26.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-06T13:42:26.868Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-05-06T13:42:26.868Z] 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [2022-05-06T13:42:26.868Z] latest [2022-05-06T13:42:26.868Z] 2.2.0-dev.15 [2022-05-06T13:42:26.868Z] 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [2022-05-06T13:42:26.868Z] main [2022-05-06T13:42:26.868Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:27.230Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:27.585Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [2022-05-06T13:42:27.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-06T13:42:27.585Z] ccaf1cfd803d: Preparing [2022-05-06T13:42:27.585Z] a753c3593ae4: Preparing [2022-05-06T13:42:27.585Z] 7d00c2f7958b: Preparing [2022-05-06T13:42:27.585Z] 5d9bc1b22154: Preparing [2022-05-06T13:42:27.585Z] f73e7dbfee58: Preparing [2022-05-06T13:42:27.876Z] f73e7dbfee58: Layer already exists [2022-05-06T13:42:27.876Z] a753c3593ae4: Pushed [2022-05-06T13:42:27.876Z] ccaf1cfd803d: Pushed [2022-05-06T13:42:28.477Z] 5d9bc1b22154: Pushed [2022-05-06T13:42:33.882Z] 7d00c2f7958b: Pushed [2022-05-06T13:42:34.155Z] 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:34.511Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:34.849Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-05-06T13:42:34.849Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-06T13:42:34.849Z] ccaf1cfd803d: Preparing [2022-05-06T13:42:34.849Z] a753c3593ae4: Preparing [2022-05-06T13:42:34.849Z] 7d00c2f7958b: Preparing [2022-05-06T13:42:34.849Z] 5d9bc1b22154: Preparing [2022-05-06T13:42:34.849Z] f73e7dbfee58: Preparing [2022-05-06T13:42:34.849Z] f73e7dbfee58: Layer already exists [2022-05-06T13:42:34.849Z] 7d00c2f7958b: Layer already exists [2022-05-06T13:42:34.849Z] a753c3593ae4: Layer already exists [2022-05-06T13:42:34.849Z] 5d9bc1b22154: Layer already exists [2022-05-06T13:42:34.849Z] ccaf1cfd803d: Layer already exists [2022-05-06T13:42:35.121Z] latest: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:35.471Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:35.811Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.15 [2022-05-06T13:42:35.811Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-06T13:42:35.811Z] ccaf1cfd803d: Preparing [2022-05-06T13:42:35.811Z] a753c3593ae4: Preparing [2022-05-06T13:42:35.811Z] 7d00c2f7958b: Preparing [2022-05-06T13:42:35.811Z] 5d9bc1b22154: Preparing [2022-05-06T13:42:35.811Z] f73e7dbfee58: Preparing [2022-05-06T13:42:35.811Z] ccaf1cfd803d: Layer already exists [2022-05-06T13:42:35.811Z] a753c3593ae4: Layer already exists [2022-05-06T13:42:35.811Z] 7d00c2f7958b: Layer already exists [2022-05-06T13:42:35.811Z] f73e7dbfee58: Layer already exists [2022-05-06T13:42:35.811Z] 5d9bc1b22154: Layer already exists [2022-05-06T13:42:36.081Z] 2.2.0-dev.15: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:36.426Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:36.765Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [2022-05-06T13:42:36.766Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-06T13:42:36.766Z] ccaf1cfd803d: Preparing [2022-05-06T13:42:36.766Z] a753c3593ae4: Preparing [2022-05-06T13:42:36.766Z] 7d00c2f7958b: Preparing [2022-05-06T13:42:36.766Z] 5d9bc1b22154: Preparing [2022-05-06T13:42:36.766Z] f73e7dbfee58: Preparing [2022-05-06T13:42:36.766Z] 7d00c2f7958b: Layer already exists [2022-05-06T13:42:36.766Z] 5d9bc1b22154: Layer already exists [2022-05-06T13:42:36.766Z] f73e7dbfee58: Layer already exists [2022-05-06T13:42:36.766Z] ccaf1cfd803d: Layer already exists [2022-05-06T13:42:36.766Z] a753c3593ae4: Layer already exists [2022-05-06T13:42:37.037Z] 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:37.383Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:37.727Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-05-06T13:42:37.727Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-06T13:42:37.727Z] ccaf1cfd803d: Preparing [2022-05-06T13:42:37.727Z] a753c3593ae4: Preparing [2022-05-06T13:42:37.727Z] 7d00c2f7958b: Preparing [2022-05-06T13:42:37.727Z] 5d9bc1b22154: Preparing [2022-05-06T13:42:37.727Z] f73e7dbfee58: Preparing [2022-05-06T13:42:37.727Z] 5d9bc1b22154: Layer already exists [2022-05-06T13:42:37.727Z] 7d00c2f7958b: Layer already exists [2022-05-06T13:42:37.727Z] ccaf1cfd803d: Layer already exists [2022-05-06T13:42:37.727Z] a753c3593ae4: Layer already exists [2022-05-06T13:42:37.727Z] f73e7dbfee58: Layer already exists [2022-05-06T13:42:37.998Z] main: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-06T13:42:38.048Z] ===================================================== [Pipeline] echo [2022-05-06T13:42:38.058Z] taggedImages: [2022-05-06T13:42:38.058Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [2022-05-06T13:42:38.058Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-05-06T13:42:38.058Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.15 [2022-05-06T13:42:38.058Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [2022-05-06T13:42:38.058Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:38.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-06T13:42:38.430Z] [2022-05-06T13:42:38.430Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:42:38.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-06T13:42:39.055Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-06T13:42:39.055Z] 8998bd30e6a1: Pulling fs layer [2022-05-06T13:42:39.055Z] 04944245beec: Pulling fs layer [2022-05-06T13:42:39.055Z] 699f458cf7ca: Pulling fs layer [2022-05-06T13:42:39.055Z] 765212b225bb: Pulling fs layer [2022-05-06T13:42:39.055Z] f23df028b6ca: Pulling fs layer [2022-05-06T13:42:39.055Z] d65c8cfc05b1: Pulling fs layer [2022-05-06T13:42:39.055Z] 2437ff75d9bd: Pulling fs layer [2022-05-06T13:42:39.055Z] f23df028b6ca: Waiting [2022-05-06T13:42:39.055Z] 765212b225bb: Waiting [2022-05-06T13:42:39.055Z] 2437ff75d9bd: Waiting [2022-05-06T13:42:39.055Z] d65c8cfc05b1: Waiting [2022-05-06T13:42:39.055Z] 04944245beec: Verifying Checksum [2022-05-06T13:42:39.055Z] 04944245beec: Download complete [2022-05-06T13:42:39.055Z] 765212b225bb: Verifying Checksum [2022-05-06T13:42:39.055Z] 765212b225bb: Download complete [2022-05-06T13:42:39.055Z] f23df028b6ca: Verifying Checksum [2022-05-06T13:42:39.055Z] f23df028b6ca: Download complete [2022-05-06T13:42:39.055Z] d65c8cfc05b1: Verifying Checksum [2022-05-06T13:42:39.055Z] d65c8cfc05b1: Download complete [2022-05-06T13:42:39.329Z] 699f458cf7ca: Verifying Checksum [2022-05-06T13:42:39.329Z] 699f458cf7ca: Download complete [2022-05-06T13:42:39.603Z] 8998bd30e6a1: Verifying Checksum [2022-05-06T13:42:39.603Z] 8998bd30e6a1: Download complete [2022-05-06T13:42:42.214Z] 2437ff75d9bd: Verifying Checksum [2022-05-06T13:42:42.214Z] 2437ff75d9bd: Download complete [2022-05-06T13:42:43.653Z] 8998bd30e6a1: Pull complete [2022-05-06T13:42:44.257Z] 04944245beec: Pull complete [2022-05-06T13:42:45.712Z] 699f458cf7ca: Pull complete [2022-05-06T13:42:45.986Z] 765212b225bb: Pull complete [2022-05-06T13:42:46.581Z] f23df028b6ca: Pull complete [2022-05-06T13:42:46.852Z] d65c8cfc05b1: Pull complete [2022-05-06T13:43:01.966Z] 2437ff75d9bd: Pull complete [2022-05-06T13:43:01.966Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-06T13:43:01.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-06T13:43:01.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-06T13:43:02.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-41053 does not seem to be running inside a container [2022-05-06T13:43:02.279Z] $ 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/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-06T13:43:05.086Z] $ docker top 3415bcaa2197a6666b6dd2273edb810421ab6f0aae53cf247b4f5f8ab8bf815a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:43:06.000Z] ---> job-cost.sh [2022-05-06T13:43:06.000Z] lf-activate-venv: SKIPPING [2022-05-06T13:43:06.000Z] INFO: No Stack... [2022-05-06T13:43:06.592Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-06T13:43:07.564Z] INFO: Archiving Costs [Pipeline] sh [2022-05-06T13:43:08.223Z] + cat /w/workspace/device-snmp-go/25/archives/cost.csv [2022-05-06T13:43:08.223Z] + cut -d, -f6 [Pipeline] lock [2022-05-06T13:43:08.291Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [2022-05-06T13:43:08.300Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] did not exist. Created. [2022-05-06T13:43:08.300Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-06T13:43:08.982Z] /w/workspace/device-snmp-go/25@tmp/durable-49b431d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-06T13:43:09.672Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-06T13:43:09.691Z] Warning: overwriting stash ‘stack-cost’ [2022-05-06T13:43:09.740Z] Stashed 1 file(s) [Pipeline] } [2022-05-06T13:43:09.747Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-06T13:43:09.772Z] $ docker stop --time=1 3415bcaa2197a6666b6dd2273edb810421ab6f0aae53cf247b4f5f8ab8bf815a [2022-05-06T13:43:11.265Z] $ docker rm -f 3415bcaa2197a6666b6dd2273edb810421ab6f0aae53cf247b4f5f8ab8bf815a [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-05-06T13:43:11.692Z] provisioning config files... [2022-05-06T13:43:11.701Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5789793514943597521tmp [Pipeline] { [Pipeline] sh [2022-05-06T13:43:12.004Z] + set +x [2022-05-06T13:43:12.004Z] + curl -s https://codecov.io/bash [2022-05-06T13:43:12.004Z] + bash -s -- [2022-05-06T13:43:12.004Z] [2022-05-06T13:43:12.004Z] _____ _ [2022-05-06T13:43:12.004Z] / ____| | | [2022-05-06T13:43:12.004Z] | | ___ __| | ___ ___ _____ __ [2022-05-06T13:43:12.004Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-06T13:43:12.004Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-06T13:43:12.004Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-06T13:43:12.004Z] Bash-1.0.6 [2022-05-06T13:43:12.004Z] [2022-05-06T13:43:12.004Z] [2022-05-06T13:43:12.004Z] ==> git version 2.25.1 found [2022-05-06T13:43:12.004Z] ==> 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-05-06T13:43:12.004Z] Release-Date: 2020-01-08 [2022-05-06T13:43:12.004Z] 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-05-06T13:43:12.004Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-06T13:43:12.004Z] ==> Jenkins CI detected. [2022-05-06T13:43:12.004Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-05-06T13:43:12.004Z] project root: . [2022-05-06T13:43:12.004Z] --> token set from env [2022-05-06T13:43:12.004Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-06T13:43:12.004Z] ==> Running gcov in . (disable via -X gcov) [2022-05-06T13:43:12.004Z] ==> Python coveragepy not found [2022-05-06T13:43:12.004Z] ==> Searching for coverage reports in: [2022-05-06T13:43:12.004Z] + . [2022-05-06T13:43:12.004Z] -> Found 1 reports [2022-05-06T13:43:12.004Z] ==> Detecting git/mercurial file structure [2022-05-06T13:43:12.004Z] ==> Reading reports [2022-05-06T13:43:12.004Z] + ./coverage.out bytes=7631 [2022-05-06T13:43:12.004Z] ==> Appending adjustments [2022-05-06T13:43:12.004Z] https://docs.codecov.io/docs/fixing-reports [2022-05-06T13:43:12.004Z] + Found adjustments [2022-05-06T13:43:12.265Z] ==> Gzipping contents [2022-05-06T13:43:12.265Z] 4.0K /tmp/codecov.D1Wa1L.gz [2022-05-06T13:43:12.265Z] ==> Uploading reports [2022-05-06T13:43:12.265Z] url: https://codecov.io [2022-05-06T13:43:12.265Z] query: branch=main&commit=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-06T13:43:12.265Z] -> Pinging Codecov [2022-05-06T13:43:12.265Z] 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=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-06T13:43:12.526Z] -> Uploading to [2022-05-06T13:43:12.526Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-06/6C56EA5C29638FB4528AC87E60AF5AE0/73713b96c9dcd40dfd5451eeaca2e2c15d544ca8/4def2d1a-c5f1-464d-9969-cd8cff4ef159.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220506T134312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=557e820a0d18e41eca864b7ce96195cd54bdbdd1aed9c59988e2419e69ddc4ec [2022-05-06T13:43:12.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-06T13:43:12.526Z] Dload Upload Total Spent Left Speed [2022-05-06T13:43:12.787Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7026 --:--:-- --:--:-- --:--:-- 7026 [2022-05-06T13:43:12.787Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] } [2022-05-06T13:43:12.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-06T13:43:12.937Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-06T13:43:12.949Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:13.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-06T13:43:13.246Z] [2022-05-06T13:43:13.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:13.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-06T13:43:13.549Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-06T13:43:13.549Z] 188c0c94c7c5: Pulling fs layer [2022-05-06T13:43:13.549Z] 0ef7d3d256c8: Pulling fs layer [2022-05-06T13:43:13.549Z] de9db76c5a1d: Pulling fs layer [2022-05-06T13:43:13.549Z] 0eba1c9be4d2: Pulling fs layer [2022-05-06T13:43:13.549Z] 0d57e429df01: Pulling fs layer [2022-05-06T13:43:13.549Z] 4e4be7b47b0d: Pulling fs layer [2022-05-06T13:43:13.549Z] e1f770b5df2f: Pulling fs layer [2022-05-06T13:43:13.549Z] 85a0685a4137: Pulling fs layer [2022-05-06T13:43:13.549Z] 0eba1c9be4d2: Waiting [2022-05-06T13:43:13.549Z] 0d57e429df01: Waiting [2022-05-06T13:43:13.549Z] 85a0685a4137: Waiting [2022-05-06T13:43:13.549Z] e1f770b5df2f: Waiting [2022-05-06T13:43:13.549Z] de9db76c5a1d: Verifying Checksum [2022-05-06T13:43:13.549Z] de9db76c5a1d: Download complete [2022-05-06T13:43:13.549Z] 0ef7d3d256c8: Download complete [2022-05-06T13:43:13.549Z] 0d57e429df01: Download complete [2022-05-06T13:43:13.549Z] 4e4be7b47b0d: Verifying Checksum [2022-05-06T13:43:13.549Z] 4e4be7b47b0d: Download complete [2022-05-06T13:43:13.549Z] 188c0c94c7c5: Verifying Checksum [2022-05-06T13:43:13.549Z] 188c0c94c7c5: Download complete [2022-05-06T13:43:13.810Z] 188c0c94c7c5: Pull complete [2022-05-06T13:43:13.810Z] e1f770b5df2f: Verifying Checksum [2022-05-06T13:43:13.810Z] e1f770b5df2f: Download complete [2022-05-06T13:43:13.810Z] 0ef7d3d256c8: Pull complete [2022-05-06T13:43:14.072Z] de9db76c5a1d: Pull complete [2022-05-06T13:43:14.332Z] 0eba1c9be4d2: Verifying Checksum [2022-05-06T13:43:14.332Z] 0eba1c9be4d2: Download complete [2022-05-06T13:43:14.590Z] 85a0685a4137: Verifying Checksum [2022-05-06T13:43:14.590Z] 85a0685a4137: Download complete [2022-05-06T13:43:17.877Z] 0eba1c9be4d2: Pull complete [2022-05-06T13:43:17.877Z] 0d57e429df01: Pull complete [2022-05-06T13:43:17.877Z] 4e4be7b47b0d: Pull complete [2022-05-06T13:43:18.136Z] e1f770b5df2f: Pull complete [2022-05-06T13:43:21.428Z] 85a0685a4137: Pull complete [2022-05-06T13:43:21.428Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-06T13:43:21.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-06T13:43:21.428Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-06T13:43:21.492Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:43:21.532Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-06T13:43:24.236Z] $ docker top 1bee601a918199ff271e899af0f1e666a3cfca70eb496df101ca953cb0bdbc6c -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-06T13:43:24.316Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-06T13:43:24.595Z] + set -o pipefail [2022-05-06T13:43:24.595Z] + snyk monitor '--org=edgex-jenkins' [2022-05-06T13:43:29.879Z] [2022-05-06T13:43:29.879Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-05-06T13:43:29.879Z] [2022-05-06T13:43:29.879Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/32bf2d74-f01f-436c-a027-736ed49fb8ec [2022-05-06T13:43:29.879Z] [2022-05-06T13:43:29.879Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-06T13:43:29.879Z] [2022-05-06T13:43:29.879Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-06T13:43:29.879Z] [2022-05-06T13:43:29.879Z] [Pipeline] } [2022-05-06T13:43:29.893Z] $ docker stop --time=1 1bee601a918199ff271e899af0f1e666a3cfca70eb496df101ca953cb0bdbc6c [2022-05-06T13:43:32.249Z] $ docker rm -f 1bee601a918199ff271e899af0f1e666a3cfca70eb496df101ca953cb0bdbc6c [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-05-06T13:43:32.970Z] + git log --format=format:%s -1 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] sh [2022-05-06T13:43:33.263Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-06T13:43:33.263Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:33.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:43:33.559Z] . [Pipeline] withDockerContainer [2022-05-06T13:43:33.625Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:43:33.661Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-06T13:43:34.115Z] $ docker top d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 -eo pid,comm [2022-05-06T13:43:34.178Z] 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-05-06T13:43:34.178Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-06T13:43:34.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:43:34.215Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:43:34.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:43:34.327Z] $ docker exec d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 ssh-agent [2022-05-06T13:43:34.461Z] SSH_AUTH_SOCK=/tmp/ssh-Odpqb8LYz22h/agent.33 [2022-05-06T13:43:34.461Z] SSH_AGENT_PID=39 [2022-05-06T13:43:34.467Z] Running ssh-add (command line suppressed) [2022-05-06T13:43:34.578Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5119289315748910320.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5119289315748910320.key) [2022-05-06T13:43:34.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:43:34.879Z] + git semver tag [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,055 [run_tag] DEBUG tag force:False [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,056 [check_head_tag] DEBUG check head tag [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,056 [execute] INFO git cat-file --batch-check [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,060 [execute] INFO git cat-file --batch [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,071 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,071 [execute] INFO git tag -a v2.2.0-dev.15 -m v2.2.0-dev.15 [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,071 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.15', '-m', 'v2.2.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-06T13:43:35.139Z] 2022-05-06 13:43:35,076 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-06T13:43:35.139Z] 2.2.0-dev.15 [Pipeline] } [2022-05-06T13:43:35.151Z] $ docker exec --env ******** --env ******** d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 ssh-agent -k [2022-05-06T13:43:35.267Z] unset SSH_AUTH_SOCK; [2022-05-06T13:43:35.267Z] unset SSH_AGENT_PID; [2022-05-06T13:43:35.267Z] echo Agent pid 39 killed; [2022-05-06T13:43:35.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-06T13:43:35.588Z] + git semver [Pipeline] } [2022-05-06T13:43:35.861Z] $ docker stop --time=1 d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 [2022-05-06T13:43:37.232Z] $ docker rm -f d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:37.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-06T13:43:37.649Z] [2022-05-06T13:43:37.649Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:37.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-06T13:43:37.955Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-06T13:43:37.955Z] ab5ef0e58194: Pulling fs layer [2022-05-06T13:43:37.955Z] 9712f1f96733: Pulling fs layer [2022-05-06T13:43:37.955Z] 63f879dbbcfc: Pulling fs layer [2022-05-06T13:43:37.955Z] 0d9ebad4ef96: Pulling fs layer [2022-05-06T13:43:37.955Z] e9a5061849ea: Pulling fs layer [2022-05-06T13:43:37.955Z] d747dcd14b5f: Pulling fs layer [2022-05-06T13:43:37.955Z] 2de7ff778b66: Pulling fs layer [2022-05-06T13:43:37.955Z] 0d9ebad4ef96: Waiting [2022-05-06T13:43:37.955Z] e9a5061849ea: Waiting [2022-05-06T13:43:37.955Z] 2de7ff778b66: Waiting [2022-05-06T13:43:37.955Z] 9712f1f96733: Verifying Checksum [2022-05-06T13:43:37.955Z] 9712f1f96733: Download complete [2022-05-06T13:43:38.526Z] 63f879dbbcfc: Verifying Checksum [2022-05-06T13:43:38.526Z] 63f879dbbcfc: Download complete [2022-05-06T13:43:38.526Z] e9a5061849ea: Verifying Checksum [2022-05-06T13:43:38.526Z] e9a5061849ea: Download complete [2022-05-06T13:43:38.526Z] 0d9ebad4ef96: Verifying Checksum [2022-05-06T13:43:38.526Z] 0d9ebad4ef96: Download complete [2022-05-06T13:43:38.526Z] d747dcd14b5f: Download complete [2022-05-06T13:43:38.526Z] ab5ef0e58194: Verifying Checksum [2022-05-06T13:43:38.526Z] ab5ef0e58194: Download complete [2022-05-06T13:43:38.785Z] 2de7ff778b66: Verifying Checksum [2022-05-06T13:43:38.785Z] 2de7ff778b66: Download complete [2022-05-06T13:43:41.318Z] ab5ef0e58194: Pull complete [2022-05-06T13:43:41.318Z] 9712f1f96733: Pull complete [2022-05-06T13:43:41.889Z] 63f879dbbcfc: Pull complete [2022-05-06T13:43:46.086Z] 0d9ebad4ef96: Pull complete [2022-05-06T13:43:46.086Z] e9a5061849ea: Pull complete [2022-05-06T13:43:46.086Z] d747dcd14b5f: Pull complete [2022-05-06T13:43:46.656Z] 2de7ff778b66: Pull complete [2022-05-06T13:43:46.656Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-06T13:43:46.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-06T13:43:46.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-06T13:43:46.719Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:43:46.754Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-06T13:43:49.839Z] $ docker top 6d01588f37c3d0e7cc026c8c340b9a95ad6f910b015fe2e1390d0c470d075326 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:43:49.910Z] provisioning config files... [2022-05-06T13:43:49.918Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4710649627463169226tmp [2022-05-06T13:43:49.931Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4102029900436178391tmp [2022-05-06T13:43:49.942Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1290920626601530774tmp [Pipeline] { [Pipeline] echo [2022-05-06T13:43:49.961Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:43:50.249Z] ---> sigul-configuration.sh [2022-05-06T13:43:50.249Z] gpg: directory `/root/.gnupg' created [2022-05-06T13:43:50.249Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-06T13:43:50.249Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-06T13:43:50.249Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-06T13:43:50.249Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-06T13:43:50.249Z] gpg: CAST5 encrypted data [2022-05-06T13:43:50.249Z] gpg: encrypted with 1 passphrase [2022-05-06T13:43:50.249Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-06T13:43:50.550Z] + mkdir /home/jenkins [2022-05-06T13:43:50.551Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-06T13:43:50.849Z] + 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-05-06T13:43:50.861Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:43:51.149Z] ---> sigul-install.sh [2022-05-06T13:43:51.149Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-06T13:43:51.438Z] + git tag --list [2022-05-06T13:43:51.438Z] 1.0.0 [2022-05-06T13:43:51.438Z] v0.0.0 [2022-05-06T13:43:51.438Z] v1.1.0 [2022-05-06T13:43:51.438Z] v1.1.1 [2022-05-06T13:43:51.438Z] v1.2.2 [2022-05-06T13:43:51.438Z] v1.3.0 [2022-05-06T13:43:51.438Z] v1.3.1 [2022-05-06T13:43:51.438Z] v2.0.0 [2022-05-06T13:43:51.438Z] v2.0.1-dev.1 [2022-05-06T13:43:51.438Z] v2.0.1-dev.2 [2022-05-06T13:43:51.438Z] v2.0.1-dev.3 [2022-05-06T13:43:51.438Z] v2.0.1-dev.4 [2022-05-06T13:43:51.438Z] v2.0.1-dev.5 [2022-05-06T13:43:51.438Z] v2.0.1-dev.6 [2022-05-06T13:43:51.438Z] v2.1.0 [2022-05-06T13:43:51.438Z] v2.2.0-dev.1 [2022-05-06T13:43:51.438Z] v2.2.0-dev.10 [2022-05-06T13:43:51.438Z] v2.2.0-dev.11 [2022-05-06T13:43:51.438Z] v2.2.0-dev.12 [2022-05-06T13:43:51.438Z] v2.2.0-dev.13 [2022-05-06T13:43:51.438Z] v2.2.0-dev.14 [2022-05-06T13:43:51.438Z] v2.2.0-dev.15 [2022-05-06T13:43:51.438Z] v2.2.0-dev.2 [2022-05-06T13:43:51.438Z] v2.2.0-dev.3 [2022-05-06T13:43:51.438Z] v2.2.0-dev.4 [2022-05-06T13:43:51.438Z] v2.2.0-dev.5 [2022-05-06T13:43:51.438Z] v2.2.0-dev.6 [2022-05-06T13:43:51.438Z] v2.2.0-dev.7 [2022-05-06T13:43:51.438Z] v2.2.0-dev.8 [2022-05-06T13:43:51.438Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-06T13:43:51.726Z] + lftools sign git-tag v2.2.0-dev.15 [2022-05-06T13:43:52.296Z] Signing Git tag with Sigul... [2022-05-06T13:43:52.296Z] Signing v2.2.0-dev.15 [Pipeline] echo [2022-05-06T13:43:52.568Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:43:52.855Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-06T13:43:52.864Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-06T13:43:52.893Z] $ docker stop --time=1 6d01588f37c3d0e7cc026c8c340b9a95ad6f910b015fe2e1390d0c470d075326 [2022-05-06T13:43:54.228Z] $ docker rm -f 6d01588f37c3d0e7cc026c8c340b9a95ad6f910b015fe2e1390d0c470d075326 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-06T13:43:54.679Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-06T13:43:54.679Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:54.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:43:54.974Z] . [Pipeline] withDockerContainer [2022-05-06T13:43:55.040Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:43:55.078Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-06T13:43:55.500Z] $ docker top 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 -eo pid,comm [2022-05-06T13:43:55.563Z] 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-05-06T13:43:55.563Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-06T13:43:55.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:43:55.606Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:43:55.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:43:55.734Z] $ docker exec 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 ssh-agent [2022-05-06T13:43:55.854Z] SSH_AUTH_SOCK=/tmp/ssh-Lc4upVzpT7sy/agent.32 [2022-05-06T13:43:55.854Z] SSH_AGENT_PID=39 [2022-05-06T13:43:55.861Z] Running ssh-add (command line suppressed) [2022-05-06T13:43:55.972Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5631396203587591647.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5631396203587591647.key) [2022-05-06T13:43:55.985Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:43:56.283Z] + git semver bump pre [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,471 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,471 [bump_version] DEBUG bumping version:2.2.0-dev.15 on axis:pre with prefix:dev [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,471 [bump_version] DEBUG bumped version:2.2.0-dev.16 [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,471 [write_version] DEBUG write version:2.2.0-dev.16 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,471 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,471 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,473 [execute] INFO git cat-file --batch-check [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,479 [execute] INFO git cat-file --batch [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-06T13:43:56.544Z] 2022-05-06 13:43:56,484 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-06T13:43:56.544Z] 2.2.0-dev.16 [Pipeline] } [2022-05-06T13:43:56.556Z] $ docker exec --env ******** --env ******** 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 ssh-agent -k [2022-05-06T13:43:56.658Z] unset SSH_AUTH_SOCK; [2022-05-06T13:43:56.659Z] unset SSH_AGENT_PID; [2022-05-06T13:43:56.659Z] echo Agent pid 39 killed; [2022-05-06T13:43:56.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-06T13:43:56.974Z] + git semver [Pipeline] } [2022-05-06T13:43:57.279Z] $ docker stop --time=1 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 [2022-05-06T13:43:58.600Z] $ docker rm -f 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-06T13:43:58.979Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-06T13:43:58.979Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:43:59.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-06T13:43:59.276Z] . [Pipeline] withDockerContainer [2022-05-06T13:43:59.339Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:43:59.376Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-06T13:43:59.788Z] $ docker top c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 -eo pid,comm [2022-05-06T13:43:59.842Z] 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-05-06T13:43:59.842Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-06T13:43:59.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-06T13:43:59.880Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-06T13:44:00.019Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-06T13:44:00.023Z] $ docker exec c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 ssh-agent [2022-05-06T13:44:00.136Z] SSH_AUTH_SOCK=/tmp/ssh-gHtmCogXrHL5/agent.34 [2022-05-06T13:44:00.136Z] SSH_AGENT_PID=40 [2022-05-06T13:44:00.141Z] Running ssh-add (command line suppressed) [2022-05-06T13:44:00.254Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5801822886103406828.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5801822886103406828.key) [2022-05-06T13:44:00.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-06T13:44:00.553Z] + git semver push [2022-05-06T13:44:00.812Z] 2022-05-06 13:44:00,764 [run_push] DEBUG push [2022-05-06T13:44:00.812Z] 2022-05-06 13:44:00,765 [execute] INFO git push origin semver [2022-05-06T13:44:00.812Z] 2022-05-06 13:44:00,765 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-06T13:44:01.753Z] 2022-05-06 13:44:01,564 [run_push] DEBUG push all version tags [2022-05-06T13:44:01.753Z] 2022-05-06 13:44:01,565 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-06T13:44:01.753Z] 2022-05-06 13:44:01,565 [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-05-06T13:44:02.321Z] 2022-05-06 13:44:02,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-06T13:44:02.321Z] 2.2.0-dev.16 [Pipeline] } [2022-05-06T13:44:02.593Z] $ docker exec --env ******** --env ******** c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 ssh-agent -k [2022-05-06T13:44:02.698Z] unset SSH_AUTH_SOCK; [2022-05-06T13:44:02.698Z] unset SSH_AGENT_PID; [2022-05-06T13:44:02.698Z] echo Agent pid 40 killed; [2022-05-06T13:44:02.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-06T13:44:03.020Z] + git semver [Pipeline] } [2022-05-06T13:44:03.295Z] $ docker stop --time=1 c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 [2022-05-06T13:44:04.682Z] $ docker rm -f c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 [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-05-06T13:44:05.298Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-05-06T13:44:05.298Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-05-06T13:44:05.298Z] total 16 [2022-05-06T13:44:05.298Z] drwxr-xr-x 3 root root 4096 May 6 13:18 . [2022-05-06T13:44:05.298Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:43 .. [2022-05-06T13:44:05.298Z] drwxr-xr-x 2 root root 4096 May 6 13:18 cost [2022-05-06T13:44:05.298Z] -rw-r--r-- 1 root root 84 May 6 13:18 cost.csv [2022-05-06T13:44:05.298Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-05-06T13:44:05.298Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-05-06T13:44:05.298Z] total 16 [2022-05-06T13:44:05.298Z] drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:18 . [2022-05-06T13:44:05.298Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:43 .. [2022-05-06T13:44:05.298Z] drwxr-xr-x 2 jenkins jenkins 4096 May 6 13:18 cost [2022-05-06T13:44:05.298Z] -rw-r--r-- 1 jenkins jenkins 84 May 6 13:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:05.594Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:06.456Z] ---> package-listing.sh [2022-05-06T13:44:06.456Z] ++ facter osfamily [2022-05-06T13:44:06.456Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-06T13:44:06.716Z] + OS_FAMILY=debian [2022-05-06T13:44:06.716Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-05-06T13:44:06.716Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-06T13:44:06.716Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-06T13:44:06.716Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-06T13:44:06.716Z] + PACKAGES=/tmp/packages_start.txt [2022-05-06T13:44:06.716Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-05-06T13:44:06.716Z] + PACKAGES=/tmp/packages_end.txt [2022-05-06T13:44:06.716Z] + case "${OS_FAMILY}" in [2022-05-06T13:44:06.716Z] + dpkg -l [2022-05-06T13:44:06.716Z] + grep '^ii' [2022-05-06T13:44:06.716Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-06T13:44:06.716Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-06T13:44:06.716Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-06T13:44:06.716Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-05-06T13:44:06.716Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-05-06T13:44:06.716Z] + 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-05-06T13:44:06.728Z] 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-05-06T13:44:07.007Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-06T13:44:07.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-06T13:44:07.566Z] . [Pipeline] withDockerContainer [2022-05-06T13:44:07.636Z] prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container [2022-05-06T13:44:07.671Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-06T13:44:07.995Z] $ docker top cd64d31bfb43b2d81ff84e37f79ff502da7266936cc550867583e277efa40f5e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-06T13:44:08.374Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-06T13:44:08.664Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-06T13:44:08.955Z] + ls /var/log/sa-host [2022-05-06T13:44:08.955Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-06T13:44:09.047Z] provisioning config files... [2022-05-06T13:44:09.058Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5321986841543053918tmp [Pipeline] { [Pipeline] echo [2022-05-06T13:44:09.069Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:09.352Z] ---> create-netrc.sh [Pipeline] } [2022-05-06T13:44:09.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:09.684Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-06T13:44:09.695Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:09.981Z] ---> sudo-logs.sh [2022-05-06T13:44:09.981Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-06T13:44:10.011Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:10.301Z] ---> job-cost.sh [2022-05-06T13:44:10.301Z] lf-activate-venv: SKIPPING [2022-05-06T13:44:10.301Z] DEBUG: total: 0.2199999988079071 [2022-05-06T13:44:10.301Z] INFO: Retrieving Stack Cost... [2022-05-06T13:44:10.871Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-06T13:44:11.132Z] INFO: Archiving Costs [Pipeline] echo [2022-05-06T13:44:11.147Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-06T13:44:11.430Z] ---> logs-deploy.sh [2022-05-06T13:44:11.430Z] lf-activate-venv: SKIPPING [2022-05-06T13:44:11.430Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/25 [2022-05-06T13:44:11.430Z] INFO: archiving workspace using pattern(s): [2022-05-06T13:44:12.374Z] Archives upload complete. [2022-05-06T13:44:12.374Z] INFO: archiving logs to Nexus