Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 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-ssh7053500011601812526.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh3682129136286324345.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh11709382061327223801.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh3755027445553130184.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh15848463091851925474.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1659 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.24.4' 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 /w/workspace/edgexfoundry_device-snmp-go_main@tmp/jenkins-gitclient-ssh3337114302764907484.key > 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 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 (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 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 # timeout=10 Commit message: "Merge pull request #133 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" > git rev-list --no-walk 88e18fd07957abed78799bc43ba159f1a7719259 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-17T06:09:30.717Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-17T06:09:30.772Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-17T06:09:30.787Z] ========================================================= [2022-01-17T06:09:30.787Z] EdgeX Global Pipelines Version Info [2022-01-17T06:09:30.787Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:09:31.928Z] ------------------- [2022-01-17T06:09:31.928Z] stable info: [2022-01-17T06:09:31.928Z] ------------------- [2022-01-17T06:09:31.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-17T06:09:31.928Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-17T06:09:31.928Z] Message: update stable to v1.0.219 [2022-01-17T06:09:32.504Z] ------------------- [2022-01-17T06:09:32.504Z] experimental info: [2022-01-17T06:09:32.504Z] ------------------- [2022-01-17T06:09:32.504Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-17T06:09:32.504Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-17T06:09:32.504Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-17T06:09:32.657Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-01-17T06:09:32.668Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-01-17T06:09:32.679Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-17T06:09:32.690Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-17T06:09:32.704Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-17T06:09:32.714Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-17T06:09:32.726Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-17T06:09:32.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-17T06:09:32.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-17T06:09:32.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-17T06:09:32.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-17T06:09:32.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-01-17T06:09:32.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-17T06:09:32.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-17T06:09:32.827Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-17T06:09:32.840Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-17T06:09:32.851Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-17T06:09:32.863Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-17T06:09:32.874Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-17T06:09:32.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-17T06:09:32.899Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-17T06:09:32.915Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-17T06:09:32.929Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-17T06:09:32.939Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-17T06:09:32.950Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-17T06:09:32.962Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-17T06:09:32.973Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-17T06:09:32.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-17T06:09:32.996Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-17T06:09:33.009Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] echo [2022-01-17T06:09:33.027Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58834fc [Pipeline] echo [2022-01-17T06:09:33.042Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:09:33.087Z] provisioning config files... [2022-01-17T06:09:33.102Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3759784455547845557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:09:33.427Z] ---> docker-login.sh [2022-01-17T06:09:33.427Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:09:33.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:33.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:33.697Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:33.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:33.697Z] [2022-01-17T06:09:33.697Z] Login Succeeded [2022-01-17T06:09:33.697Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:09:33.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:33.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:33.697Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:33.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:33.697Z] [2022-01-17T06:09:33.697Z] Login Succeeded [2022-01-17T06:09:33.697Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:09:33.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:33.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:33.959Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:33.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:33.959Z] [2022-01-17T06:09:33.959Z] Login Succeeded [2022-01-17T06:09:33.959Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:09:33.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:33.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:33.959Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:33.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:33.959Z] [2022-01-17T06:09:33.959Z] Login Succeeded [2022-01-17T06:09:33.959Z] docker.io [2022-01-17T06:09:33.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:34.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:34.533Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:34.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:34.533Z] [2022-01-17T06:09:34.533Z] Login Succeeded [2022-01-17T06:09:34.533Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:09:34.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-17T06:09:34.923Z] + git rev-list -1 --merges 58834fc6b430fe9b88288769f7ae389ff6e0a5f7~1..58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] echo [2022-01-17T06:09:34.950Z] -----------> git rev-list -1 --merges 58834fc6b430fe9b88288769f7ae389ff6e0a5f7~1..58834fc6b430fe9b88288769f7ae389ff6e0a5f7 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [2022-01-17T06:09:34.950Z] 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [false] [Pipeline] sh [2022-01-17T06:09:35.253Z] + git log --format=format:%s -1 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] echo [2022-01-17T06:09:35.273Z] ========================================================= [2022-01-17T06:09:35.273Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-17T06:09:35.273Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-17T06:09:35.611Z] + git log --format=format:%s -1 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] echo [2022-01-17T06:09:35.624Z] [semverPrep] GIT_COMMIT: 58834fc6b430fe9b88288769f7ae389ff6e0a5f7, Commit Message: Merge pull request #133 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8 [Pipeline] echo [2022-01-17T06:09:35.632Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-17T06:09:36.018Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T06:09:36.018Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-17T06:09:36.019Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-17T06:09:36.019Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-17T06:09:36.019Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-17T06:09:36.019Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-17T06:09:36.019Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:09:36.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:09:36.366Z] [2022-01-17T06:09:36.366Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:09:36.687Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:09:36.687Z] latest: Pulling from edgex-devops/git-semver [2022-01-17T06:09:36.687Z] a0d0a0d46f8b: Pulling fs layer [2022-01-17T06:09:36.687Z] 3e5f54012d9b: Pulling fs layer [2022-01-17T06:09:36.687Z] 4c7163046ea9: Pulling fs layer [2022-01-17T06:09:36.687Z] 0c2d73faf560: Pulling fs layer [2022-01-17T06:09:36.687Z] 0c2d73faf560: Waiting [2022-01-17T06:09:36.687Z] 3e5f54012d9b: Verifying Checksum [2022-01-17T06:09:36.687Z] 3e5f54012d9b: Download complete [2022-01-17T06:09:36.687Z] a0d0a0d46f8b: Verifying Checksum [2022-01-17T06:09:36.687Z] a0d0a0d46f8b: Download complete [2022-01-17T06:09:36.687Z] 0c2d73faf560: Verifying Checksum [2022-01-17T06:09:36.687Z] 0c2d73faf560: Download complete [2022-01-17T06:09:36.687Z] 4c7163046ea9: Verifying Checksum [2022-01-17T06:09:36.687Z] 4c7163046ea9: Download complete [2022-01-17T06:09:36.956Z] a0d0a0d46f8b: Pull complete [2022-01-17T06:09:36.956Z] 3e5f54012d9b: Pull complete [2022-01-17T06:09:37.222Z] 4c7163046ea9: Pull complete [2022-01-17T06:09:37.485Z] 0c2d73faf560: Pull complete [2022-01-17T06:09:37.485Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-17T06:09:37.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:09:37.485Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-17T06:09:37.560Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:09:37.069Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-17T06:09:37.887Z] $ docker top 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T06:09:38.461Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:09:38.461Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:09:38.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:09:38.132Z] $ docker exec 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 ssh-agent [2022-01-17T06:09:38.702Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFhaaKP/agent.14 [2022-01-17T06:09:38.702Z] SSH_AGENT_PID=20 [2022-01-17T06:09:38.712Z] Running ssh-add (command line suppressed) [2022-01-17T06:09:38.378Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7508145305275878867.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7508145305275878867.key) [2022-01-17T06:09:38.825Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:09:39.121Z] + git tag --points-at HEAD [Pipeline] } [2022-01-17T06:09:38.738Z] $ docker exec --env ******** --env ******** 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 ssh-agent -k [2022-01-17T06:09:38.840Z] unset SSH_AUTH_SOCK; [2022-01-17T06:09:38.840Z] unset SSH_AGENT_PID; [2022-01-17T06:09:38.840Z] echo Agent pid 20 killed; [2022-01-17T06:09:39.245Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-17T06:09:39.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:09:39.263Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:09:39.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:09:38.990Z] $ docker exec 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 ssh-agent [2022-01-17T06:09:39.480Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkIEJhf/agent.52 [2022-01-17T06:09:39.480Z] SSH_AGENT_PID=58 [2022-01-17T06:09:39.485Z] Running ssh-add (command line suppressed) [2022-01-17T06:09:39.214Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5810451532407580308.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5810451532407580308.key) [2022-01-17T06:09:39.599Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:09:39.887Z] + git semver init [2022-01-17T06:09:39.888Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T06:09:39.888Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-01-17T06:09:39.888Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-01-17T06:09:39.888Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T06:09:39.888Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T06:09:39.888Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T06:09:39.888Z] # $SEMVER_BRANCH = main [2022-01-17T06:09:39.888Z] # $SEMVER_TEMP = /tmp/semver-791534006 [2022-01-17T06:09:39.888Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-01-17T06:09:40.833Z] # '/tmp/semver-791534006' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2022-01-17T06:09:40.833Z] # -> Force: false [2022-01-17T06:09:40.833Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-01-17T06:09:40.582Z] $ docker exec --env ******** --env ******** 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 ssh-agent -k [2022-01-17T06:09:40.682Z] unset SSH_AUTH_SOCK; [2022-01-17T06:09:40.684Z] unset SSH_AGENT_PID; [2022-01-17T06:09:40.684Z] echo Agent pid 58 killed; [2022-01-17T06:09:40.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T06:09:41.263Z] + git semver [Pipeline] } [2022-01-17T06:09:41.052Z] $ docker stop --time=1 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 [2022-01-17T06:09:42.299Z] $ docker rm -f 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T06:09:42.779Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-17T06:09:43.020Z] Stashed 1 file(s) [Pipeline] echo [2022-01-17T06:09:43.023Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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-01-17T06:09:43.169Z] provisioning config files... [2022-01-17T06:09:43.185Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6127821253755240988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:09:43.491Z] ---> docker-login.sh [2022-01-17T06:09:43.491Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:09:43.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:43.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:43.491Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:43.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:43.491Z] [2022-01-17T06:09:43.491Z] Login Succeeded [2022-01-17T06:09:43.491Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:09:43.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:43.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:43.753Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:43.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:43.753Z] [2022-01-17T06:09:43.753Z] Login Succeeded [2022-01-17T06:09:43.753Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:09:43.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:43.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:43.753Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:43.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:43.753Z] [2022-01-17T06:09:43.753Z] Login Succeeded [2022-01-17T06:09:43.753Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:09:43.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:44.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:44.015Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:44.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:44.015Z] [2022-01-17T06:09:44.015Z] Login Succeeded [2022-01-17T06:09:44.015Z] docker.io [2022-01-17T06:09:44.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:09:44.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:09:44.277Z] Configure a credential helper to remove this warning. See [2022-01-17T06:09:44.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:09:44.277Z] [2022-01-17T06:09:44.277Z] Login Succeeded [2022-01-17T06:09:44.277Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:09:44.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-17T06:09:44.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T06:09:44.365Z] ========================================================= [2022-01-17T06:09:44.365Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-17T06:09:44.365Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:09:44.675Z] + 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-01-17T06:09:44.675Z] Sending build context to Docker daemon 5.162MB [2022-01-17T06:09:44.675Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T06:09:44.675Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-17T06:09:44.675Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-17T06:09:44.675Z] 59bf1c3509f3: Pulling fs layer [2022-01-17T06:09:44.675Z] 666ba61612fd: Pulling fs layer [2022-01-17T06:09:44.675Z] 8ed8ca486205: Pulling fs layer [2022-01-17T06:09:44.675Z] 4fe6c5a15a65: Pulling fs layer [2022-01-17T06:09:44.675Z] 22a0e8bec74d: Pulling fs layer [2022-01-17T06:09:44.675Z] f965cba54748: Pulling fs layer [2022-01-17T06:09:44.675Z] 861ffc35075e: Pulling fs layer [2022-01-17T06:09:44.675Z] 4b385c91608e: Pulling fs layer [2022-01-17T06:09:44.675Z] 560528eb2ebb: Pulling fs layer [2022-01-17T06:09:44.675Z] 4fe6c5a15a65: Waiting [2022-01-17T06:09:44.675Z] 22a0e8bec74d: Waiting [2022-01-17T06:09:44.675Z] f965cba54748: Waiting [2022-01-17T06:09:44.675Z] 861ffc35075e: Waiting [2022-01-17T06:09:44.675Z] 4b385c91608e: Waiting [2022-01-17T06:09:44.675Z] 560528eb2ebb: Waiting [2022-01-17T06:09:44.675Z] 8ed8ca486205: Verifying Checksum [2022-01-17T06:09:44.675Z] 8ed8ca486205: Download complete [2022-01-17T06:09:44.675Z] 666ba61612fd: Verifying Checksum [2022-01-17T06:09:44.675Z] 666ba61612fd: Download complete [2022-01-17T06:09:44.675Z] 22a0e8bec74d: Verifying Checksum [2022-01-17T06:09:44.675Z] 22a0e8bec74d: Download complete [2022-01-17T06:09:44.942Z] f965cba54748: Verifying Checksum [2022-01-17T06:09:44.942Z] f965cba54748: Download complete [2022-01-17T06:09:44.942Z] 59bf1c3509f3: Verifying Checksum [2022-01-17T06:09:44.942Z] 59bf1c3509f3: Download complete [2022-01-17T06:09:44.942Z] 861ffc35075e: Verifying Checksum [2022-01-17T06:09:44.942Z] 861ffc35075e: Download complete [2022-01-17T06:09:44.942Z] 4b385c91608e: Verifying Checksum [2022-01-17T06:09:44.942Z] 4b385c91608e: Download complete [2022-01-17T06:09:45.218Z] 59bf1c3509f3: Pull complete [2022-01-17T06:09:45.491Z] 4fe6c5a15a65: Verifying Checksum [2022-01-17T06:09:45.491Z] 4fe6c5a15a65: Download complete [2022-01-17T06:09:45.491Z] 560528eb2ebb: Verifying Checksum [2022-01-17T06:09:45.491Z] 560528eb2ebb: Download complete [2022-01-17T06:09:45.491Z] 666ba61612fd: Pull complete [2022-01-17T06:09:45.491Z] 8ed8ca486205: Pull complete [2022-01-17T06:09:49.710Z] 4fe6c5a15a65: Pull complete [2022-01-17T06:09:49.710Z] 22a0e8bec74d: Pull complete [2022-01-17T06:09:49.710Z] f965cba54748: Pull complete [2022-01-17T06:09:49.973Z] 861ffc35075e: Pull complete [2022-01-17T06:09:49.973Z] 4b385c91608e: Pull complete [2022-01-17T06:09:52.540Z] 560528eb2ebb: Pull complete [2022-01-17T06:09:52.540Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-17T06:09:52.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-17T06:09:52.540Z] ---> dd4a08f94e63 [2022-01-17T06:09:52.540Z] Step 3/11 : ARG MAKE='make build' [2022-01-17T06:09:54.459Z] ---> Running in 50a021b6b6b3 [2022-01-17T06:09:54.459Z] Removing intermediate container 50a021b6b6b3 [2022-01-17T06:09:54.459Z] ---> 8b54c9bac103 [2022-01-17T06:09:54.459Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-17T06:09:54.459Z] ---> Running in be231a94970d [2022-01-17T06:09:54.728Z] Removing intermediate container be231a94970d [2022-01-17T06:09:54.728Z] ---> 7ce605224509 [2022-01-17T06:09:54.728Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-01-17T06:09:54.728Z] ---> Running in ae4de039c0af [2022-01-17T06:09:54.728Z] Removing intermediate container ae4de039c0af [2022-01-17T06:09:54.728Z] ---> 846ca85f1195 [2022-01-17T06:09:54.728Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:09:54.728Z] ---> Running in 9057d76ab8fc [2022-01-17T06:09:55.303Z] Removing intermediate container 9057d76ab8fc [2022-01-17T06:09:55.303Z] ---> 8ffa8e65eb2f [2022-01-17T06:09:55.303Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-17T06:09:55.303Z] ---> Running in 8d0419454e05 [2022-01-17T06:09:55.563Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-17T06:09:56.506Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-17T06:09:56.766Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-17T06:09:56.766Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-17T06:09:57.027Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-17T06:09:57.027Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-17T06:09:57.027Z] Executing busybox-1.34.1-r3.trigger [2022-01-17T06:09:57.027Z] OK: 224 MiB in 56 packages [2022-01-17T06:09:57.601Z] Removing intermediate container 8d0419454e05 [2022-01-17T06:09:57.601Z] ---> 8617713509aa [2022-01-17T06:09:57.601Z] Step 8/11 : WORKDIR /device-snmp-go [2022-01-17T06:09:57.601Z] ---> Running in 5ad551df54d4 [2022-01-17T06:09:57.601Z] Removing intermediate container 5ad551df54d4 [2022-01-17T06:09:57.601Z] ---> 820bf3e3e88d [2022-01-17T06:09:57.601Z] Step 9/11 : COPY . . [2022-01-17T06:09:57.864Z] ---> 2d3f85a14f31 [2022-01-17T06:09:57.864Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T06:09:58.127Z] ---> Running in 5de56d10d5e5 [2022-01-17T06:09:58.128Z] Still waiting to schedule task [2022-01-17T06:09:58.128Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1658’ is offline [2022-01-17T06:10:30.323Z] Removing intermediate container 5de56d10d5e5 [2022-01-17T06:10:30.323Z] ---> fc5633e89575 [2022-01-17T06:10:30.323Z] Step 11/11 : RUN ${MAKE} [2022-01-17T06:10:30.323Z] ---> Running in c7e52e2d81d4 [2022-01-17T06:10:30.323Z] noop [2022-01-17T06:10:30.323Z] Removing intermediate container c7e52e2d81d4 [2022-01-17T06:10:30.323Z] ---> 0182471083e5 [2022-01-17T06:10:30.323Z] Successfully built 0182471083e5 [2022-01-17T06:10:30.323Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:30.627Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-17T06:10:30.627Z] . [Pipeline] withDockerContainer [2022-01-17T06:10:30.705Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:10:30.755Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-17T06:10:31.092Z] $ docker top fa620986f77f41a8eb5a4afce6ae59e5c935ee6ea198ea5523d5210f742b351c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-17T06:10:31.447Z] + go version [2022-01-17T06:10:31.447Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-17T06:10:31.460Z] $ docker stop --time=1 fa620986f77f41a8eb5a4afce6ae59e5c935ee6ea198ea5523d5210f742b351c [2022-01-17T06:10:32.642Z] $ docker rm -f fa620986f77f41a8eb5a4afce6ae59e5c935ee6ea198ea5523d5210f742b351c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:33.053Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-17T06:10:33.053Z] . [Pipeline] withDockerContainer [2022-01-17T06:10:33.113Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:10:33.150Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-17T06:10:33.479Z] $ docker top c36db8f806fac5239f9b3afb09b284b00e8d3237c7f8716a353f10a9687b3659 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-17T06:10:33.842Z] + make test [2022-01-17T06:10:33.842Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-17T06:10:34.103Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-01-17T06:10:49.188Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-01-17T06:10:49.188Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2022-01-17T06:10:49.188Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-17T06:10:52.518Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-17T06:10:52.518Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-17T06:10:52.518Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-17T06:10:52.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-17T06:10:52.803Z] $ docker stop --time=1 c36db8f806fac5239f9b3afb09b284b00e8d3237c7f8716a353f10a9687b3659 [2022-01-17T06:10:54.288Z] $ docker rm -f c36db8f806fac5239f9b3afb09b284b00e8d3237c7f8716a353f10a9687b3659 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T06:10:54.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-17T06:10:54.706Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-17T06:10:55.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-17T06:10:55.559Z] + ls -al . [2022-01-17T06:10:55.559Z] total 144 [2022-01-17T06:10:55.559Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 17 06:10 . [2022-01-17T06:10:55.559Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 17 06:09 .. [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 6926 Jan 17 06:09 Attribution.txt [2022-01-17T06:10:55.559Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 17 06:09 bin [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 4401 Jan 17 06:09 CHANGELOG.md [2022-01-17T06:10:55.559Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 17 06:09 cmd [2022-01-17T06:10:55.559Z] -rw-r--r--. 1 jenkins jenkins 7631 Jan 17 06:10 coverage.out [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 1493 Jan 17 06:09 Dockerfile [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 6 Jan 17 06:09 .dockerignore [2022-01-17T06:10:55.559Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 17 06:09 .git [2022-01-17T06:10:55.559Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 17 06:09 .github [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 262 Jan 17 06:09 .gitignore [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 214 Jan 17 06:09 go.mod [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 49501 Jan 17 06:09 go.sum [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 06:09 GOVERNANCE.md [2022-01-17T06:10:55.559Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 17 06:09 internal [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 656 Jan 17 06:09 Jenkinsfile [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 17 06:09 LICENSE [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jan 17 06:09 Makefile [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 17 06:09 OWNERS.md [2022-01-17T06:10:55.559Z] -rw-rw-r--. 1 jenkins jenkins 9073 Jan 17 06:09 README.md [2022-01-17T06:10:55.559Z] drwx------. 3 jenkins jenkins 74 Jan 17 06:09 .semver [2022-01-17T06:10:55.559Z] drwxrwxr-x. 3 jenkins jenkins 58 Jan 17 06:09 snap [2022-01-17T06:10:55.560Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 17 06:09 VERSION [2022-01-17T06:10:55.560Z] -rw-rw-r--. 1 jenkins jenkins 209 Jan 17 06:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:10:55.864Z] + 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=58834fc6b430fe9b88288769f7ae389ff6e0a5f7 --label arch=amd64 --label version=2.2.0-dev.4 . [2022-01-17T06:10:55.864Z] Sending build context to Docker daemon 5.17MB [2022-01-17T06:10:55.864Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T06:10:55.864Z] Step 2/23 : FROM ${BASE} AS builder [2022-01-17T06:10:55.864Z] ---> 0182471083e5 [2022-01-17T06:10:55.864Z] Step 3/23 : ARG MAKE='make build' [2022-01-17T06:10:55.864Z] ---> Running in 3d06f9ace0e4 [2022-01-17T06:10:56.125Z] Removing intermediate container 3d06f9ace0e4 [2022-01-17T06:10:56.125Z] ---> 2533001b3c29 [2022-01-17T06:10:56.125Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-17T06:10:56.125Z] ---> Running in 918396ce3c2b [2022-01-17T06:10:56.125Z] Removing intermediate container 918396ce3c2b [2022-01-17T06:10:56.125Z] ---> 3ee1dc41fb95 [2022-01-17T06:10:56.125Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-01-17T06:10:56.125Z] ---> Running in 2f9c3f28ee27 [2022-01-17T06:10:56.125Z] Removing intermediate container 2f9c3f28ee27 [2022-01-17T06:10:56.125Z] ---> 3432e4b3dbd2 [2022-01-17T06:10:56.125Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:10:56.125Z] ---> Running in 96588635b974 [2022-01-17T06:10:56.698Z] Removing intermediate container 96588635b974 [2022-01-17T06:10:56.698Z] ---> 885c3ca9612c [2022-01-17T06:10:56.698Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-17T06:10:56.698Z] ---> Running in 410ad868bd7b [2022-01-17T06:10:56.959Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-17T06:10:57.898Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-17T06:10:58.159Z] OK: 224 MiB in 56 packages [2022-01-17T06:10:58.159Z] Removing intermediate container 410ad868bd7b [2022-01-17T06:10:58.159Z] ---> ca06a066e7ff [2022-01-17T06:10:58.159Z] Step 8/23 : WORKDIR /device-snmp-go [2022-01-17T06:10:58.422Z] ---> Running in 0982e93eb062 [2022-01-17T06:10:58.422Z] Removing intermediate container 0982e93eb062 [2022-01-17T06:10:58.422Z] ---> d2f10831ed93 [2022-01-17T06:10:58.422Z] Step 9/23 : COPY . . [2022-01-17T06:10:58.684Z] ---> 9a026d777743 [2022-01-17T06:10:58.684Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T06:10:58.684Z] ---> Running in 3ac376878fbe [2022-01-17T06:10:59.254Z] Removing intermediate container 3ac376878fbe [2022-01-17T06:10:59.254Z] ---> bdcc1a2a72e5 [2022-01-17T06:10:59.254Z] Step 11/23 : RUN ${MAKE} [2022-01-17T06:10:59.254Z] ---> Running in 43931ca7cfb8 [2022-01-17T06:10:59.516Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.4" -o cmd/device-snmp ./cmd [2022-01-17T06:11:11.805Z] Removing intermediate container 43931ca7cfb8 [2022-01-17T06:11:11.805Z] ---> 1bc3d7c53533 [2022-01-17T06:11:11.805Z] Step 12/23 : FROM alpine:3.14 [2022-01-17T06:11:11.805Z] 3.14: Pulling from library/alpine [2022-01-17T06:11:12.073Z] 97518928ae5f: Pulling fs layer [2022-01-17T06:11:12.334Z] 97518928ae5f: Verifying Checksum [2022-01-17T06:11:12.334Z] 97518928ae5f: Download complete [2022-01-17T06:11:12.334Z] 97518928ae5f: Pull complete [2022-01-17T06:11:12.334Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-17T06:11:12.334Z] Status: Downloaded newer image for alpine:3.14 [2022-01-17T06:11:12.334Z] ---> 0a97eee8041e [2022-01-17T06:11:12.334Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-17T06:11:12.334Z] ---> Running in 103b0b7adb19 [2022-01-17T06:11:12.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-17T06:11:12.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-17T06:11:12.855Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-17T06:11:12.855Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-17T06:11:13.122Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-17T06:11:13.122Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-17T06:11:13.122Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-17T06:11:13.122Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-17T06:11:13.122Z] Executing busybox-1.33.1-r6.trigger [2022-01-17T06:11:13.122Z] OK: 8 MiB in 20 packages [2022-01-17T06:11:13.389Z] Removing intermediate container 103b0b7adb19 [2022-01-17T06:11:13.389Z] ---> 26240fa5201b [2022-01-17T06:11:13.389Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2022-01-17T06:11:13.648Z] ---> b210c798e660 [2022-01-17T06:11:13.648Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-01-17T06:11:13.911Z] ---> 0f71cdc19976 [2022-01-17T06:11:13.911Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2022-01-17T06:11:13.911Z] ---> 1862f093d2be [2022-01-17T06:11:13.911Z] Step 17/23 : EXPOSE 59993 [2022-01-17T06:11:13.911Z] ---> Running in 953cdc699671 [2022-01-17T06:11:14.173Z] Removing intermediate container 953cdc699671 [2022-01-17T06:11:14.173Z] ---> ff56b78fe13f [2022-01-17T06:11:14.173Z] Step 18/23 : EXPOSE 161 [2022-01-17T06:11:14.173Z] ---> Running in c27811adf6cd [2022-01-17T06:11:14.173Z] Removing intermediate container c27811adf6cd [2022-01-17T06:11:14.173Z] ---> cd5a13bc50b3 [2022-01-17T06:11:14.173Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2022-01-17T06:11:14.173Z] ---> Running in d7ea463c8f91 [2022-01-17T06:11:14.433Z] Removing intermediate container d7ea463c8f91 [2022-01-17T06:11:14.433Z] ---> 9c1f2f1e6492 [2022-01-17T06:11:14.433Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-17T06:11:14.433Z] ---> Running in 52665dda96f8 [2022-01-17T06:11:14.433Z] Removing intermediate container 52665dda96f8 [2022-01-17T06:11:14.433Z] ---> a94bd7f39808 [2022-01-17T06:11:14.433Z] Step 21/23 : LABEL arch=amd64 [2022-01-17T06:11:14.433Z] ---> Running in bbb719447c81 [2022-01-17T06:11:14.433Z] Removing intermediate container bbb719447c81 [2022-01-17T06:11:14.433Z] ---> 4c880c8547a3 [2022-01-17T06:11:14.433Z] Step 22/23 : LABEL git_sha=58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [2022-01-17T06:11:14.433Z] ---> Running in db6d78a5c646 [2022-01-17T06:11:14.694Z] Removing intermediate container db6d78a5c646 [2022-01-17T06:11:14.694Z] ---> f5d716bfbbc3 [2022-01-17T06:11:14.694Z] Step 23/23 : LABEL version=2.2.0-dev.4 [2022-01-17T06:11:14.694Z] ---> Running in 7b87c2ef63e9 [2022-01-17T06:11:14.694Z] Removing intermediate container 7b87c2ef63e9 [2022-01-17T06:11:14.694Z] ---> 708b0d74856f [2022-01-17T06:11:14.694Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-17T06:11:14.694Z] Successfully built 708b0d74856f [2022-01-17T06:11:14.694Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:11:14.771Z] provisioning config files... [2022-01-17T06:11:14.782Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4383334798055044763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:11:15.082Z] ---> docker-login.sh [2022-01-17T06:11:15.082Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:11:15.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:11:15.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:11:15.082Z] Configure a credential helper to remove this warning. See [2022-01-17T06:11:15.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:11:15.082Z] [2022-01-17T06:11:15.082Z] Login Succeeded [2022-01-17T06:11:15.082Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:11:15.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:11:15.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:11:15.082Z] Configure a credential helper to remove this warning. See [2022-01-17T06:11:15.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:11:15.082Z] [2022-01-17T06:11:15.082Z] Login Succeeded [2022-01-17T06:11:15.082Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:11:15.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:11:15.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:11:15.348Z] Configure a credential helper to remove this warning. See [2022-01-17T06:11:15.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:11:15.348Z] [2022-01-17T06:11:15.349Z] Login Succeeded [2022-01-17T06:11:15.349Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:11:15.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:11:15.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:11:15.349Z] Configure a credential helper to remove this warning. See [2022-01-17T06:11:15.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:11:15.349Z] [2022-01-17T06:11:15.349Z] Login Succeeded [2022-01-17T06:11:15.349Z] docker.io [2022-01-17T06:11:15.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:11:15.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:11:15.871Z] Configure a credential helper to remove this warning. See [2022-01-17T06:11:15.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:11:15.872Z] [2022-01-17T06:11:15.872Z] Login Succeeded [2022-01-17T06:11:15.872Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:11:15.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T06:11:15.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T06:11:15.930Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-01-17T06:11:15.930Z] 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [2022-01-17T06:11:15.930Z] latest [2022-01-17T06:11:15.930Z] 2.2.0-dev.4 [2022-01-17T06:11:15.930Z] 58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [2022-01-17T06:11:15.930Z] main [2022-01-17T06:11:15.930Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:16.253Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:16.552Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [2022-01-17T06:11:16.552Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-01-17T06:11:16.552Z] cb782f218e5a: Preparing [2022-01-17T06:11:16.552Z] aa4d7034b6d6: Preparing [2022-01-17T06:11:16.552Z] 281fca98534c: Preparing [2022-01-17T06:11:16.552Z] efe77230a2f8: Preparing [2022-01-17T06:11:16.552Z] 1a058d5342cc: Preparing [2022-01-17T06:11:16.553Z] 1a058d5342cc: Layer already exists [2022-01-17T06:11:16.812Z] cb782f218e5a: Pushed [2022-01-17T06:11:16.812Z] aa4d7034b6d6: Pushed [2022-01-17T06:11:16.812Z] efe77230a2f8: Pushed [2022-01-17T06:11:17.754Z] 281fca98534c: Pushed [2022-01-17T06:11:17.754Z] 58834fc6b430fe9b88288769f7ae389ff6e0a5f7: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:18.052Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:18.350Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-01-17T06:11:18.350Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-01-17T06:11:18.350Z] cb782f218e5a: Preparing [2022-01-17T06:11:18.350Z] aa4d7034b6d6: Preparing [2022-01-17T06:11:18.350Z] 281fca98534c: Preparing [2022-01-17T06:11:18.350Z] efe77230a2f8: Preparing [2022-01-17T06:11:18.350Z] 1a058d5342cc: Preparing [2022-01-17T06:11:18.350Z] cb782f218e5a: Layer already exists [2022-01-17T06:11:18.350Z] 1a058d5342cc: Layer already exists [2022-01-17T06:11:18.350Z] aa4d7034b6d6: Layer already exists [2022-01-17T06:11:18.350Z] efe77230a2f8: Layer already exists [2022-01-17T06:11:18.350Z] 281fca98534c: Layer already exists [2022-01-17T06:11:18.350Z] latest: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:18.659Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:18.953Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.4 [2022-01-17T06:11:18.953Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-01-17T06:11:18.953Z] cb782f218e5a: Preparing [2022-01-17T06:11:18.953Z] aa4d7034b6d6: Preparing [2022-01-17T06:11:18.953Z] 281fca98534c: Preparing [2022-01-17T06:11:18.953Z] efe77230a2f8: Preparing [2022-01-17T06:11:18.953Z] 1a058d5342cc: Preparing [2022-01-17T06:11:18.953Z] efe77230a2f8: Layer already exists [2022-01-17T06:11:18.953Z] 281fca98534c: Layer already exists [2022-01-17T06:11:18.953Z] cb782f218e5a: Layer already exists [2022-01-17T06:11:18.953Z] aa4d7034b6d6: Layer already exists [2022-01-17T06:11:18.953Z] 1a058d5342cc: Layer already exists [2022-01-17T06:11:18.953Z] 2.2.0-dev.4: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:19.258Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:19.553Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [2022-01-17T06:11:19.554Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-01-17T06:11:19.554Z] cb782f218e5a: Preparing [2022-01-17T06:11:19.554Z] aa4d7034b6d6: Preparing [2022-01-17T06:11:19.554Z] 281fca98534c: Preparing [2022-01-17T06:11:19.554Z] efe77230a2f8: Preparing [2022-01-17T06:11:19.554Z] 1a058d5342cc: Preparing [2022-01-17T06:11:19.554Z] 1a058d5342cc: Layer already exists [2022-01-17T06:11:19.554Z] 281fca98534c: Layer already exists [2022-01-17T06:11:19.554Z] efe77230a2f8: Layer already exists [2022-01-17T06:11:19.554Z] aa4d7034b6d6: Layer already exists [2022-01-17T06:11:19.554Z] cb782f218e5a: Layer already exists [2022-01-17T06:11:19.554Z] 58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:19.855Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:20.149Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-01-17T06:11:20.149Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-01-17T06:11:20.149Z] cb782f218e5a: Preparing [2022-01-17T06:11:20.149Z] aa4d7034b6d6: Preparing [2022-01-17T06:11:20.149Z] 281fca98534c: Preparing [2022-01-17T06:11:20.149Z] efe77230a2f8: Preparing [2022-01-17T06:11:20.149Z] 1a058d5342cc: Preparing [2022-01-17T06:11:20.149Z] 1a058d5342cc: Layer already exists [2022-01-17T06:11:20.149Z] 281fca98534c: Layer already exists [2022-01-17T06:11:20.149Z] aa4d7034b6d6: Layer already exists [2022-01-17T06:11:20.149Z] efe77230a2f8: Layer already exists [2022-01-17T06:11:20.149Z] cb782f218e5a: Layer already exists [2022-01-17T06:11:20.149Z] main: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T06:11:20.186Z] ===================================================== [Pipeline] echo [2022-01-17T06:11:20.194Z] taggedImages: [2022-01-17T06:11:20.194Z] - nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [2022-01-17T06:11:20.194Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-01-17T06:11:20.194Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.4 [2022-01-17T06:11:20.194Z] - nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [2022-01-17T06:11:20.194Z] - 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-01-17T06:11:20.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T06:11:20.550Z] [2022-01-17T06:11:20.550Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:11:20.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T06:11:20.852Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-17T06:11:20.852Z] b4d181a07f80: Pulling fs layer [2022-01-17T06:11:20.852Z] a1111a8f2ec3: Pulling fs layer [2022-01-17T06:11:20.852Z] ed53099fbce6: Pulling fs layer [2022-01-17T06:11:20.852Z] dc539afda2c1: Pulling fs layer [2022-01-17T06:11:20.852Z] 77bc0d833cb6: Pulling fs layer [2022-01-17T06:11:20.852Z] 9065ff56babe: Pulling fs layer [2022-01-17T06:11:20.852Z] d287ab97295c: Pulling fs layer [2022-01-17T06:11:20.852Z] dc539afda2c1: Waiting [2022-01-17T06:11:20.852Z] 77bc0d833cb6: Waiting [2022-01-17T06:11:20.852Z] 9065ff56babe: Waiting [2022-01-17T06:11:20.852Z] d287ab97295c: Waiting [2022-01-17T06:11:20.852Z] a1111a8f2ec3: Verifying Checksum [2022-01-17T06:11:20.852Z] a1111a8f2ec3: Download complete [2022-01-17T06:11:20.852Z] dc539afda2c1: Verifying Checksum [2022-01-17T06:11:20.852Z] dc539afda2c1: Download complete [2022-01-17T06:11:20.852Z] ed53099fbce6: Verifying Checksum [2022-01-17T06:11:20.852Z] ed53099fbce6: Download complete [2022-01-17T06:11:21.115Z] 9065ff56babe: Verifying Checksum [2022-01-17T06:11:21.115Z] 9065ff56babe: Download complete [2022-01-17T06:11:21.115Z] 77bc0d833cb6: Verifying Checksum [2022-01-17T06:11:21.115Z] 77bc0d833cb6: Download complete [2022-01-17T06:11:21.115Z] b4d181a07f80: Verifying Checksum [2022-01-17T06:11:21.115Z] b4d181a07f80: Download complete [2022-01-17T06:11:21.697Z] d287ab97295c: Verifying Checksum [2022-01-17T06:11:21.697Z] d287ab97295c: Download complete [2022-01-17T06:11:22.660Z] b4d181a07f80: Pull complete [2022-01-17T06:11:22.660Z] a1111a8f2ec3: Pull complete [2022-01-17T06:11:23.232Z] ed53099fbce6: Pull complete [2022-01-17T06:11:23.233Z] dc539afda2c1: Pull complete [2022-01-17T06:11:23.495Z] 77bc0d833cb6: Pull complete [2022-01-17T06:11:23.764Z] 9065ff56babe: Pull complete [2022-01-17T06:11:29.074Z] d287ab97295c: Pull complete [2022-01-17T06:11:29.074Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-17T06:11:29.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T06:11:29.074Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-17T06:11:29.144Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:11:29.192Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-17T06:11:31.404Z] $ docker top 4fff1738b150fa3f960a0a00a4ddb04e50979067cae8b8387d1b3acc64e5c46e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:11:32.023Z] ---> job-cost.sh [2022-01-17T06:11:32.023Z] lf-activate-venv: SKIPPING [2022-01-17T06:11:32.023Z] INFO: No Stack... [2022-01-17T06:11:32.282Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-17T06:11:32.542Z] INFO: Archiving Costs [Pipeline] sh [2022-01-17T06:11:32.849Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-01-17T06:11:32.849Z] + cut -d, -f6 [Pipeline] lock [2022-01-17T06:11:32.868Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [2022-01-17T06:11:32.874Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] did not exist. Created. [2022-01-17T06:11:32.874Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-17T06:11:33.183Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-17T06:11:33.220Z] Stashed 1 file(s) [Pipeline] } [2022-01-17T06:11:33.227Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-17T06:11:33.249Z] $ docker stop --time=1 4fff1738b150fa3f960a0a00a4ddb04e50979067cae8b8387d1b3acc64e5c46e [2022-01-17T06:11:34.384Z] $ docker rm -f 4fff1738b150fa3f960a0a00a4ddb04e50979067cae8b8387d1b3acc64e5c46e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-17T06:12:15.018Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1660 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-01-17T06:12:15.031Z] Running in /w/workspace/device-snmp-go/13 [Pipeline] { [Pipeline] checkout [2022-01-17T06:12:15.216Z] Selected Git installation does not exist. Using Default [2022-01-17T06:12:15.216Z] The recommended git tool is: NONE [2022-01-17T06:12:19.794Z] using credential edgex-jenkins-ssh [2022-01-17T06:12:19.814Z] Cloning the remote Git repository [2022-01-17T06:12:19.868Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-01-17T06:12:19.947Z] > git init /w/workspace/device-snmp-go/13 # timeout=10 [2022-01-17T06:12:20.030Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-01-17T06:12:20.031Z] > git --version # timeout=10 [2022-01-17T06:12:20.048Z] > git --version # 'git version 2.17.1' [2022-01-17T06:12:20.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-17T06:12:21.285Z] Avoid second fetch [2022-01-17T06:12:21.285Z] Checking out Revision 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 (main) [2022-01-17T06:12:20.110Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-17T06:12:21.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-01-17T06:12:21.256Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-17T06:12:21.302Z] > git config core.sparsecheckout # timeout=10 [2022-01-17T06:12:21.314Z] > git checkout -f 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 # timeout=10 [2022-01-17T06:12:25.452Z] Commit message: "Merge pull request #133 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-17T06:12:26.397Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-17T06:12:26.397Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-17T06:12:26.397Z] Dload Upload Total Spent Left Speed [2022-01-17T06:12:26.397Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2022-01-17T06:12:26.894Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-17T06:12:27.231Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-17T06:12:27.232Z] + sudo tee /etc/docker/daemon.new [2022-01-17T06:12:27.232Z] { [2022-01-17T06:12:27.232Z] "registry-mirrors": [ [2022-01-17T06:12:27.232Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-17T06:12:27.232Z] ], [2022-01-17T06:12:27.232Z] "bip": "10.250.0.254/24", [2022-01-17T06:12:27.232Z] "hosts": [ [2022-01-17T06:12:27.232Z] "tcp://0.0.0.0:5555", [2022-01-17T06:12:27.232Z] "unix:///var/run/docker.sock" [2022-01-17T06:12:27.232Z] ], [2022-01-17T06:12:27.232Z] "mtu": 1458, [2022-01-17T06:12:27.232Z] "selinux-enabled": true, [2022-01-17T06:12:27.232Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-17T06:12:27.232Z] } [Pipeline] sh [2022-01-17T06:12:27.573Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-17T06:12:27.910Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:12:46.253Z] provisioning config files... [2022-01-17T06:12:46.278Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/13@tmp/config8249079327558550352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:12:46.639Z] ---> docker-login.sh [2022-01-17T06:12:46.639Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:12:47.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:12:47.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:12:47.507Z] Configure a credential helper to remove this warning. See [2022-01-17T06:12:47.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:12:47.507Z] [2022-01-17T06:12:47.507Z] Login Succeeded [2022-01-17T06:12:47.507Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:12:47.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:12:48.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:12:48.051Z] Configure a credential helper to remove this warning. See [2022-01-17T06:12:48.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:12:48.051Z] [2022-01-17T06:12:48.051Z] Login Succeeded [2022-01-17T06:12:48.051Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:12:48.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:12:48.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:12:48.325Z] Configure a credential helper to remove this warning. See [2022-01-17T06:12:48.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:12:48.325Z] [2022-01-17T06:12:48.325Z] Login Succeeded [2022-01-17T06:12:48.325Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:12:48.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:12:48.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:12:48.936Z] Configure a credential helper to remove this warning. See [2022-01-17T06:12:48.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:12:48.936Z] [2022-01-17T06:12:48.936Z] Login Succeeded [2022-01-17T06:12:48.936Z] docker.io [2022-01-17T06:12:49.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:12:49.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:12:49.804Z] Configure a credential helper to remove this warning. See [2022-01-17T06:12:49.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:12:49.804Z] [2022-01-17T06:12:49.804Z] Login Succeeded [2022-01-17T06:12:49.804Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:12:49.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-17T06:12:50.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T06:12:50.283Z] ========================================================= [2022-01-17T06:12:50.284Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-17T06:12:50.284Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:12:50.646Z] + 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-01-17T06:12:50.918Z] Sending build context to Docker daemon 2.685MB [2022-01-17T06:12:50.918Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T06:12:50.918Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-17T06:12:51.194Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-17T06:12:51.194Z] 9b3977197b4f: Pulling fs layer [2022-01-17T06:12:51.194Z] 1a89e8eeedd5: Pulling fs layer [2022-01-17T06:12:51.194Z] 94645a83ff95: Pulling fs layer [2022-01-17T06:12:51.194Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-17T06:12:51.194Z] 0c92f367c5e7: Pulling fs layer [2022-01-17T06:12:51.194Z] 3f3a8bcf1eab: Waiting [2022-01-17T06:12:51.194Z] 4b8299f9d1f4: Pulling fs layer [2022-01-17T06:12:51.194Z] 9a6b49a46696: Pulling fs layer [2022-01-17T06:12:51.194Z] 0c92f367c5e7: Waiting [2022-01-17T06:12:51.194Z] cf05db05a679: Pulling fs layer [2022-01-17T06:12:51.194Z] 4b8299f9d1f4: Waiting [2022-01-17T06:12:51.194Z] 9a6b49a46696: Waiting [2022-01-17T06:12:51.194Z] cf05db05a679: Waiting [2022-01-17T06:12:51.194Z] 94645a83ff95: Download complete [2022-01-17T06:12:51.194Z] 1a89e8eeedd5: Download complete [2022-01-17T06:12:51.194Z] 0c92f367c5e7: Verifying Checksum [2022-01-17T06:12:51.194Z] 0c92f367c5e7: Download complete [2022-01-17T06:12:51.194Z] 4b8299f9d1f4: Verifying Checksum [2022-01-17T06:12:51.194Z] 4b8299f9d1f4: Download complete [2022-01-17T06:12:51.194Z] 9b3977197b4f: Verifying Checksum [2022-01-17T06:12:51.194Z] 9b3977197b4f: Download complete [2022-01-17T06:12:51.194Z] 9a6b49a46696: Verifying Checksum [2022-01-17T06:12:51.194Z] 9a6b49a46696: Download complete [2022-01-17T06:12:52.189Z] 9b3977197b4f: Pull complete [2022-01-17T06:12:52.787Z] 1a89e8eeedd5: Pull complete [2022-01-17T06:12:53.064Z] 94645a83ff95: Pull complete [2022-01-17T06:12:53.339Z] cf05db05a679: Download complete [2022-01-17T06:12:53.935Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-17T06:12:53.935Z] 3f3a8bcf1eab: Download complete [2022-01-17T06:13:06.356Z] 3f3a8bcf1eab: Pull complete [2022-01-17T06:13:06.356Z] 0c92f367c5e7: Pull complete [2022-01-17T06:13:06.356Z] 4b8299f9d1f4: Pull complete [2022-01-17T06:13:06.356Z] 9a6b49a46696: Pull complete [2022-01-17T06:13:11.764Z] cf05db05a679: Pull complete [2022-01-17T06:13:11.764Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-17T06:13:11.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-17T06:13:11.764Z] ---> 0ccda1f7e2ee [2022-01-17T06:13:11.764Z] Step 3/11 : ARG MAKE='make build' [2022-01-17T06:13:13.741Z] ---> Running in 0620f625c21a [2022-01-17T06:13:13.741Z] Removing intermediate container 0620f625c21a [2022-01-17T06:13:13.741Z] ---> cc72830c427a [2022-01-17T06:13:13.741Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-17T06:13:14.014Z] ---> Running in 20245c3f999d [2022-01-17T06:13:14.288Z] Removing intermediate container 20245c3f999d [2022-01-17T06:13:14.288Z] ---> 9c53228eb404 [2022-01-17T06:13:14.288Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-01-17T06:13:14.560Z] ---> Running in 2ef384a59ced [2022-01-17T06:13:14.833Z] Removing intermediate container 2ef384a59ced [2022-01-17T06:13:14.833Z] ---> 28c0a5521201 [2022-01-17T06:13:14.833Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:13:15.118Z] ---> Running in c946882c93b9 [2022-01-17T06:13:17.098Z] Removing intermediate container c946882c93b9 [2022-01-17T06:13:17.098Z] ---> fb5258837ddc [2022-01-17T06:13:17.098Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-17T06:13:17.098Z] ---> Running in ecbffd48f4e5 [2022-01-17T06:13:18.077Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-17T06:13:19.052Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-17T06:13:20.028Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-17T06:13:20.028Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-17T06:13:20.028Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-17T06:13:20.303Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-17T06:13:20.303Z] Executing busybox-1.34.1-r3.trigger [2022-01-17T06:13:20.303Z] OK: 224 MiB in 56 packages [2022-01-17T06:13:21.736Z] Removing intermediate container ecbffd48f4e5 [2022-01-17T06:13:21.736Z] ---> ef37d43d488e [2022-01-17T06:13:21.736Z] Step 8/11 : WORKDIR /device-snmp-go [2022-01-17T06:13:21.736Z] ---> Running in 49d6372d5766 [2022-01-17T06:13:22.009Z] Removing intermediate container 49d6372d5766 [2022-01-17T06:13:22.009Z] ---> 50db567b0fd0 [2022-01-17T06:13:22.009Z] Step 9/11 : COPY . . [2022-01-17T06:13:22.987Z] ---> e3527d17d095 [2022-01-17T06:13:22.987Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T06:13:22.987Z] ---> Running in 18aa8d67cc99 [2022-01-17T06:14:44.774Z] Removing intermediate container 18aa8d67cc99 [2022-01-17T06:14:44.774Z] ---> 8f1a959c2687 [2022-01-17T06:14:44.774Z] Step 11/11 : RUN ${MAKE} [2022-01-17T06:14:44.774Z] ---> Running in 4130e706ba06 [2022-01-17T06:14:44.774Z] noop [2022-01-17T06:14:44.774Z] Removing intermediate container 4130e706ba06 [2022-01-17T06:14:44.774Z] ---> 8d00301ac3e5 [2022-01-17T06:14:44.774Z] Successfully built 8d00301ac3e5 [2022-01-17T06:14:44.774Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:14:45.120Z] + docker inspect -f . ci-base-image-arm64 [2022-01-17T06:14:45.120Z] . [Pipeline] withDockerContainer [2022-01-17T06:14:45.346Z] prd-ubuntu18.04-docker-arm64-4c-16g-1660 does not seem to be running inside a container [2022-01-17T06:14:45.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/13 -v /w/workspace/device-snmp-go/13:/w/workspace/device-snmp-go/13:rw,z -v /w/workspace/device-snmp-go/13@tmp:/w/workspace/device-snmp-go/13@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-01-17T06:14:46.671Z] $ docker top 72c1547df1c2dd3e73e931b7e6da9bf647cc5d15032cb94d92cdbe04b192b389 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-17T06:14:47.548Z] + go version [2022-01-17T06:14:47.548Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-17T06:14:47.569Z] $ docker stop --time=1 72c1547df1c2dd3e73e931b7e6da9bf647cc5d15032cb94d92cdbe04b192b389 [2022-01-17T06:14:49.169Z] $ docker rm -f 72c1547df1c2dd3e73e931b7e6da9bf647cc5d15032cb94d92cdbe04b192b389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:14:49.772Z] + docker inspect -f . ci-base-image-arm64 [2022-01-17T06:14:49.772Z] . [Pipeline] withDockerContainer [2022-01-17T06:14:49.971Z] prd-ubuntu18.04-docker-arm64-4c-16g-1660 does not seem to be running inside a container [2022-01-17T06:14:50.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/13 -v /w/workspace/device-snmp-go/13:/w/workspace/device-snmp-go/13:rw,z -v /w/workspace/device-snmp-go/13@tmp:/w/workspace/device-snmp-go/13@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-01-17T06:14:51.340Z] $ docker top 41f02e2cc5bfbb92851c4c4420a2a131eb16c9cbd89fc763209392ee5685cd85 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-17T06:14:52.228Z] + make test [2022-01-17T06:14:52.228Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-17T06:14:53.214Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-01-17T06:15:40.234Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-01-17T06:15:40.234Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements [2022-01-17T06:15:40.234Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-17T06:15:58.539Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-17T06:15:58.539Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-17T06:15:58.539Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-17T06:15:58.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-17T06:15:58.842Z] $ docker stop --time=1 41f02e2cc5bfbb92851c4c4420a2a131eb16c9cbd89fc763209392ee5685cd85 [2022-01-17T06:16:00.593Z] $ docker rm -f 41f02e2cc5bfbb92851c4c4420a2a131eb16c9cbd89fc763209392ee5685cd85 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T06:16:01.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-17T06:16:01.401Z] Warning: overwriting stash ‘coverage-report’ [2022-01-17T06:16:01.820Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-17T06:16:02.209Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-17T06:16:02.583Z] + ls -al . [2022-01-17T06:16:02.583Z] total 172 [2022-01-17T06:16:02.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 06:15 . [2022-01-17T06:16:02.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 06:12 .. [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 17 06:12 .dockerignore [2022-01-17T06:16:02.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 06:12 .git [2022-01-17T06:16:02.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:12 .github [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 262 Jan 17 06:12 .gitignore [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 6926 Jan 17 06:12 Attribution.txt [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 4401 Jan 17 06:12 CHANGELOG.md [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 1493 Jan 17 06:12 Dockerfile [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 06:12 GOVERNANCE.md [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 17 06:12 Jenkinsfile [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 06:12 LICENSE [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jan 17 06:12 Makefile [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 06:12 OWNERS.md [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 9073 Jan 17 06:12 README.md [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 06:09 VERSION [2022-01-17T06:16:02.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:12 bin [2022-01-17T06:16:02.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:12 cmd [2022-01-17T06:16:02.583Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 17 06:15 coverage.out [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 214 Jan 17 06:12 go.mod [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 49501 Jan 17 06:12 go.sum [2022-01-17T06:16:02.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:12 internal [2022-01-17T06:16:02.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:12 snap [2022-01-17T06:16:02.583Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 17 06:12 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:16:02.942Z] + 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=58834fc6b430fe9b88288769f7ae389ff6e0a5f7 --label arch=arm64 --label version=2.2.0-dev.4 . [2022-01-17T06:16:03.232Z] Sending build context to Docker daemon 2.693MB [2022-01-17T06:16:03.232Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T06:16:03.232Z] Step 2/23 : FROM ${BASE} AS builder [2022-01-17T06:16:03.232Z] ---> 8d00301ac3e5 [2022-01-17T06:16:03.232Z] Step 3/23 : ARG MAKE='make build' [2022-01-17T06:16:03.523Z] ---> Running in cd3b4f416d9b [2022-01-17T06:16:03.808Z] Removing intermediate container cd3b4f416d9b [2022-01-17T06:16:03.808Z] ---> cad478401a6a [2022-01-17T06:16:03.808Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-17T06:16:03.808Z] ---> Running in 00604c85aa37 [2022-01-17T06:16:04.450Z] Removing intermediate container 00604c85aa37 [2022-01-17T06:16:04.450Z] ---> f2a3a8dfc5a5 [2022-01-17T06:16:04.450Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-01-17T06:16:04.450Z] ---> Running in c4cd1d77833d [2022-01-17T06:16:04.736Z] Removing intermediate container c4cd1d77833d [2022-01-17T06:16:04.736Z] ---> 783a9d1c0c1f [2022-01-17T06:16:04.736Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T06:16:05.011Z] ---> Running in c3756b292daf [2022-01-17T06:16:06.441Z] Removing intermediate container c3756b292daf [2022-01-17T06:16:06.441Z] ---> dbeec0c9aeb9 [2022-01-17T06:16:06.441Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-17T06:16:06.727Z] ---> Running in 71b87bbb2ff9 [2022-01-17T06:16:07.710Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-17T06:16:08.684Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-17T06:16:09.277Z] OK: 224 MiB in 56 packages [2022-01-17T06:16:10.249Z] Removing intermediate container 71b87bbb2ff9 [2022-01-17T06:16:10.249Z] ---> aafa14be3510 [2022-01-17T06:16:10.249Z] Step 8/23 : WORKDIR /device-snmp-go [2022-01-17T06:16:10.249Z] ---> Running in 351bf1446e5f [2022-01-17T06:16:10.521Z] Removing intermediate container 351bf1446e5f [2022-01-17T06:16:10.521Z] ---> 781429555280 [2022-01-17T06:16:10.521Z] Step 9/23 : COPY . . [2022-01-17T06:16:11.496Z] ---> 35ba9577808a [2022-01-17T06:16:11.496Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T06:16:11.496Z] ---> Running in 0b1c6326217e [2022-01-17T06:16:13.472Z] Removing intermediate container 0b1c6326217e [2022-01-17T06:16:13.472Z] ---> 142fe0d89d23 [2022-01-17T06:16:13.472Z] Step 11/23 : RUN ${MAKE} [2022-01-17T06:16:13.472Z] ---> Running in 4b7278bad860 [2022-01-17T06:16:14.448Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.4" -o cmd/device-snmp ./cmd [2022-01-17T06:16:53.430Z] Removing intermediate container 4b7278bad860 [2022-01-17T06:16:53.430Z] ---> e415241808a4 [2022-01-17T06:16:53.430Z] Step 12/23 : FROM alpine:3.14 [2022-01-17T06:16:53.430Z] 3.14: Pulling from library/alpine [2022-01-17T06:16:53.430Z] be307f383ecc: Pulling fs layer [2022-01-17T06:16:53.430Z] be307f383ecc: Verifying Checksum [2022-01-17T06:16:53.430Z] be307f383ecc: Download complete [2022-01-17T06:16:53.702Z] be307f383ecc: Pull complete [2022-01-17T06:16:53.702Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-17T06:16:53.702Z] Status: Downloaded newer image for alpine:3.14 [2022-01-17T06:16:53.702Z] ---> 5b8b7b635229 [2022-01-17T06:16:53.702Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-17T06:16:53.977Z] ---> Running in f47014d678bf [2022-01-17T06:16:54.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-17T06:16:55.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-17T06:16:55.818Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-17T06:16:55.818Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-17T06:16:55.818Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-17T06:16:55.818Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-17T06:16:55.818Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-17T06:16:55.818Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-17T06:16:55.818Z] Executing busybox-1.33.1-r6.trigger [2022-01-17T06:16:55.818Z] OK: 8 MiB in 20 packages [2022-01-17T06:16:56.795Z] Removing intermediate container f47014d678bf [2022-01-17T06:16:56.795Z] ---> d62e52420e48 [2022-01-17T06:16:56.795Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2022-01-17T06:16:57.768Z] ---> 6b682a93e3df [2022-01-17T06:16:57.768Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-01-17T06:16:58.361Z] ---> 4857c8ee27ef [2022-01-17T06:16:58.361Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2022-01-17T06:16:58.955Z] ---> 53152486a02a [2022-01-17T06:16:58.955Z] Step 17/23 : EXPOSE 59993 [2022-01-17T06:16:58.955Z] ---> Running in c9793c3514ae [2022-01-17T06:16:59.548Z] Removing intermediate container c9793c3514ae [2022-01-17T06:16:59.548Z] ---> 9dc4477647cb [2022-01-17T06:16:59.548Z] Step 18/23 : EXPOSE 161 [2022-01-17T06:16:59.548Z] ---> Running in cc8ef076b256 [2022-01-17T06:16:59.826Z] Removing intermediate container cc8ef076b256 [2022-01-17T06:16:59.826Z] ---> 33922a429cc4 [2022-01-17T06:16:59.826Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2022-01-17T06:16:59.826Z] ---> Running in f49b69f028f6 [2022-01-17T06:17:00.420Z] Removing intermediate container f49b69f028f6 [2022-01-17T06:17:00.420Z] ---> 9c438d43c713 [2022-01-17T06:17:00.420Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-01-17T06:17:00.420Z] ---> Running in 5d371c128f9e [2022-01-17T06:17:00.691Z] Removing intermediate container 5d371c128f9e [2022-01-17T06:17:00.691Z] ---> 4cf80734439c [2022-01-17T06:17:00.691Z] Step 21/23 : LABEL arch=arm64 [2022-01-17T06:17:00.691Z] ---> Running in 3895c75c0911 [2022-01-17T06:17:01.283Z] Removing intermediate container 3895c75c0911 [2022-01-17T06:17:01.283Z] ---> 96104f27078d [2022-01-17T06:17:01.283Z] Step 22/23 : LABEL git_sha=58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [2022-01-17T06:17:01.283Z] ---> Running in 7b8f405f617d [2022-01-17T06:17:01.554Z] Removing intermediate container 7b8f405f617d [2022-01-17T06:17:01.554Z] ---> f2e416e9dfef [2022-01-17T06:17:01.554Z] Step 23/23 : LABEL version=2.2.0-dev.4 [2022-01-17T06:17:01.554Z] ---> Running in c009877c2e0a [2022-01-17T06:17:01.828Z] Removing intermediate container c009877c2e0a [2022-01-17T06:17:01.828Z] ---> 36717e8fd575 [2022-01-17T06:17:01.828Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-17T06:17:02.100Z] Successfully built 36717e8fd575 [2022-01-17T06:17:02.100Z] 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-01-17T06:17:02.206Z] provisioning config files... [2022-01-17T06:17:02.224Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/13@tmp/config1930575590586642711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:17:02.572Z] ---> docker-login.sh [2022-01-17T06:17:02.572Z] nexus3.edgexfoundry.org:10001 [2022-01-17T06:17:02.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:17:02.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:17:02.845Z] Configure a credential helper to remove this warning. See [2022-01-17T06:17:02.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:17:02.845Z] [2022-01-17T06:17:02.845Z] Login Succeeded [2022-01-17T06:17:02.845Z] nexus3.edgexfoundry.org:10002 [2022-01-17T06:17:03.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:17:03.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:17:03.392Z] Configure a credential helper to remove this warning. See [2022-01-17T06:17:03.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:17:03.392Z] [2022-01-17T06:17:03.392Z] Login Succeeded [2022-01-17T06:17:03.392Z] nexus3.edgexfoundry.org:10003 [2022-01-17T06:17:03.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:17:03.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:17:03.664Z] Configure a credential helper to remove this warning. See [2022-01-17T06:17:03.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:17:03.664Z] [2022-01-17T06:17:03.664Z] Login Succeeded [2022-01-17T06:17:03.664Z] nexus3.edgexfoundry.org:10004 [2022-01-17T06:17:04.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:17:04.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:17:04.255Z] Configure a credential helper to remove this warning. See [2022-01-17T06:17:04.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:17:04.255Z] [2022-01-17T06:17:04.255Z] Login Succeeded [2022-01-17T06:17:04.255Z] docker.io [2022-01-17T06:17:04.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T06:17:05.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T06:17:05.115Z] Configure a credential helper to remove this warning. See [2022-01-17T06:17:05.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T06:17:05.115Z] [2022-01-17T06:17:05.115Z] Login Succeeded [2022-01-17T06:17:05.115Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T06:17:05.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T06:17:05.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T06:17:05.187Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-01-17T06:17:05.187Z] 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [2022-01-17T06:17:05.187Z] latest [2022-01-17T06:17:05.187Z] 2.2.0-dev.4 [2022-01-17T06:17:05.187Z] 58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [2022-01-17T06:17:05.187Z] main [2022-01-17T06:17:05.187Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:05.520Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:05.854Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [2022-01-17T06:17:05.854Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-01-17T06:17:05.854Z] a6dd50fab7c9: Preparing [2022-01-17T06:17:05.854Z] 48ec82025e32: Preparing [2022-01-17T06:17:05.854Z] 32f22821aadb: Preparing [2022-01-17T06:17:05.854Z] 607cb0e5e41a: Preparing [2022-01-17T06:17:05.854Z] 62170e181a92: Preparing [2022-01-17T06:17:05.854Z] 62170e181a92: Layer already exists [2022-01-17T06:17:06.447Z] 48ec82025e32: Pushed [2022-01-17T06:17:06.447Z] a6dd50fab7c9: Pushed [2022-01-17T06:17:06.718Z] 607cb0e5e41a: Pushed [2022-01-17T06:17:09.323Z] 32f22821aadb: Pushed [2022-01-17T06:17:09.323Z] 58834fc6b430fe9b88288769f7ae389ff6e0a5f7: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:09.664Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:09.997Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-01-17T06:17:09.998Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-01-17T06:17:09.998Z] a6dd50fab7c9: Preparing [2022-01-17T06:17:09.998Z] 48ec82025e32: Preparing [2022-01-17T06:17:09.998Z] 32f22821aadb: Preparing [2022-01-17T06:17:09.998Z] 607cb0e5e41a: Preparing [2022-01-17T06:17:09.998Z] 62170e181a92: Preparing [2022-01-17T06:17:09.998Z] 62170e181a92: Layer already exists [2022-01-17T06:17:09.998Z] 32f22821aadb: Layer already exists [2022-01-17T06:17:09.998Z] 607cb0e5e41a: Layer already exists [2022-01-17T06:17:09.998Z] a6dd50fab7c9: Layer already exists [2022-01-17T06:17:09.998Z] 48ec82025e32: Layer already exists [2022-01-17T06:17:10.266Z] latest: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:10.604Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:10.938Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.4 [2022-01-17T06:17:10.939Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-01-17T06:17:10.939Z] a6dd50fab7c9: Preparing [2022-01-17T06:17:10.939Z] 48ec82025e32: Preparing [2022-01-17T06:17:10.939Z] 32f22821aadb: Preparing [2022-01-17T06:17:10.939Z] 607cb0e5e41a: Preparing [2022-01-17T06:17:10.939Z] 62170e181a92: Preparing [2022-01-17T06:17:10.939Z] 607cb0e5e41a: Layer already exists [2022-01-17T06:17:10.939Z] 32f22821aadb: Layer already exists [2022-01-17T06:17:10.939Z] 62170e181a92: Layer already exists [2022-01-17T06:17:10.939Z] a6dd50fab7c9: Layer already exists [2022-01-17T06:17:10.939Z] 48ec82025e32: Layer already exists [2022-01-17T06:17:10.939Z] 2.2.0-dev.4: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:11.279Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:11.613Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [2022-01-17T06:17:11.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-01-17T06:17:11.613Z] a6dd50fab7c9: Preparing [2022-01-17T06:17:11.613Z] 48ec82025e32: Preparing [2022-01-17T06:17:11.613Z] 32f22821aadb: Preparing [2022-01-17T06:17:11.613Z] 607cb0e5e41a: Preparing [2022-01-17T06:17:11.613Z] 62170e181a92: Preparing [2022-01-17T06:17:11.613Z] 48ec82025e32: Layer already exists [2022-01-17T06:17:11.613Z] 607cb0e5e41a: Layer already exists [2022-01-17T06:17:11.613Z] 32f22821aadb: Layer already exists [2022-01-17T06:17:11.613Z] a6dd50fab7c9: Layer already exists [2022-01-17T06:17:11.613Z] 62170e181a92: Layer already exists [2022-01-17T06:17:11.882Z] 58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:12.219Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:12.551Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-01-17T06:17:12.551Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-01-17T06:17:12.551Z] a6dd50fab7c9: Preparing [2022-01-17T06:17:12.551Z] 48ec82025e32: Preparing [2022-01-17T06:17:12.551Z] 32f22821aadb: Preparing [2022-01-17T06:17:12.551Z] 607cb0e5e41a: Preparing [2022-01-17T06:17:12.551Z] 62170e181a92: Preparing [2022-01-17T06:17:12.551Z] 48ec82025e32: Layer already exists [2022-01-17T06:17:12.551Z] a6dd50fab7c9: Layer already exists [2022-01-17T06:17:12.551Z] 32f22821aadb: Layer already exists [2022-01-17T06:17:12.551Z] 62170e181a92: Layer already exists [2022-01-17T06:17:12.551Z] 607cb0e5e41a: Layer already exists [2022-01-17T06:17:12.821Z] main: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T06:17:12.867Z] ===================================================== [Pipeline] echo [2022-01-17T06:17:12.877Z] taggedImages: [2022-01-17T06:17:12.877Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [2022-01-17T06:17:12.877Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-01-17T06:17:12.877Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.4 [2022-01-17T06:17:12.877Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [2022-01-17T06:17:12.877Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:13.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-17T06:17:13.238Z] [2022-01-17T06:17:13.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:13.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-17T06:17:13.852Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-17T06:17:13.852Z] 448f6bf000e3: Pulling fs layer [2022-01-17T06:17:13.852Z] f757da607395: Pulling fs layer [2022-01-17T06:17:13.852Z] 05883995daec: Pulling fs layer [2022-01-17T06:17:13.852Z] 8603b9c90790: Pulling fs layer [2022-01-17T06:17:13.852Z] 1560dd03e051: Pulling fs layer [2022-01-17T06:17:13.852Z] 27f5ce0e4adf: Pulling fs layer [2022-01-17T06:17:13.852Z] c2d8d7efcc4b: Pulling fs layer [2022-01-17T06:17:13.852Z] 27f5ce0e4adf: Waiting [2022-01-17T06:17:13.852Z] 8603b9c90790: Waiting [2022-01-17T06:17:13.852Z] c2d8d7efcc4b: Waiting [2022-01-17T06:17:13.852Z] 1560dd03e051: Waiting [2022-01-17T06:17:13.852Z] f757da607395: Verifying Checksum [2022-01-17T06:17:13.852Z] f757da607395: Download complete [2022-01-17T06:17:13.852Z] 8603b9c90790: Verifying Checksum [2022-01-17T06:17:13.852Z] 8603b9c90790: Download complete [2022-01-17T06:17:13.852Z] 1560dd03e051: Verifying Checksum [2022-01-17T06:17:13.852Z] 1560dd03e051: Download complete [2022-01-17T06:17:13.852Z] 27f5ce0e4adf: Download complete [2022-01-17T06:17:14.128Z] 05883995daec: Download complete [2022-01-17T06:17:14.401Z] 448f6bf000e3: Verifying Checksum [2022-01-17T06:17:14.401Z] 448f6bf000e3: Download complete [2022-01-17T06:17:17.017Z] c2d8d7efcc4b: Verifying Checksum [2022-01-17T06:17:17.017Z] c2d8d7efcc4b: Download complete [2022-01-17T06:17:17.992Z] 448f6bf000e3: Pull complete [2022-01-17T06:17:18.590Z] f757da607395: Pull complete [2022-01-17T06:17:20.019Z] 05883995daec: Pull complete [2022-01-17T06:17:20.320Z] 8603b9c90790: Pull complete [2022-01-17T06:17:21.342Z] 1560dd03e051: Pull complete [2022-01-17T06:17:21.631Z] 27f5ce0e4adf: Pull complete [2022-01-17T06:17:36.737Z] c2d8d7efcc4b: Pull complete [2022-01-17T06:17:36.737Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-17T06:17:36.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-17T06:17:36.737Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-17T06:17:36.937Z] prd-ubuntu18.04-docker-arm64-4c-16g-1660 does not seem to be running inside a container [2022-01-17T06:17:37.006Z] $ 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/13 -v /w/workspace/device-snmp-go/13:/w/workspace/device-snmp-go/13:rw,z -v /w/workspace/device-snmp-go/13@tmp:/w/workspace/device-snmp-go/13@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-01-17T06:17:39.581Z] $ docker top c1771a80417ebc445e04ce16083169fa838450cb868fd500f54790a84a73cbfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:17:40.461Z] ---> job-cost.sh [2022-01-17T06:17:40.461Z] lf-activate-venv: SKIPPING [2022-01-17T06:17:40.461Z] INFO: No Stack... [2022-01-17T06:17:40.731Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-17T06:17:41.324Z] INFO: Archiving Costs [Pipeline] sh [2022-01-17T06:17:41.987Z] + cut -d, -f6 [2022-01-17T06:17:41.987Z] + cat /w/workspace/device-snmp-go/13/archives/cost.csv [Pipeline] lock [2022-01-17T06:17:42.044Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [2022-01-17T06:17:42.050Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] did not exist. Created. [2022-01-17T06:17:42.051Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-17T06:17:42.716Z] /w/workspace/device-snmp-go/13@tmp/durable-be4e60b8/script.sh: 1: /w/workspace/device-snmp-go/13@tmp/durable-be4e60b8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-17T06:17:43.377Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-17T06:17:43.398Z] Warning: overwriting stash ‘stack-cost’ [2022-01-17T06:17:43.441Z] Stashed 1 file(s) [Pipeline] } [2022-01-17T06:17:43.451Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-17T06:17:43.469Z] $ docker stop --time=1 c1771a80417ebc445e04ce16083169fa838450cb868fd500f54790a84a73cbfc [2022-01-17T06:17:44.980Z] $ docker rm -f c1771a80417ebc445e04ce16083169fa838450cb868fd500f54790a84a73cbfc [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-01-17T06:17:45.394Z] provisioning config files... [2022-01-17T06:17:45.403Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8186539750988944820tmp [Pipeline] { [Pipeline] sh [2022-01-17T06:17:45.700Z] + set +x [2022-01-17T06:17:45.700Z] + curl -s https://codecov.io/bash [2022-01-17T06:17:45.700Z] + bash -s -- [2022-01-17T06:17:45.700Z] [2022-01-17T06:17:45.700Z] _____ _ [2022-01-17T06:17:45.700Z] / ____| | | [2022-01-17T06:17:45.700Z] | | ___ __| | ___ ___ _____ __ [2022-01-17T06:17:45.700Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-17T06:17:45.700Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-17T06:17:45.700Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-17T06:17:45.700Z] Bash-1.0.6 [2022-01-17T06:17:45.700Z] [2022-01-17T06:17:45.700Z] [2022-01-17T06:17:45.700Z] ==> git version 2.24.4 found [2022-01-17T06:17:45.700Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-17T06:17:45.700Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-17T06:17:45.700Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-17T06:17:45.700Z] ==> Jenkins CI detected. [2022-01-17T06:17:45.700Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-01-17T06:17:45.700Z] project root: . [2022-01-17T06:17:45.700Z] --> token set from env [2022-01-17T06:17:45.700Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-17T06:17:45.700Z] ==> Running gcov in . (disable via -X gcov) [2022-01-17T06:17:45.700Z] ==> Python coveragepy not found [2022-01-17T06:17:45.700Z] ==> Searching for coverage reports in: [2022-01-17T06:17:45.700Z] + . [2022-01-17T06:17:45.700Z] -> Found 1 reports [2022-01-17T06:17:45.700Z] ==> Detecting git/mercurial file structure [2022-01-17T06:17:45.700Z] ==> Reading reports [2022-01-17T06:17:45.700Z] + ./coverage.out bytes=7631 [2022-01-17T06:17:45.700Z] ==> Appending adjustments [2022-01-17T06:17:45.700Z] https://docs.codecov.io/docs/fixing-reports [2022-01-17T06:17:45.963Z] + Found adjustments [2022-01-17T06:17:45.963Z] ==> Gzipping contents [2022-01-17T06:17:45.963Z] 4.0K /tmp/codecov.3yGsXb.gz [2022-01-17T06:17:45.963Z] ==> Uploading reports [2022-01-17T06:17:45.963Z] url: https://codecov.io [2022-01-17T06:17:45.963Z] query: branch=main&commit=58834fc6b430fe9b88288769f7ae389ff6e0a5f7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-17T06:17:45.963Z] -> Pinging Codecov [2022-01-17T06:17:45.963Z] 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=58834fc6b430fe9b88288769f7ae389ff6e0a5f7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-17T06:17:46.224Z] -> Uploading to [2022-01-17T06:17:46.224Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-17/6C56EA5C29638FB4528AC87E60AF5AE0/58834fc6b430fe9b88288769f7ae389ff6e0a5f7/e8d36294-7282-4936-9106-7f9fb4c324f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220117T061746Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3150f3034c95b23b03265f38a5a6283c72c7128ba95fe0df63a42cf42c1c92d8 [2022-01-17T06:17:46.224Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-17T06:17:46.224Z] Dload Upload Total Spent Left Speed [2022-01-17T06:17:46.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4420 --:--:-- --:--:-- --:--:-- 4420 100 1578 0 0 100 1578 0 4419 --:--:-- --:--:-- --:--:-- 4420 [2022-01-17T06:17:46.794Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] } [2022-01-17T06:17:46.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-17T06:17:46.933Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-17T06:17:46.945Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:47.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-17T06:17:47.243Z] [2022-01-17T06:17:47.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:17:47.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-17T06:17:47.558Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-17T06:17:47.558Z] 188c0c94c7c5: Pulling fs layer [2022-01-17T06:17:47.558Z] 0ef7d3d256c8: Pulling fs layer [2022-01-17T06:17:47.558Z] de9db76c5a1d: Pulling fs layer [2022-01-17T06:17:47.558Z] 0eba1c9be4d2: Pulling fs layer [2022-01-17T06:17:47.558Z] 0d57e429df01: Pulling fs layer [2022-01-17T06:17:47.558Z] 4e4be7b47b0d: Pulling fs layer [2022-01-17T06:17:47.558Z] e1f770b5df2f: Pulling fs layer [2022-01-17T06:17:47.558Z] 85a0685a4137: Pulling fs layer [2022-01-17T06:17:47.558Z] 4e4be7b47b0d: Waiting [2022-01-17T06:17:47.558Z] e1f770b5df2f: Waiting [2022-01-17T06:17:47.558Z] 85a0685a4137: Waiting [2022-01-17T06:17:47.558Z] 0eba1c9be4d2: Waiting [2022-01-17T06:17:47.558Z] 0d57e429df01: Waiting [2022-01-17T06:17:47.558Z] de9db76c5a1d: Verifying Checksum [2022-01-17T06:17:47.558Z] de9db76c5a1d: Download complete [2022-01-17T06:17:47.558Z] 0ef7d3d256c8: Verifying Checksum [2022-01-17T06:17:47.558Z] 0ef7d3d256c8: Download complete [2022-01-17T06:17:47.558Z] 0d57e429df01: Verifying Checksum [2022-01-17T06:17:47.558Z] 0d57e429df01: Download complete [2022-01-17T06:17:47.558Z] 4e4be7b47b0d: Verifying Checksum [2022-01-17T06:17:47.558Z] 4e4be7b47b0d: Download complete [2022-01-17T06:17:47.558Z] 188c0c94c7c5: Verifying Checksum [2022-01-17T06:17:47.558Z] 188c0c94c7c5: Download complete [2022-01-17T06:17:47.840Z] e1f770b5df2f: Verifying Checksum [2022-01-17T06:17:47.840Z] e1f770b5df2f: Download complete [2022-01-17T06:17:48.113Z] 188c0c94c7c5: Pull complete [2022-01-17T06:17:48.113Z] 0eba1c9be4d2: Verifying Checksum [2022-01-17T06:17:48.113Z] 0eba1c9be4d2: Download complete [2022-01-17T06:17:48.113Z] 0ef7d3d256c8: Pull complete [2022-01-17T06:17:48.380Z] de9db76c5a1d: Pull complete [2022-01-17T06:17:48.380Z] 85a0685a4137: Verifying Checksum [2022-01-17T06:17:48.380Z] 85a0685a4137: Download complete [2022-01-17T06:17:52.624Z] 0eba1c9be4d2: Pull complete [2022-01-17T06:17:52.624Z] 0d57e429df01: Pull complete [2022-01-17T06:17:52.624Z] 4e4be7b47b0d: Pull complete [2022-01-17T06:17:52.890Z] e1f770b5df2f: Pull complete [2022-01-17T06:17:58.188Z] 85a0685a4137: Pull complete [2022-01-17T06:17:58.189Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-17T06:17:58.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-17T06:17:58.189Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-17T06:17:58.247Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:17:58.283Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-17T06:17:59.064Z] $ docker top 5e4e72b65fc60d17bc48b28afc3132faf6f7b0384e979bc20b46f777ae5258e9 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-17T06:17:59.151Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-17T06:17:59.438Z] + set -o pipefail [2022-01-17T06:17:59.438Z] + snyk monitor '--org=edgex-jenkins' [2022-01-17T06:18:06.029Z] [2022-01-17T06:18:06.029Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-01-17T06:18:06.029Z] [2022-01-17T06:18:06.029Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/3c906d7d-6ee0-4e98-a8b3-f3310941c46f [2022-01-17T06:18:06.029Z] [2022-01-17T06:18:06.029Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-01-17T06:18:06.029Z] [2022-01-17T06:18:06.029Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-17T06:18:06.029Z] [2022-01-17T06:18:06.290Z] [Pipeline] } [2022-01-17T06:18:06.302Z] $ docker stop --time=1 5e4e72b65fc60d17bc48b28afc3132faf6f7b0384e979bc20b46f777ae5258e9 [2022-01-17T06:18:08.194Z] $ docker rm -f 5e4e72b65fc60d17bc48b28afc3132faf6f7b0384e979bc20b46f777ae5258e9 [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-01-17T06:18:08.918Z] + git log --format=format:%s -1 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] sh [2022-01-17T06:18:09.215Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T06:18:09.215Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:18:09.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:18:09.509Z] . [Pipeline] withDockerContainer [2022-01-17T06:18:09.574Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:18:09.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-17T06:18:09.969Z] $ docker top 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T06:18:10.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:18:10.063Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:18:10.170Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:18:10.171Z] $ docker exec 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 ssh-agent [2022-01-17T06:18:10.271Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnGdJlp/agent.13 [2022-01-17T06:18:10.271Z] SSH_AGENT_PID=20 [2022-01-17T06:18:10.277Z] Running ssh-add (command line suppressed) [2022-01-17T06:18:10.370Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3538681450752581572.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3538681450752581572.key) [2022-01-17T06:18:10.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:18:10.709Z] + git semver tag [2022-01-17T06:18:10.709Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T06:18:10.709Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-01-17T06:18:10.709Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-01-17T06:18:10.709Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T06:18:10.709Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T06:18:10.709Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T06:18:10.709Z] # $SEMVER_BRANCH = main [2022-01-17T06:18:10.709Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-01-17T06:18:10.709Z] # 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 HEAD [2022-01-17T06:18:10.709Z] # -> Force: false [2022-01-17T06:18:10.709Z] # d5517001a9fc88cbe98936f9b5f1486066c0ab27 refs/tags/v2.2.0-dev.4 [Pipeline] } [2022-01-17T06:18:10.719Z] $ docker exec --env ******** --env ******** 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 ssh-agent -k [2022-01-17T06:18:10.804Z] unset SSH_AUTH_SOCK; [2022-01-17T06:18:10.806Z] unset SSH_AGENT_PID; [2022-01-17T06:18:10.806Z] echo Agent pid 20 killed; [2022-01-17T06:18:10.817Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T06:18:11.134Z] + git semver [Pipeline] } [2022-01-17T06:18:11.147Z] $ docker stop --time=1 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 [2022-01-17T06:18:12.354Z] $ docker rm -f 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:18:12.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-17T06:18:12.746Z] [2022-01-17T06:18:12.746Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:18:13.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-17T06:18:13.044Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-17T06:18:13.044Z] ab5ef0e58194: Pulling fs layer [2022-01-17T06:18:13.044Z] 9712f1f96733: Pulling fs layer [2022-01-17T06:18:13.044Z] 63f879dbbcfc: Pulling fs layer [2022-01-17T06:18:13.044Z] 0d9ebad4ef96: Pulling fs layer [2022-01-17T06:18:13.044Z] e9a5061849ea: Pulling fs layer [2022-01-17T06:18:13.044Z] d747dcd14b5f: Pulling fs layer [2022-01-17T06:18:13.044Z] 2de7ff778b66: Pulling fs layer [2022-01-17T06:18:13.044Z] 0d9ebad4ef96: Waiting [2022-01-17T06:18:13.044Z] e9a5061849ea: Waiting [2022-01-17T06:18:13.044Z] d747dcd14b5f: Waiting [2022-01-17T06:18:13.044Z] 2de7ff778b66: Waiting [2022-01-17T06:18:13.044Z] 9712f1f96733: Verifying Checksum [2022-01-17T06:18:13.044Z] 9712f1f96733: Download complete [2022-01-17T06:18:13.309Z] 63f879dbbcfc: Verifying Checksum [2022-01-17T06:18:13.309Z] 63f879dbbcfc: Download complete [2022-01-17T06:18:13.572Z] ab5ef0e58194: Verifying Checksum [2022-01-17T06:18:13.572Z] ab5ef0e58194: Download complete [2022-01-17T06:18:13.572Z] d747dcd14b5f: Verifying Checksum [2022-01-17T06:18:13.572Z] d747dcd14b5f: Download complete [2022-01-17T06:18:13.572Z] 0d9ebad4ef96: Verifying Checksum [2022-01-17T06:18:13.572Z] e9a5061849ea: Verifying Checksum [2022-01-17T06:18:13.572Z] e9a5061849ea: Download complete [2022-01-17T06:18:13.836Z] 2de7ff778b66: Verifying Checksum [2022-01-17T06:18:13.836Z] 2de7ff778b66: Download complete [2022-01-17T06:18:16.406Z] ab5ef0e58194: Pull complete [2022-01-17T06:18:16.406Z] 9712f1f96733: Pull complete [2022-01-17T06:18:17.351Z] 63f879dbbcfc: Pull complete [2022-01-17T06:18:21.612Z] 0d9ebad4ef96: Pull complete [2022-01-17T06:18:21.612Z] e9a5061849ea: Pull complete [2022-01-17T06:18:21.612Z] d747dcd14b5f: Pull complete [2022-01-17T06:18:23.004Z] 2de7ff778b66: Pull complete [2022-01-17T06:18:23.004Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-17T06:18:23.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-17T06:18:23.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-17T06:18:23.070Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:18:23.099Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-17T06:18:26.471Z] $ docker top 19c1b421c3c4f5dcb812f2726a07effb1f4f342f83831c8df7276faf909ecfd0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:18:26.553Z] provisioning config files... [2022-01-17T06:18:26.560Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3821117510254666766tmp [2022-01-17T06:18:26.568Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1412573878291298601tmp [2022-01-17T06:18:26.576Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2657578609437490705tmp [Pipeline] { [Pipeline] echo [2022-01-17T06:18:26.591Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:26.876Z] ---> sigul-configuration.sh [2022-01-17T06:18:26.876Z] gpg: directory `/root/.gnupg' created [2022-01-17T06:18:26.876Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-17T06:18:26.876Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-17T06:18:26.876Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-17T06:18:26.876Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-17T06:18:26.876Z] gpg: CAST5 encrypted data [2022-01-17T06:18:26.876Z] gpg: encrypted with 1 passphrase [2022-01-17T06:18:26.876Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-17T06:18:27.172Z] + mkdir /home/jenkins [2022-01-17T06:18:27.172Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-17T06:18:27.465Z] + 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-01-17T06:18:27.475Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:27.765Z] ---> sigul-install.sh [2022-01-17T06:18:27.765Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-17T06:18:28.052Z] + git tag --list [2022-01-17T06:18:28.052Z] 1.0.0 [2022-01-17T06:18:28.052Z] v0.0.0 [2022-01-17T06:18:28.052Z] v1.1.0 [2022-01-17T06:18:28.052Z] v1.1.1 [2022-01-17T06:18:28.052Z] v1.2.2 [2022-01-17T06:18:28.052Z] v1.3.0 [2022-01-17T06:18:28.052Z] v1.3.1 [2022-01-17T06:18:28.052Z] v2.0.0 [2022-01-17T06:18:28.052Z] v2.0.1-dev.1 [2022-01-17T06:18:28.052Z] v2.0.1-dev.2 [2022-01-17T06:18:28.052Z] v2.0.1-dev.3 [2022-01-17T06:18:28.052Z] v2.0.1-dev.4 [2022-01-17T06:18:28.052Z] v2.0.1-dev.5 [2022-01-17T06:18:28.052Z] v2.0.1-dev.6 [2022-01-17T06:18:28.052Z] v2.1.0 [2022-01-17T06:18:28.052Z] v2.2.0-dev.1 [2022-01-17T06:18:28.052Z] v2.2.0-dev.2 [2022-01-17T06:18:28.052Z] v2.2.0-dev.3 [2022-01-17T06:18:28.052Z] v2.2.0-dev.4 [Pipeline] sh [2022-01-17T06:18:28.344Z] + lftools sign git-tag v2.2.0-dev.4 [2022-01-17T06:18:28.916Z] Signing Git tag with Sigul... [2022-01-17T06:18:28.916Z] Signing v2.2.0-dev.4 [Pipeline] echo [2022-01-17T06:18:29.188Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:29.474Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-17T06:18:29.482Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-17T06:18:29.511Z] $ docker stop --time=1 19c1b421c3c4f5dcb812f2726a07effb1f4f342f83831c8df7276faf909ecfd0 [2022-01-17T06:18:30.718Z] $ docker rm -f 19c1b421c3c4f5dcb812f2726a07effb1f4f342f83831c8df7276faf909ecfd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-17T06:18:31.143Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T06:18:31.143Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:18:31.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:18:31.446Z] . [Pipeline] withDockerContainer [2022-01-17T06:18:31.507Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:18:31.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-17T06:18:31.871Z] $ docker top bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T06:18:31.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:18:31.961Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:18:32.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:18:32.059Z] $ docker exec bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 ssh-agent [2022-01-17T06:18:32.161Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnAKkam/agent.12 [2022-01-17T06:18:32.161Z] SSH_AGENT_PID=19 [2022-01-17T06:18:32.167Z] Running ssh-add (command line suppressed) [2022-01-17T06:18:32.266Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1865389734705139732.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1865389734705139732.key) [2022-01-17T06:18:32.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:18:32.578Z] + git semver bump pre [2022-01-17T06:18:32.578Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T06:18:32.578Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-01-17T06:18:32.579Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-01-17T06:18:32.579Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T06:18:32.579Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T06:18:32.579Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T06:18:32.579Z] # $SEMVER_BRANCH = main [2022-01-17T06:18:32.579Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-01-17T06:18:32.579Z] 2.2.0-dev.5 [Pipeline] } [2022-01-17T06:18:32.586Z] $ docker exec --env ******** --env ******** bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 ssh-agent -k [2022-01-17T06:18:32.677Z] unset SSH_AUTH_SOCK; [2022-01-17T06:18:32.677Z] unset SSH_AGENT_PID; [2022-01-17T06:18:32.677Z] echo Agent pid 19 killed; [2022-01-17T06:18:32.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T06:18:33.009Z] + git semver [Pipeline] } [2022-01-17T06:18:33.023Z] $ docker stop --time=1 bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 [2022-01-17T06:18:34.184Z] $ docker rm -f bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T06:18:34.537Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T06:18:34.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:18:34.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T06:18:34.835Z] . [Pipeline] withDockerContainer [2022-01-17T06:18:34.894Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:18:34.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-17T06:18:35.259Z] $ docker top d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T06:18:35.348Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T06:18:35.348Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T06:18:35.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T06:18:35.445Z] $ docker exec d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 ssh-agent [2022-01-17T06:18:35.542Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhPKBhh/agent.14 [2022-01-17T06:18:35.542Z] SSH_AGENT_PID=21 [2022-01-17T06:18:35.548Z] Running ssh-add (command line suppressed) [2022-01-17T06:18:35.646Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2598502234851362633.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2598502234851362633.key) [2022-01-17T06:18:35.659Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T06:18:35.950Z] + git semver push [2022-01-17T06:18:35.950Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T06:18:35.950Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-01-17T06:18:35.950Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-01-17T06:18:35.950Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T06:18:35.950Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T06:18:35.950Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T06:18:35.950Z] # $SEMVER_BRANCH = main [2022-01-17T06:18:35.950Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-01-17T06:18:37.342Z] $ docker exec --env ******** --env ******** d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 ssh-agent -k [2022-01-17T06:18:37.434Z] unset SSH_AUTH_SOCK; [2022-01-17T06:18:37.434Z] unset SSH_AGENT_PID; [2022-01-17T06:18:37.434Z] echo Agent pid 21 killed; [2022-01-17T06:18:37.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T06:18:37.749Z] + git semver [Pipeline] } [2022-01-17T06:18:37.765Z] $ docker stop --time=1 d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 [2022-01-17T06:18:38.927Z] $ docker rm -f d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 [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-01-17T06:18:39.495Z] + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' [2022-01-17T06:18:39.495Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-01-17T06:18:39.495Z] total 8 [2022-01-17T06:18:39.495Z] drwxr-xr-x. 3 root root 34 Jan 17 06:11 . [2022-01-17T06:18:39.495Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 06:18 .. [2022-01-17T06:18:39.495Z] drwxr-xr-x. 2 root root 6 Jan 17 06:11 cost [2022-01-17T06:18:39.495Z] -rw-r--r--. 1 root root 84 Jan 17 06:11 cost.csv [2022-01-17T06:18:39.495Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-01-17T06:18:39.495Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-01-17T06:18:39.495Z] total 8 [2022-01-17T06:18:39.495Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 17 06:11 . [2022-01-17T06:18:39.495Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 06:18 .. [2022-01-17T06:18:39.495Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 17 06:11 cost [2022-01-17T06:18:39.495Z] -rw-r--r--. 1 jenkins jenkins 84 Jan 17 06:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:39.793Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:40.358Z] ---> package-listing.sh [2022-01-17T06:18:40.358Z] ++ facter osfamily [2022-01-17T06:18:40.358Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-17T06:18:40.619Z] + OS_FAMILY=redhat [2022-01-17T06:18:40.619Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-01-17T06:18:40.619Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-17T06:18:40.619Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-17T06:18:40.619Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-17T06:18:40.619Z] + PACKAGES=/tmp/packages_start.txt [2022-01-17T06:18:40.619Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-01-17T06:18:40.619Z] + PACKAGES=/tmp/packages_end.txt [2022-01-17T06:18:40.619Z] + case "${OS_FAMILY}" in [2022-01-17T06:18:40.619Z] + rpm -qa [2022-01-17T06:18:40.619Z] + sort [2022-01-17T06:18:41.331Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-17T06:18:41.331Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-17T06:18:41.331Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-17T06:18:41.331Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-01-17T06:18:41.331Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-01-17T06:18:41.331Z] + 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-01-17T06:18:41.415Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-01-17T06:18:41.698Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-17T06:18:42.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T06:18:42.263Z] . [Pipeline] withDockerContainer [2022-01-17T06:18:42.325Z] prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container [2022-01-17T06:18:42.364Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-17T06:18:42.551Z] $ docker top a93c582263fda1b639485949312d3cbc8c21e0906395171fc1e0a2526ffca42c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-17T06:18:42.907Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-17T06:18:43.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-17T06:18:43.495Z] + ls /var/log/sa-host [2022-01-17T06:18:43.495Z] + sadf -c /var/log/sa-host/sa17 [2022-01-17T06:18:43.495Z] file_magic: OK [2022-01-17T06:18:43.495Z] HZ: Using current value: 100 [2022-01-17T06:18:43.495Z] file_header: OK [2022-01-17T06:18:43.495Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-17T06:18:43.495Z] Statistics: [2022-01-17T06:18:43.495Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-17T06:18:43.495Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T06:18:43.574Z] provisioning config files... [2022-01-17T06:18:43.581Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5705215345829740763tmp [Pipeline] { [Pipeline] echo [2022-01-17T06:18:43.594Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:43.879Z] ---> create-netrc.sh [Pipeline] } [2022-01-17T06:18:43.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:44.213Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-17T06:18:44.223Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:44.510Z] ---> sudo-logs.sh [2022-01-17T06:18:44.510Z] Archiving 'sudo' log.. [2022-01-17T06:18:44.510Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1659.novalocal: Name or service not known [2022-01-17T06:18:44.510Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1659.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-17T06:18:44.539Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:44.852Z] ---> job-cost.sh [2022-01-17T06:18:44.852Z] lf-activate-venv: SKIPPING [2022-01-17T06:18:44.852Z] DEBUG: total: 0.05999999865889549 [2022-01-17T06:18:44.852Z] INFO: Retrieving Stack Cost... [2022-01-17T06:18:45.112Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-17T06:18:45.685Z] INFO: Archiving Costs [Pipeline] echo [2022-01-17T06:18:45.699Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T06:18:45.987Z] ---> logs-deploy.sh [2022-01-17T06:18:45.987Z] lf-activate-venv: SKIPPING [2022-01-17T06:18:45.987Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/13 [2022-01-17T06:18:45.987Z] INFO: archiving workspace using pattern(s): [2022-01-17T06:18:46.560Z] Archives upload complete. [2022-01-17T06:18:46.821Z] INFO: archiving logs to Nexus