Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8cef9076ddadae0bb4a2071504c212bd6ac7a64c Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh7332012011333238024.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh2718338513576646243.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 a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh2028021518481070132.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > 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-ssh2303986034463969588.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-ssh1433577296838993084.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-151’ Running on prd-centos7-docker-4c-2g-155 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-ssh3957984162932200013.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 8cef9076ddadae0bb4a2071504c212bd6ac7a64c (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 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 Commit message: "feat(snap): add initial snap packaging" > git rev-list --no-walk 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T17:59:48.975Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T17:59:49.018Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T17:59:49.028Z] ========================================================= [2021-11-11T17:59:49.028Z] EdgeX Global Pipelines Version Info [2021-11-11T17:59:49.028Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T17:59:50.152Z] ------------------- [2021-11-11T17:59:50.152Z] stable info: [2021-11-11T17:59:50.152Z] ------------------- [2021-11-11T17:59:50.152Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T17:59:50.152Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T17:59:50.152Z] Message: update stable to v1.0.213 [2021-11-11T17:59:50.721Z] ------------------- [2021-11-11T17:59:50.721Z] experimental info: [2021-11-11T17:59:50.721Z] ------------------- [2021-11-11T17:59:50.721Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T17:59:50.721Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T17:59:50.721Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T17:59:50.792Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-11-11T17:59:50.800Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-11-11T17:59:50.808Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T17:59:50.815Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T17:59:50.823Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T17:59:50.831Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T17:59:50.838Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T17:59:50.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-11T17:59:50.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T17:59:50.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T17:59:50.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T17:59:50.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-11-11T17:59:50.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T17:59:50.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T17:59:50.923Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T17:59:50.931Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T17:59:50.939Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T17:59:50.952Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T17:59:50.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T17:59:50.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-11T17:59:50.999Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-11T17:59:51.008Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-11T17:59:51.019Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T17:59:51.030Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T17:59:51.040Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-11T17:59:51.051Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T17:59:51.061Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-11T17:59:51.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-11T17:59:51.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-11T17:59:51.094Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8cef9076ddadae0bb4a2071504c212bd6ac7a64c [Pipeline] echo [2021-11-11T17:59:51.103Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8cef907 [Pipeline] echo [2021-11-11T17:59:51.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T17:59:51.150Z] provisioning config files... [2021-11-11T17:59:51.168Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8905238861927025969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T17:59:51.483Z] ---> docker-login.sh [2021-11-11T17:59:51.483Z] nexus3.edgexfoundry.org:10001 [2021-11-11T17:59:51.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T17:59:51.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T17:59:51.749Z] Configure a credential helper to remove this warning. See [2021-11-11T17:59:51.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T17:59:51.749Z] [2021-11-11T17:59:51.749Z] Login Succeeded [2021-11-11T17:59:51.749Z] nexus3.edgexfoundry.org:10002 [2021-11-11T17:59:51.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T17:59:51.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T17:59:51.749Z] Configure a credential helper to remove this warning. See [2021-11-11T17:59:51.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T17:59:51.749Z] [2021-11-11T17:59:51.749Z] Login Succeeded [2021-11-11T17:59:51.749Z] nexus3.edgexfoundry.org:10003 [2021-11-11T17:59:52.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T17:59:52.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T17:59:52.016Z] Configure a credential helper to remove this warning. See [2021-11-11T17:59:52.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T17:59:52.016Z] [2021-11-11T17:59:52.016Z] Login Succeeded [2021-11-11T17:59:52.016Z] nexus3.edgexfoundry.org:10004 [2021-11-11T17:59:52.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T17:59:52.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T17:59:52.016Z] Configure a credential helper to remove this warning. See [2021-11-11T17:59:52.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T17:59:52.016Z] [2021-11-11T17:59:52.016Z] Login Succeeded [2021-11-11T17:59:52.016Z] docker.io [2021-11-11T17:59:52.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T17:59:52.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T17:59:52.587Z] Configure a credential helper to remove this warning. See [2021-11-11T17:59:52.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T17:59:52.587Z] [2021-11-11T17:59:52.587Z] Login Succeeded [2021-11-11T17:59:52.587Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T17:59:52.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T17:59:53.026Z] + git rev-list -1 --merges 8cef9076ddadae0bb4a2071504c212bd6ac7a64c~1..8cef9076ddadae0bb4a2071504c212bd6ac7a64c [Pipeline] echo [2021-11-11T17:59:53.062Z] -----------> git rev-list -1 --merges 8cef9076ddadae0bb4a2071504c212bd6ac7a64c~1..8cef9076ddadae0bb4a2071504c212bd6ac7a64c 8cef9076ddadae0bb4a2071504c212bd6ac7a64c [false] [Pipeline] sh [2021-11-11T17:59:53.365Z] + git log --format=format:%s -1 8cef9076ddadae0bb4a2071504c212bd6ac7a64c [Pipeline] echo [2021-11-11T17:59:53.382Z] ========================================================= [2021-11-11T17:59:53.382Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T17:59:53.382Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T17:59:53.703Z] + git log --format=format:%s -1 8cef9076ddadae0bb4a2071504c212bd6ac7a64c [Pipeline] echo [2021-11-11T17:59:53.716Z] [semverPrep] GIT_COMMIT: 8cef9076ddadae0bb4a2071504c212bd6ac7a64c, Commit Message: feat(snap): add initial snap packaging [Pipeline] echo [2021-11-11T17:59:53.723Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T17:59:54.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T17:59:54.301Z] [2021-11-11T17:59:54.301Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T17:59:54.617Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T17:59:54.617Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T17:59:54.617Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T17:59:54.617Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T17:59:54.617Z] 4c7163046ea9: Pulling fs layer [2021-11-11T17:59:54.617Z] 0c2d73faf560: Pulling fs layer [2021-11-11T17:59:54.617Z] 0c2d73faf560: Waiting [2021-11-11T17:59:54.617Z] 3e5f54012d9b: Verifying Checksum [2021-11-11T17:59:54.617Z] 3e5f54012d9b: Download complete [2021-11-11T17:59:54.617Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T17:59:54.617Z] a0d0a0d46f8b: Download complete [2021-11-11T17:59:54.618Z] 4c7163046ea9: Verifying Checksum [2021-11-11T17:59:54.618Z] 4c7163046ea9: Download complete [2021-11-11T17:59:54.618Z] 0c2d73faf560: Verifying Checksum [2021-11-11T17:59:54.618Z] 0c2d73faf560: Download complete [2021-11-11T17:59:54.879Z] a0d0a0d46f8b: Pull complete [2021-11-11T17:59:54.879Z] 3e5f54012d9b: Pull complete [2021-11-11T17:59:55.139Z] 4c7163046ea9: Pull complete [2021-11-11T17:59:55.399Z] 0c2d73faf560: Pull complete [2021-11-11T17:59:55.399Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T17:59:55.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T17:59:55.399Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T17:59:55.467Z] prd-centos7-docker-4c-2g-155 does not seem to be running inside a container [2021-11-11T17:59:55.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T17:59:56.178Z] $ docker top c0c284a51f986a171679d405138d095959df968afec5f605e482fe3bf37e5dbe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T17:59:56.292Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T17:59:56.292Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T17:59:56.410Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T17:59:56.413Z] $ docker exec c0c284a51f986a171679d405138d095959df968afec5f605e482fe3bf37e5dbe ssh-agent [2021-11-11T17:59:56.532Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPeDIJa/agent.14 [2021-11-11T17:59:56.532Z] SSH_AGENT_PID=21 [2021-11-11T17:59:56.541Z] Running ssh-add (command line suppressed) [2021-11-11T17:59:56.646Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7865824269792950596.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7865824269792950596.key) [2021-11-11T17:59:56.659Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T17:59:56.968Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T17:59:56.986Z] $ docker exec --env ******** --env ******** c0c284a51f986a171679d405138d095959df968afec5f605e482fe3bf37e5dbe ssh-agent -k [2021-11-11T17:59:57.091Z] unset SSH_AUTH_SOCK; [2021-11-11T17:59:57.091Z] unset SSH_AGENT_PID; [2021-11-11T17:59:57.091Z] echo Agent pid 21 killed; [2021-11-11T17:59:57.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T17:59:57.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T17:59:57.119Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T17:59:57.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T17:59:57.239Z] $ docker exec c0c284a51f986a171679d405138d095959df968afec5f605e482fe3bf37e5dbe ssh-agent [2021-11-11T17:59:57.346Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBBAJGm/agent.55 [2021-11-11T17:59:57.346Z] SSH_AGENT_PID=61 [2021-11-11T17:59:57.352Z] Running ssh-add (command line suppressed) [2021-11-11T17:59:57.456Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1895855194256011426.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1895855194256011426.key) [2021-11-11T17:59:57.465Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T17:59:57.759Z] + git semver init [2021-11-11T17:59:57.759Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T17:59:57.759Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-11-11T17:59:57.759Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-11T17:59:57.759Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T17:59:57.759Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T17:59:57.759Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T17:59:57.759Z] # $SEMVER_BRANCH = main [2021-11-11T17:59:57.759Z] # $SEMVER_TEMP = /tmp/semver-263471018 [2021-11-11T17:59:57.759Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-11-11T17:59:58.338Z] # '/tmp/semver-263471018' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2021-11-11T17:59:58.338Z] # -> Force: false [2021-11-11T17:59:58.338Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-11-11T17:59:58.354Z] $ docker exec --env ******** --env ******** c0c284a51f986a171679d405138d095959df968afec5f605e482fe3bf37e5dbe ssh-agent -k [2021-11-11T17:59:58.444Z] unset SSH_AUTH_SOCK; [2021-11-11T17:59:58.444Z] unset SSH_AGENT_PID; [2021-11-11T17:59:58.444Z] echo Agent pid 61 killed; [2021-11-11T17:59:58.451Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T17:59:58.754Z] + git semver [Pipeline] } [2021-11-11T17:59:58.767Z] $ docker stop --time=1 c0c284a51f986a171679d405138d095959df968afec5f605e482fe3bf37e5dbe [2021-11-11T17:59:59.973Z] $ docker rm -f c0c284a51f986a171679d405138d095959df968afec5f605e482fe3bf37e5dbe [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:00:00.327Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T18:00:00.594Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T18:00:00.598Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-11T18:00:15.745Z] Still waiting to schedule task [2021-11-11T18:00:15.745Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-11T18:00:15.747Z] Still waiting to schedule task [2021-11-11T18:00:15.747Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-154’ [2021-11-11T18:02:29.368Z] Running on prd-centos7-docker-4c-2g-156 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-11-11T18:02:29.380Z] Running in /w/workspace/device-snmp-go/8 [Pipeline] { [Pipeline] checkout [2021-11-11T18:02:29.470Z] Selected Git installation does not exist. Using Default [2021-11-11T18:02:29.470Z] The recommended git tool is: NONE [2021-11-11T18:02:31.670Z] using credential edgex-jenkins-ssh [2021-11-11T18:02:31.683Z] Cloning the remote Git repository [2021-11-11T18:02:31.270Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-11-11T18:02:31.324Z] > git init /w/workspace/device-snmp-go/8 # timeout=10 [2021-11-11T18:02:32.423Z] Avoid second fetch [2021-11-11T18:02:32.424Z] Checking out Revision 8cef9076ddadae0bb4a2071504c212bd6ac7a64c (main) [2021-11-11T18:02:31.356Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-11-11T18:02:31.356Z] > git --version # timeout=10 [2021-11-11T18:02:31.364Z] > git --version # 'git version 2.24.4' [2021-11-11T18:02:31.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:02:31.399Z] [INFO] Currently running in a labeled security context [2021-11-11T18:02:31.400Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T18:02:31.400Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/8@tmp/jenkins-gitclient-ssh7505709482665244859.key [2021-11-11T18:02:31.418Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:02:31.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-11-11T18:02:31.990Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:02:32.015Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:02:32.030Z] > git checkout -f 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 [2021-11-11T18:02:35.836Z] Commit message: "feat(snap): add initial snap packaging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:02:36.346Z] provisioning config files... [2021-11-11T18:02:36.358Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/8@tmp/config1187473376327020815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:02:36.755Z] ---> docker-login.sh [2021-11-11T18:02:36.755Z] nexus3.edgexfoundry.org:10001 [2021-11-11T18:02:36.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:02:37.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:02:37.018Z] Configure a credential helper to remove this warning. See [2021-11-11T18:02:37.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:02:37.018Z] [2021-11-11T18:02:37.018Z] Login Succeeded [2021-11-11T18:02:37.018Z] nexus3.edgexfoundry.org:10002 [2021-11-11T18:02:37.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:02:37.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:02:37.018Z] Configure a credential helper to remove this warning. See [2021-11-11T18:02:37.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:02:37.018Z] [2021-11-11T18:02:37.018Z] Login Succeeded [2021-11-11T18:02:37.018Z] nexus3.edgexfoundry.org:10003 [2021-11-11T18:02:37.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:02:37.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:02:37.018Z] Configure a credential helper to remove this warning. See [2021-11-11T18:02:37.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:02:37.018Z] [2021-11-11T18:02:37.018Z] Login Succeeded [2021-11-11T18:02:37.018Z] nexus3.edgexfoundry.org:10004 [2021-11-11T18:02:37.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:02:37.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:02:37.279Z] Configure a credential helper to remove this warning. See [2021-11-11T18:02:37.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:02:37.279Z] [2021-11-11T18:02:37.279Z] Login Succeeded [2021-11-11T18:02:37.279Z] docker.io [2021-11-11T18:02:37.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:02:37.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:02:37.539Z] Configure a credential helper to remove this warning. See [2021-11-11T18:02:37.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:02:37.539Z] [2021-11-11T18:02:37.539Z] Login Succeeded [2021-11-11T18:02:37.539Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T18:02:37.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T18:02:37.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T18:02:37.714Z] ========================================================= [2021-11-11T18:02:37.714Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T18:02:37.714Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:02:38.021Z] + 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-11-11T18:02:38.021Z] Sending build context to Docker daemon 451.6kB [2021-11-11T18:02:38.021Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T18:02:38.021Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-11T18:02:38.021Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T18:02:38.021Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T18:02:38.021Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T18:02:38.021Z] b8b176561691: Pulling fs layer [2021-11-11T18:02:38.021Z] 4527c011a84f: Pulling fs layer [2021-11-11T18:02:38.021Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T18:02:38.021Z] e0aca202a116: Pulling fs layer [2021-11-11T18:02:38.021Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T18:02:38.021Z] 34cad66bf833: Pulling fs layer [2021-11-11T18:02:38.021Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T18:02:38.021Z] 4527c011a84f: Waiting [2021-11-11T18:02:38.021Z] 5d74067f8e1e: Waiting [2021-11-11T18:02:38.021Z] e0aca202a116: Waiting [2021-11-11T18:02:38.021Z] 3a43be97a3b4: Waiting [2021-11-11T18:02:38.021Z] 34cad66bf833: Waiting [2021-11-11T18:02:38.021Z] b4e3c513aaa6: Waiting [2021-11-11T18:02:38.021Z] b8b176561691: Verifying Checksum [2021-11-11T18:02:38.021Z] b8b176561691: Download complete [2021-11-11T18:02:38.021Z] 31adcdaf11c8: Verifying Checksum [2021-11-11T18:02:38.021Z] 31adcdaf11c8: Download complete [2021-11-11T18:02:38.021Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T18:02:38.021Z] 5d74067f8e1e: Download complete [2021-11-11T18:02:38.021Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T18:02:38.021Z] a0d0a0d46f8b: Download complete [2021-11-11T18:02:38.021Z] e0aca202a116: Verifying Checksum [2021-11-11T18:02:38.021Z] e0aca202a116: Download complete [2021-11-11T18:02:38.291Z] 3a43be97a3b4: Verifying Checksum [2021-11-11T18:02:38.291Z] 3a43be97a3b4: Download complete [2021-11-11T18:02:38.291Z] 34cad66bf833: Verifying Checksum [2021-11-11T18:02:38.291Z] 34cad66bf833: Download complete [2021-11-11T18:02:38.875Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T18:02:38.875Z] b4e3c513aaa6: Download complete [2021-11-11T18:02:38.875Z] 4527c011a84f: Verifying Checksum [2021-11-11T18:02:38.875Z] 4527c011a84f: Download complete [2021-11-11T18:02:38.875Z] a0d0a0d46f8b: Pull complete [2021-11-11T18:02:38.875Z] 31adcdaf11c8: Pull complete [2021-11-11T18:02:38.875Z] b8b176561691: Pull complete [2021-11-11T18:02:43.135Z] 4527c011a84f: Pull complete [2021-11-11T18:02:43.135Z] 5d74067f8e1e: Pull complete [2021-11-11T18:02:43.135Z] e0aca202a116: Pull complete [2021-11-11T18:02:43.135Z] 3a43be97a3b4: Pull complete [2021-11-11T18:02:43.417Z] 34cad66bf833: Pull complete [2021-11-11T18:02:46.022Z] b4e3c513aaa6: Pull complete [2021-11-11T18:02:46.022Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T18:02:46.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T18:02:46.022Z] ---> 9f6097aaca64 [2021-11-11T18:02:46.022Z] Step 3/11 : ARG MAKE='make build' [2021-11-11T18:02:48.583Z] ---> Running in 7b465f57ed21 [2021-11-11T18:02:48.583Z] Removing intermediate container 7b465f57ed21 [2021-11-11T18:02:48.583Z] ---> b34ae6600f81 [2021-11-11T18:02:48.583Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T18:02:48.846Z] ---> Running in 2100aefc022b [2021-11-11T18:02:48.846Z] Removing intermediate container 2100aefc022b [2021-11-11T18:02:48.846Z] ---> af0aeb8b4a44 [2021-11-11T18:02:48.846Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T18:02:48.846Z] ---> Running in 7fdee3263cc8 [2021-11-11T18:02:48.846Z] Removing intermediate container 7fdee3263cc8 [2021-11-11T18:02:48.846Z] ---> c8e1165314d2 [2021-11-11T18:02:48.846Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T18:02:49.107Z] ---> Running in b1fb3f40b75c [2021-11-11T18:02:49.367Z] Removing intermediate container b1fb3f40b75c [2021-11-11T18:02:49.367Z] ---> a7b82d033eb2 [2021-11-11T18:02:49.367Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T18:02:49.626Z] ---> Running in b6a385cbc195 [2021-11-11T18:02:49.885Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T18:02:50.455Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T18:02:51.028Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T18:02:51.028Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-11T18:02:51.028Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T18:02:51.289Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T18:02:51.289Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T18:02:51.289Z] OK: 224 MiB in 56 packages [2021-11-11T18:02:51.557Z] Removing intermediate container b6a385cbc195 [2021-11-11T18:02:51.557Z] ---> 0773752c3683 [2021-11-11T18:02:51.557Z] Step 8/11 : WORKDIR /device-snmp-go [2021-11-11T18:02:51.557Z] ---> Running in 82b3d935caed [2021-11-11T18:02:51.825Z] Removing intermediate container 82b3d935caed [2021-11-11T18:02:51.825Z] ---> 8b6ff6314489 [2021-11-11T18:02:51.825Z] Step 9/11 : COPY . . [2021-11-11T18:02:51.825Z] ---> a80c1a0ff428 [2021-11-11T18:02:51.825Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T18:02:52.084Z] ---> Running in 519cbbb9a14a [2021-11-11T18:03:07.013Z] Removing intermediate container 519cbbb9a14a [2021-11-11T18:03:07.013Z] ---> 4cafef8f119d [2021-11-11T18:03:07.013Z] Step 11/11 : RUN ${MAKE} [2021-11-11T18:03:07.013Z] ---> Running in ec35a0ad19de [2021-11-11T18:03:07.278Z] noop [2021-11-11T18:03:07.278Z] Removing intermediate container ec35a0ad19de [2021-11-11T18:03:07.278Z] ---> 6027f0d2aef7 [2021-11-11T18:03:07.278Z] Successfully built 6027f0d2aef7 [2021-11-11T18:03:07.278Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:03:07.570Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T18:03:07.570Z] . [Pipeline] withDockerContainer [2021-11-11T18:03:07.639Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2021-11-11T18:03:07.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T18:03:08.056Z] $ docker top ae8b780809588fb3022bacc29114c4840d36ea1432e4018fae174237bcf8f87b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T18:03:08.424Z] + go version [2021-11-11T18:03:08.424Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T18:03:08.434Z] $ docker stop --time=1 ae8b780809588fb3022bacc29114c4840d36ea1432e4018fae174237bcf8f87b [2021-11-11T18:03:09.634Z] $ docker rm -f ae8b780809588fb3022bacc29114c4840d36ea1432e4018fae174237bcf8f87b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:03:10.096Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T18:03:10.096Z] . [Pipeline] withDockerContainer [2021-11-11T18:03:10.157Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2021-11-11T18:03:10.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T18:03:10.519Z] $ docker top 9bbdc3645a33eae2082b64263f5651c869fd5b2562e822e339ba0a016403745b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:03:10.895Z] + make test [2021-11-11T18:03:10.895Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-11T18:03:11.158Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-11-11T18:03:29.430Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-11-11T18:03:29.430Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-11-11T18:03:29.430Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T18:03:34.777Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:03:34.777Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T18:03:34.777Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T18:03:34.785Z] $ docker stop --time=1 9bbdc3645a33eae2082b64263f5651c869fd5b2562e822e339ba0a016403745b [2021-11-11T18:03:36.258Z] $ docker rm -f 9bbdc3645a33eae2082b64263f5651c869fd5b2562e822e339ba0a016403745b [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:03:36.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T18:03:36.833Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-11T18:03:37.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T18:03:37.749Z] + ls -al . [2021-11-11T18:03:37.749Z] total 116 [2021-11-11T18:03:37.749Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 11 18:03 . [2021-11-11T18:03:37.749Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 11 18:02 .. [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 6520 Nov 11 18:02 Attribution.txt [2021-11-11T18:03:37.749Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 11 18:02 bin [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 4401 Nov 11 18:02 CHANGELOG.md [2021-11-11T18:03:37.749Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 11 18:02 cmd [2021-11-11T18:03:37.749Z] -rw-r--r--. 1 jenkins jenkins 7631 Nov 11 18:03 coverage.out [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 1493 Nov 11 18:02 Dockerfile [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 6 Nov 11 18:02 .dockerignore [2021-11-11T18:03:37.749Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 11 18:02 .git [2021-11-11T18:03:37.749Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 11 18:02 .github [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 262 Nov 11 18:02 .gitignore [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 208 Nov 11 18:02 go.mod [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 20831 Nov 11 18:02 go.sum [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 18:02 GOVERNANCE.md [2021-11-11T18:03:37.749Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 11 18:02 internal [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 656 Nov 11 18:02 Jenkinsfile [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 11 18:02 LICENSE [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 1057 Nov 11 18:02 Makefile [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 11 18:02 OWNERS.md [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 9073 Nov 11 18:02 README.md [2021-11-11T18:03:37.749Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 11 18:02 snap [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 11 18:00 VERSION [2021-11-11T18:03:37.749Z] -rw-rw-r--. 1 jenkins jenkins 209 Nov 11 18:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:03:38.052Z] + 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=8cef9076ddadae0bb4a2071504c212bd6ac7a64c --label arch=amd64 --label version=2.0.1-dev.5 . [2021-11-11T18:03:38.052Z] Sending build context to Docker daemon 459.8kB [2021-11-11T18:03:38.052Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T18:03:38.052Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-11T18:03:38.052Z] ---> 6027f0d2aef7 [2021-11-11T18:03:38.052Z] Step 3/23 : ARG MAKE='make build' [2021-11-11T18:03:38.052Z] ---> Running in bda25326fef1 [2021-11-11T18:03:38.052Z] Removing intermediate container bda25326fef1 [2021-11-11T18:03:38.052Z] ---> 2d329f3e00a6 [2021-11-11T18:03:38.052Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T18:03:38.312Z] ---> Running in 9a7e8bd8b6f8 [2021-11-11T18:03:38.312Z] Removing intermediate container 9a7e8bd8b6f8 [2021-11-11T18:03:38.312Z] ---> f5c3adc906f8 [2021-11-11T18:03:38.312Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T18:03:38.312Z] ---> Running in 9d411ba1a925 [2021-11-11T18:03:38.312Z] Removing intermediate container 9d411ba1a925 [2021-11-11T18:03:38.312Z] ---> ef2f8fb3058f [2021-11-11T18:03:38.312Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T18:03:38.312Z] ---> Running in a810acb8edce [2021-11-11T18:03:38.884Z] Removing intermediate container a810acb8edce [2021-11-11T18:03:38.884Z] ---> 6f4fa96616c9 [2021-11-11T18:03:38.884Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T18:03:38.884Z] ---> Running in b310aef1186f [2021-11-11T18:03:39.144Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T18:03:40.079Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T18:03:40.340Z] OK: 224 MiB in 56 packages [2021-11-11T18:03:40.599Z] Removing intermediate container b310aef1186f [2021-11-11T18:03:40.599Z] ---> bdb4906a10c0 [2021-11-11T18:03:40.599Z] Step 8/23 : WORKDIR /device-snmp-go [2021-11-11T18:03:40.599Z] ---> Running in 3d272993fccb [2021-11-11T18:03:40.599Z] Removing intermediate container 3d272993fccb [2021-11-11T18:03:40.599Z] ---> 6db792f0beec [2021-11-11T18:03:40.599Z] Step 9/23 : COPY . . [2021-11-11T18:03:40.860Z] ---> afbb2ad95e61 [2021-11-11T18:03:40.860Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T18:03:40.860Z] ---> Running in 1ec28a42ea9d [2021-11-11T18:03:41.431Z] Removing intermediate container 1ec28a42ea9d [2021-11-11T18:03:41.431Z] ---> 587bc395747a [2021-11-11T18:03:41.431Z] Step 11/23 : RUN ${MAKE} [2021-11-11T18:03:41.431Z] ---> Running in 69ba2c425246 [2021-11-11T18:03:41.708Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.0.1-dev.5" -o cmd/device-snmp ./cmd [2021-11-11T18:03:43.739Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-157 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-11-11T18:03:43.752Z] Running in /w/workspace/device-snmp-go/8 [Pipeline] { [Pipeline] checkout [2021-11-11T18:03:43.951Z] Selected Git installation does not exist. Using Default [2021-11-11T18:03:43.951Z] The recommended git tool is: NONE [2021-11-11T18:03:49.279Z] using credential edgex-jenkins-ssh [2021-11-11T18:03:49.301Z] Cloning the remote Git repository [2021-11-11T18:03:49.347Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-11-11T18:03:49.519Z] > git init /w/workspace/device-snmp-go/8 # timeout=10 [2021-11-11T18:03:49.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-11-11T18:03:49.632Z] > git --version # timeout=10 [2021-11-11T18:03:49.686Z] > git --version # 'git version 2.17.1' [2021-11-11T18:03:49.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:03:49.821Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:03:50.633Z] Avoid second fetch [2021-11-11T18:03:50.634Z] Checking out Revision 8cef9076ddadae0bb4a2071504c212bd6ac7a64c (main) [2021-11-11T18:03:50.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-11-11T18:03:50.602Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:03:50.647Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:03:50.662Z] > git checkout -f 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 [2021-11-11T18:03:54.225Z] Removing intermediate container 69ba2c425246 [2021-11-11T18:03:54.225Z] ---> 3d7e3ec9e435 [2021-11-11T18:03:54.225Z] Step 12/23 : FROM alpine:3.14 [2021-11-11T18:03:55.049Z] Commit message: "feat(snap): add initial snap packaging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T18:03:55.862Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T18:03:55.862Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T18:03:55.862Z] Dload Upload Total Spent Left Speed [2021-11-11T18:03:55.862Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 75794 0 --:--:-- --:--:-- --:--:-- 76283 [Pipeline] sh [2021-11-11T18:03:56.266Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-11T18:03:56.608Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-11T18:03:56.608Z] + sudo tee /etc/docker/daemon.new [2021-11-11T18:03:56.608Z] { [2021-11-11T18:03:56.608Z] "registry-mirrors": [ [2021-11-11T18:03:56.608Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T18:03:56.608Z] ], [2021-11-11T18:03:56.608Z] "bip": "10.250.0.254/24", [2021-11-11T18:03:56.608Z] "hosts": [ [2021-11-11T18:03:56.608Z] "tcp://0.0.0.0:5555", [2021-11-11T18:03:56.608Z] "unix:///var/run/docker.sock" [2021-11-11T18:03:56.608Z] ], [2021-11-11T18:03:56.608Z] "mtu": 1458, [2021-11-11T18:03:56.608Z] "selinux-enabled": true, [2021-11-11T18:03:56.608Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T18:03:56.608Z] } [Pipeline] sh [2021-11-11T18:03:56.955Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T18:03:57.305Z] + sudo service docker restart [2021-11-11T18:03:57.569Z] 3.14: Pulling from library/alpine [2021-11-11T18:03:57.569Z] a0d0a0d46f8b: Already exists [2021-11-11T18:03:57.569Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T18:03:57.569Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T18:03:57.569Z] ---> 14119a10abf4 [2021-11-11T18:03:57.569Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T18:03:57.569Z] ---> Running in 0ec3eb30860a [2021-11-11T18:03:57.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T18:03:57.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T18:03:58.090Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T18:03:58.090Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T18:03:58.090Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T18:03:58.090Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T18:03:58.090Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T18:03:58.090Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T18:03:58.090Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T18:03:58.090Z] OK: 8 MiB in 20 packages [2021-11-11T18:03:58.354Z] Removing intermediate container 0ec3eb30860a [2021-11-11T18:03:58.354Z] ---> 979465e7a77c [2021-11-11T18:03:58.354Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-11-11T18:03:58.922Z] ---> f55b2d978cdf [2021-11-11T18:03:58.922Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-11-11T18:03:58.922Z] ---> bd60bf7a5775 [2021-11-11T18:03:58.922Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-11-11T18:03:59.187Z] ---> da29af91c89d [2021-11-11T18:03:59.187Z] Step 17/23 : EXPOSE 59993 [2021-11-11T18:03:59.187Z] ---> Running in 14f34a519dcb [2021-11-11T18:03:59.187Z] Removing intermediate container 14f34a519dcb [2021-11-11T18:03:59.187Z] ---> d6385d5c7d84 [2021-11-11T18:03:59.187Z] Step 18/23 : EXPOSE 161 [2021-11-11T18:03:59.187Z] ---> Running in e01ef54991c6 [2021-11-11T18:03:59.187Z] Removing intermediate container e01ef54991c6 [2021-11-11T18:03:59.187Z] ---> 19825d615dad [2021-11-11T18:03:59.187Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-11-11T18:03:59.187Z] ---> Running in b8f1295f62e2 [2021-11-11T18:03:59.447Z] Removing intermediate container b8f1295f62e2 [2021-11-11T18:03:59.447Z] ---> 0e3f4405f830 [2021-11-11T18:03:59.447Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-11T18:03:59.447Z] ---> Running in ad399663dd48 [2021-11-11T18:03:59.447Z] Removing intermediate container ad399663dd48 [2021-11-11T18:03:59.447Z] ---> b5a626c63522 [2021-11-11T18:03:59.447Z] Step 21/23 : LABEL arch=amd64 [2021-11-11T18:03:59.447Z] ---> Running in ce52703a32d5 [2021-11-11T18:03:59.447Z] Removing intermediate container ce52703a32d5 [2021-11-11T18:03:59.447Z] ---> 3a561b402c07 [2021-11-11T18:03:59.447Z] Step 22/23 : LABEL git_sha=8cef9076ddadae0bb4a2071504c212bd6ac7a64c [2021-11-11T18:03:59.707Z] ---> Running in 836ba3439a20 [2021-11-11T18:03:59.707Z] Removing intermediate container 836ba3439a20 [2021-11-11T18:03:59.707Z] ---> 1d758fc90a86 [2021-11-11T18:03:59.707Z] Step 23/23 : LABEL version=2.0.1-dev.5 [2021-11-11T18:03:59.707Z] ---> Running in b77defe843ff [2021-11-11T18:03:59.707Z] Removing intermediate container b77defe843ff [2021-11-11T18:03:59.707Z] ---> b83fda1efd7b [2021-11-11T18:03:59.707Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T18:03:59.707Z] Successfully built b83fda1efd7b [2021-11-11T18:03:59.707Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:03:59.938Z] provisioning config files... [2021-11-11T18:03:59.948Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/8@tmp/config949248240778346123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:04:00.257Z] ---> docker-login.sh [2021-11-11T18:04:00.257Z] nexus3.edgexfoundry.org:10001 [2021-11-11T18:04:00.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:04:00.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:00.257Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:00.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:00.257Z] [2021-11-11T18:04:00.257Z] Login Succeeded [2021-11-11T18:04:00.257Z] nexus3.edgexfoundry.org:10002 [2021-11-11T18:04:00.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:04:00.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:00.257Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:00.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:00.257Z] [2021-11-11T18:04:00.257Z] Login Succeeded [2021-11-11T18:04:00.257Z] nexus3.edgexfoundry.org:10003 [2021-11-11T18:04:00.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:04:00.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:00.521Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:00.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:00.522Z] [2021-11-11T18:04:00.522Z] Login Succeeded [2021-11-11T18:04:00.522Z] nexus3.edgexfoundry.org:10004 [2021-11-11T18:04:00.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:04:00.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:00.522Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:00.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:00.522Z] [2021-11-11T18:04:00.522Z] Login Succeeded [2021-11-11T18:04:00.522Z] docker.io [2021-11-11T18:04:00.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:04:01.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:01.042Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:01.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:01.042Z] [2021-11-11T18:04:01.042Z] Login Succeeded [2021-11-11T18:04:01.042Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T18:04:01.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T18:04:01.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T18:04:01.088Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2021-11-11T18:04:01.089Z] 8cef9076ddadae0bb4a2071504c212bd6ac7a64c [2021-11-11T18:04:01.089Z] latest [2021-11-11T18:04:01.089Z] 2.0.1-dev.5 [2021-11-11T18:04:01.089Z] 8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5 [2021-11-11T18:04:01.089Z] main [2021-11-11T18:04:01.089Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:01.401Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:8cef9076ddadae0bb4a2071504c212bd6ac7a64c [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:01.706Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:8cef9076ddadae0bb4a2071504c212bd6ac7a64c [2021-11-11T18:04:01.707Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-11T18:04:01.707Z] 7cc4b70e0e77: Preparing [2021-11-11T18:04:01.707Z] a6ad5aaf5d51: Preparing [2021-11-11T18:04:01.707Z] 4c1950f022b5: Preparing [2021-11-11T18:04:01.707Z] f64eab718d9c: Preparing [2021-11-11T18:04:01.707Z] e2eb06d8af82: Preparing [2021-11-11T18:04:01.707Z] e2eb06d8af82: Layer already exists [2021-11-11T18:04:01.970Z] 7cc4b70e0e77: Pushed [2021-11-11T18:04:01.970Z] a6ad5aaf5d51: Pushed [2021-11-11T18:04:01.970Z] f64eab718d9c: Pushed [2021-11-11T18:04:02.910Z] 4c1950f022b5: Pushed [2021-11-11T18:04:02.910Z] 8cef9076ddadae0bb4a2071504c212bd6ac7a64c: digest: sha256:71212453e5acb7ca435ae8922d3a360157b1ec40ed123393bbecfa241376aef3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:03.208Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:03.506Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-11-11T18:04:03.506Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-11T18:04:03.506Z] 7cc4b70e0e77: Preparing [2021-11-11T18:04:03.506Z] a6ad5aaf5d51: Preparing [2021-11-11T18:04:03.506Z] 4c1950f022b5: Preparing [2021-11-11T18:04:03.506Z] f64eab718d9c: Preparing [2021-11-11T18:04:03.506Z] e2eb06d8af82: Preparing [2021-11-11T18:04:03.506Z] e2eb06d8af82: Layer already exists [2021-11-11T18:04:03.506Z] 7cc4b70e0e77: Layer already exists [2021-11-11T18:04:03.506Z] f64eab718d9c: Layer already exists [2021-11-11T18:04:03.506Z] 4c1950f022b5: Layer already exists [2021-11-11T18:04:03.506Z] a6ad5aaf5d51: Layer already exists [2021-11-11T18:04:03.506Z] latest: digest: sha256:71212453e5acb7ca435ae8922d3a360157b1ec40ed123393bbecfa241376aef3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:03.806Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:04.095Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.0.1-dev.5 [2021-11-11T18:04:04.095Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-11T18:04:04.095Z] 7cc4b70e0e77: Preparing [2021-11-11T18:04:04.095Z] a6ad5aaf5d51: Preparing [2021-11-11T18:04:04.095Z] 4c1950f022b5: Preparing [2021-11-11T18:04:04.096Z] f64eab718d9c: Preparing [2021-11-11T18:04:04.096Z] e2eb06d8af82: Preparing [2021-11-11T18:04:04.096Z] a6ad5aaf5d51: Layer already exists [2021-11-11T18:04:04.096Z] 7cc4b70e0e77: Layer already exists [2021-11-11T18:04:04.096Z] 4c1950f022b5: Layer already exists [2021-11-11T18:04:04.096Z] e2eb06d8af82: Layer already exists [2021-11-11T18:04:04.096Z] f64eab718d9c: Layer already exists [2021-11-11T18:04:04.096Z] 2.0.1-dev.5: digest: sha256:71212453e5acb7ca435ae8922d3a360157b1ec40ed123393bbecfa241376aef3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:04.390Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:04.693Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5 [2021-11-11T18:04:04.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-11T18:04:04.693Z] 7cc4b70e0e77: Preparing [2021-11-11T18:04:04.693Z] a6ad5aaf5d51: Preparing [2021-11-11T18:04:04.693Z] 4c1950f022b5: Preparing [2021-11-11T18:04:04.693Z] f64eab718d9c: Preparing [2021-11-11T18:04:04.693Z] e2eb06d8af82: Preparing [2021-11-11T18:04:04.693Z] a6ad5aaf5d51: Layer already exists [2021-11-11T18:04:04.693Z] 7cc4b70e0e77: Layer already exists [2021-11-11T18:04:04.693Z] f64eab718d9c: Layer already exists [2021-11-11T18:04:04.693Z] 4c1950f022b5: Layer already exists [2021-11-11T18:04:04.693Z] e2eb06d8af82: Layer already exists [2021-11-11T18:04:04.693Z] 8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5: digest: sha256:71212453e5acb7ca435ae8922d3a360157b1ec40ed123393bbecfa241376aef3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:04.987Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:05.282Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2021-11-11T18:04:05.282Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-11T18:04:05.282Z] 7cc4b70e0e77: Preparing [2021-11-11T18:04:05.282Z] a6ad5aaf5d51: Preparing [2021-11-11T18:04:05.282Z] 4c1950f022b5: Preparing [2021-11-11T18:04:05.282Z] f64eab718d9c: Preparing [2021-11-11T18:04:05.282Z] e2eb06d8af82: Preparing [2021-11-11T18:04:05.282Z] 4c1950f022b5: Layer already exists [2021-11-11T18:04:05.282Z] a6ad5aaf5d51: Layer already exists [2021-11-11T18:04:05.282Z] 7cc4b70e0e77: Layer already exists [2021-11-11T18:04:05.282Z] f64eab718d9c: Layer already exists [2021-11-11T18:04:05.282Z] e2eb06d8af82: Layer already exists [2021-11-11T18:04:05.282Z] main: digest: sha256:71212453e5acb7ca435ae8922d3a360157b1ec40ed123393bbecfa241376aef3 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T18:04:05.322Z] ===================================================== [Pipeline] echo [2021-11-11T18:04:05.329Z] taggedImages: [2021-11-11T18:04:05.329Z] - nexus3.edgexfoundry.org:10004/device-snmp:8cef9076ddadae0bb4a2071504c212bd6ac7a64c [2021-11-11T18:04:05.329Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-11-11T18:04:05.329Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.0.1-dev.5 [2021-11-11T18:04:05.329Z] - nexus3.edgexfoundry.org:10004/device-snmp:8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5 [2021-11-11T18:04:05.329Z] - 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-11-11T18:04:05.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:04:05.774Z] [2021-11-11T18:04:05.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:06.077Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:04:06.078Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T18:04:06.078Z] b4d181a07f80: Pulling fs layer [2021-11-11T18:04:06.078Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T18:04:06.078Z] ed53099fbce6: Pulling fs layer [2021-11-11T18:04:06.078Z] dc539afda2c1: Pulling fs layer [2021-11-11T18:04:06.078Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T18:04:06.078Z] 9065ff56babe: Pulling fs layer [2021-11-11T18:04:06.078Z] d287ab97295c: Pulling fs layer [2021-11-11T18:04:06.078Z] dc539afda2c1: Waiting [2021-11-11T18:04:06.078Z] 77bc0d833cb6: Waiting [2021-11-11T18:04:06.078Z] 9065ff56babe: Waiting [2021-11-11T18:04:06.078Z] d287ab97295c: Waiting [2021-11-11T18:04:06.078Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T18:04:06.078Z] a1111a8f2ec3: Download complete [2021-11-11T18:04:06.078Z] dc539afda2c1: Verifying Checksum [2021-11-11T18:04:06.078Z] dc539afda2c1: Download complete [2021-11-11T18:04:06.078Z] ed53099fbce6: Verifying Checksum [2021-11-11T18:04:06.078Z] ed53099fbce6: Download complete [2021-11-11T18:04:06.078Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T18:04:06.078Z] 77bc0d833cb6: Download complete [2021-11-11T18:04:06.078Z] 9065ff56babe: Verifying Checksum [2021-11-11T18:04:06.078Z] 9065ff56babe: Download complete [2021-11-11T18:04:06.344Z] b4d181a07f80: Verifying Checksum [2021-11-11T18:04:06.344Z] b4d181a07f80: Download complete [2021-11-11T18:04:06.915Z] d287ab97295c: Verifying Checksum [2021-11-11T18:04:06.915Z] d287ab97295c: Download complete [2021-11-11T18:04:07.878Z] b4d181a07f80: Pull complete [2021-11-11T18:04:07.878Z] a1111a8f2ec3: Pull complete [2021-11-11T18:04:08.460Z] ed53099fbce6: Pull complete [2021-11-11T18:04:08.460Z] dc539afda2c1: Pull complete [2021-11-11T18:04:08.722Z] 77bc0d833cb6: Pull complete [2021-11-11T18:04:08.981Z] 9065ff56babe: Pull complete [2021-11-11T18:04:14.311Z] d287ab97295c: Pull complete [2021-11-11T18:04:14.311Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T18:04:14.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:04:14.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T18:04:14.381Z] prd-centos7-docker-4c-2g-156 does not seem to be running inside a container [2021-11-11T18:04:14.420Z] $ 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/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T18:04:16.951Z] $ docker top 1e8da279be85d02c6f7c402ed40b432515fcf9cfd032a2023d207c4b1d9098a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2021-11-11T18:04:17.113Z] provisioning config files... [2021-11-11T18:04:17.139Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/8@tmp/config6301360317416353857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:04:17.369Z] ---> job-cost.sh [2021-11-11T18:04:17.369Z] lf-activate-venv: SKIPPING [2021-11-11T18:04:17.369Z] INFO: No Stack... [2021-11-11T18:04:17.565Z] ---> docker-login.sh [2021-11-11T18:04:17.565Z] nexus3.edgexfoundry.org:10001 [2021-11-11T18:04:18.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:04:18.307Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T18:04:18.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:18.761Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:18.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:18.761Z] [2021-11-11T18:04:18.761Z] Login Succeeded [2021-11-11T18:04:18.761Z] nexus3.edgexfoundry.org:10002 [2021-11-11T18:04:18.879Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T18:04:19.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:04:19.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:19.036Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:19.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:19.036Z] [2021-11-11T18:04:19.036Z] Login Succeeded [2021-11-11T18:04:19.036Z] nexus3.edgexfoundry.org:10003 [2021-11-11T18:04:19.169Z] + cut -d, -f6 [2021-11-11T18:04:19.169Z] + cat /w/workspace/device-snmp-go/8/archives/cost.csv [Pipeline] lock [2021-11-11T18:04:19.196Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-8-stack-cost] [2021-11-11T18:04:19.202Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-8-stack-cost] did not exist. Created. [2021-11-11T18:04:19.202Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T18:04:19.512Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T18:04:19.545Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T18:04:19.550Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-8-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T18:04:19.566Z] $ docker stop --time=1 1e8da279be85d02c6f7c402ed40b432515fcf9cfd032a2023d207c4b1d9098a9 [2021-11-11T18:04:19.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:04:19.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:19.636Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:19.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:19.636Z] [2021-11-11T18:04:19.636Z] Login Succeeded [2021-11-11T18:04:19.636Z] nexus3.edgexfoundry.org:10004 [2021-11-11T18:04:20.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:04:20.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:20.233Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:20.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:20.233Z] [2021-11-11T18:04:20.233Z] Login Succeeded [2021-11-11T18:04:20.233Z] docker.io [2021-11-11T18:04:20.688Z] $ docker rm -f 1e8da279be85d02c6f7c402ed40b432515fcf9cfd032a2023d207c4b1d9098a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-11-11T18:04:20.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] } [2021-11-11T18:04:21.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:04:21.102Z] Configure a credential helper to remove this warning. See [2021-11-11T18:04:21.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:04:21.102Z] [2021-11-11T18:04:21.102Z] Login Succeeded [2021-11-11T18:04:21.102Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T18:04:21.120Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T18:04:21.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T18:04:21.403Z] ========================================================= [2021-11-11T18:04:21.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T18:04:21.403Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:04:21.752Z] + 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-11-11T18:04:22.036Z] Sending build context to Docker daemon 450.6kB [2021-11-11T18:04:22.036Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T18:04:22.036Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-11T18:04:22.312Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T18:04:22.312Z] 552d1f2373af: Pulling fs layer [2021-11-11T18:04:22.312Z] ea3f2d53f512: Pulling fs layer [2021-11-11T18:04:22.312Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T18:04:22.312Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T18:04:22.312Z] 72dc09318566: Pulling fs layer [2021-11-11T18:04:22.312Z] f4f7b4309257: Pulling fs layer [2021-11-11T18:04:22.312Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T18:04:22.312Z] b78e95d17946: Pulling fs layer [2021-11-11T18:04:22.312Z] f4f7b4309257: Waiting [2021-11-11T18:04:22.312Z] 7a9cfe048b4a: Waiting [2021-11-11T18:04:22.312Z] 0ac9a79272e3: Waiting [2021-11-11T18:04:22.312Z] 72dc09318566: Waiting [2021-11-11T18:04:22.312Z] b78e95d17946: Waiting [2021-11-11T18:04:22.312Z] 9e70ebbbe112: Download complete [2021-11-11T18:04:22.312Z] ea3f2d53f512: Verifying Checksum [2021-11-11T18:04:22.312Z] ea3f2d53f512: Download complete [2021-11-11T18:04:22.312Z] 72dc09318566: Verifying Checksum [2021-11-11T18:04:22.312Z] 72dc09318566: Download complete [2021-11-11T18:04:22.312Z] f4f7b4309257: Verifying Checksum [2021-11-11T18:04:22.312Z] f4f7b4309257: Download complete [2021-11-11T18:04:22.312Z] 552d1f2373af: Verifying Checksum [2021-11-11T18:04:22.312Z] 552d1f2373af: Download complete [2021-11-11T18:04:22.312Z] 0ac9a79272e3: Verifying Checksum [2021-11-11T18:04:22.312Z] 0ac9a79272e3: Download complete [2021-11-11T18:04:23.318Z] 552d1f2373af: Pull complete [2021-11-11T18:04:23.923Z] ea3f2d53f512: Pull complete [2021-11-11T18:04:24.200Z] 9e70ebbbe112: Pull complete [2021-11-11T18:04:24.472Z] b78e95d17946: Verifying Checksum [2021-11-11T18:04:24.472Z] b78e95d17946: Download complete [2021-11-11T18:04:25.065Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T18:04:25.065Z] 7a9cfe048b4a: Download complete [2021-11-11T18:04:35.219Z] 7a9cfe048b4a: Pull complete [2021-11-11T18:04:35.219Z] 72dc09318566: Pull complete [2021-11-11T18:04:35.490Z] f4f7b4309257: Pull complete [2021-11-11T18:04:35.764Z] 0ac9a79272e3: Pull complete [2021-11-11T18:04:42.489Z] b78e95d17946: Pull complete [2021-11-11T18:04:42.489Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T18:04:42.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T18:04:42.489Z] ---> 8b459fc5aaf0 [2021-11-11T18:04:42.489Z] Step 3/11 : ARG MAKE='make build' [2021-11-11T18:04:43.097Z] ---> Running in a51de6211e83 [2021-11-11T18:04:43.386Z] Removing intermediate container a51de6211e83 [2021-11-11T18:04:43.386Z] ---> f754deeae982 [2021-11-11T18:04:43.386Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T18:04:43.662Z] ---> Running in e81b52ebb4bf [2021-11-11T18:04:43.934Z] Removing intermediate container e81b52ebb4bf [2021-11-11T18:04:43.934Z] ---> fc5b189a473e [2021-11-11T18:04:43.934Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T18:04:44.206Z] ---> Running in 36cc57682811 [2021-11-11T18:04:44.479Z] Removing intermediate container 36cc57682811 [2021-11-11T18:04:44.479Z] ---> 9eab476c3259 [2021-11-11T18:04:44.479Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T18:04:44.479Z] ---> Running in 3d275cccc87d [2021-11-11T18:04:47.100Z] Removing intermediate container 3d275cccc87d [2021-11-11T18:04:47.100Z] ---> 736c76e0196e [2021-11-11T18:04:47.100Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T18:04:47.100Z] ---> Running in 2eceadae07a6 [2021-11-11T18:04:48.075Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T18:04:48.668Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T18:04:49.643Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T18:04:49.643Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-11T18:04:49.643Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T18:04:49.917Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T18:04:49.917Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T18:04:49.917Z] OK: 223 MiB in 56 packages [2021-11-11T18:04:50.899Z] Removing intermediate container 2eceadae07a6 [2021-11-11T18:04:50.899Z] ---> 498c45acf05e [2021-11-11T18:04:50.899Z] Step 8/11 : WORKDIR /device-snmp-go [2021-11-11T18:04:51.180Z] ---> Running in c3ad16541a7f [2021-11-11T18:04:51.456Z] Removing intermediate container c3ad16541a7f [2021-11-11T18:04:51.456Z] ---> 6fbdfcb1ad1e [2021-11-11T18:04:51.456Z] Step 9/11 : COPY . . [2021-11-11T18:04:52.438Z] ---> c1f3f253c9c6 [2021-11-11T18:04:52.438Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T18:04:52.438Z] ---> Running in 43488c92391b [2021-11-11T18:05:14.638Z] Removing intermediate container 43488c92391b [2021-11-11T18:05:14.638Z] ---> 87eadd945406 [2021-11-11T18:05:14.638Z] Step 11/11 : RUN ${MAKE} [2021-11-11T18:05:14.910Z] ---> Running in 057b8eec67b2 [2021-11-11T18:05:15.890Z] noop [2021-11-11T18:05:16.866Z] Removing intermediate container 057b8eec67b2 [2021-11-11T18:05:16.866Z] ---> 09701eae5fe9 [2021-11-11T18:05:16.866Z] Successfully built 09701eae5fe9 [2021-11-11T18:05:16.866Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:05:17.211Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T18:05:17.211Z] . [Pipeline] withDockerContainer [2021-11-11T18:05:17.452Z] prd-ubuntu18.04-docker-arm64-4c-16g-157 does not seem to be running inside a container [2021-11-11T18:05:17.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@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-11-11T18:05:18.996Z] $ docker top 90a35ee5e888397b2410445d45bfd3f8c42fb64206d5686e539d30191919c694 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T18:05:19.940Z] + go version [2021-11-11T18:05:19.940Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T18:05:19.974Z] $ docker stop --time=1 90a35ee5e888397b2410445d45bfd3f8c42fb64206d5686e539d30191919c694 [2021-11-11T18:05:21.612Z] $ docker rm -f 90a35ee5e888397b2410445d45bfd3f8c42fb64206d5686e539d30191919c694 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:05:22.258Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T18:05:22.258Z] . [Pipeline] withDockerContainer [2021-11-11T18:05:22.519Z] prd-ubuntu18.04-docker-arm64-4c-16g-157 does not seem to be running inside a container [2021-11-11T18:05:22.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@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-11-11T18:05:24.054Z] $ docker top 791db49914cd5fe2dbd730bc7ddc874da4b034c889737024155fe7d4edd60c3d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:05:25.014Z] + make test [2021-11-11T18:05:25.014Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-11T18:05:26.464Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-11-11T18:06:13.479Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-11-11T18:06:13.479Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.036s coverage: 0.0% of statements [2021-11-11T18:06:13.479Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T18:06:40.293Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:06:40.293Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T18:06:40.293Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T18:06:40.327Z] $ docker stop --time=1 791db49914cd5fe2dbd730bc7ddc874da4b034c889737024155fe7d4edd60c3d [2021-11-11T18:06:42.090Z] $ docker rm -f 791db49914cd5fe2dbd730bc7ddc874da4b034c889737024155fe7d4edd60c3d [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:06:42.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T18:06:42.970Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T18:06:43.513Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T18:06:43.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T18:06:44.304Z] + ls -al . [2021-11-11T18:06:44.304Z] total 144 [2021-11-11T18:06:44.304Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 18:06 . [2021-11-11T18:06:44.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 18:03 .. [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 11 18:03 .dockerignore [2021-11-11T18:06:44.304Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 18:03 .git [2021-11-11T18:06:44.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 18:03 .github [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 262 Nov 11 18:03 .gitignore [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 6520 Nov 11 18:03 Attribution.txt [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 4401 Nov 11 18:03 CHANGELOG.md [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 1493 Nov 11 18:03 Dockerfile [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 18:03 GOVERNANCE.md [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 11 18:03 Jenkinsfile [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 18:03 LICENSE [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 1057 Nov 11 18:03 Makefile [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 11 18:03 OWNERS.md [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 9073 Nov 11 18:03 README.md [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 11 18:00 VERSION [2021-11-11T18:06:44.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 18:03 bin [2021-11-11T18:06:44.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:03 cmd [2021-11-11T18:06:44.304Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 11 18:06 coverage.out [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 208 Nov 11 18:03 go.mod [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 20831 Nov 11 18:03 go.sum [2021-11-11T18:06:44.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:03 internal [2021-11-11T18:06:44.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:03 snap [2021-11-11T18:06:44.304Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 11 18:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:06:44.651Z] + 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=8cef9076ddadae0bb4a2071504c212bd6ac7a64c --label arch=arm64 --label version=2.0.1-dev.5 . [2021-11-11T18:06:44.926Z] Sending build context to Docker daemon 458.8kB [2021-11-11T18:06:45.205Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T18:06:45.205Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-11T18:06:45.205Z] ---> 09701eae5fe9 [2021-11-11T18:06:45.205Z] Step 3/23 : ARG MAKE='make build' [2021-11-11T18:06:45.205Z] ---> Running in 446ca6f48427 [2021-11-11T18:06:45.802Z] Removing intermediate container 446ca6f48427 [2021-11-11T18:06:45.802Z] ---> 1e6a7de90948 [2021-11-11T18:06:45.802Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T18:06:45.802Z] ---> Running in b10a96c4c435 [2021-11-11T18:06:46.075Z] Removing intermediate container b10a96c4c435 [2021-11-11T18:06:46.075Z] ---> f7746a32ade5 [2021-11-11T18:06:46.076Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T18:06:46.350Z] ---> Running in 8b53a615a8ca [2021-11-11T18:06:46.632Z] Removing intermediate container 8b53a615a8ca [2021-11-11T18:06:46.632Z] ---> a2817cd9938b [2021-11-11T18:06:46.632Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T18:06:46.632Z] ---> Running in daf80fdfa60d [2021-11-11T18:06:48.618Z] Removing intermediate container daf80fdfa60d [2021-11-11T18:06:48.618Z] ---> 15a195bf1e82 [2021-11-11T18:06:48.618Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T18:06:48.618Z] ---> Running in 3e52596f6962 [2021-11-11T18:06:50.058Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T18:06:50.652Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T18:06:51.631Z] OK: 223 MiB in 56 packages [2021-11-11T18:06:52.233Z] Removing intermediate container 3e52596f6962 [2021-11-11T18:06:52.233Z] ---> 5e74b61bdfc7 [2021-11-11T18:06:52.233Z] Step 8/23 : WORKDIR /device-snmp-go [2021-11-11T18:06:52.513Z] ---> Running in fc4e7dc7332f [2021-11-11T18:06:52.787Z] Removing intermediate container fc4e7dc7332f [2021-11-11T18:06:52.787Z] ---> fab6b23fc518 [2021-11-11T18:06:52.787Z] Step 9/23 : COPY . . [2021-11-11T18:06:53.764Z] ---> 808026a174f6 [2021-11-11T18:06:53.764Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T18:06:54.045Z] ---> Running in 81991819dfe2 [2021-11-11T18:06:56.044Z] Removing intermediate container 81991819dfe2 [2021-11-11T18:06:56.044Z] ---> 312ceaba4003 [2021-11-11T18:06:56.044Z] Step 11/23 : RUN ${MAKE} [2021-11-11T18:06:56.044Z] ---> Running in 61c2f7e579ff [2021-11-11T18:06:57.069Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.0.1-dev.5" -o cmd/device-snmp ./cmd [2021-11-11T18:07:36.186Z] Removing intermediate container 61c2f7e579ff [2021-11-11T18:07:36.186Z] ---> 169f3a1c909d [2021-11-11T18:07:36.186Z] Step 12/23 : FROM alpine:3.14 [2021-11-11T18:07:37.620Z] 3.14: Pulling from library/alpine [2021-11-11T18:07:37.894Z] 552d1f2373af: Already exists [2021-11-11T18:07:38.169Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T18:07:38.169Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T18:07:38.169Z] ---> bb3de5531c18 [2021-11-11T18:07:38.169Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T18:07:38.169Z] ---> Running in 346ba971915b [2021-11-11T18:07:39.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T18:07:39.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T18:07:40.581Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T18:07:40.581Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T18:07:40.581Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T18:07:40.581Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T18:07:40.581Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T18:07:40.581Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T18:07:40.581Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T18:07:40.581Z] OK: 8 MiB in 20 packages [2021-11-11T18:07:41.560Z] Removing intermediate container 346ba971915b [2021-11-11T18:07:41.560Z] ---> 5c3fe0ffc9e6 [2021-11-11T18:07:41.560Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-11-11T18:07:43.012Z] ---> 568f91da206a [2021-11-11T18:07:43.012Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-11-11T18:07:43.611Z] ---> 1ab18fe8b63d [2021-11-11T18:07:43.611Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-11-11T18:07:44.208Z] ---> 955fffde3f38 [2021-11-11T18:07:44.208Z] Step 17/23 : EXPOSE 59993 [2021-11-11T18:07:44.481Z] ---> Running in 6d923d2d14cb [2021-11-11T18:07:44.752Z] Removing intermediate container 6d923d2d14cb [2021-11-11T18:07:44.753Z] ---> e7729ad26a77 [2021-11-11T18:07:44.753Z] Step 18/23 : EXPOSE 161 [2021-11-11T18:07:45.025Z] ---> Running in f90b87df8df5 [2021-11-11T18:07:45.301Z] Removing intermediate container f90b87df8df5 [2021-11-11T18:07:45.301Z] ---> 84d7310161ea [2021-11-11T18:07:45.301Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-11-11T18:07:45.301Z] ---> Running in f0ad5f435781 [2021-11-11T18:07:45.897Z] Removing intermediate container f0ad5f435781 [2021-11-11T18:07:45.897Z] ---> 466c90e72cf1 [2021-11-11T18:07:45.897Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-11T18:07:45.897Z] ---> Running in 35e5091800a1 [2021-11-11T18:07:46.169Z] Removing intermediate container 35e5091800a1 [2021-11-11T18:07:46.169Z] ---> 8d314399b3c3 [2021-11-11T18:07:46.169Z] Step 21/23 : LABEL arch=arm64 [2021-11-11T18:07:46.441Z] ---> Running in 898ce2fe21f2 [2021-11-11T18:07:46.714Z] Removing intermediate container 898ce2fe21f2 [2021-11-11T18:07:46.714Z] ---> 1ee01796825e [2021-11-11T18:07:46.714Z] Step 22/23 : LABEL git_sha=8cef9076ddadae0bb4a2071504c212bd6ac7a64c [2021-11-11T18:07:46.987Z] ---> Running in 4985822eb351 [2021-11-11T18:07:47.261Z] Removing intermediate container 4985822eb351 [2021-11-11T18:07:47.261Z] ---> 90aba72510bd [2021-11-11T18:07:47.261Z] Step 23/23 : LABEL version=2.0.1-dev.5 [2021-11-11T18:07:47.261Z] ---> Running in fe2e090043d8 [2021-11-11T18:07:47.853Z] Removing intermediate container fe2e090043d8 [2021-11-11T18:07:47.853Z] ---> 704e013421a2 [2021-11-11T18:07:47.853Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T18:07:47.853Z] Successfully built 704e013421a2 [2021-11-11T18:07:47.853Z] 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-11-11T18:07:48.037Z] provisioning config files... [2021-11-11T18:07:48.053Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/8@tmp/config5622917320311584617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:07:48.399Z] ---> docker-login.sh [2021-11-11T18:07:48.399Z] nexus3.edgexfoundry.org:10001 [2021-11-11T18:07:48.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:07:48.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:07:48.944Z] Configure a credential helper to remove this warning. See [2021-11-11T18:07:48.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:07:48.944Z] [2021-11-11T18:07:48.944Z] Login Succeeded [2021-11-11T18:07:48.944Z] nexus3.edgexfoundry.org:10002 [2021-11-11T18:07:49.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:07:49.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:07:49.491Z] Configure a credential helper to remove this warning. See [2021-11-11T18:07:49.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:07:49.491Z] [2021-11-11T18:07:49.491Z] Login Succeeded [2021-11-11T18:07:49.491Z] nexus3.edgexfoundry.org:10003 [2021-11-11T18:07:49.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:07:50.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:07:50.039Z] Configure a credential helper to remove this warning. See [2021-11-11T18:07:50.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:07:50.039Z] [2021-11-11T18:07:50.039Z] Login Succeeded [2021-11-11T18:07:50.039Z] nexus3.edgexfoundry.org:10004 [2021-11-11T18:07:50.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:07:50.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:07:50.585Z] Configure a credential helper to remove this warning. See [2021-11-11T18:07:50.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:07:50.585Z] [2021-11-11T18:07:50.585Z] Login Succeeded [2021-11-11T18:07:50.585Z] docker.io [2021-11-11T18:07:51.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:07:51.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:07:51.452Z] Configure a credential helper to remove this warning. See [2021-11-11T18:07:51.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:07:51.452Z] [2021-11-11T18:07:51.452Z] Login Succeeded [2021-11-11T18:07:51.452Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T18:07:51.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T18:07:51.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T18:07:51.520Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-11-11T18:07:51.520Z] 8cef9076ddadae0bb4a2071504c212bd6ac7a64c [2021-11-11T18:07:51.520Z] latest [2021-11-11T18:07:51.520Z] 2.0.1-dev.5 [2021-11-11T18:07:51.520Z] 8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5 [2021-11-11T18:07:51.520Z] main [2021-11-11T18:07:51.520Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:51.885Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:8cef9076ddadae0bb4a2071504c212bd6ac7a64c [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:52.227Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:8cef9076ddadae0bb4a2071504c212bd6ac7a64c [2021-11-11T18:07:52.227Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-11T18:07:52.227Z] 713d136c22ca: Preparing [2021-11-11T18:07:52.227Z] 458fcdc00960: Preparing [2021-11-11T18:07:52.227Z] 0b1c5d9b56ea: Preparing [2021-11-11T18:07:52.227Z] f9dd3e4e2502: Preparing [2021-11-11T18:07:52.227Z] ee420dfed78a: Preparing [2021-11-11T18:07:52.500Z] ee420dfed78a: Layer already exists [2021-11-11T18:07:52.500Z] 713d136c22ca: Pushed [2021-11-11T18:07:52.500Z] 458fcdc00960: Pushed [2021-11-11T18:07:53.093Z] f9dd3e4e2502: Pushed [2021-11-11T18:07:55.709Z] 0b1c5d9b56ea: Pushed [2021-11-11T18:07:55.709Z] 8cef9076ddadae0bb4a2071504c212bd6ac7a64c: digest: sha256:81106723f2bf9cf9437fb5db36443d109ffa73e2d34855e492402080e7d7eaf6 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:56.050Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:56.390Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-11-11T18:07:56.390Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-11T18:07:56.390Z] 713d136c22ca: Preparing [2021-11-11T18:07:56.390Z] 458fcdc00960: Preparing [2021-11-11T18:07:56.390Z] 0b1c5d9b56ea: Preparing [2021-11-11T18:07:56.390Z] f9dd3e4e2502: Preparing [2021-11-11T18:07:56.390Z] ee420dfed78a: Preparing [2021-11-11T18:07:56.390Z] f9dd3e4e2502: Layer already exists [2021-11-11T18:07:56.390Z] 0b1c5d9b56ea: Layer already exists [2021-11-11T18:07:56.390Z] ee420dfed78a: Layer already exists [2021-11-11T18:07:56.390Z] 458fcdc00960: Layer already exists [2021-11-11T18:07:56.390Z] 713d136c22ca: Layer already exists [2021-11-11T18:07:56.663Z] latest: digest: sha256:81106723f2bf9cf9437fb5db36443d109ffa73e2d34855e492402080e7d7eaf6 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:57.002Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:57.338Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.5 [2021-11-11T18:07:57.338Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-11T18:07:57.338Z] 713d136c22ca: Preparing [2021-11-11T18:07:57.338Z] 458fcdc00960: Preparing [2021-11-11T18:07:57.338Z] 0b1c5d9b56ea: Preparing [2021-11-11T18:07:57.338Z] f9dd3e4e2502: Preparing [2021-11-11T18:07:57.338Z] ee420dfed78a: Preparing [2021-11-11T18:07:57.338Z] ee420dfed78a: Layer already exists [2021-11-11T18:07:57.338Z] 458fcdc00960: Layer already exists [2021-11-11T18:07:57.338Z] 713d136c22ca: Layer already exists [2021-11-11T18:07:57.338Z] f9dd3e4e2502: Layer already exists [2021-11-11T18:07:57.338Z] 0b1c5d9b56ea: Layer already exists [2021-11-11T18:07:57.612Z] 2.0.1-dev.5: digest: sha256:81106723f2bf9cf9437fb5db36443d109ffa73e2d34855e492402080e7d7eaf6 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:57.955Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:58.292Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5 [2021-11-11T18:07:58.292Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-11T18:07:58.292Z] 713d136c22ca: Preparing [2021-11-11T18:07:58.292Z] 458fcdc00960: Preparing [2021-11-11T18:07:58.292Z] 0b1c5d9b56ea: Preparing [2021-11-11T18:07:58.292Z] f9dd3e4e2502: Preparing [2021-11-11T18:07:58.292Z] ee420dfed78a: Preparing [2021-11-11T18:07:58.565Z] ee420dfed78a: Layer already exists [2021-11-11T18:07:58.565Z] 713d136c22ca: Layer already exists [2021-11-11T18:07:58.565Z] f9dd3e4e2502: Layer already exists [2021-11-11T18:07:58.565Z] 458fcdc00960: Layer already exists [2021-11-11T18:07:58.565Z] 0b1c5d9b56ea: Layer already exists [2021-11-11T18:07:58.565Z] 8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5: digest: sha256:81106723f2bf9cf9437fb5db36443d109ffa73e2d34855e492402080e7d7eaf6 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:58.918Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:07:59.263Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2021-11-11T18:07:59.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-11T18:07:59.263Z] 713d136c22ca: Preparing [2021-11-11T18:07:59.263Z] 458fcdc00960: Preparing [2021-11-11T18:07:59.263Z] 0b1c5d9b56ea: Preparing [2021-11-11T18:07:59.263Z] f9dd3e4e2502: Preparing [2021-11-11T18:07:59.263Z] ee420dfed78a: Preparing [2021-11-11T18:07:59.537Z] ee420dfed78a: Layer already exists [2021-11-11T18:07:59.537Z] 458fcdc00960: Layer already exists [2021-11-11T18:07:59.537Z] 0b1c5d9b56ea: Layer already exists [2021-11-11T18:07:59.537Z] f9dd3e4e2502: Layer already exists [2021-11-11T18:07:59.537Z] 713d136c22ca: Layer already exists [2021-11-11T18:07:59.537Z] main: digest: sha256:81106723f2bf9cf9437fb5db36443d109ffa73e2d34855e492402080e7d7eaf6 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-11T18:07:59.580Z] ===================================================== [Pipeline] echo [2021-11-11T18:07:59.587Z] taggedImages: [2021-11-11T18:07:59.587Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:8cef9076ddadae0bb4a2071504c212bd6ac7a64c [2021-11-11T18:07:59.587Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-11-11T18:07:59.587Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.5 [2021-11-11T18:07:59.587Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:8cef9076ddadae0bb4a2071504c212bd6ac7a64c-2.0.1-dev.5 [2021-11-11T18:07:59.587Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:08:00.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T18:08:00.272Z] [2021-11-11T18:08:00.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:08:00.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T18:08:00.898Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T18:08:00.898Z] 448f6bf000e3: Pulling fs layer [2021-11-11T18:08:00.898Z] f757da607395: Pulling fs layer [2021-11-11T18:08:00.898Z] 05883995daec: Pulling fs layer [2021-11-11T18:08:00.898Z] 8603b9c90790: Pulling fs layer [2021-11-11T18:08:00.898Z] 1560dd03e051: Pulling fs layer [2021-11-11T18:08:00.898Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T18:08:00.898Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T18:08:00.898Z] 1560dd03e051: Waiting [2021-11-11T18:08:00.898Z] 8603b9c90790: Waiting [2021-11-11T18:08:00.898Z] 27f5ce0e4adf: Waiting [2021-11-11T18:08:00.898Z] c2d8d7efcc4b: Waiting [2021-11-11T18:08:00.898Z] f757da607395: Verifying Checksum [2021-11-11T18:08:00.898Z] f757da607395: Download complete [2021-11-11T18:08:00.898Z] 8603b9c90790: Verifying Checksum [2021-11-11T18:08:00.898Z] 8603b9c90790: Download complete [2021-11-11T18:08:01.174Z] 1560dd03e051: Verifying Checksum [2021-11-11T18:08:01.174Z] 1560dd03e051: Download complete [2021-11-11T18:08:01.174Z] 05883995daec: Verifying Checksum [2021-11-11T18:08:01.174Z] 05883995daec: Download complete [2021-11-11T18:08:01.174Z] 27f5ce0e4adf: Verifying Checksum [2021-11-11T18:08:01.174Z] 27f5ce0e4adf: Download complete [2021-11-11T18:08:01.446Z] 448f6bf000e3: Verifying Checksum [2021-11-11T18:08:01.446Z] 448f6bf000e3: Download complete [2021-11-11T18:08:04.065Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T18:08:04.065Z] c2d8d7efcc4b: Download complete [2021-11-11T18:08:05.042Z] 448f6bf000e3: Pull complete [2021-11-11T18:08:06.028Z] f757da607395: Pull complete [2021-11-11T18:08:07.458Z] 05883995daec: Pull complete [2021-11-11T18:08:07.729Z] 8603b9c90790: Pull complete [2021-11-11T18:08:08.708Z] 1560dd03e051: Pull complete [2021-11-11T18:08:08.980Z] 27f5ce0e4adf: Pull complete [2021-11-11T18:08:24.062Z] c2d8d7efcc4b: Pull complete [2021-11-11T18:08:24.062Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T18:08:24.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T18:08:24.062Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-11T18:08:24.364Z] prd-ubuntu18.04-docker-arm64-4c-16g-157 does not seem to be running inside a container [2021-11-11T18:08:24.476Z] $ 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/8 -v /w/workspace/device-snmp-go/8:/w/workspace/device-snmp-go/8:rw,z -v /w/workspace/device-snmp-go/8@tmp:/w/workspace/device-snmp-go/8@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-11-11T18:08:27.496Z] $ docker top 4fa23dbd74aba53b2b178bcf58dc64eec75e6ed114ac0ad704e8c17fca81933c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:08:28.472Z] ---> job-cost.sh [2021-11-11T18:08:28.472Z] lf-activate-venv: SKIPPING [2021-11-11T18:08:28.472Z] INFO: No Stack... [2021-11-11T18:08:30.453Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T18:08:30.453Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T18:08:31.119Z] + cut -d, -f6 [2021-11-11T18:08:31.119Z] + cat /w/workspace/device-snmp-go/8/archives/cost.csv [Pipeline] lock [2021-11-11T18:08:31.182Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-8-stack-cost] [2021-11-11T18:08:31.188Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-8-stack-cost] did not exist. Created. [2021-11-11T18:08:31.188Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T18:08:31.860Z] /w/workspace/device-snmp-go/8@tmp/durable-2bc5eefe/script.sh: 1: /w/workspace/device-snmp-go/8@tmp/durable-2bc5eefe/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T18:08:32.529Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T18:08:32.555Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T18:08:32.601Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T18:08:32.609Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-8-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T18:08:32.641Z] $ docker stop --time=1 4fa23dbd74aba53b2b178bcf58dc64eec75e6ed114ac0ad704e8c17fca81933c [2021-11-11T18:08:34.211Z] $ docker rm -f 4fa23dbd74aba53b2b178bcf58dc64eec75e6ed114ac0ad704e8c17fca81933c [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-11-11T18:08:34.851Z] provisioning config files... [2021-11-11T18:08:34.860Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1088325547183001436tmp [Pipeline] { [Pipeline] sh [2021-11-11T18:08:35.167Z] + set +x [2021-11-11T18:08:35.167Z] + curl -s https://codecov.io/bash [2021-11-11T18:08:35.167Z] + bash -s -- [2021-11-11T18:08:35.167Z] [2021-11-11T18:08:35.167Z] _____ _ [2021-11-11T18:08:35.167Z] / ____| | | [2021-11-11T18:08:35.167Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T18:08:35.167Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T18:08:35.167Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T18:08:35.167Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T18:08:35.167Z] Bash-1.0.6 [2021-11-11T18:08:35.167Z] [2021-11-11T18:08:35.167Z] [2021-11-11T18:08:35.167Z] ==> git version 2.24.4 found [2021-11-11T18:08:35.167Z] ==> 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-11-11T18:08:35.167Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T18:08:35.167Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T18:08:35.167Z] ==> Jenkins CI detected. [2021-11-11T18:08:35.167Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-11T18:08:35.167Z] project root: . [2021-11-11T18:08:35.167Z] --> token set from env [2021-11-11T18:08:35.167Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T18:08:35.428Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T18:08:35.428Z] ==> Python coveragepy not found [2021-11-11T18:08:35.428Z] ==> Searching for coverage reports in: [2021-11-11T18:08:35.428Z] + . [2021-11-11T18:08:35.428Z] -> Found 1 reports [2021-11-11T18:08:35.428Z] ==> Detecting git/mercurial file structure [2021-11-11T18:08:35.428Z] ==> Reading reports [2021-11-11T18:08:35.428Z] + ./coverage.out bytes=7631 [2021-11-11T18:08:35.428Z] ==> Appending adjustments [2021-11-11T18:08:35.428Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T18:08:35.428Z] + Found adjustments [2021-11-11T18:08:35.428Z] ==> Gzipping contents [2021-11-11T18:08:35.428Z] 4.0K /tmp/codecov.d7nmz5.gz [2021-11-11T18:08:35.428Z] ==> Uploading reports [2021-11-11T18:08:35.428Z] url: https://codecov.io [2021-11-11T18:08:35.428Z] query: branch=main&commit=8cef9076ddadae0bb4a2071504c212bd6ac7a64c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T18:08:35.428Z] -> Pinging Codecov [2021-11-11T18:08:35.428Z] 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=8cef9076ddadae0bb4a2071504c212bd6ac7a64c&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-11T18:08:35.998Z] -> Uploading to [2021-11-11T18:08:35.998Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/6C56EA5C29638FB4528AC87E60AF5AE0/8cef9076ddadae0bb4a2071504c212bd6ac7a64c/659d7c75-0b6e-4f9e-b43b-e76fc04f02d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T180835Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d0410faa222575a9299ddf02f6847f0d713c462bc52745bfe3f104b54dd4d93 [2021-11-11T18:08:35.998Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T18:08:35.998Z] Dload Upload Total Spent Left Speed [2021-11-11T18:08:36.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4142 --:--:-- --:--:-- --:--:-- 4152 [2021-11-11T18:08:36.263Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/8cef9076ddadae0bb4a2071504c212bd6ac7a64c [Pipeline] } [2021-11-11T18:08:36.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-11T18:08:36.641Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-11T18:08:36.651Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:08:36.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T18:08:36.944Z] [2021-11-11T18:08:36.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:08:37.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T18:08:37.242Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-11T18:08:37.242Z] 188c0c94c7c5: Pulling fs layer [2021-11-11T18:08:37.242Z] 0ef7d3d256c8: Pulling fs layer [2021-11-11T18:08:37.242Z] de9db76c5a1d: Pulling fs layer [2021-11-11T18:08:37.242Z] 0eba1c9be4d2: Pulling fs layer [2021-11-11T18:08:37.242Z] 0d57e429df01: Pulling fs layer [2021-11-11T18:08:37.242Z] 4e4be7b47b0d: Pulling fs layer [2021-11-11T18:08:37.242Z] e1f770b5df2f: Pulling fs layer [2021-11-11T18:08:37.242Z] 85a0685a4137: Pulling fs layer [2021-11-11T18:08:37.242Z] 0d57e429df01: Waiting [2021-11-11T18:08:37.242Z] 4e4be7b47b0d: Waiting [2021-11-11T18:08:37.242Z] e1f770b5df2f: Waiting [2021-11-11T18:08:37.242Z] 85a0685a4137: Waiting [2021-11-11T18:08:37.242Z] 0eba1c9be4d2: Waiting [2021-11-11T18:08:37.242Z] de9db76c5a1d: Verifying Checksum [2021-11-11T18:08:37.242Z] de9db76c5a1d: Download complete [2021-11-11T18:08:37.242Z] 0ef7d3d256c8: Verifying Checksum [2021-11-11T18:08:37.242Z] 0ef7d3d256c8: Download complete [2021-11-11T18:08:37.242Z] 0d57e429df01: Verifying Checksum [2021-11-11T18:08:37.242Z] 0d57e429df01: Download complete [2021-11-11T18:08:37.242Z] 4e4be7b47b0d: Verifying Checksum [2021-11-11T18:08:37.242Z] 4e4be7b47b0d: Download complete [2021-11-11T18:08:37.242Z] 188c0c94c7c5: Verifying Checksum [2021-11-11T18:08:37.242Z] 188c0c94c7c5: Download complete [2021-11-11T18:08:37.518Z] e1f770b5df2f: Verifying Checksum [2021-11-11T18:08:37.518Z] e1f770b5df2f: Download complete [2021-11-11T18:08:37.781Z] 0eba1c9be4d2: Verifying Checksum [2021-11-11T18:08:37.781Z] 0eba1c9be4d2: Download complete [2021-11-11T18:08:37.781Z] 188c0c94c7c5: Pull complete [2021-11-11T18:08:38.047Z] 0ef7d3d256c8: Pull complete [2021-11-11T18:08:38.047Z] 85a0685a4137: Verifying Checksum [2021-11-11T18:08:38.047Z] 85a0685a4137: Download complete [2021-11-11T18:08:38.047Z] de9db76c5a1d: Pull complete [2021-11-11T18:08:42.337Z] 0eba1c9be4d2: Pull complete [2021-11-11T18:08:42.337Z] 0d57e429df01: Pull complete [2021-11-11T18:08:42.337Z] 4e4be7b47b0d: Pull complete [2021-11-11T18:08:42.596Z] e1f770b5df2f: Pull complete [2021-11-11T18:08:46.814Z] 85a0685a4137: Pull complete [2021-11-11T18:08:46.814Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-11T18:08:46.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-11T18:08:46.814Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-11T18:08:46.901Z] prd-centos7-docker-4c-2g-155 does not seem to be running inside a container [2021-11-11T18:08:46.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-11T18:08:49.356Z] $ docker top df37b6272aaefa30f65a2ad9d7c2d65b3c333037b2e09c99943444e43e4c8c2a -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-11T18:08:49.433Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-11T18:08:49.720Z] + set -o pipefail [2021-11-11T18:08:49.720Z] + snyk monitor '--org=edgex-jenkins' [2021-11-11T18:08:56.316Z] [2021-11-11T18:08:56.316Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2021-11-11T18:08:56.316Z] [2021-11-11T18:08:56.316Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/d3ee223a-da99-4c0a-93ea-dfabb9fb504e [2021-11-11T18:08:56.316Z] [2021-11-11T18:08:56.316Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-11T18:08:56.316Z] [2021-11-11T18:08:56.316Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-11T18:08:56.316Z] [2021-11-11T18:08:56.577Z] [2021-11-11T18:08:56.577Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-11T18:08:56.577Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-11T18:08:56.589Z] $ docker stop --time=1 df37b6272aaefa30f65a2ad9d7c2d65b3c333037b2e09c99943444e43e4c8c2a [2021-11-11T18:08:58.683Z] $ docker rm -f df37b6272aaefa30f65a2ad9d7c2d65b3c333037b2e09c99943444e43e4c8c2a [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-11-11T18:08:59.539Z] + git log --format=format:%s -1 8cef9076ddadae0bb4a2071504c212bd6ac7a64c [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:08:59.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:08:59.838Z] . [Pipeline] withDockerContainer [2021-11-11T18:08:59.909Z] prd-centos7-docker-4c-2g-155 does not seem to be running inside a container [2021-11-11T18:08:59.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T18:09:00.322Z] $ docker top db0d6f33e8ea7e48055188aa3a8611fa872dff3062f339abc1cb9945c6d7bfe4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T18:09:00.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:09:00.409Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:09:00.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:09:00.506Z] $ docker exec db0d6f33e8ea7e48055188aa3a8611fa872dff3062f339abc1cb9945c6d7bfe4 ssh-agent [2021-11-11T18:09:00.603Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdLpiFc/agent.14 [2021-11-11T18:09:00.603Z] SSH_AGENT_PID=21 [2021-11-11T18:09:00.607Z] Running ssh-add (command line suppressed) [2021-11-11T18:09:00.706Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9016931337193410280.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9016931337193410280.key) [2021-11-11T18:09:00.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:09:01.011Z] + git semver tag [2021-11-11T18:09:01.011Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T18:09:01.011Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-11-11T18:09:01.011Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-11T18:09:01.011Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T18:09:01.011Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T18:09:01.011Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T18:09:01.011Z] # $SEMVER_BRANCH = main [2021-11-11T18:09:01.011Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2021-11-11T18:09:01.011Z] # 8cef9076ddadae0bb4a2071504c212bd6ac7a64c HEAD [2021-11-11T18:09:01.011Z] # -> Force: false [2021-11-11T18:09:01.011Z] # 1735682ba68ad6fbe7ce4c136bdc4dabe20ad669 refs/tags/v2.0.1-dev.5 [Pipeline] } [2021-11-11T18:09:01.019Z] $ docker exec --env ******** --env ******** db0d6f33e8ea7e48055188aa3a8611fa872dff3062f339abc1cb9945c6d7bfe4 ssh-agent -k [2021-11-11T18:09:01.123Z] unset SSH_AUTH_SOCK; [2021-11-11T18:09:01.123Z] unset SSH_AGENT_PID; [2021-11-11T18:09:01.123Z] echo Agent pid 21 killed; [2021-11-11T18:09:01.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T18:09:01.448Z] + git semver [Pipeline] } [2021-11-11T18:09:01.466Z] $ docker stop --time=1 db0d6f33e8ea7e48055188aa3a8611fa872dff3062f339abc1cb9945c6d7bfe4 [2021-11-11T18:09:02.654Z] $ docker rm -f db0d6f33e8ea7e48055188aa3a8611fa872dff3062f339abc1cb9945c6d7bfe4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:09:03.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T18:09:03.040Z] [2021-11-11T18:09:03.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:09:03.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T18:09:03.345Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-11T18:09:03.345Z] ab5ef0e58194: Pulling fs layer [2021-11-11T18:09:03.345Z] 9712f1f96733: Pulling fs layer [2021-11-11T18:09:03.345Z] 63f879dbbcfc: Pulling fs layer [2021-11-11T18:09:03.345Z] 0d9ebad4ef96: Pulling fs layer [2021-11-11T18:09:03.345Z] e9a5061849ea: Pulling fs layer [2021-11-11T18:09:03.345Z] d747dcd14b5f: Pulling fs layer [2021-11-11T18:09:03.345Z] 2de7ff778b66: Pulling fs layer [2021-11-11T18:09:03.345Z] e9a5061849ea: Waiting [2021-11-11T18:09:03.345Z] d747dcd14b5f: Waiting [2021-11-11T18:09:03.345Z] 2de7ff778b66: Waiting [2021-11-11T18:09:03.345Z] 0d9ebad4ef96: Waiting [2021-11-11T18:09:03.346Z] 9712f1f96733: Verifying Checksum [2021-11-11T18:09:03.346Z] 9712f1f96733: Download complete [2021-11-11T18:09:03.605Z] 63f879dbbcfc: Verifying Checksum [2021-11-11T18:09:03.605Z] 63f879dbbcfc: Download complete [2021-11-11T18:09:03.605Z] 0d9ebad4ef96: Verifying Checksum [2021-11-11T18:09:03.605Z] 0d9ebad4ef96: Download complete [2021-11-11T18:09:03.885Z] d747dcd14b5f: Verifying Checksum [2021-11-11T18:09:03.885Z] d747dcd14b5f: Download complete [2021-11-11T18:09:03.885Z] ab5ef0e58194: Verifying Checksum [2021-11-11T18:09:03.885Z] ab5ef0e58194: Download complete [2021-11-11T18:09:03.885Z] e9a5061849ea: Verifying Checksum [2021-11-11T18:09:03.885Z] e9a5061849ea: Download complete [2021-11-11T18:09:03.885Z] 2de7ff778b66: Verifying Checksum [2021-11-11T18:09:03.885Z] 2de7ff778b66: Download complete [2021-11-11T18:09:07.247Z] ab5ef0e58194: Pull complete [2021-11-11T18:09:07.247Z] 9712f1f96733: Pull complete [2021-11-11T18:09:07.510Z] 63f879dbbcfc: Pull complete [2021-11-11T18:09:11.756Z] 0d9ebad4ef96: Pull complete [2021-11-11T18:09:11.756Z] e9a5061849ea: Pull complete [2021-11-11T18:09:11.756Z] d747dcd14b5f: Pull complete [2021-11-11T18:09:13.157Z] 2de7ff778b66: Pull complete [2021-11-11T18:09:13.157Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-11T18:09:13.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-11T18:09:13.157Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-11T18:09:13.222Z] prd-centos7-docker-4c-2g-155 does not seem to be running inside a container [2021-11-11T18:09:13.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-11T18:09:17.098Z] $ docker top f8dcda2d3457fc4056186588cacc0353e97e713b17b03ede40201688a2c993ab -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:09:17.184Z] provisioning config files... [2021-11-11T18:09:17.193Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3046377276515653620tmp [2021-11-11T18:09:17.205Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2724410046589829894tmp [2021-11-11T18:09:17.214Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8680882423389827977tmp [Pipeline] { [Pipeline] echo [2021-11-11T18:09:17.230Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:17.515Z] ---> sigul-configuration.sh [2021-11-11T18:09:17.515Z] gpg: directory `/root/.gnupg' created [2021-11-11T18:09:17.515Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-11T18:09:17.515Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-11T18:09:17.515Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-11T18:09:17.515Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-11T18:09:17.515Z] gpg: CAST5 encrypted data [2021-11-11T18:09:17.515Z] gpg: encrypted with 1 passphrase [2021-11-11T18:09:17.515Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-11T18:09:17.808Z] + mkdir /home/jenkins [2021-11-11T18:09:17.809Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-11T18:09:18.102Z] + 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-11-11T18:09:18.112Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:18.409Z] ---> sigul-install.sh [2021-11-11T18:09:18.410Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-11T18:09:18.707Z] + git tag --list [2021-11-11T18:09:18.707Z] 1.0.0 [2021-11-11T18:09:18.707Z] v0.0.0 [2021-11-11T18:09:18.707Z] v1.1.0 [2021-11-11T18:09:18.707Z] v1.1.1 [2021-11-11T18:09:18.707Z] v1.2.2 [2021-11-11T18:09:18.707Z] v1.3.0 [2021-11-11T18:09:18.707Z] v1.3.1 [2021-11-11T18:09:18.707Z] v2.0.0 [2021-11-11T18:09:18.707Z] v2.0.1-dev.1 [2021-11-11T18:09:18.707Z] v2.0.1-dev.2 [2021-11-11T18:09:18.707Z] v2.0.1-dev.3 [2021-11-11T18:09:18.707Z] v2.0.1-dev.4 [2021-11-11T18:09:18.707Z] v2.0.1-dev.5 [Pipeline] sh [2021-11-11T18:09:18.995Z] + lftools sign git-tag v2.0.1-dev.5 [2021-11-11T18:09:19.567Z] Signing Git tag with Sigul... [2021-11-11T18:09:19.567Z] Signing v2.0.1-dev.5 [Pipeline] echo [2021-11-11T18:09:20.512Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:20.799Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-11T18:09:20.807Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-11T18:09:20.825Z] $ docker stop --time=1 f8dcda2d3457fc4056186588cacc0353e97e713b17b03ede40201688a2c993ab [2021-11-11T18:09:22.027Z] $ docker rm -f f8dcda2d3457fc4056186588cacc0353e97e713b17b03ede40201688a2c993ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:09:22.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:09:22.590Z] . [Pipeline] withDockerContainer [2021-11-11T18:09:22.650Z] prd-centos7-docker-4c-2g-155 does not seem to be running inside a container [2021-11-11T18:09:22.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T18:09:23.030Z] $ docker top 23bbe5b3b2dd44d8de07355857f4c0d08590192dd08c1e4126681e90373d8b3b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T18:09:23.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:09:23.114Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:09:23.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:09:23.223Z] $ docker exec 23bbe5b3b2dd44d8de07355857f4c0d08590192dd08c1e4126681e90373d8b3b ssh-agent [2021-11-11T18:09:23.313Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbDoMOK/agent.14 [2021-11-11T18:09:23.313Z] SSH_AGENT_PID=20 [2021-11-11T18:09:23.317Z] Running ssh-add (command line suppressed) [2021-11-11T18:09:23.415Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1384230760872152729.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1384230760872152729.key) [2021-11-11T18:09:23.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:09:23.719Z] + git semver bump pre [2021-11-11T18:09:23.719Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T18:09:23.719Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-11-11T18:09:23.719Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-11T18:09:23.719Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T18:09:23.719Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T18:09:23.719Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T18:09:23.719Z] # $SEMVER_BRANCH = main [2021-11-11T18:09:23.719Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2021-11-11T18:09:23.719Z] 2.0.1-dev.6 [Pipeline] } [2021-11-11T18:09:23.727Z] $ docker exec --env ******** --env ******** 23bbe5b3b2dd44d8de07355857f4c0d08590192dd08c1e4126681e90373d8b3b ssh-agent -k [2021-11-11T18:09:23.809Z] unset SSH_AUTH_SOCK; [2021-11-11T18:09:23.809Z] unset SSH_AGENT_PID; [2021-11-11T18:09:23.809Z] echo Agent pid 20 killed; [2021-11-11T18:09:23.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T18:09:24.133Z] + git semver [Pipeline] } [2021-11-11T18:09:24.145Z] $ docker stop --time=1 23bbe5b3b2dd44d8de07355857f4c0d08590192dd08c1e4126681e90373d8b3b [2021-11-11T18:09:25.320Z] $ docker rm -f 23bbe5b3b2dd44d8de07355857f4c0d08590192dd08c1e4126681e90373d8b3b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:09:25.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:09:25.667Z] . [Pipeline] withDockerContainer [2021-11-11T18:09:25.725Z] prd-centos7-docker-4c-2g-155 does not seem to be running inside a container [2021-11-11T18:09:25.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T18:09:26.147Z] $ docker top 22d1849f78bbb4e0046c83f832437d5c0924c1304a3122675bb53150cb84cad5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T18:09:26.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:09:26.265Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:09:26.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:09:26.404Z] $ docker exec 22d1849f78bbb4e0046c83f832437d5c0924c1304a3122675bb53150cb84cad5 ssh-agent [2021-11-11T18:09:26.512Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbpFpDA/agent.14 [2021-11-11T18:09:26.512Z] SSH_AGENT_PID=20 [2021-11-11T18:09:26.517Z] Running ssh-add (command line suppressed) [2021-11-11T18:09:26.595Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6345503393336165480.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6345503393336165480.key) [2021-11-11T18:09:26.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:09:26.910Z] + git semver push [2021-11-11T18:09:26.910Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T18:09:26.910Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-11-11T18:09:26.910Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-11T18:09:26.910Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T18:09:26.910Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T18:09:26.910Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T18:09:26.910Z] # $SEMVER_BRANCH = main [2021-11-11T18:09:26.910Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-11-11T18:09:28.302Z] $ docker exec --env ******** --env ******** 22d1849f78bbb4e0046c83f832437d5c0924c1304a3122675bb53150cb84cad5 ssh-agent -k [2021-11-11T18:09:28.391Z] unset SSH_AUTH_SOCK; [2021-11-11T18:09:28.391Z] unset SSH_AGENT_PID; [2021-11-11T18:09:28.391Z] echo Agent pid 20 killed; [2021-11-11T18:09:28.403Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T18:09:28.741Z] + git semver [Pipeline] } [2021-11-11T18:09:28.753Z] $ docker stop --time=1 22d1849f78bbb4e0046c83f832437d5c0924c1304a3122675bb53150cb84cad5 [2021-11-11T18:09:29.939Z] $ docker rm -f 22d1849f78bbb4e0046c83f832437d5c0924c1304a3122675bb53150cb84cad5 [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-11-11T18:09:31.162Z] + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:31.460Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:32.015Z] ---> package-listing.sh [2021-11-11T18:09:32.016Z] ++ facter osfamily [2021-11-11T18:09:32.016Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T18:09:32.275Z] + OS_FAMILY=redhat [2021-11-11T18:09:32.275Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2021-11-11T18:09:32.275Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T18:09:32.275Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T18:09:32.275Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T18:09:32.275Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T18:09:32.275Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-11-11T18:09:32.275Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T18:09:32.275Z] + case "${OS_FAMILY}" in [2021-11-11T18:09:32.275Z] + sort [2021-11-11T18:09:32.275Z] + rpm -qa [2021-11-11T18:09:33.213Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T18:09:33.213Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T18:09:33.213Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T18:09:33.213Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-11-11T18:09:33.213Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2021-11-11T18:09:33.213Z] + 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-11-11T18:09:33.223Z] 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-11-11T18:09:33.503Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:09:34.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:09:34.061Z] [2021-11-11T18:09:34.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:09:34.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:09:34.362Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T18:09:34.362Z] b4d181a07f80: Pulling fs layer [2021-11-11T18:09:34.362Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T18:09:34.362Z] ed53099fbce6: Pulling fs layer [2021-11-11T18:09:34.362Z] dc539afda2c1: Pulling fs layer [2021-11-11T18:09:34.362Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T18:09:34.362Z] 9065ff56babe: Pulling fs layer [2021-11-11T18:09:34.362Z] d287ab97295c: Pulling fs layer [2021-11-11T18:09:34.362Z] 77bc0d833cb6: Waiting [2021-11-11T18:09:34.362Z] 9065ff56babe: Waiting [2021-11-11T18:09:34.362Z] d287ab97295c: Waiting [2021-11-11T18:09:34.362Z] dc539afda2c1: Waiting [2021-11-11T18:09:34.362Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T18:09:34.362Z] a1111a8f2ec3: Download complete [2021-11-11T18:09:34.362Z] dc539afda2c1: Verifying Checksum [2021-11-11T18:09:34.362Z] dc539afda2c1: Download complete [2021-11-11T18:09:34.362Z] ed53099fbce6: Verifying Checksum [2021-11-11T18:09:34.362Z] ed53099fbce6: Download complete [2021-11-11T18:09:34.362Z] 9065ff56babe: Verifying Checksum [2021-11-11T18:09:34.362Z] 9065ff56babe: Download complete [2021-11-11T18:09:34.628Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T18:09:34.628Z] 77bc0d833cb6: Download complete [2021-11-11T18:09:34.628Z] b4d181a07f80: Verifying Checksum [2021-11-11T18:09:34.628Z] b4d181a07f80: Download complete [2021-11-11T18:09:35.206Z] d287ab97295c: Verifying Checksum [2021-11-11T18:09:35.206Z] d287ab97295c: Download complete [2021-11-11T18:09:35.783Z] b4d181a07f80: Pull complete [2021-11-11T18:09:36.046Z] a1111a8f2ec3: Pull complete [2021-11-11T18:09:36.620Z] ed53099fbce6: Pull complete [2021-11-11T18:09:36.620Z] dc539afda2c1: Pull complete [2021-11-11T18:09:36.886Z] 77bc0d833cb6: Pull complete [2021-11-11T18:09:36.886Z] 9065ff56babe: Pull complete [2021-11-11T18:09:43.498Z] d287ab97295c: Pull complete [2021-11-11T18:09:43.498Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T18:09:43.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T18:09:43.498Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T18:09:43.580Z] prd-centos7-docker-4c-2g-155 does not seem to be running inside a container [2021-11-11T18:09:43.616Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T18:09:46.460Z] $ docker top 7c8de7574ff5e77ef1fac6753cd4434fafcd8c48ce129bdb67cca0464fa57fac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T18:09:46.840Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T18:09:47.137Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T18:09:47.431Z] + ls /var/log/sa-host [2021-11-11T18:09:47.431Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T18:09:47.431Z] file_magic: OK [2021-11-11T18:09:47.431Z] HZ: Using current value: 100 [2021-11-11T18:09:47.431Z] file_header: OK [2021-11-11T18:09:47.431Z] 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-11-11T18:09:47.431Z] Statistics: [2021-11-11T18:09:47.431Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T18:09:47.431Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T18:09:47.431Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T18:09:47.431Z] file_magic: OK [2021-11-11T18:09:47.431Z] HZ: Using current value: 100 [2021-11-11T18:09:47.431Z] file_header: OK [2021-11-11T18:09:47.431Z] 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-11-11T18:09:47.431Z] Statistics: [2021-11-11T18:09:47.431Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T18:09:47.431Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:09:47.506Z] provisioning config files... [2021-11-11T18:09:47.516Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2246591185711603256tmp [Pipeline] { [Pipeline] echo [2021-11-11T18:09:47.529Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:47.821Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T18:09:47.828Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:48.153Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T18:09:48.165Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:48.459Z] ---> sudo-logs.sh [2021-11-11T18:09:48.459Z] Archiving 'sudo' log.. [2021-11-11T18:09:48.459Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-155.novalocal: Name or service not known [2021-11-11T18:09:48.459Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-155.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T18:09:48.483Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:48.780Z] ---> job-cost.sh [2021-11-11T18:09:48.780Z] lf-activate-venv: SKIPPING [2021-11-11T18:09:48.780Z] DEBUG: total: 0.10999999940395355 [2021-11-11T18:09:48.780Z] INFO: Retrieving Stack Cost... [2021-11-11T18:09:50.179Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T18:09:50.439Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T18:09:50.451Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:09:50.737Z] ---> logs-deploy.sh [2021-11-11T18:09:50.737Z] lf-activate-venv: SKIPPING [2021-11-11T18:09:50.737Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/8 [2021-11-11T18:09:50.737Z] INFO: archiving workspace using pattern(s): [2021-11-11T18:09:51.310Z] Archives upload complete. [2021-11-11T18:09:51.570Z] INFO: archiving logs to Nexus