Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f190e6e8df31eb379f6a262f1bc8f793fb631af1 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-ssh11773646089978453327.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh14543916524741526003.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh17778577212842401016.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh11281951569135232885.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-ssh2059383924239464801.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.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-40’ Running on prd-centos7-docker-4c-2g-42 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-ssh785877239660838499.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 f190e6e8df31eb379f6a262f1bc8f793fb631af1 (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 f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 Commit message: "Merge pull request #130 from lenny-intel/no-win-zmq" > git rev-list --no-walk d6a2d4438fc175be031f77f972aa414c83442272 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T07:33:53.782Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T07:33:53.826Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T07:33:53.845Z] ========================================================= [2021-12-02T07:33:53.845Z] EdgeX Global Pipelines Version Info [2021-12-02T07:33:53.845Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:33:54.978Z] ------------------- [2021-12-02T07:33:54.978Z] stable info: [2021-12-02T07:33:54.978Z] ------------------- [2021-12-02T07:33:54.978Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T07:33:54.978Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T07:33:54.978Z] Message: update stable to v1.0.217 [2021-12-02T07:33:55.553Z] ------------------- [2021-12-02T07:33:55.553Z] experimental info: [2021-12-02T07:33:55.553Z] ------------------- [2021-12-02T07:33:55.553Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T07:33:55.553Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T07:33:55.553Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T07:33:55.689Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-12-02T07:33:55.698Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-12-02T07:33:55.707Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T07:33:55.716Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T07:33:55.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T07:33:55.734Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T07:33:55.743Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T07:33:55.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T07:33:55.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T07:33:55.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T07:33:55.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T07:33:55.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-12-02T07:33:55.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T07:33:55.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T07:33:55.827Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T07:33:55.837Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T07:33:55.846Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T07:33:55.855Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T07:33:55.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T07:33:55.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-02T07:33:55.882Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T07:33:55.892Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T07:33:55.901Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T07:33:55.911Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T07:33:55.920Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T07:33:55.930Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T07:33:55.949Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-02T07:33:55.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-02T07:33:55.972Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-02T07:33:55.987Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] echo [2021-12-02T07:33:56.002Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f190e6e [Pipeline] echo [2021-12-02T07:33:56.020Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T07:33:56.054Z] provisioning config files... [2021-12-02T07:33:56.070Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2720372021643143888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:33:56.386Z] ---> docker-login.sh [2021-12-02T07:33:56.386Z] nexus3.edgexfoundry.org:10001 [2021-12-02T07:33:56.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:33:56.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:33:56.386Z] Configure a credential helper to remove this warning. See [2021-12-02T07:33:56.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:33:56.386Z] [2021-12-02T07:33:56.386Z] Login Succeeded [2021-12-02T07:33:56.386Z] nexus3.edgexfoundry.org:10002 [2021-12-02T07:33:56.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:33:56.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:33:56.651Z] Configure a credential helper to remove this warning. See [2021-12-02T07:33:56.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:33:56.651Z] [2021-12-02T07:33:56.651Z] Login Succeeded [2021-12-02T07:33:56.651Z] nexus3.edgexfoundry.org:10003 [2021-12-02T07:33:56.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:33:56.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:33:56.913Z] Configure a credential helper to remove this warning. See [2021-12-02T07:33:56.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:33:56.913Z] [2021-12-02T07:33:56.913Z] Login Succeeded [2021-12-02T07:33:56.913Z] nexus3.edgexfoundry.org:10004 [2021-12-02T07:33:56.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:33:56.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:33:56.913Z] Configure a credential helper to remove this warning. See [2021-12-02T07:33:56.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:33:56.913Z] [2021-12-02T07:33:56.913Z] Login Succeeded [2021-12-02T07:33:56.913Z] docker.io [2021-12-02T07:33:56.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:33:57.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:33:57.490Z] Configure a credential helper to remove this warning. See [2021-12-02T07:33:57.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:33:57.490Z] [2021-12-02T07:33:57.490Z] Login Succeeded [2021-12-02T07:33:57.490Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T07:33:57.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-02T07:33:57.942Z] + git rev-list -1 --merges f190e6e8df31eb379f6a262f1bc8f793fb631af1~1..f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] echo [2021-12-02T07:33:57.970Z] -----------> git rev-list -1 --merges f190e6e8df31eb379f6a262f1bc8f793fb631af1~1..f190e6e8df31eb379f6a262f1bc8f793fb631af1 f190e6e8df31eb379f6a262f1bc8f793fb631af1 [2021-12-02T07:33:57.970Z] f190e6e8df31eb379f6a262f1bc8f793fb631af1 [false] [Pipeline] sh [2021-12-02T07:33:58.276Z] + git log --format=format:%s -1 f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] echo [2021-12-02T07:33:58.293Z] ========================================================= [2021-12-02T07:33:58.293Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T07:33:58.293Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T07:33:58.639Z] + git log --format=format:%s -1 f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] echo [2021-12-02T07:33:58.651Z] [semverPrep] GIT_COMMIT: f190e6e8df31eb379f6a262f1bc8f793fb631af1, Commit Message: Merge pull request #130 from lenny-intel/no-win-zmq [Pipeline] echo [2021-12-02T07:33:58.661Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T07:33:59.047Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T07:33:59.047Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T07:33:59.047Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T07:33:59.047Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T07:33:59.047Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T07:33:59.047Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T07:33:59.047Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:33:59.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T07:33:59.449Z] [2021-12-02T07:33:59.449Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:33:59.799Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T07:33:59.799Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T07:33:59.799Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T07:33:59.799Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T07:33:59.799Z] 4c7163046ea9: Pulling fs layer [2021-12-02T07:33:59.799Z] 0c2d73faf560: Pulling fs layer [2021-12-02T07:33:59.799Z] 0c2d73faf560: Waiting [2021-12-02T07:33:59.799Z] 3e5f54012d9b: Verifying Checksum [2021-12-02T07:33:59.799Z] 3e5f54012d9b: Download complete [2021-12-02T07:33:59.799Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T07:33:59.799Z] a0d0a0d46f8b: Download complete [2021-12-02T07:33:59.799Z] 4c7163046ea9: Verifying Checksum [2021-12-02T07:33:59.799Z] 4c7163046ea9: Download complete [2021-12-02T07:33:59.799Z] 0c2d73faf560: Verifying Checksum [2021-12-02T07:33:59.799Z] 0c2d73faf560: Download complete [2021-12-02T07:34:00.066Z] a0d0a0d46f8b: Pull complete [2021-12-02T07:34:00.066Z] 3e5f54012d9b: Pull complete [2021-12-02T07:34:00.331Z] 4c7163046ea9: Pull complete [2021-12-02T07:34:00.595Z] 0c2d73faf560: Pull complete [2021-12-02T07:34:00.595Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T07:34:00.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T07:34:00.595Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T07:34:00.678Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-12-02T07:34:00.720Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T07:34:01.412Z] $ docker top adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T07:34:01.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T07:34:01.523Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T07:34:01.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T07:34:01.644Z] $ docker exec adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 ssh-agent [2021-12-02T07:34:01.753Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKmfgda/agent.15 [2021-12-02T07:34:01.753Z] SSH_AGENT_PID=21 [2021-12-02T07:34:01.763Z] Running ssh-add (command line suppressed) [2021-12-02T07:34:01.868Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5423844817272473229.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5423844817272473229.key) [2021-12-02T07:34:01.882Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T07:34:02.182Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T07:34:02.202Z] $ docker exec --env ******** --env ******** adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 ssh-agent -k [2021-12-02T07:34:02.281Z] unset SSH_AUTH_SOCK; [2021-12-02T07:34:02.282Z] unset SSH_AGENT_PID; [2021-12-02T07:34:02.282Z] echo Agent pid 21 killed; [2021-12-02T07:34:02.293Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T07:34:02.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T07:34:02.314Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T07:34:02.435Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T07:34:02.437Z] $ docker exec adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 ssh-agent [2021-12-02T07:34:02.571Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGkgEBd/agent.55 [2021-12-02T07:34:02.571Z] SSH_AGENT_PID=61 [2021-12-02T07:34:02.576Z] Running ssh-add (command line suppressed) [2021-12-02T07:34:02.675Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6321749672570657849.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6321749672570657849.key) [2021-12-02T07:34:02.693Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T07:34:02.984Z] + git semver init [2021-12-02T07:34:02.984Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T07:34:02.984Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-12-02T07:34:02.984Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T07:34:02.984Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T07:34:02.984Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T07:34:02.984Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T07:34:02.984Z] # $SEMVER_BRANCH = main [2021-12-02T07:34:02.984Z] # $SEMVER_TEMP = /tmp/semver-086859690 [2021-12-02T07:34:02.984Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-12-02T07:34:03.926Z] # '/tmp/semver-086859690' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2021-12-02T07:34:03.926Z] # -> Force: false [2021-12-02T07:34:03.926Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-12-02T07:34:03.937Z] $ docker exec --env ******** --env ******** adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 ssh-agent -k [2021-12-02T07:34:04.024Z] unset SSH_AUTH_SOCK; [2021-12-02T07:34:04.024Z] unset SSH_AGENT_PID; [2021-12-02T07:34:04.024Z] echo Agent pid 61 killed; [2021-12-02T07:34:04.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T07:34:04.356Z] + git semver [Pipeline] } [2021-12-02T07:34:04.373Z] $ docker stop --time=1 adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 [2021-12-02T07:34:05.577Z] $ docker rm -f adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T07:34:05.936Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T07:34:06.141Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T07:34:06.145Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [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] node [Pipeline] node [2021-12-02T07:34:21.297Z] Still waiting to schedule task [2021-12-02T07:34:21.297Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-12-02T07:34:21.299Z] Still waiting to schedule task [2021-12-02T07:34:21.300Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-41’ is offline [2021-12-02T07:36:16.548Z] Running on prd-centos7-docker-4c-2g-45 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-12-02T07:36:16.562Z] Running in /w/workspace/device-snmp-go/10 [Pipeline] { [Pipeline] checkout [2021-12-02T07:36:16.643Z] Selected Git installation does not exist. Using Default [2021-12-02T07:36:16.643Z] The recommended git tool is: NONE [2021-12-02T07:36:18.403Z] using credential edgex-jenkins-ssh [2021-12-02T07:36:18.413Z] Cloning the remote Git repository [2021-12-02T07:36:17.717Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T07:36:17.751Z] > git init /w/workspace/device-snmp-go/10 # timeout=10 [2021-12-02T07:36:17.775Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T07:36:17.775Z] > git --version # timeout=10 [2021-12-02T07:36:17.786Z] > git --version # 'git version 2.24.4' [2021-12-02T07:36:17.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T07:36:17.806Z] [INFO] Currently running in a labeled security context [2021-12-02T07:36:17.806Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T07:36:17.806Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/10@tmp/jenkins-gitclient-ssh3007348603410254184.key [2021-12-02T07:36:17.832Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T07:36:19.324Z] Avoid second fetch [2021-12-02T07:36:19.325Z] Checking out Revision f190e6e8df31eb379f6a262f1bc8f793fb631af1 (main) [2021-12-02T07:36:18.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-12-02T07:36:18.599Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T07:36:18.615Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T07:36:18.626Z] > git checkout -f f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 [2021-12-02T07:36:22.484Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-44 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-12-02T07:36:22.496Z] Running in /w/workspace/device-snmp-go/10 [Pipeline] { [Pipeline] checkout [2021-12-02T07:36:22.694Z] Selected Git installation does not exist. Using Default [2021-12-02T07:36:22.694Z] The recommended git tool is: NONE [2021-12-02T07:36:22.951Z] Commit message: "Merge pull request #130 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T07:36:23.363Z] provisioning config files... [2021-12-02T07:36:23.377Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config227701682378073771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:36:23.765Z] ---> docker-login.sh [2021-12-02T07:36:23.766Z] nexus3.edgexfoundry.org:10001 [2021-12-02T07:36:23.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:23.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:23.766Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:23.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:23.766Z] [2021-12-02T07:36:23.766Z] Login Succeeded [2021-12-02T07:36:23.766Z] nexus3.edgexfoundry.org:10002 [2021-12-02T07:36:23.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:24.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:24.027Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:24.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:24.028Z] [2021-12-02T07:36:24.028Z] Login Succeeded [2021-12-02T07:36:24.028Z] nexus3.edgexfoundry.org:10003 [2021-12-02T07:36:24.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:24.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:24.028Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:24.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:24.028Z] [2021-12-02T07:36:24.028Z] Login Succeeded [2021-12-02T07:36:24.028Z] nexus3.edgexfoundry.org:10004 [2021-12-02T07:36:24.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:24.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:24.287Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:24.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:24.287Z] [2021-12-02T07:36:24.287Z] Login Succeeded [2021-12-02T07:36:24.287Z] docker.io [2021-12-02T07:36:24.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:24.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:24.548Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:24.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:24.548Z] [2021-12-02T07:36:24.548Z] Login Succeeded [2021-12-02T07:36:24.548Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T07:36:24.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T07:36:24.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T07:36:24.756Z] ========================================================= [2021-12-02T07:36:24.756Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T07:36:24.756Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:36:25.066Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-02T07:36:25.066Z] Sending build context to Docker daemon 2.677MB [2021-12-02T07:36:25.066Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T07:36:25.066Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T07:36:25.066Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T07:36:25.066Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T07:36:25.066Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T07:36:25.066Z] b8b176561691: Pulling fs layer [2021-12-02T07:36:25.066Z] 4527c011a84f: Pulling fs layer [2021-12-02T07:36:25.066Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T07:36:25.066Z] e0aca202a116: Pulling fs layer [2021-12-02T07:36:25.066Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T07:36:25.066Z] 34cad66bf833: Pulling fs layer [2021-12-02T07:36:25.066Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T07:36:25.066Z] e0aca202a116: Waiting [2021-12-02T07:36:25.066Z] 3a43be97a3b4: Waiting [2021-12-02T07:36:25.066Z] 34cad66bf833: Waiting [2021-12-02T07:36:25.066Z] b4e3c513aaa6: Waiting [2021-12-02T07:36:25.066Z] 4527c011a84f: Waiting [2021-12-02T07:36:25.066Z] 5d74067f8e1e: Waiting [2021-12-02T07:36:25.066Z] b8b176561691: Verifying Checksum [2021-12-02T07:36:25.066Z] b8b176561691: Download complete [2021-12-02T07:36:25.066Z] 31adcdaf11c8: Verifying Checksum [2021-12-02T07:36:25.066Z] 31adcdaf11c8: Download complete [2021-12-02T07:36:25.066Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T07:36:25.066Z] 5d74067f8e1e: Download complete [2021-12-02T07:36:25.066Z] e0aca202a116: Verifying Checksum [2021-12-02T07:36:25.066Z] e0aca202a116: Download complete [2021-12-02T07:36:25.332Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T07:36:25.332Z] a0d0a0d46f8b: Download complete [2021-12-02T07:36:25.332Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T07:36:25.332Z] 3a43be97a3b4: Download complete [2021-12-02T07:36:25.332Z] 34cad66bf833: Verifying Checksum [2021-12-02T07:36:25.332Z] 34cad66bf833: Download complete [2021-12-02T07:36:25.906Z] 4527c011a84f: Verifying Checksum [2021-12-02T07:36:25.906Z] 4527c011a84f: Download complete [2021-12-02T07:36:25.906Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T07:36:25.906Z] b4e3c513aaa6: Download complete [2021-12-02T07:36:25.906Z] a0d0a0d46f8b: Pull complete [2021-12-02T07:36:25.906Z] 31adcdaf11c8: Pull complete [2021-12-02T07:36:25.906Z] b8b176561691: Pull complete [2021-12-02T07:36:27.928Z] using credential edgex-jenkins-ssh [2021-12-02T07:36:27.951Z] Cloning the remote Git repository [2021-12-02T07:36:28.020Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T07:36:28.107Z] > git init /w/workspace/device-snmp-go/10 # timeout=10 [2021-12-02T07:36:28.205Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T07:36:28.206Z] > git --version # timeout=10 [2021-12-02T07:36:28.226Z] > git --version # 'git version 2.17.1' [2021-12-02T07:36:28.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T07:36:28.307Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T07:36:29.519Z] Avoid second fetch [2021-12-02T07:36:29.520Z] Checking out Revision f190e6e8df31eb379f6a262f1bc8f793fb631af1 (main) [2021-12-02T07:36:30.138Z] 4527c011a84f: Pull complete [2021-12-02T07:36:30.138Z] 5d74067f8e1e: Pull complete [2021-12-02T07:36:30.138Z] e0aca202a116: Pull complete [2021-12-02T07:36:30.138Z] 3a43be97a3b4: Pull complete [2021-12-02T07:36:30.138Z] 34cad66bf833: Pull complete [2021-12-02T07:36:29.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-12-02T07:36:29.442Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T07:36:29.549Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T07:36:29.599Z] > git checkout -f f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 [2021-12-02T07:36:32.693Z] b4e3c513aaa6: Pull complete [2021-12-02T07:36:32.693Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T07:36:32.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T07:36:32.693Z] ---> 9f6097aaca64 [2021-12-02T07:36:32.693Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T07:36:34.031Z] Commit message: "Merge pull request #130 from lenny-intel/no-win-zmq" [2021-12-02T07:36:34.095Z] ---> Running in 69e139b0d63d [2021-12-02T07:36:34.095Z] Removing intermediate container 69e139b0d63d [2021-12-02T07:36:34.095Z] ---> 2b4e7f048c57 [2021-12-02T07:36:34.095Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T07:36:34.095Z] ---> Running in c5f97266195c [2021-12-02T07:36:34.095Z] Removing intermediate container c5f97266195c [2021-12-02T07:36:34.095Z] ---> 794d5f18a2a4 [2021-12-02T07:36:34.095Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T07:36:34.095Z] ---> Running in 7d1e4ad345be [2021-12-02T07:36:34.095Z] Removing intermediate container 7d1e4ad345be [2021-12-02T07:36:34.095Z] ---> 1583fd283885 [2021-12-02T07:36:34.095Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T07:36:34.095Z] ---> Running in e7c3fbcca6df [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T07:36:34.672Z] Removing intermediate container e7c3fbcca6df [2021-12-02T07:36:34.672Z] ---> e3eb807ef37a [2021-12-02T07:36:34.672Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T07:36:34.672Z] ---> Running in 65e6f9e09aa9 [2021-12-02T07:36:34.843Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T07:36:34.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T07:36:34.843Z] Dload Upload Total Spent Left Speed [2021-12-02T07:36:34.843Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [2021-12-02T07:36:34.933Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [Pipeline] sh [2021-12-02T07:36:35.395Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T07:36:35.740Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T07:36:35.740Z] + sudo tee /etc/docker/daemon.new [2021-12-02T07:36:35.740Z] { [2021-12-02T07:36:35.740Z] "registry-mirrors": [ [2021-12-02T07:36:35.740Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T07:36:35.740Z] ], [2021-12-02T07:36:35.740Z] "bip": "10.250.0.254/24", [2021-12-02T07:36:35.740Z] "hosts": [ [2021-12-02T07:36:35.740Z] "tcp://0.0.0.0:5555", [2021-12-02T07:36:35.740Z] "unix:///var/run/docker.sock" [2021-12-02T07:36:35.740Z] ], [2021-12-02T07:36:35.740Z] "mtu": 1458, [2021-12-02T07:36:35.740Z] "selinux-enabled": true, [2021-12-02T07:36:35.740Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T07:36:35.740Z] } [Pipeline] sh [2021-12-02T07:36:35.873Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T07:36:36.085Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T07:36:36.133Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T07:36:36.133Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T07:36:36.395Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T07:36:36.395Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T07:36:36.395Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T07:36:36.395Z] OK: 224 MiB in 56 packages [2021-12-02T07:36:36.427Z] + sudo service docker restart [2021-12-02T07:36:36.657Z] Removing intermediate container 65e6f9e09aa9 [2021-12-02T07:36:36.657Z] ---> 8c14ad6665d1 [2021-12-02T07:36:36.657Z] Step 8/11 : WORKDIR /device-snmp-go [2021-12-02T07:36:36.917Z] ---> Running in 09a7d6bdfa59 [2021-12-02T07:36:36.917Z] Removing intermediate container 09a7d6bdfa59 [2021-12-02T07:36:36.917Z] ---> e0cd6ee343b3 [2021-12-02T07:36:36.917Z] Step 9/11 : COPY . . [2021-12-02T07:36:37.177Z] ---> 2e9f1da0b781 [2021-12-02T07:36:37.177Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T07:36:37.177Z] ---> Running in b7ccd269b48f [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T07:36:54.768Z] provisioning config files... [2021-12-02T07:36:54.793Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config7857014891989414476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:36:55.155Z] ---> docker-login.sh [2021-12-02T07:36:55.155Z] nexus3.edgexfoundry.org:10001 [2021-12-02T07:36:55.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:56.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:56.125Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:56.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:56.125Z] [2021-12-02T07:36:56.125Z] Login Succeeded [2021-12-02T07:36:56.125Z] nexus3.edgexfoundry.org:10002 [2021-12-02T07:36:56.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:56.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:56.398Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:56.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:56.398Z] [2021-12-02T07:36:56.398Z] Login Succeeded [2021-12-02T07:36:56.398Z] nexus3.edgexfoundry.org:10003 [2021-12-02T07:36:56.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:56.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:56.995Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:56.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:56.995Z] [2021-12-02T07:36:56.995Z] Login Succeeded [2021-12-02T07:36:56.995Z] nexus3.edgexfoundry.org:10004 [2021-12-02T07:36:57.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:57.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:57.544Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:57.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:57.544Z] [2021-12-02T07:36:57.544Z] Login Succeeded [2021-12-02T07:36:57.544Z] docker.io [2021-12-02T07:36:57.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:36:58.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:36:58.089Z] Configure a credential helper to remove this warning. See [2021-12-02T07:36:58.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:36:58.089Z] [2021-12-02T07:36:58.089Z] Login Succeeded [2021-12-02T07:36:58.089Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T07:36:58.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T07:36:58.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T07:36:58.566Z] ========================================================= [2021-12-02T07:36:58.566Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T07:36:58.566Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:36:58.913Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-02T07:36:59.184Z] Sending build context to Docker daemon 2.676MB [2021-12-02T07:36:59.184Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T07:36:59.184Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T07:36:59.459Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T07:36:59.459Z] 552d1f2373af: Pulling fs layer [2021-12-02T07:36:59.459Z] ea3f2d53f512: Pulling fs layer [2021-12-02T07:36:59.459Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T07:36:59.459Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T07:36:59.459Z] 72dc09318566: Pulling fs layer [2021-12-02T07:36:59.459Z] f4f7b4309257: Pulling fs layer [2021-12-02T07:36:59.459Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T07:36:59.459Z] 7a9cfe048b4a: Waiting [2021-12-02T07:36:59.459Z] 72dc09318566: Waiting [2021-12-02T07:36:59.459Z] f4f7b4309257: Waiting [2021-12-02T07:36:59.459Z] b78e95d17946: Pulling fs layer [2021-12-02T07:36:59.459Z] 0ac9a79272e3: Waiting [2021-12-02T07:36:59.459Z] b78e95d17946: Waiting [2021-12-02T07:36:59.459Z] 9e70ebbbe112: Verifying Checksum [2021-12-02T07:36:59.459Z] 9e70ebbbe112: Download complete [2021-12-02T07:36:59.459Z] ea3f2d53f512: Verifying Checksum [2021-12-02T07:36:59.459Z] ea3f2d53f512: Download complete [2021-12-02T07:36:59.459Z] 72dc09318566: Verifying Checksum [2021-12-02T07:36:59.459Z] 72dc09318566: Download complete [2021-12-02T07:36:59.459Z] f4f7b4309257: Verifying Checksum [2021-12-02T07:36:59.459Z] f4f7b4309257: Download complete [2021-12-02T07:36:59.459Z] 552d1f2373af: Verifying Checksum [2021-12-02T07:36:59.459Z] 0ac9a79272e3: Verifying Checksum [2021-12-02T07:36:59.459Z] 0ac9a79272e3: Download complete [2021-12-02T07:37:00.454Z] 552d1f2373af: Pull complete [2021-12-02T07:37:01.059Z] ea3f2d53f512: Pull complete [2021-12-02T07:37:01.334Z] 9e70ebbbe112: Pull complete [2021-12-02T07:37:01.609Z] b78e95d17946: Verifying Checksum [2021-12-02T07:37:01.609Z] b78e95d17946: Download complete [2021-12-02T07:37:01.883Z] 7a9cfe048b4a: Verifying Checksum [2021-12-02T07:37:01.883Z] 7a9cfe048b4a: Download complete [2021-12-02T07:37:03.819Z] Removing intermediate container b7ccd269b48f [2021-12-02T07:37:03.819Z] ---> 06bd9d88c27e [2021-12-02T07:37:03.819Z] Step 11/11 : RUN ${MAKE} [2021-12-02T07:37:03.819Z] ---> Running in 59d1ce6cba29 [2021-12-02T07:37:04.080Z] noop [2021-12-02T07:37:04.345Z] Removing intermediate container 59d1ce6cba29 [2021-12-02T07:37:04.346Z] ---> 78efe00e7afc [2021-12-02T07:37:04.346Z] Successfully built 78efe00e7afc [2021-12-02T07:37:04.346Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:04.645Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T07:37:04.645Z] . [Pipeline] withDockerContainer [2021-12-02T07:37:04.716Z] prd-centos7-docker-4c-2g-45 does not seem to be running inside a container [2021-12-02T07:37:04.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 [2021-12-02T07:37:05.147Z] $ docker top b66646f78ed92db2bb641c40ae045bfcaaa61c76de27f7c6cd9c9d404fdf6aa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T07:37:05.530Z] + go version [2021-12-02T07:37:05.530Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T07:37:05.546Z] $ docker stop --time=1 b66646f78ed92db2bb641c40ae045bfcaaa61c76de27f7c6cd9c9d404fdf6aa4 [2021-12-02T07:37:06.731Z] $ docker rm -f b66646f78ed92db2bb641c40ae045bfcaaa61c76de27f7c6cd9c9d404fdf6aa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:07.173Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T07:37:07.174Z] . [Pipeline] withDockerContainer [2021-12-02T07:37:07.237Z] prd-centos7-docker-4c-2g-45 does not seem to be running inside a container [2021-12-02T07:37:07.283Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 [2021-12-02T07:37:07.627Z] $ docker top d2e13fbdf7d603d25bde8cb3aa277d5ee7f5723926a2d6540564889b201cc3e2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T07:37:07.998Z] + make test [2021-12-02T07:37:07.998Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T07:37:08.569Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-12-02T07:37:14.280Z] 7a9cfe048b4a: Pull complete [2021-12-02T07:37:14.280Z] 72dc09318566: Pull complete [2021-12-02T07:37:14.280Z] f4f7b4309257: Pull complete [2021-12-02T07:37:14.280Z] 0ac9a79272e3: Pull complete [2021-12-02T07:37:19.711Z] b78e95d17946: Pull complete [2021-12-02T07:37:19.711Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T07:37:19.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T07:37:19.711Z] ---> 8b459fc5aaf0 [2021-12-02T07:37:19.711Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T07:37:21.143Z] ---> Running in c67044bee7d8 [2021-12-02T07:37:21.416Z] Removing intermediate container c67044bee7d8 [2021-12-02T07:37:21.416Z] ---> f82286d769eb [2021-12-02T07:37:21.416Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T07:37:21.416Z] ---> Running in afadb3bfd449 [2021-12-02T07:37:22.015Z] Removing intermediate container afadb3bfd449 [2021-12-02T07:37:22.015Z] ---> cf426e38f303 [2021-12-02T07:37:22.015Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T07:37:22.015Z] ---> Running in 8712638daaa0 [2021-12-02T07:37:22.292Z] Removing intermediate container 8712638daaa0 [2021-12-02T07:37:22.292Z] ---> 7573baad52ad [2021-12-02T07:37:22.292Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T07:37:22.568Z] ---> Running in 9af3d27003b4 [2021-12-02T07:37:23.531Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-12-02T07:37:23.531Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-12-02T07:37:23.531Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T07:37:24.554Z] Removing intermediate container 9af3d27003b4 [2021-12-02T07:37:24.554Z] ---> b4d3ceaf04f9 [2021-12-02T07:37:24.554Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T07:37:24.554Z] ---> Running in f583323b2ca5 [2021-12-02T07:37:25.533Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T07:37:26.512Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T07:37:27.490Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T07:37:27.490Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T07:37:27.490Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T07:37:27.765Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T07:37:27.765Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T07:37:27.765Z] OK: 223 MiB in 56 packages [2021-12-02T07:37:28.741Z] Removing intermediate container f583323b2ca5 [2021-12-02T07:37:28.741Z] ---> 37de3aa1a6c3 [2021-12-02T07:37:28.741Z] Step 8/11 : WORKDIR /device-snmp-go [2021-12-02T07:37:28.741Z] ---> Running in 5b64edbd8110 [2021-12-02T07:37:29.335Z] Removing intermediate container 5b64edbd8110 [2021-12-02T07:37:29.335Z] ---> c3060f4563e5 [2021-12-02T07:37:29.335Z] Step 9/11 : COPY . . [2021-12-02T07:37:30.179Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T07:37:30.179Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T07:37:30.179Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T07:37:30.192Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T07:37:30.207Z] $ docker stop --time=1 d2e13fbdf7d603d25bde8cb3aa277d5ee7f5723926a2d6540564889b201cc3e2 [2021-12-02T07:37:30.320Z] ---> 1ae573dbda04 [2021-12-02T07:37:30.320Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T07:37:30.320Z] ---> Running in 85cc41aad8db [2021-12-02T07:37:31.577Z] $ docker rm -f d2e13fbdf7d603d25bde8cb3aa277d5ee7f5723926a2d6540564889b201cc3e2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T07:37:31.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T07:37:32.139Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-02T07:37:32.791Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T07:37:33.078Z] + ls -al . [2021-12-02T07:37:33.078Z] total 144 [2021-12-02T07:37:33.078Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 07:37 . [2021-12-02T07:37:33.078Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 07:36 .. [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 6926 Dec 2 07:36 Attribution.txt [2021-12-02T07:37:33.078Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 07:36 bin [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 4401 Dec 2 07:36 CHANGELOG.md [2021-12-02T07:37:33.078Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 07:36 cmd [2021-12-02T07:37:33.078Z] -rw-r--r--. 1 jenkins jenkins 7631 Dec 2 07:37 coverage.out [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 1493 Dec 2 07:36 Dockerfile [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 6 Dec 2 07:36 .dockerignore [2021-12-02T07:37:33.078Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 07:36 .git [2021-12-02T07:37:33.078Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 07:36 .github [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 262 Dec 2 07:36 .gitignore [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 214 Dec 2 07:36 go.mod [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 49501 Dec 2 07:36 go.sum [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 07:36 GOVERNANCE.md [2021-12-02T07:37:33.078Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 07:36 internal [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 656 Dec 2 07:36 Jenkinsfile [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 07:36 LICENSE [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 1057 Dec 2 07:36 Makefile [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 07:36 OWNERS.md [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 9073 Dec 2 07:36 README.md [2021-12-02T07:37:33.078Z] drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 07:36 snap [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 07:34 VERSION [2021-12-02T07:37:33.078Z] -rw-rw-r--. 1 jenkins jenkins 209 Dec 2 07:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:33.381Z] + 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=f190e6e8df31eb379f6a262f1bc8f793fb631af1 --label arch=amd64 --label version=2.2.0-dev.1 . [2021-12-02T07:37:33.381Z] Sending build context to Docker daemon 2.685MB [2021-12-02T07:37:33.381Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T07:37:33.381Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T07:37:33.381Z] ---> 78efe00e7afc [2021-12-02T07:37:33.381Z] Step 3/23 : ARG MAKE='make build' [2021-12-02T07:37:33.381Z] ---> Running in c63e11e4f8b5 [2021-12-02T07:37:33.381Z] Removing intermediate container c63e11e4f8b5 [2021-12-02T07:37:33.381Z] ---> 8e53717327d4 [2021-12-02T07:37:33.381Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T07:37:33.381Z] ---> Running in 4582ef4d7b62 [2021-12-02T07:37:33.642Z] Removing intermediate container 4582ef4d7b62 [2021-12-02T07:37:33.642Z] ---> 899d78711ccb [2021-12-02T07:37:33.642Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T07:37:33.642Z] ---> Running in cefbdba1b046 [2021-12-02T07:37:33.642Z] Removing intermediate container cefbdba1b046 [2021-12-02T07:37:33.642Z] ---> 486cde17ea72 [2021-12-02T07:37:33.642Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T07:37:33.642Z] ---> Running in 3f32c1907831 [2021-12-02T07:37:34.217Z] Removing intermediate container 3f32c1907831 [2021-12-02T07:37:34.217Z] ---> 10ca5ac55707 [2021-12-02T07:37:34.217Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T07:37:34.217Z] ---> Running in 1aa80f79ecca [2021-12-02T07:37:34.476Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T07:37:35.046Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T07:37:35.623Z] OK: 224 MiB in 56 packages [2021-12-02T07:37:35.623Z] Removing intermediate container 1aa80f79ecca [2021-12-02T07:37:35.623Z] ---> b74bb841217c [2021-12-02T07:37:35.623Z] Step 8/23 : WORKDIR /device-snmp-go [2021-12-02T07:37:35.623Z] ---> Running in bc7fac957823 [2021-12-02T07:37:35.890Z] Removing intermediate container bc7fac957823 [2021-12-02T07:37:35.890Z] ---> 0a5d1cffe158 [2021-12-02T07:37:35.890Z] Step 9/23 : COPY . . [2021-12-02T07:37:35.890Z] ---> f92eb5e12c96 [2021-12-02T07:37:35.890Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T07:37:36.150Z] ---> Running in 5d2928a13e3d [2021-12-02T07:37:36.414Z] Removing intermediate container 5d2928a13e3d [2021-12-02T07:37:36.414Z] ---> e99947512e8c [2021-12-02T07:37:36.414Z] Step 11/23 : RUN ${MAKE} [2021-12-02T07:37:36.414Z] ---> Running in 3193a4f3b262 [2021-12-02T07:37:36.681Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.1" -o cmd/device-snmp ./cmd [2021-12-02T07:37:48.976Z] Removing intermediate container 3193a4f3b262 [2021-12-02T07:37:48.976Z] ---> c63373c5f4bf [2021-12-02T07:37:48.976Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T07:37:48.976Z] 3.14: Pulling from library/alpine [2021-12-02T07:37:48.976Z] 97518928ae5f: Pulling fs layer [2021-12-02T07:37:49.238Z] 97518928ae5f: Verifying Checksum [2021-12-02T07:37:49.238Z] 97518928ae5f: Download complete [2021-12-02T07:37:49.238Z] 97518928ae5f: Pull complete [2021-12-02T07:37:49.238Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T07:37:49.238Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T07:37:49.238Z] ---> 0a97eee8041e [2021-12-02T07:37:49.238Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T07:37:49.238Z] ---> Running in 6d0228b88b63 [2021-12-02T07:37:49.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T07:37:49.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T07:37:49.764Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T07:37:49.764Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T07:37:49.764Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T07:37:49.764Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T07:37:49.764Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T07:37:49.764Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T07:37:49.764Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T07:37:49.764Z] OK: 8 MiB in 20 packages [2021-12-02T07:37:50.024Z] Removing intermediate container 6d0228b88b63 [2021-12-02T07:37:50.024Z] ---> 57db72306ede [2021-12-02T07:37:50.024Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-12-02T07:37:50.285Z] ---> 1ebece4214e1 [2021-12-02T07:37:50.285Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-12-02T07:37:50.547Z] ---> cf9190a22c01 [2021-12-02T07:37:50.547Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-12-02T07:37:50.807Z] ---> 70d6a8a8125f [2021-12-02T07:37:50.807Z] Step 17/23 : EXPOSE 59993 [2021-12-02T07:37:50.807Z] ---> Running in bd9172c1e4e7 [2021-12-02T07:37:50.807Z] Removing intermediate container bd9172c1e4e7 [2021-12-02T07:37:50.807Z] ---> 132a231b756c [2021-12-02T07:37:50.807Z] Step 18/23 : EXPOSE 161 [2021-12-02T07:37:50.807Z] ---> Running in 95d142976fe1 [2021-12-02T07:37:50.807Z] Removing intermediate container 95d142976fe1 [2021-12-02T07:37:50.807Z] ---> 7a181bc8506f [2021-12-02T07:37:50.807Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-12-02T07:37:50.807Z] ---> Running in 560d18a031c4 [2021-12-02T07:37:51.068Z] Removing intermediate container 560d18a031c4 [2021-12-02T07:37:51.068Z] ---> 5bc7ec5665ef [2021-12-02T07:37:51.068Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T07:37:51.068Z] ---> Running in 219b388db0a8 [2021-12-02T07:37:51.068Z] Removing intermediate container 219b388db0a8 [2021-12-02T07:37:51.068Z] ---> 5c0752302706 [2021-12-02T07:37:51.068Z] Step 21/23 : LABEL arch=amd64 [2021-12-02T07:37:51.068Z] ---> Running in 4a762dc48b98 [2021-12-02T07:37:51.068Z] Removing intermediate container 4a762dc48b98 [2021-12-02T07:37:51.068Z] ---> d92b15f8fe5d [2021-12-02T07:37:51.068Z] Step 22/23 : LABEL git_sha=f190e6e8df31eb379f6a262f1bc8f793fb631af1 [2021-12-02T07:37:51.068Z] ---> Running in 15e66b134eee [2021-12-02T07:37:51.328Z] Removing intermediate container 15e66b134eee [2021-12-02T07:37:51.328Z] ---> c56f6e34f77e [2021-12-02T07:37:51.328Z] Step 23/23 : LABEL version=2.2.0-dev.1 [2021-12-02T07:37:51.328Z] ---> Running in 1d6e13d95eff [2021-12-02T07:37:51.328Z] Removing intermediate container 1d6e13d95eff [2021-12-02T07:37:51.328Z] ---> f6cf147f1a8f [2021-12-02T07:37:51.328Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T07:37:51.328Z] Successfully built f6cf147f1a8f [2021-12-02T07:37:51.328Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T07:37:51.530Z] provisioning config files... [2021-12-02T07:37:51.542Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config5133578860660546309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:37:51.850Z] ---> docker-login.sh [2021-12-02T07:37:51.850Z] nexus3.edgexfoundry.org:10001 [2021-12-02T07:37:51.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:37:51.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:37:51.850Z] Configure a credential helper to remove this warning. See [2021-12-02T07:37:51.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:37:51.850Z] [2021-12-02T07:37:51.850Z] Login Succeeded [2021-12-02T07:37:51.850Z] nexus3.edgexfoundry.org:10002 [2021-12-02T07:37:51.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:37:51.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:37:51.850Z] Configure a credential helper to remove this warning. See [2021-12-02T07:37:51.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:37:51.850Z] [2021-12-02T07:37:51.850Z] Login Succeeded [2021-12-02T07:37:51.850Z] nexus3.edgexfoundry.org:10003 [2021-12-02T07:37:52.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:37:52.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:37:52.116Z] Configure a credential helper to remove this warning. See [2021-12-02T07:37:52.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:37:52.116Z] [2021-12-02T07:37:52.116Z] Login Succeeded [2021-12-02T07:37:52.116Z] nexus3.edgexfoundry.org:10004 [2021-12-02T07:37:52.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:37:52.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:37:52.116Z] Configure a credential helper to remove this warning. See [2021-12-02T07:37:52.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:37:52.116Z] [2021-12-02T07:37:52.116Z] Login Succeeded [2021-12-02T07:37:52.116Z] docker.io [2021-12-02T07:37:52.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:37:52.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:37:52.641Z] Configure a credential helper to remove this warning. See [2021-12-02T07:37:52.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:37:52.641Z] [2021-12-02T07:37:52.641Z] Login Succeeded [2021-12-02T07:37:52.641Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T07:37:52.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T07:37:52.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T07:37:52.701Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2021-12-02T07:37:52.701Z] f190e6e8df31eb379f6a262f1bc8f793fb631af1 [2021-12-02T07:37:52.701Z] latest [2021-12-02T07:37:52.701Z] 2.2.0-dev.1 [2021-12-02T07:37:52.701Z] f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [2021-12-02T07:37:52.701Z] main [2021-12-02T07:37:52.701Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:53.010Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:53.305Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1 [2021-12-02T07:37:53.305Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T07:37:53.305Z] b5be9f590b5e: Preparing [2021-12-02T07:37:53.305Z] c3f3730165ff: Preparing [2021-12-02T07:37:53.305Z] 1c7864de5e71: Preparing [2021-12-02T07:37:53.305Z] ea5968c64dc6: Preparing [2021-12-02T07:37:53.305Z] 1a058d5342cc: Preparing [2021-12-02T07:37:53.305Z] 1a058d5342cc: Layer already exists [2021-12-02T07:37:53.568Z] b5be9f590b5e: Pushed [2021-12-02T07:37:53.568Z] c3f3730165ff: Pushed [2021-12-02T07:37:53.568Z] ea5968c64dc6: Pushed [2021-12-02T07:37:54.509Z] 1c7864de5e71: Pushed [2021-12-02T07:37:54.509Z] f190e6e8df31eb379f6a262f1bc8f793fb631af1: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:54.812Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:55.118Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-12-02T07:37:55.118Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T07:37:55.118Z] b5be9f590b5e: Preparing [2021-12-02T07:37:55.118Z] c3f3730165ff: Preparing [2021-12-02T07:37:55.118Z] 1c7864de5e71: Preparing [2021-12-02T07:37:55.118Z] ea5968c64dc6: Preparing [2021-12-02T07:37:55.118Z] 1a058d5342cc: Preparing [2021-12-02T07:37:55.118Z] ea5968c64dc6: Layer already exists [2021-12-02T07:37:55.118Z] 1a058d5342cc: Layer already exists [2021-12-02T07:37:55.118Z] c3f3730165ff: Layer already exists [2021-12-02T07:37:55.118Z] b5be9f590b5e: Layer already exists [2021-12-02T07:37:55.118Z] 1c7864de5e71: Layer already exists [2021-12-02T07:37:55.118Z] latest: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:55.417Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:55.714Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.1 [2021-12-02T07:37:55.714Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T07:37:55.714Z] b5be9f590b5e: Preparing [2021-12-02T07:37:55.714Z] c3f3730165ff: Preparing [2021-12-02T07:37:55.714Z] 1c7864de5e71: Preparing [2021-12-02T07:37:55.714Z] ea5968c64dc6: Preparing [2021-12-02T07:37:55.714Z] 1a058d5342cc: Preparing [2021-12-02T07:37:55.714Z] c3f3730165ff: Layer already exists [2021-12-02T07:37:55.714Z] 1a058d5342cc: Layer already exists [2021-12-02T07:37:55.714Z] 1c7864de5e71: Layer already exists [2021-12-02T07:37:55.714Z] b5be9f590b5e: Layer already exists [2021-12-02T07:37:55.714Z] ea5968c64dc6: Layer already exists [2021-12-02T07:37:55.714Z] 2.2.0-dev.1: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:56.014Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:56.312Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [2021-12-02T07:37:56.312Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T07:37:56.312Z] b5be9f590b5e: Preparing [2021-12-02T07:37:56.312Z] c3f3730165ff: Preparing [2021-12-02T07:37:56.312Z] 1c7864de5e71: Preparing [2021-12-02T07:37:56.312Z] ea5968c64dc6: Preparing [2021-12-02T07:37:56.312Z] 1a058d5342cc: Preparing [2021-12-02T07:37:56.312Z] c3f3730165ff: Layer already exists [2021-12-02T07:37:56.312Z] 1a058d5342cc: Layer already exists [2021-12-02T07:37:56.312Z] b5be9f590b5e: Layer already exists [2021-12-02T07:37:56.312Z] ea5968c64dc6: Layer already exists [2021-12-02T07:37:56.312Z] 1c7864de5e71: Layer already exists [2021-12-02T07:37:56.312Z] f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:56.612Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:56.910Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2021-12-02T07:37:56.910Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T07:37:56.910Z] b5be9f590b5e: Preparing [2021-12-02T07:37:56.910Z] c3f3730165ff: Preparing [2021-12-02T07:37:56.910Z] 1c7864de5e71: Preparing [2021-12-02T07:37:56.910Z] ea5968c64dc6: Preparing [2021-12-02T07:37:56.910Z] 1a058d5342cc: Preparing [2021-12-02T07:37:56.910Z] 1c7864de5e71: Layer already exists [2021-12-02T07:37:56.910Z] c3f3730165ff: Layer already exists [2021-12-02T07:37:56.910Z] ea5968c64dc6: Layer already exists [2021-12-02T07:37:56.910Z] b5be9f590b5e: Layer already exists [2021-12-02T07:37:56.910Z] 1a058d5342cc: Layer already exists [2021-12-02T07:37:56.910Z] main: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T07:37:56.952Z] ===================================================== [Pipeline] echo [2021-12-02T07:37:56.962Z] taggedImages: [2021-12-02T07:37:56.963Z] - nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1 [2021-12-02T07:37:56.963Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-12-02T07:37:56.963Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.1 [2021-12-02T07:37:56.963Z] - nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [2021-12-02T07:37:56.963Z] - 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 [2021-12-02T07:37:57.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T07:37:57.560Z] [2021-12-02T07:37:57.560Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:37:57.876Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T07:37:57.876Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T07:37:57.876Z] b4d181a07f80: Pulling fs layer [2021-12-02T07:37:57.876Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T07:37:57.876Z] ed53099fbce6: Pulling fs layer [2021-12-02T07:37:57.876Z] dc539afda2c1: Pulling fs layer [2021-12-02T07:37:57.876Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T07:37:57.876Z] 9065ff56babe: Pulling fs layer [2021-12-02T07:37:57.876Z] d287ab97295c: Pulling fs layer [2021-12-02T07:37:57.876Z] dc539afda2c1: Waiting [2021-12-02T07:37:57.876Z] 77bc0d833cb6: Waiting [2021-12-02T07:37:57.876Z] 9065ff56babe: Waiting [2021-12-02T07:37:57.876Z] d287ab97295c: Waiting [2021-12-02T07:37:57.876Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T07:37:57.876Z] a1111a8f2ec3: Download complete [2021-12-02T07:37:57.876Z] dc539afda2c1: Verifying Checksum [2021-12-02T07:37:57.876Z] dc539afda2c1: Download complete [2021-12-02T07:37:57.876Z] ed53099fbce6: Verifying Checksum [2021-12-02T07:37:57.876Z] ed53099fbce6: Download complete [2021-12-02T07:37:57.876Z] 9065ff56babe: Verifying Checksum [2021-12-02T07:37:57.876Z] 9065ff56babe: Download complete [2021-12-02T07:37:57.876Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T07:37:57.876Z] 77bc0d833cb6: Download complete [2021-12-02T07:37:58.138Z] b4d181a07f80: Verifying Checksum [2021-12-02T07:37:58.138Z] b4d181a07f80: Download complete [2021-12-02T07:37:58.713Z] d287ab97295c: Verifying Checksum [2021-12-02T07:37:58.714Z] d287ab97295c: Download complete [2021-12-02T07:37:59.297Z] b4d181a07f80: Pull complete [2021-12-02T07:37:59.555Z] a1111a8f2ec3: Pull complete [2021-12-02T07:38:00.124Z] ed53099fbce6: Pull complete [2021-12-02T07:38:00.124Z] dc539afda2c1: Pull complete [2021-12-02T07:38:00.697Z] 77bc0d833cb6: Pull complete [2021-12-02T07:38:00.697Z] 9065ff56babe: Pull complete [2021-12-02T07:38:06.028Z] d287ab97295c: Pull complete [2021-12-02T07:38:06.028Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T07:38:06.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T07:38:06.028Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T07:38:06.098Z] prd-centos7-docker-4c-2g-45 does not seem to be running inside a container [2021-12-02T07:38:06.131Z] $ 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/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 [2021-12-02T07:38:08.270Z] $ docker top 270abac84628b247123b73d4422f9ce2cec80920d670fc100f2507e9e51b5142 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:38:08.655Z] ---> job-cost.sh [2021-12-02T07:38:08.655Z] lf-activate-venv: SKIPPING [2021-12-02T07:38:08.655Z] INFO: No Stack... [2021-12-02T07:38:08.915Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T07:38:09.175Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T07:38:09.467Z] + cat /w/workspace/device-snmp-go/10/archives/cost.csv [2021-12-02T07:38:09.467Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T07:38:09.507Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [2021-12-02T07:38:09.525Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] did not exist. Created. [2021-12-02T07:38:09.525Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T07:38:09.837Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T07:38:09.872Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T07:38:09.880Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T07:38:09.898Z] $ docker stop --time=1 270abac84628b247123b73d4422f9ce2cec80920d670fc100f2507e9e51b5142 [2021-12-02T07:38:11.033Z] $ docker rm -f 270abac84628b247123b73d4422f9ce2cec80920d670fc100f2507e9e51b5142 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-02T07:38:52.135Z] Removing intermediate container 85cc41aad8db [2021-12-02T07:38:52.135Z] ---> 474402419552 [2021-12-02T07:38:52.135Z] Step 11/11 : RUN ${MAKE} [2021-12-02T07:38:52.135Z] ---> Running in 196803049fcf [2021-12-02T07:38:52.135Z] noop [2021-12-02T07:38:52.135Z] Removing intermediate container 196803049fcf [2021-12-02T07:38:52.135Z] ---> 4bf64f7bb705 [2021-12-02T07:38:52.135Z] Successfully built 4bf64f7bb705 [2021-12-02T07:38:52.135Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:38:52.492Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T07:38:52.492Z] . [Pipeline] withDockerContainer [2021-12-02T07:38:52.701Z] prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container [2021-12-02T07:38:52.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 [2021-12-02T07:38:54.142Z] $ docker top 8315e2331f162b94c48d599d6394b31b88e8fc2bc48a9833f05b08080b36abe1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T07:38:55.066Z] + go version [2021-12-02T07:38:55.066Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T07:38:55.088Z] $ docker stop --time=1 8315e2331f162b94c48d599d6394b31b88e8fc2bc48a9833f05b08080b36abe1 [2021-12-02T07:38:56.721Z] $ docker rm -f 8315e2331f162b94c48d599d6394b31b88e8fc2bc48a9833f05b08080b36abe1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:38:57.416Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T07:38:57.417Z] . [Pipeline] withDockerContainer [2021-12-02T07:38:57.635Z] prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container [2021-12-02T07:38:57.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 [2021-12-02T07:38:59.026Z] $ docker top a327692f3681152b752d2d199e59e5db09befcdab2ae96645aba05e2d20f0cbb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T07:38:59.944Z] + make test [2021-12-02T07:38:59.944Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T07:39:01.383Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-12-02T07:39:57.985Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-12-02T07:39:57.985Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements [2021-12-02T07:39:57.985Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T07:40:20.159Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T07:40:20.159Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T07:40:20.432Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T07:40:22.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T07:40:22.442Z] $ docker stop --time=1 a327692f3681152b752d2d199e59e5db09befcdab2ae96645aba05e2d20f0cbb [2021-12-02T07:40:24.186Z] $ docker rm -f a327692f3681152b752d2d199e59e5db09befcdab2ae96645aba05e2d20f0cbb [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T07:40:24.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T07:40:25.007Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T07:40:25.424Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T07:40:25.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T07:40:26.239Z] + ls -al . [2021-12-02T07:40:26.239Z] total 172 [2021-12-02T07:40:26.239Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 07:40 . [2021-12-02T07:40:26.239Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 07:36 .. [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 6 Dec 2 07:36 .dockerignore [2021-12-02T07:40:26.239Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 07:36 .git [2021-12-02T07:40:26.239Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 07:36 .github [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 262 Dec 2 07:36 .gitignore [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 6926 Dec 2 07:36 Attribution.txt [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 4401 Dec 2 07:36 CHANGELOG.md [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 1493 Dec 2 07:36 Dockerfile [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 07:36 GOVERNANCE.md [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 656 Dec 2 07:36 Jenkinsfile [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 07:36 LICENSE [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 1057 Dec 2 07:36 Makefile [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 07:36 OWNERS.md [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 9073 Dec 2 07:36 README.md [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 07:34 VERSION [2021-12-02T07:40:26.239Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 07:36 bin [2021-12-02T07:40:26.239Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 07:36 cmd [2021-12-02T07:40:26.239Z] -rw-r--r-- 1 jenkins jenkins 7631 Dec 2 07:39 coverage.out [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 214 Dec 2 07:36 go.mod [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 49501 Dec 2 07:36 go.sum [2021-12-02T07:40:26.239Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 07:36 internal [2021-12-02T07:40:26.239Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 07:36 snap [2021-12-02T07:40:26.239Z] -rw-rw-r-- 1 jenkins jenkins 209 Dec 2 07:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:40:26.575Z] + 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=f190e6e8df31eb379f6a262f1bc8f793fb631af1 --label arch=arm64 --label version=2.2.0-dev.1 . [2021-12-02T07:40:26.849Z] Sending build context to Docker daemon 2.684MB [2021-12-02T07:40:26.849Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T07:40:26.849Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T07:40:26.849Z] ---> 4bf64f7bb705 [2021-12-02T07:40:26.849Z] Step 3/23 : ARG MAKE='make build' [2021-12-02T07:40:27.121Z] ---> Running in ec96520a421f [2021-12-02T07:40:27.394Z] Removing intermediate container ec96520a421f [2021-12-02T07:40:27.394Z] ---> e362b0db4387 [2021-12-02T07:40:27.394Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T07:40:27.394Z] ---> Running in 825c4411a04d [2021-12-02T07:40:27.666Z] Removing intermediate container 825c4411a04d [2021-12-02T07:40:27.666Z] ---> b7c962a429a1 [2021-12-02T07:40:27.666Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T07:40:27.939Z] ---> Running in 706a7a1d6a29 [2021-12-02T07:40:28.213Z] Removing intermediate container 706a7a1d6a29 [2021-12-02T07:40:28.213Z] ---> d2e216dceec9 [2021-12-02T07:40:28.213Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T07:40:28.213Z] ---> Running in 6441b06885ad [2021-12-02T07:40:30.181Z] Removing intermediate container 6441b06885ad [2021-12-02T07:40:30.181Z] ---> e46b1a450fab [2021-12-02T07:40:30.181Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T07:40:30.181Z] ---> Running in 70b22d2f634e [2021-12-02T07:40:30.776Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T07:40:31.745Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T07:40:32.345Z] OK: 223 MiB in 56 packages [2021-12-02T07:40:33.322Z] Removing intermediate container 70b22d2f634e [2021-12-02T07:40:33.322Z] ---> 97604ca2f09a [2021-12-02T07:40:33.322Z] Step 8/23 : WORKDIR /device-snmp-go [2021-12-02T07:40:33.322Z] ---> Running in 797a610aa2d9 [2021-12-02T07:40:33.595Z] Removing intermediate container 797a610aa2d9 [2021-12-02T07:40:33.595Z] ---> 65db4b7cf35a [2021-12-02T07:40:33.595Z] Step 9/23 : COPY . . [2021-12-02T07:40:34.570Z] ---> 7e7c34553fbf [2021-12-02T07:40:34.570Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T07:40:34.570Z] ---> Running in e14eb9f3632a [2021-12-02T07:40:36.537Z] Removing intermediate container e14eb9f3632a [2021-12-02T07:40:36.537Z] ---> 52336266a857 [2021-12-02T07:40:36.537Z] Step 11/23 : RUN ${MAKE} [2021-12-02T07:40:36.537Z] ---> Running in 8284745ac696 [2021-12-02T07:40:37.515Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.1" -o cmd/device-snmp ./cmd [2021-12-02T07:41:16.538Z] Removing intermediate container 8284745ac696 [2021-12-02T07:41:16.538Z] ---> fce66e9a6b63 [2021-12-02T07:41:16.538Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T07:41:16.538Z] 3.14: Pulling from library/alpine [2021-12-02T07:41:16.538Z] be307f383ecc: Pulling fs layer [2021-12-02T07:41:16.538Z] be307f383ecc: Verifying Checksum [2021-12-02T07:41:16.538Z] be307f383ecc: Download complete [2021-12-02T07:41:16.538Z] be307f383ecc: Pull complete [2021-12-02T07:41:16.538Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T07:41:16.538Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T07:41:16.538Z] ---> 5b8b7b635229 [2021-12-02T07:41:16.538Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T07:41:16.538Z] ---> Running in 39212570299d [2021-12-02T07:41:16.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T07:41:16.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T07:41:17.134Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T07:41:17.134Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T07:41:17.134Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T07:41:17.134Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T07:41:17.134Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T07:41:17.134Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T07:41:17.406Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T07:41:17.406Z] OK: 8 MiB in 20 packages [2021-12-02T07:41:18.390Z] Removing intermediate container 39212570299d [2021-12-02T07:41:18.390Z] ---> b9f275130468 [2021-12-02T07:41:18.390Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-12-02T07:41:19.368Z] ---> 3b601c8c5e9e [2021-12-02T07:41:19.368Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-12-02T07:41:19.651Z] ---> fe73d9875d7a [2021-12-02T07:41:19.651Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-12-02T07:41:20.247Z] ---> 99a34cfbbc0b [2021-12-02T07:41:20.247Z] Step 17/23 : EXPOSE 59993 [2021-12-02T07:41:20.520Z] ---> Running in 98b22cbec39f [2021-12-02T07:41:20.794Z] Removing intermediate container 98b22cbec39f [2021-12-02T07:41:20.794Z] ---> 3852d3e726c6 [2021-12-02T07:41:20.794Z] Step 18/23 : EXPOSE 161 [2021-12-02T07:41:20.794Z] ---> Running in 88108df95383 [2021-12-02T07:41:21.068Z] Removing intermediate container 88108df95383 [2021-12-02T07:41:21.068Z] ---> b5a47165dad4 [2021-12-02T07:41:21.068Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-12-02T07:41:21.342Z] ---> Running in 23bdcf46fa88 [2021-12-02T07:41:21.618Z] Removing intermediate container 23bdcf46fa88 [2021-12-02T07:41:21.618Z] ---> 0625b129dd7f [2021-12-02T07:41:21.618Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T07:41:21.618Z] ---> Running in a47cf2e213a9 [2021-12-02T07:41:21.893Z] Removing intermediate container a47cf2e213a9 [2021-12-02T07:41:21.893Z] ---> 7ad65fdc9bc1 [2021-12-02T07:41:21.893Z] Step 21/23 : LABEL arch=arm64 [2021-12-02T07:41:22.174Z] ---> Running in 6032dc02ea03 [2021-12-02T07:41:22.448Z] Removing intermediate container 6032dc02ea03 [2021-12-02T07:41:22.448Z] ---> 7bba3b0970f6 [2021-12-02T07:41:22.448Z] Step 22/23 : LABEL git_sha=f190e6e8df31eb379f6a262f1bc8f793fb631af1 [2021-12-02T07:41:22.448Z] ---> Running in 14fb0969ff36 [2021-12-02T07:41:22.722Z] Removing intermediate container 14fb0969ff36 [2021-12-02T07:41:22.722Z] ---> 18e1297e995f [2021-12-02T07:41:22.722Z] Step 23/23 : LABEL version=2.2.0-dev.1 [2021-12-02T07:41:23.008Z] ---> Running in 2bda2829f388 [2021-12-02T07:41:23.282Z] Removing intermediate container 2bda2829f388 [2021-12-02T07:41:23.282Z] ---> 8c56bb26d25f [2021-12-02T07:41:23.282Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T07:41:23.282Z] Successfully built 8c56bb26d25f [2021-12-02T07:41:23.282Z] 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 [2021-12-02T07:41:23.457Z] provisioning config files... [2021-12-02T07:41:23.475Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config960458823746250638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:41:23.834Z] ---> docker-login.sh [2021-12-02T07:41:23.834Z] nexus3.edgexfoundry.org:10001 [2021-12-02T07:41:24.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:41:24.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:41:24.109Z] Configure a credential helper to remove this warning. See [2021-12-02T07:41:24.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:41:24.110Z] [2021-12-02T07:41:24.110Z] Login Succeeded [2021-12-02T07:41:24.110Z] nexus3.edgexfoundry.org:10002 [2021-12-02T07:41:24.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:41:24.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:41:24.661Z] Configure a credential helper to remove this warning. See [2021-12-02T07:41:24.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:41:24.661Z] [2021-12-02T07:41:24.661Z] Login Succeeded [2021-12-02T07:41:24.661Z] nexus3.edgexfoundry.org:10003 [2021-12-02T07:41:24.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:41:25.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:41:25.206Z] Configure a credential helper to remove this warning. See [2021-12-02T07:41:25.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:41:25.206Z] [2021-12-02T07:41:25.206Z] Login Succeeded [2021-12-02T07:41:25.206Z] nexus3.edgexfoundry.org:10004 [2021-12-02T07:41:25.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:41:25.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:41:25.480Z] Configure a credential helper to remove this warning. See [2021-12-02T07:41:25.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:41:25.480Z] [2021-12-02T07:41:25.480Z] Login Succeeded [2021-12-02T07:41:25.480Z] docker.io [2021-12-02T07:41:25.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T07:41:26.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T07:41:26.347Z] Configure a credential helper to remove this warning. See [2021-12-02T07:41:26.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T07:41:26.347Z] [2021-12-02T07:41:26.347Z] Login Succeeded [2021-12-02T07:41:26.347Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T07:41:26.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T07:41:26.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T07:41:26.434Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-12-02T07:41:26.434Z] f190e6e8df31eb379f6a262f1bc8f793fb631af1 [2021-12-02T07:41:26.434Z] latest [2021-12-02T07:41:26.434Z] 2.2.0-dev.1 [2021-12-02T07:41:26.434Z] f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [2021-12-02T07:41:26.434Z] main [2021-12-02T07:41:26.434Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:26.799Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:27.141Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1 [2021-12-02T07:41:27.141Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T07:41:27.141Z] 634a0a251f76: Preparing [2021-12-02T07:41:27.141Z] 1968a2304d04: Preparing [2021-12-02T07:41:27.141Z] be476c5f038b: Preparing [2021-12-02T07:41:27.141Z] 4cb551396fc4: Preparing [2021-12-02T07:41:27.141Z] 62170e181a92: Preparing [2021-12-02T07:41:27.416Z] 62170e181a92: Layer already exists [2021-12-02T07:41:27.416Z] 1968a2304d04: Pushed [2021-12-02T07:41:27.416Z] 634a0a251f76: Pushed [2021-12-02T07:41:28.010Z] 4cb551396fc4: Pushed [2021-12-02T07:41:30.624Z] be476c5f038b: Pushed [2021-12-02T07:41:30.624Z] f190e6e8df31eb379f6a262f1bc8f793fb631af1: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:30.969Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:31.310Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-12-02T07:41:31.310Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T07:41:31.310Z] 634a0a251f76: Preparing [2021-12-02T07:41:31.310Z] 1968a2304d04: Preparing [2021-12-02T07:41:31.310Z] be476c5f038b: Preparing [2021-12-02T07:41:31.310Z] 4cb551396fc4: Preparing [2021-12-02T07:41:31.310Z] 62170e181a92: Preparing [2021-12-02T07:41:31.310Z] 1968a2304d04: Layer already exists [2021-12-02T07:41:31.310Z] be476c5f038b: Layer already exists [2021-12-02T07:41:31.310Z] 634a0a251f76: Layer already exists [2021-12-02T07:41:31.310Z] 4cb551396fc4: Layer already exists [2021-12-02T07:41:31.310Z] 62170e181a92: Layer already exists [2021-12-02T07:41:31.582Z] latest: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:31.930Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:32.271Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.1 [2021-12-02T07:41:32.271Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T07:41:32.271Z] 634a0a251f76: Preparing [2021-12-02T07:41:32.271Z] 1968a2304d04: Preparing [2021-12-02T07:41:32.271Z] be476c5f038b: Preparing [2021-12-02T07:41:32.271Z] 4cb551396fc4: Preparing [2021-12-02T07:41:32.271Z] 62170e181a92: Preparing [2021-12-02T07:41:32.271Z] 4cb551396fc4: Layer already exists [2021-12-02T07:41:32.271Z] 1968a2304d04: Layer already exists [2021-12-02T07:41:32.271Z] 62170e181a92: Layer already exists [2021-12-02T07:41:32.271Z] be476c5f038b: Layer already exists [2021-12-02T07:41:32.271Z] 634a0a251f76: Layer already exists [2021-12-02T07:41:32.545Z] 2.2.0-dev.1: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:32.888Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:33.230Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [2021-12-02T07:41:33.230Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T07:41:33.230Z] 634a0a251f76: Preparing [2021-12-02T07:41:33.230Z] 1968a2304d04: Preparing [2021-12-02T07:41:33.230Z] be476c5f038b: Preparing [2021-12-02T07:41:33.230Z] 4cb551396fc4: Preparing [2021-12-02T07:41:33.230Z] 62170e181a92: Preparing [2021-12-02T07:41:33.230Z] 1968a2304d04: Layer already exists [2021-12-02T07:41:33.230Z] 634a0a251f76: Layer already exists [2021-12-02T07:41:33.230Z] be476c5f038b: Layer already exists [2021-12-02T07:41:33.230Z] 4cb551396fc4: Layer already exists [2021-12-02T07:41:33.230Z] 62170e181a92: Layer already exists [2021-12-02T07:41:33.230Z] f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:33.575Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:33.933Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2021-12-02T07:41:33.933Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T07:41:33.933Z] 634a0a251f76: Preparing [2021-12-02T07:41:33.933Z] 1968a2304d04: Preparing [2021-12-02T07:41:33.933Z] be476c5f038b: Preparing [2021-12-02T07:41:33.933Z] 4cb551396fc4: Preparing [2021-12-02T07:41:33.933Z] 62170e181a92: Preparing [2021-12-02T07:41:33.933Z] be476c5f038b: Layer already exists [2021-12-02T07:41:33.933Z] 634a0a251f76: Layer already exists [2021-12-02T07:41:33.933Z] 62170e181a92: Layer already exists [2021-12-02T07:41:33.933Z] 4cb551396fc4: Layer already exists [2021-12-02T07:41:33.933Z] 1968a2304d04: Layer already exists [2021-12-02T07:41:33.933Z] main: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T07:41:34.259Z] ===================================================== [Pipeline] echo [2021-12-02T07:41:34.270Z] taggedImages: [2021-12-02T07:41:34.270Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1 [2021-12-02T07:41:34.270Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-12-02T07:41:34.270Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.1 [2021-12-02T07:41:34.270Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [2021-12-02T07:41:34.270Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:34.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T07:41:34.773Z] [2021-12-02T07:41:34.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:41:35.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T07:41:35.397Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T07:41:35.397Z] 448f6bf000e3: Pulling fs layer [2021-12-02T07:41:35.397Z] f757da607395: Pulling fs layer [2021-12-02T07:41:35.397Z] 05883995daec: Pulling fs layer [2021-12-02T07:41:35.397Z] 8603b9c90790: Pulling fs layer [2021-12-02T07:41:35.397Z] 1560dd03e051: Pulling fs layer [2021-12-02T07:41:35.397Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T07:41:35.397Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T07:41:35.397Z] 1560dd03e051: Waiting [2021-12-02T07:41:35.397Z] 27f5ce0e4adf: Waiting [2021-12-02T07:41:35.397Z] c2d8d7efcc4b: Waiting [2021-12-02T07:41:35.397Z] 8603b9c90790: Waiting [2021-12-02T07:41:35.397Z] f757da607395: Verifying Checksum [2021-12-02T07:41:35.397Z] f757da607395: Download complete [2021-12-02T07:41:35.397Z] 8603b9c90790: Verifying Checksum [2021-12-02T07:41:35.397Z] 8603b9c90790: Download complete [2021-12-02T07:41:35.397Z] 1560dd03e051: Verifying Checksum [2021-12-02T07:41:35.397Z] 1560dd03e051: Download complete [2021-12-02T07:41:35.397Z] 27f5ce0e4adf: Download complete [2021-12-02T07:41:35.397Z] 05883995daec: Verifying Checksum [2021-12-02T07:41:35.397Z] 05883995daec: Download complete [2021-12-02T07:41:35.992Z] 448f6bf000e3: Verifying Checksum [2021-12-02T07:41:35.992Z] 448f6bf000e3: Download complete [2021-12-02T07:41:38.614Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T07:41:38.614Z] c2d8d7efcc4b: Download complete [2021-12-02T07:41:39.593Z] 448f6bf000e3: Pull complete [2021-12-02T07:41:40.192Z] f757da607395: Pull complete [2021-12-02T07:41:41.632Z] 05883995daec: Pull complete [2021-12-02T07:41:41.632Z] 8603b9c90790: Pull complete [2021-12-02T07:41:42.611Z] 1560dd03e051: Pull complete [2021-12-02T07:41:42.885Z] 27f5ce0e4adf: Pull complete [2021-12-02T07:41:57.964Z] c2d8d7efcc4b: Pull complete [2021-12-02T07:41:57.965Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T07:41:57.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T07:41:57.965Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T07:41:58.187Z] prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container [2021-12-02T07:41:58.266Z] $ 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/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 [2021-12-02T07:42:00.851Z] $ docker top efab3eefe59e1dcec3942e69901f724fef78fece09528425870aa6b8f641b35b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:42:01.764Z] ---> job-cost.sh [2021-12-02T07:42:01.764Z] lf-activate-venv: SKIPPING [2021-12-02T07:42:01.764Z] INFO: No Stack... [2021-12-02T07:42:02.036Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T07:42:02.306Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T07:42:02.972Z] + cut -d, -f6+ cat /w/workspace/device-snmp-go/10/archives/cost.csv [2021-12-02T07:42:02.972Z] [Pipeline] lock [2021-12-02T07:42:03.033Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [2021-12-02T07:42:03.042Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] did not exist. Created. [2021-12-02T07:42:03.042Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T07:42:03.731Z] /w/workspace/device-snmp-go/10@tmp/durable-6ef4a2f1/script.sh: 1: /w/workspace/device-snmp-go/10@tmp/durable-6ef4a2f1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T07:42:04.405Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T07:42:04.425Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T07:42:04.467Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T07:42:04.476Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T07:42:04.495Z] $ docker stop --time=1 efab3eefe59e1dcec3942e69901f724fef78fece09528425870aa6b8f641b35b [2021-12-02T07:42:05.989Z] $ docker rm -f efab3eefe59e1dcec3942e69901f724fef78fece09528425870aa6b8f641b35b [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 [2021-12-02T07:42:06.611Z] provisioning config files... [2021-12-02T07:42:06.622Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5447162751300456485tmp [Pipeline] { [Pipeline] sh [2021-12-02T07:42:06.941Z] + set +x [2021-12-02T07:42:06.941Z] + bash -s -- [2021-12-02T07:42:06.941Z] + curl -s https://codecov.io/bash [2021-12-02T07:42:06.941Z] [2021-12-02T07:42:06.941Z] _____ _ [2021-12-02T07:42:06.941Z] / ____| | | [2021-12-02T07:42:06.941Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T07:42:06.941Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T07:42:06.941Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T07:42:06.941Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T07:42:06.941Z] Bash-1.0.6 [2021-12-02T07:42:06.941Z] [2021-12-02T07:42:06.941Z] [2021-12-02T07:42:06.941Z] ==> git version 2.24.4 found [2021-12-02T07:42:06.941Z] ==> 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 [2021-12-02T07:42:06.941Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T07:42:06.941Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T07:42:06.941Z] ==> Jenkins CI detected. [2021-12-02T07:42:06.941Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T07:42:06.941Z] project root: . [2021-12-02T07:42:06.941Z] --> token set from env [2021-12-02T07:42:06.941Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T07:42:06.941Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T07:42:06.941Z] ==> Python coveragepy not found [2021-12-02T07:42:06.941Z] ==> Searching for coverage reports in: [2021-12-02T07:42:06.941Z] + . [2021-12-02T07:42:06.941Z] -> Found 1 reports [2021-12-02T07:42:06.941Z] ==> Detecting git/mercurial file structure [2021-12-02T07:42:06.941Z] ==> Reading reports [2021-12-02T07:42:06.941Z] + ./coverage.out bytes=7631 [2021-12-02T07:42:06.941Z] ==> Appending adjustments [2021-12-02T07:42:06.941Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T07:42:07.209Z] + Found adjustments [2021-12-02T07:42:07.209Z] ==> Gzipping contents [2021-12-02T07:42:07.209Z] 4.0K /tmp/codecov.ojLUvo.gz [2021-12-02T07:42:07.209Z] ==> Uploading reports [2021-12-02T07:42:07.209Z] url: https://codecov.io [2021-12-02T07:42:07.209Z] query: branch=main&commit=f190e6e8df31eb379f6a262f1bc8f793fb631af1&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T07:42:07.209Z] -> Pinging Codecov [2021-12-02T07:42:07.209Z] 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=f190e6e8df31eb379f6a262f1bc8f793fb631af1&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T07:42:07.470Z] -> Uploading to [2021-12-02T07:42:07.470Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/6C56EA5C29638FB4528AC87E60AF5AE0/f190e6e8df31eb379f6a262f1bc8f793fb631af1/3ceb8d3d-c225-4541-a8ef-6ad64cb020f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T074207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fde92c3d1b6a1dd168cebc175debd2bd547fe3e0f47325256b019ca5f883a00a [2021-12-02T07:42:07.470Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T07:42:07.470Z] Dload Upload Total Spent Left Speed [2021-12-02T07:42:07.730Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4835 --:--:-- --:--:-- --:--:-- 4825 100 1578 0 0 100 1578 0 4832 --:--:-- --:--:-- --:--:-- 4825 [2021-12-02T07:42:07.730Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] } [2021-12-02T07:42:07.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-12-02T07:42:07.940Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-12-02T07:42:07.955Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:42:08.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T07:42:08.253Z] [2021-12-02T07:42:08.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:42:08.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T07:42:08.561Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-12-02T07:42:08.561Z] 188c0c94c7c5: Pulling fs layer [2021-12-02T07:42:08.561Z] 0ef7d3d256c8: Pulling fs layer [2021-12-02T07:42:08.561Z] de9db76c5a1d: Pulling fs layer [2021-12-02T07:42:08.561Z] 0eba1c9be4d2: Pulling fs layer [2021-12-02T07:42:08.561Z] 0d57e429df01: Pulling fs layer [2021-12-02T07:42:08.561Z] 4e4be7b47b0d: Pulling fs layer [2021-12-02T07:42:08.561Z] e1f770b5df2f: Pulling fs layer [2021-12-02T07:42:08.561Z] 85a0685a4137: Pulling fs layer [2021-12-02T07:42:08.561Z] 0d57e429df01: Waiting [2021-12-02T07:42:08.561Z] 4e4be7b47b0d: Waiting [2021-12-02T07:42:08.561Z] e1f770b5df2f: Waiting [2021-12-02T07:42:08.561Z] 85a0685a4137: Waiting [2021-12-02T07:42:08.561Z] 0eba1c9be4d2: Waiting [2021-12-02T07:42:08.561Z] de9db76c5a1d: Verifying Checksum [2021-12-02T07:42:08.561Z] de9db76c5a1d: Download complete [2021-12-02T07:42:08.561Z] 0ef7d3d256c8: Download complete [2021-12-02T07:42:08.561Z] 0d57e429df01: Verifying Checksum [2021-12-02T07:42:08.561Z] 0d57e429df01: Download complete [2021-12-02T07:42:08.561Z] 4e4be7b47b0d: Verifying Checksum [2021-12-02T07:42:08.561Z] 4e4be7b47b0d: Download complete [2021-12-02T07:42:08.561Z] 188c0c94c7c5: Verifying Checksum [2021-12-02T07:42:08.561Z] 188c0c94c7c5: Download complete [2021-12-02T07:42:08.824Z] e1f770b5df2f: Verifying Checksum [2021-12-02T07:42:08.824Z] e1f770b5df2f: Download complete [2021-12-02T07:42:09.091Z] 0eba1c9be4d2: Verifying Checksum [2021-12-02T07:42:09.091Z] 0eba1c9be4d2: Download complete [2021-12-02T07:42:09.358Z] 188c0c94c7c5: Pull complete [2021-12-02T07:42:09.358Z] 85a0685a4137: Verifying Checksum [2021-12-02T07:42:09.358Z] 85a0685a4137: Download complete [2021-12-02T07:42:09.358Z] 0ef7d3d256c8: Pull complete [2021-12-02T07:42:09.358Z] de9db76c5a1d: Pull complete [2021-12-02T07:42:13.609Z] 0eba1c9be4d2: Pull complete [2021-12-02T07:42:13.609Z] 0d57e429df01: Pull complete [2021-12-02T07:42:13.609Z] 4e4be7b47b0d: Pull complete [2021-12-02T07:42:13.609Z] e1f770b5df2f: Pull complete [2021-12-02T07:42:16.991Z] 85a0685a4137: Pull complete [2021-12-02T07:42:16.991Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-12-02T07:42:16.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T07:42:16.991Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-12-02T07:42:17.056Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-12-02T07:42:17.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-12-02T07:42:19.235Z] $ docker top ba81b236380aa968b53d0011ed2952760a9bf4d2f1960025e150ff97e22e6f83 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-02T07:42:19.320Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-12-02T07:42:19.627Z] + set -o pipefail [2021-12-02T07:42:19.627Z] + snyk monitor '--org=edgex-jenkins' [2021-12-02T07:42:24.923Z] [2021-12-02T07:42:24.923Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2021-12-02T07:42:24.923Z] [2021-12-02T07:42:24.923Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/8db595cb-869d-47dc-b8f4-cefeeaae4b6a [2021-12-02T07:42:24.923Z] [2021-12-02T07:42:24.923Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-12-02T07:42:24.923Z] [2021-12-02T07:42:24.923Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-12-02T07:42:24.923Z] [2021-12-02T07:42:24.923Z] [Pipeline] } [2021-12-02T07:42:24.938Z] $ docker stop --time=1 ba81b236380aa968b53d0011ed2952760a9bf4d2f1960025e150ff97e22e6f83 [2021-12-02T07:42:27.047Z] $ docker rm -f ba81b236380aa968b53d0011ed2952760a9bf4d2f1960025e150ff97e22e6f83 [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 [2021-12-02T07:42:28.028Z] + git log --format=format:%s -1 f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] sh [2021-12-02T07:42:28.329Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T07:42:28.329Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:42:28.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T07:42:28.626Z] . [Pipeline] withDockerContainer [2021-12-02T07:42:28.691Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-12-02T07:42:28.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T07:42:29.067Z] $ docker top 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T07:42:29.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T07:42:29.159Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T07:42:29.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T07:42:29.261Z] $ docker exec 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 ssh-agent [2021-12-02T07:42:29.352Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjAOiek/agent.13 [2021-12-02T07:42:29.352Z] SSH_AGENT_PID=19 [2021-12-02T07:42:29.357Z] Running ssh-add (command line suppressed) [2021-12-02T07:42:29.445Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3240599114164617998.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3240599114164617998.key) [2021-12-02T07:42:29.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T07:42:29.753Z] + git semver tag [2021-12-02T07:42:29.753Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T07:42:29.753Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-12-02T07:42:29.753Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T07:42:29.753Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T07:42:29.753Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T07:42:29.753Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T07:42:29.753Z] # $SEMVER_BRANCH = main [2021-12-02T07:42:29.753Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2021-12-02T07:42:29.753Z] # f190e6e8df31eb379f6a262f1bc8f793fb631af1 HEAD [2021-12-02T07:42:29.753Z] # -> Force: false [2021-12-02T07:42:29.753Z] # 314402a0a41ca0693f2243cc1f56d59e6a0f20db refs/tags/v2.2.0-dev.1 [Pipeline] } [2021-12-02T07:42:29.766Z] $ docker exec --env ******** --env ******** 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 ssh-agent -k [2021-12-02T07:42:29.860Z] unset SSH_AUTH_SOCK; [2021-12-02T07:42:29.860Z] unset SSH_AGENT_PID; [2021-12-02T07:42:29.860Z] echo Agent pid 19 killed; [2021-12-02T07:42:29.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T07:42:30.217Z] + git semver [Pipeline] } [2021-12-02T07:42:30.232Z] $ docker stop --time=1 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 [2021-12-02T07:42:31.390Z] $ docker rm -f 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:42:31.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T07:42:31.771Z] [2021-12-02T07:42:31.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:42:32.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T07:42:32.089Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-02T07:42:32.089Z] ab5ef0e58194: Pulling fs layer [2021-12-02T07:42:32.089Z] 9712f1f96733: Pulling fs layer [2021-12-02T07:42:32.089Z] 63f879dbbcfc: Pulling fs layer [2021-12-02T07:42:32.089Z] 0d9ebad4ef96: Pulling fs layer [2021-12-02T07:42:32.089Z] e9a5061849ea: Pulling fs layer [2021-12-02T07:42:32.089Z] d747dcd14b5f: Pulling fs layer [2021-12-02T07:42:32.089Z] 2de7ff778b66: Pulling fs layer [2021-12-02T07:42:32.089Z] e9a5061849ea: Waiting [2021-12-02T07:42:32.089Z] d747dcd14b5f: Waiting [2021-12-02T07:42:32.089Z] 2de7ff778b66: Waiting [2021-12-02T07:42:32.089Z] 0d9ebad4ef96: Waiting [2021-12-02T07:42:32.089Z] 9712f1f96733: Download complete [2021-12-02T07:42:32.358Z] 63f879dbbcfc: Verifying Checksum [2021-12-02T07:42:32.358Z] 63f879dbbcfc: Download complete [2021-12-02T07:42:32.630Z] ab5ef0e58194: Verifying Checksum [2021-12-02T07:42:32.630Z] ab5ef0e58194: Download complete [2021-12-02T07:42:32.630Z] d747dcd14b5f: Verifying Checksum [2021-12-02T07:42:32.630Z] d747dcd14b5f: Download complete [2021-12-02T07:42:32.630Z] 0d9ebad4ef96: Verifying Checksum [2021-12-02T07:42:32.630Z] 0d9ebad4ef96: Download complete [2021-12-02T07:42:32.630Z] e9a5061849ea: Verifying Checksum [2021-12-02T07:42:32.630Z] e9a5061849ea: Download complete [2021-12-02T07:42:32.630Z] 2de7ff778b66: Verifying Checksum [2021-12-02T07:42:32.630Z] 2de7ff778b66: Download complete [2021-12-02T07:42:35.212Z] ab5ef0e58194: Pull complete [2021-12-02T07:42:35.212Z] 9712f1f96733: Pull complete [2021-12-02T07:42:36.174Z] 63f879dbbcfc: Pull complete [2021-12-02T07:42:40.407Z] 0d9ebad4ef96: Pull complete [2021-12-02T07:42:40.667Z] e9a5061849ea: Pull complete [2021-12-02T07:42:40.667Z] d747dcd14b5f: Pull complete [2021-12-02T07:42:42.072Z] 2de7ff778b66: Pull complete [2021-12-02T07:42:42.072Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-02T07:42:42.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T07:42:42.072Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-02T07:42:42.147Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-12-02T07:42:42.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-12-02T07:42:45.609Z] $ docker top aa5125330f501640b5afac333e5008cb7ac9708fe6a91bf0dfc8027ca36ff07b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-02T07:42:45.691Z] provisioning config files... [2021-12-02T07:42:45.699Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3586536726624002587tmp [2021-12-02T07:42:45.710Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2700608543195881970tmp [2021-12-02T07:42:45.719Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1892348183395085220tmp [Pipeline] { [Pipeline] echo [2021-12-02T07:42:45.735Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:42:46.030Z] ---> sigul-configuration.sh [2021-12-02T07:42:46.030Z] gpg: directory `/root/.gnupg' created [2021-12-02T07:42:46.030Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-02T07:42:46.030Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-02T07:42:46.030Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-02T07:42:46.030Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-02T07:42:46.030Z] gpg: CAST5 encrypted data [2021-12-02T07:42:46.030Z] gpg: encrypted with 1 passphrase [2021-12-02T07:42:46.030Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-02T07:42:46.329Z] + mkdir /home/jenkins [2021-12-02T07:42:46.329Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-02T07:42:46.633Z] + 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 [2021-12-02T07:42:46.642Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:42:46.934Z] ---> sigul-install.sh [2021-12-02T07:42:46.934Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-02T07:42:47.224Z] + git tag --list [2021-12-02T07:42:47.224Z] 1.0.0 [2021-12-02T07:42:47.224Z] v0.0.0 [2021-12-02T07:42:47.224Z] v1.1.0 [2021-12-02T07:42:47.224Z] v1.1.1 [2021-12-02T07:42:47.224Z] v1.2.2 [2021-12-02T07:42:47.224Z] v1.3.0 [2021-12-02T07:42:47.224Z] v1.3.1 [2021-12-02T07:42:47.224Z] v2.0.0 [2021-12-02T07:42:47.224Z] v2.0.1-dev.1 [2021-12-02T07:42:47.224Z] v2.0.1-dev.2 [2021-12-02T07:42:47.224Z] v2.0.1-dev.3 [2021-12-02T07:42:47.224Z] v2.0.1-dev.4 [2021-12-02T07:42:47.224Z] v2.0.1-dev.5 [2021-12-02T07:42:47.224Z] v2.0.1-dev.6 [2021-12-02T07:42:47.224Z] v2.1.0 [2021-12-02T07:42:47.224Z] v2.2.0-dev.1 [Pipeline] sh [2021-12-02T07:42:47.517Z] + lftools sign git-tag v2.2.0-dev.1 [2021-12-02T07:42:48.111Z] Signing Git tag with Sigul... [2021-12-02T07:42:48.111Z] Signing v2.2.0-dev.1 [Pipeline] echo [2021-12-02T07:42:49.064Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:42:49.358Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-02T07:42:49.367Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-02T07:42:49.392Z] $ docker stop --time=1 aa5125330f501640b5afac333e5008cb7ac9708fe6a91bf0dfc8027ca36ff07b [2021-12-02T07:42:50.667Z] $ docker rm -f aa5125330f501640b5afac333e5008cb7ac9708fe6a91bf0dfc8027ca36ff07b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-02T07:42:51.380Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T07:42:51.381Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:42:51.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T07:42:51.682Z] . [Pipeline] withDockerContainer [2021-12-02T07:42:51.750Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-12-02T07:42:51.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T07:42:52.114Z] $ docker top d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T07:42:52.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T07:42:52.208Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T07:42:52.327Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T07:42:52.330Z] $ docker exec d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f ssh-agent [2021-12-02T07:42:52.443Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKKPBGp/agent.13 [2021-12-02T07:42:52.443Z] SSH_AGENT_PID=19 [2021-12-02T07:42:52.448Z] Running ssh-add (command line suppressed) [2021-12-02T07:42:52.529Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1796569542221742311.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1796569542221742311.key) [2021-12-02T07:42:52.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T07:42:52.838Z] + git semver bump pre [2021-12-02T07:42:52.838Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T07:42:52.838Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-12-02T07:42:52.838Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T07:42:52.838Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T07:42:52.838Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T07:42:52.838Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T07:42:52.838Z] # $SEMVER_BRANCH = main [2021-12-02T07:42:52.838Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2021-12-02T07:42:52.838Z] 2.2.0-dev.2 [Pipeline] } [2021-12-02T07:42:52.857Z] $ docker exec --env ******** --env ******** d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f ssh-agent -k [2021-12-02T07:42:52.937Z] unset SSH_AUTH_SOCK; [2021-12-02T07:42:52.937Z] unset SSH_AGENT_PID; [2021-12-02T07:42:52.937Z] echo Agent pid 19 killed; [2021-12-02T07:42:52.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T07:42:53.404Z] + git semver [Pipeline] } [2021-12-02T07:42:53.474Z] $ docker stop --time=1 d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f [2021-12-02T07:42:54.692Z] $ docker rm -f d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T07:42:55.083Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T07:42:55.083Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:42:55.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T07:42:55.381Z] . [Pipeline] withDockerContainer [2021-12-02T07:42:55.442Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-12-02T07:42:55.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T07:42:55.803Z] $ docker top 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T07:42:55.905Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T07:42:55.905Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T07:42:56.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T07:42:56.003Z] $ docker exec 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 ssh-agent [2021-12-02T07:42:56.110Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpBmjFp/agent.14 [2021-12-02T07:42:56.110Z] SSH_AGENT_PID=20 [2021-12-02T07:42:56.114Z] Running ssh-add (command line suppressed) [2021-12-02T07:42:56.198Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2276757690005361942.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2276757690005361942.key) [2021-12-02T07:42:56.210Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T07:42:56.507Z] + git semver push [2021-12-02T07:42:56.507Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T07:42:56.507Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-12-02T07:42:56.507Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T07:42:56.507Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T07:42:56.507Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T07:42:56.507Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T07:42:56.507Z] # $SEMVER_BRANCH = main [2021-12-02T07:42:56.507Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-12-02T07:42:58.428Z] $ docker exec --env ******** --env ******** 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 ssh-agent -k [2021-12-02T07:42:58.510Z] unset SSH_AUTH_SOCK; [2021-12-02T07:42:58.511Z] unset SSH_AGENT_PID; [2021-12-02T07:42:58.511Z] echo Agent pid 20 killed; [2021-12-02T07:42:58.520Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T07:42:58.822Z] + git semver [Pipeline] } [2021-12-02T07:42:58.836Z] $ docker stop --time=1 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 [2021-12-02T07:43:00.009Z] $ docker rm -f 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 [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 [2021-12-02T07:43:01.163Z] + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:43:01.461Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:43:02.022Z] ---> package-listing.sh [2021-12-02T07:43:02.022Z] ++ facter osfamily [2021-12-02T07:43:02.022Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T07:43:02.284Z] + OS_FAMILY=redhat [2021-12-02T07:43:02.284Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T07:43:02.284Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T07:43:02.284Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T07:43:02.284Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T07:43:02.284Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T07:43:02.284Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-12-02T07:43:02.284Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T07:43:02.284Z] + case "${OS_FAMILY}" in [2021-12-02T07:43:02.284Z] + rpm -qa [2021-12-02T07:43:02.284Z] + sort [2021-12-02T07:43:02.864Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T07:43:02.864Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T07:43:02.864Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T07:43:02.864Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-12-02T07:43:02.864Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2021-12-02T07:43:02.864Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2021-12-02T07:43:02.876Z] 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 [2021-12-02T07:43:03.157Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:43:03.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T07:43:03.714Z] [2021-12-02T07:43:03.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T07:43:04.031Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T07:43:04.031Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T07:43:04.031Z] b4d181a07f80: Pulling fs layer [2021-12-02T07:43:04.031Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T07:43:04.031Z] ed53099fbce6: Pulling fs layer [2021-12-02T07:43:04.031Z] dc539afda2c1: Pulling fs layer [2021-12-02T07:43:04.031Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T07:43:04.031Z] 9065ff56babe: Pulling fs layer [2021-12-02T07:43:04.031Z] d287ab97295c: Pulling fs layer [2021-12-02T07:43:04.031Z] 77bc0d833cb6: Waiting [2021-12-02T07:43:04.031Z] 9065ff56babe: Waiting [2021-12-02T07:43:04.031Z] d287ab97295c: Waiting [2021-12-02T07:43:04.031Z] dc539afda2c1: Waiting [2021-12-02T07:43:04.031Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T07:43:04.031Z] a1111a8f2ec3: Download complete [2021-12-02T07:43:04.031Z] dc539afda2c1: Verifying Checksum [2021-12-02T07:43:04.031Z] dc539afda2c1: Download complete [2021-12-02T07:43:04.297Z] ed53099fbce6: Verifying Checksum [2021-12-02T07:43:04.297Z] ed53099fbce6: Download complete [2021-12-02T07:43:04.297Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T07:43:04.297Z] 77bc0d833cb6: Download complete [2021-12-02T07:43:04.297Z] 9065ff56babe: Verifying Checksum [2021-12-02T07:43:04.297Z] 9065ff56babe: Download complete [2021-12-02T07:43:04.297Z] b4d181a07f80: Verifying Checksum [2021-12-02T07:43:04.297Z] b4d181a07f80: Download complete [2021-12-02T07:43:04.867Z] d287ab97295c: Verifying Checksum [2021-12-02T07:43:04.867Z] d287ab97295c: Download complete [2021-12-02T07:43:05.822Z] b4d181a07f80: Pull complete [2021-12-02T07:43:06.085Z] a1111a8f2ec3: Pull complete [2021-12-02T07:43:06.663Z] ed53099fbce6: Pull complete [2021-12-02T07:43:06.663Z] dc539afda2c1: Pull complete [2021-12-02T07:43:06.927Z] 77bc0d833cb6: Pull complete [2021-12-02T07:43:06.927Z] 9065ff56babe: Pull complete [2021-12-02T07:43:12.255Z] d287ab97295c: Pull complete [2021-12-02T07:43:12.255Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T07:43:12.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T07:43:12.255Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T07:43:12.322Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-12-02T07:43:12.359Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T07:43:14.733Z] $ docker top c3c6c5393fc188e786218a9ff70890e57d57acb35b647628c7abf1b39a9f9681 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T07:43:15.075Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T07:43:15.370Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T07:43:15.657Z] + ls /var/log/sa-host [2021-12-02T07:43:15.657Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T07:43:15.657Z] file_magic: OK [2021-12-02T07:43:15.657Z] HZ: Using current value: 100 [2021-12-02T07:43:15.657Z] file_header: OK [2021-12-02T07:43:15.657Z] 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 [2021-12-02T07:43:15.657Z] Statistics: [2021-12-02T07:43:15.657Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T07:43:15.657Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T07:43:15.657Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T07:43:15.657Z] file_magic: OK [2021-12-02T07:43:15.657Z] HZ: Using current value: 100 [2021-12-02T07:43:15.657Z] file_header: OK [2021-12-02T07:43:15.657Z] 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 [2021-12-02T07:43:15.657Z] Statistics: [2021-12-02T07:43:15.657Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T07:43:15.657Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T07:43:15.732Z] provisioning config files... [2021-12-02T07:43:15.742Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6274887588173802554tmp [Pipeline] { [Pipeline] echo [2021-12-02T07:43:15.756Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:43:16.040Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T07:43:16.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:43:16.392Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T07:43:16.402Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:43:16.701Z] ---> sudo-logs.sh [2021-12-02T07:43:16.701Z] Archiving 'sudo' log.. [2021-12-02T07:43:16.701Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-42.novalocal: Name or service not known [2021-12-02T07:43:16.701Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-42.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T07:43:16.724Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:43:17.014Z] ---> job-cost.sh [2021-12-02T07:43:17.014Z] lf-activate-venv: SKIPPING [2021-12-02T07:43:17.015Z] DEBUG: total: 0.10999999940395355 [2021-12-02T07:43:17.015Z] INFO: Retrieving Stack Cost... [2021-12-02T07:43:17.581Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T07:43:19.178Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T07:43:19.189Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T07:43:19.473Z] ---> logs-deploy.sh [2021-12-02T07:43:19.473Z] lf-activate-venv: SKIPPING [2021-12-02T07:43:19.473Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/10 [2021-12-02T07:43:19.473Z] INFO: archiving workspace using pattern(s): [2021-12-02T07:43:20.045Z] Archives upload complete. [2021-12-02T07:43:20.306Z] INFO: archiving logs to Nexus