Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 42a81012aee9d0f4741172f85aabccffc17c1488 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-ssh9248795206389064143.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8876541285247667225.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4994217832325558230.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4662681080465034230.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-ssh9853788432950353689.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-95’ Running on prd-centos7-docker-4c-2g-98 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-ssh1463957585744292838.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 42a81012aee9d0f4741172f85aabccffc17c1488 (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 42a81012aee9d0f4741172f85aabccffc17c1488 # timeout=10 Commit message: "refactor(snap): remove obsolete passthrough usage" > git rev-list --no-walk f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T14:18:00.797Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T14:18:00.837Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T14:18:00.853Z] ========================================================= [2021-12-02T14:18:00.853Z] EdgeX Global Pipelines Version Info [2021-12-02T14:18:00.853Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:18:01.985Z] ------------------- [2021-12-02T14:18:01.986Z] stable info: [2021-12-02T14:18:01.986Z] ------------------- [2021-12-02T14:18:01.986Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T14:18:01.986Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T14:18:01.986Z] Message: update stable to v1.0.217 [2021-12-02T14:18:02.562Z] ------------------- [2021-12-02T14:18:02.562Z] experimental info: [2021-12-02T14:18:02.562Z] ------------------- [2021-12-02T14:18:02.562Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T14:18:02.562Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T14:18:02.562Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T14:18:02.696Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-12-02T14:18:02.705Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-12-02T14:18:02.716Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T14:18:02.733Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T14:18:02.745Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T14:18:02.761Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T14:18:02.773Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T14:18:02.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T14:18:02.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T14:18:02.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T14:18:02.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T14:18:02.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-12-02T14:18:02.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T14:18:02.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T14:18:02.886Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T14:18:02.906Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T14:18:02.924Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T14:18:02.937Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T14:18:02.949Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T14:18:02.961Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-02T14:18:02.972Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T14:18:02.988Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T14:18:03.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T14:18:03.014Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T14:18:03.027Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T14:18:03.040Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T14:18:03.055Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-02T14:18:03.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-02T14:18:03.083Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-02T14:18:03.098Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] echo [2021-12-02T14:18:03.108Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42a8101 [Pipeline] echo [2021-12-02T14:18:03.121Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:18:03.169Z] provisioning config files... [2021-12-02T14:18:03.186Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8483443976907662403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:18:03.493Z] ---> docker-login.sh [2021-12-02T14:18:03.493Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:18:03.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:03.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:03.758Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:03.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:03.758Z] [2021-12-02T14:18:03.758Z] Login Succeeded [2021-12-02T14:18:03.758Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:18:03.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:03.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:03.758Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:03.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:03.758Z] [2021-12-02T14:18:03.758Z] Login Succeeded [2021-12-02T14:18:03.758Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:18:03.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:04.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:04.020Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:04.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:04.020Z] [2021-12-02T14:18:04.020Z] Login Succeeded [2021-12-02T14:18:04.020Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:18:04.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:04.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:04.020Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:04.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:04.020Z] [2021-12-02T14:18:04.020Z] Login Succeeded [2021-12-02T14:18:04.020Z] docker.io [2021-12-02T14:18:04.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:04.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:04.592Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:04.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:04.592Z] [2021-12-02T14:18:04.592Z] Login Succeeded [2021-12-02T14:18:04.592Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:18:04.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-02T14:18:05.031Z] + git rev-list -1 --merges 42a81012aee9d0f4741172f85aabccffc17c1488~1..42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] echo [2021-12-02T14:18:05.062Z] -----------> git rev-list -1 --merges 42a81012aee9d0f4741172f85aabccffc17c1488~1..42a81012aee9d0f4741172f85aabccffc17c1488 42a81012aee9d0f4741172f85aabccffc17c1488 [false] [Pipeline] sh [2021-12-02T14:18:05.363Z] + git log --format=format:%s -1 42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] echo [2021-12-02T14:18:05.380Z] ========================================================= [2021-12-02T14:18:05.380Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T14:18:05.380Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T14:18:05.725Z] + git log --format=format:%s -1 42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] echo [2021-12-02T14:18:05.738Z] [semverPrep] GIT_COMMIT: 42a81012aee9d0f4741172f85aabccffc17c1488, Commit Message: refactor(snap): remove obsolete passthrough usage [Pipeline] echo [2021-12-02T14:18:05.749Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T14:18:06.126Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:18:06.126Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T14:18:06.126Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T14:18:06.126Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T14:18:06.126Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T14:18:06.126Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T14:18:06.126Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:18:06.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:18:06.478Z] [2021-12-02T14:18:06.478Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:18:06.806Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:18:06.806Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T14:18:06.806Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T14:18:06.806Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T14:18:06.806Z] 4c7163046ea9: Pulling fs layer [2021-12-02T14:18:06.806Z] 0c2d73faf560: Pulling fs layer [2021-12-02T14:18:06.806Z] 0c2d73faf560: Waiting [2021-12-02T14:18:06.806Z] 3e5f54012d9b: Download complete [2021-12-02T14:18:06.806Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T14:18:06.806Z] a0d0a0d46f8b: Download complete [2021-12-02T14:18:06.806Z] 4c7163046ea9: Verifying Checksum [2021-12-02T14:18:06.806Z] 4c7163046ea9: Download complete [2021-12-02T14:18:06.806Z] 0c2d73faf560: Verifying Checksum [2021-12-02T14:18:06.806Z] 0c2d73faf560: Download complete [2021-12-02T14:18:07.074Z] a0d0a0d46f8b: Pull complete [2021-12-02T14:18:07.074Z] 3e5f54012d9b: Pull complete [2021-12-02T14:18:07.346Z] 4c7163046ea9: Pull complete [2021-12-02T14:18:07.606Z] 0c2d73faf560: Pull complete [2021-12-02T14:18:07.606Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T14:18:07.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:18:07.606Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T14:18:07.671Z] prd-centos7-docker-4c-2g-98 does not seem to be running inside a container [2021-12-02T14:18:07.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:18:08.275Z] $ docker top adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:18:08.360Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:18:08.360Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:18:08.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:18:08.465Z] $ docker exec adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 ssh-agent [2021-12-02T14:18:08.557Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmNNHmH/agent.14 [2021-12-02T14:18:08.557Z] SSH_AGENT_PID=20 [2021-12-02T14:18:08.564Z] Running ssh-add (command line suppressed) [2021-12-02T14:18:08.643Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2272813641000076058.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2272813641000076058.key) [2021-12-02T14:18:08.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:18:08.955Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T14:18:08.968Z] $ docker exec --env ******** --env ******** adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 ssh-agent -k [2021-12-02T14:18:09.063Z] unset SSH_AUTH_SOCK; [2021-12-02T14:18:09.063Z] unset SSH_AGENT_PID; [2021-12-02T14:18:09.063Z] echo Agent pid 20 killed; [2021-12-02T14:18:09.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T14:18:09.104Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:18:09.104Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:18:09.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:18:09.210Z] $ docker exec adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 ssh-agent [2021-12-02T14:18:09.313Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKdLfJl/agent.53 [2021-12-02T14:18:09.313Z] SSH_AGENT_PID=59 [2021-12-02T14:18:09.318Z] Running ssh-add (command line suppressed) [2021-12-02T14:18:09.410Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3126327695315990097.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3126327695315990097.key) [2021-12-02T14:18:09.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:18:09.711Z] + git semver init [2021-12-02T14:18:09.712Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:18:09.712Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-12-02T14:18:09.712Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T14:18:09.712Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:18:09.712Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:18:09.712Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:18:09.712Z] # $SEMVER_BRANCH = main [2021-12-02T14:18:09.712Z] # $SEMVER_TEMP = /tmp/semver-031218726 [2021-12-02T14:18:09.712Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-12-02T14:18:10.655Z] # '/tmp/semver-031218726' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2021-12-02T14:18:10.655Z] # -> Force: false [2021-12-02T14:18:10.655Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-12-02T14:18:10.663Z] $ docker exec --env ******** --env ******** adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 ssh-agent -k [2021-12-02T14:18:10.769Z] unset SSH_AUTH_SOCK; [2021-12-02T14:18:10.769Z] unset SSH_AGENT_PID; [2021-12-02T14:18:10.769Z] echo Agent pid 59 killed; [2021-12-02T14:18:10.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:18:11.097Z] + git semver [Pipeline] } [2021-12-02T14:18:11.111Z] $ docker stop --time=1 adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 [2021-12-02T14:18:12.330Z] $ docker rm -f adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:18:12.691Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T14:18:12.934Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T14:18:12.937Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-12-02T14:18:28.174Z] Still waiting to schedule task [2021-12-02T14:18:28.174Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-12-02T14:18:28.176Z] Still waiting to schedule task [2021-12-02T14:18:28.177Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-96’ [2021-12-02T14:19:33.203Z] Running on prd-centos7-docker-4c-2g-100 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-12-02T14:19:33.216Z] Running in /w/workspace/device-snmp-go/11 [Pipeline] { [Pipeline] checkout [2021-12-02T14:19:33.327Z] Selected Git installation does not exist. Using Default [2021-12-02T14:19:33.327Z] The recommended git tool is: NONE [2021-12-02T14:19:34.860Z] using credential edgex-jenkins-ssh [2021-12-02T14:19:34.871Z] Cloning the remote Git repository [2021-12-02T14:19:34.111Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T14:19:34.142Z] > git init /w/workspace/device-snmp-go/11 # timeout=10 [2021-12-02T14:19:34.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T14:19:34.168Z] > git --version # timeout=10 [2021-12-02T14:19:34.178Z] > git --version # 'git version 2.24.4' [2021-12-02T14:19:34.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T14:19:34.198Z] [INFO] Currently running in a labeled security context [2021-12-02T14:19:34.199Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T14:19:34.199Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/11@tmp/jenkins-gitclient-ssh8746490578284248027.key [2021-12-02T14:19:34.297Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:19:35.830Z] Avoid second fetch [2021-12-02T14:19:35.831Z] Checking out Revision 42a81012aee9d0f4741172f85aabccffc17c1488 (main) [2021-12-02T14:19:35.037Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-12-02T14:19:35.045Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:19:35.068Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T14:19:35.080Z] > git checkout -f 42a81012aee9d0f4741172f85aabccffc17c1488 # timeout=10 [2021-12-02T14:19:39.450Z] Commit message: "refactor(snap): remove obsolete passthrough usage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:19:39.813Z] provisioning config files... [2021-12-02T14:19:39.826Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config4486866915070441455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:19:40.214Z] ---> docker-login.sh [2021-12-02T14:19:40.214Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:19:40.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:40.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:40.214Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:40.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:40.214Z] [2021-12-02T14:19:40.214Z] Login Succeeded [2021-12-02T14:19:40.214Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:19:40.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:40.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:40.477Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:40.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:40.477Z] [2021-12-02T14:19:40.477Z] Login Succeeded [2021-12-02T14:19:40.477Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:19:40.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:40.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:40.477Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:40.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:40.477Z] [2021-12-02T14:19:40.477Z] Login Succeeded [2021-12-02T14:19:40.477Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:19:40.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:40.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:40.742Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:40.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:40.742Z] [2021-12-02T14:19:40.742Z] Login Succeeded [2021-12-02T14:19:40.742Z] docker.io [2021-12-02T14:19:40.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:41.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:41.005Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:41.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:41.005Z] [2021-12-02T14:19:41.005Z] Login Succeeded [2021-12-02T14:19:41.005Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:19:41.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T14:19:41.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:19:41.247Z] ========================================================= [2021-12-02T14:19:41.247Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T14:19:41.247Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:41.574Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-02T14:19:41.574Z] Sending build context to Docker daemon 2.68MB [2021-12-02T14:19:41.574Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:19:41.574Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T14:19:41.574Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T14:19:41.574Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T14:19:41.574Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T14:19:41.574Z] b8b176561691: Pulling fs layer [2021-12-02T14:19:41.574Z] 4527c011a84f: Pulling fs layer [2021-12-02T14:19:41.574Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T14:19:41.574Z] e0aca202a116: Pulling fs layer [2021-12-02T14:19:41.574Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T14:19:41.574Z] 34cad66bf833: Pulling fs layer [2021-12-02T14:19:41.574Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T14:19:41.574Z] 4527c011a84f: Waiting [2021-12-02T14:19:41.574Z] 5d74067f8e1e: Waiting [2021-12-02T14:19:41.574Z] e0aca202a116: Waiting [2021-12-02T14:19:41.574Z] 3a43be97a3b4: Waiting [2021-12-02T14:19:41.574Z] 34cad66bf833: Waiting [2021-12-02T14:19:41.574Z] b4e3c513aaa6: Waiting [2021-12-02T14:19:41.574Z] b8b176561691: Verifying Checksum [2021-12-02T14:19:41.574Z] b8b176561691: Download complete [2021-12-02T14:19:41.574Z] 31adcdaf11c8: Verifying Checksum [2021-12-02T14:19:41.574Z] 31adcdaf11c8: Download complete [2021-12-02T14:19:41.574Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T14:19:41.574Z] 5d74067f8e1e: Download complete [2021-12-02T14:19:41.843Z] e0aca202a116: Verifying Checksum [2021-12-02T14:19:41.843Z] e0aca202a116: Download complete [2021-12-02T14:19:41.843Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T14:19:41.843Z] 3a43be97a3b4: Download complete [2021-12-02T14:19:41.843Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T14:19:41.843Z] a0d0a0d46f8b: Download complete [2021-12-02T14:19:41.843Z] 34cad66bf833: Verifying Checksum [2021-12-02T14:19:41.843Z] 34cad66bf833: Download complete [2021-12-02T14:19:42.111Z] a0d0a0d46f8b: Pull complete [2021-12-02T14:19:42.373Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T14:19:42.373Z] b4e3c513aaa6: Download complete [2021-12-02T14:19:42.373Z] 4527c011a84f: Verifying Checksum [2021-12-02T14:19:42.373Z] 4527c011a84f: Download complete [2021-12-02T14:19:42.373Z] 31adcdaf11c8: Pull complete [2021-12-02T14:19:42.373Z] b8b176561691: Pull complete [2021-12-02T14:19:46.618Z] 4527c011a84f: Pull complete [2021-12-02T14:19:46.618Z] 5d74067f8e1e: Pull complete [2021-12-02T14:19:46.618Z] e0aca202a116: Pull complete [2021-12-02T14:19:46.618Z] 3a43be97a3b4: Pull complete [2021-12-02T14:19:46.618Z] 34cad66bf833: Pull complete [2021-12-02T14:19:49.184Z] b4e3c513aaa6: Pull complete [2021-12-02T14:19:49.184Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T14:19:49.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T14:19:49.184Z] ---> 9f6097aaca64 [2021-12-02T14:19:49.184Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T14:19:53.408Z] ---> Running in 04b5b50db4e4 [2021-12-02T14:19:53.408Z] Removing intermediate container 04b5b50db4e4 [2021-12-02T14:19:53.408Z] ---> 8c65787897c5 [2021-12-02T14:19:53.409Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:19:53.409Z] ---> Running in 4aacd0782c68 [2021-12-02T14:19:53.409Z] Removing intermediate container 4aacd0782c68 [2021-12-02T14:19:53.409Z] ---> db9d6a159e82 [2021-12-02T14:19:53.409Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:19:53.409Z] ---> Running in 3edab2f6a4e4 [2021-12-02T14:19:53.409Z] Removing intermediate container 3edab2f6a4e4 [2021-12-02T14:19:53.409Z] ---> a2d2a4383ee4 [2021-12-02T14:19:53.409Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:19:53.409Z] ---> Running in f857285c1c2c [2021-12-02T14:19:53.409Z] Removing intermediate container f857285c1c2c [2021-12-02T14:19:53.409Z] ---> adf6d65a6aab [2021-12-02T14:19:53.409Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:19:53.409Z] ---> Running in 3f1ff44b71df [2021-12-02T14:19:53.687Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T14:19:54.628Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T14:19:54.888Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T14:19:54.888Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T14:19:55.150Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T14:19:55.150Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T14:19:55.150Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T14:19:55.150Z] OK: 224 MiB in 56 packages [2021-12-02T14:19:55.726Z] Removing intermediate container 3f1ff44b71df [2021-12-02T14:19:55.726Z] ---> 0944399ce22b [2021-12-02T14:19:55.726Z] Step 8/11 : WORKDIR /device-snmp-go [2021-12-02T14:19:55.726Z] ---> Running in d3a5532cb94d [2021-12-02T14:19:55.726Z] Removing intermediate container d3a5532cb94d [2021-12-02T14:19:55.726Z] ---> f36a2727f020 [2021-12-02T14:19:55.726Z] Step 9/11 : COPY . . [2021-12-02T14:19:55.989Z] ---> 1bb774d67db2 [2021-12-02T14:19:55.989Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:19:55.989Z] ---> Running in 57c27153d9e5 [2021-12-02T14:20:28.164Z] Removing intermediate container 57c27153d9e5 [2021-12-02T14:20:28.164Z] ---> 3b7fbe49c644 [2021-12-02T14:20:28.164Z] Step 11/11 : RUN ${MAKE} [2021-12-02T14:20:28.164Z] ---> Running in 45cbe7a2f8cf [2021-12-02T14:20:28.164Z] noop [2021-12-02T14:20:28.164Z] Removing intermediate container 45cbe7a2f8cf [2021-12-02T14:20:28.164Z] ---> d6466f8f5c32 [2021-12-02T14:20:28.164Z] Successfully built d6466f8f5c32 [2021-12-02T14:20:28.164Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:20:28.466Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T14:20:28.466Z] . [Pipeline] withDockerContainer [2021-12-02T14:20:28.529Z] prd-centos7-docker-4c-2g-100 does not seem to be running inside a container [2021-12-02T14:20:28.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@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-12-02T14:20:28.911Z] $ docker top 068d4becf467cbde9e5fcdaa0063ce5c687e8f30632557742493f027aa2b7832 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T14:20:29.277Z] + go version [2021-12-02T14:20:29.277Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T14:20:29.288Z] $ docker stop --time=1 068d4becf467cbde9e5fcdaa0063ce5c687e8f30632557742493f027aa2b7832 [2021-12-02T14:20:30.473Z] $ docker rm -f 068d4becf467cbde9e5fcdaa0063ce5c687e8f30632557742493f027aa2b7832 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:20:30.983Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T14:20:30.983Z] . [Pipeline] withDockerContainer [2021-12-02T14:20:31.043Z] prd-centos7-docker-4c-2g-100 does not seem to be running inside a container [2021-12-02T14:20:31.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@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-12-02T14:20:31.424Z] $ docker top 589022cc7a19612808ac623ac1825f342ebaaecdf7770e6601bec44ec34b1485 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T14:20:31.802Z] + make test [2021-12-02T14:20:31.802Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T14:20:32.384Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-12-02T14:20:47.334Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-12-02T14:20:47.334Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-12-02T14:20:47.334Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T14:20:53.965Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T14:20:53.965Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T14:20:53.965Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T14:20:53.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T14:20:53.992Z] $ docker stop --time=1 589022cc7a19612808ac623ac1825f342ebaaecdf7770e6601bec44ec34b1485 [2021-12-02T14:20:55.442Z] $ docker rm -f 589022cc7a19612808ac623ac1825f342ebaaecdf7770e6601bec44ec34b1485 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:20:55.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T14:20:56.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-02T14:20:56.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T14:20:57.102Z] + ls -al . [2021-12-02T14:20:57.102Z] total 144 [2021-12-02T14:20:57.102Z] drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 14:20 . [2021-12-02T14:20:57.102Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 14:19 .. [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 6926 Dec 2 14:19 Attribution.txt [2021-12-02T14:20:57.102Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 14:19 bin [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 4401 Dec 2 14:19 CHANGELOG.md [2021-12-02T14:20:57.102Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 14:19 cmd [2021-12-02T14:20:57.102Z] -rw-r--r--. 1 jenkins jenkins 7631 Dec 2 14:20 coverage.out [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 1493 Dec 2 14:19 Dockerfile [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 6 Dec 2 14:19 .dockerignore [2021-12-02T14:20:57.102Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 14:19 .git [2021-12-02T14:20:57.102Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 14:19 .github [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 262 Dec 2 14:19 .gitignore [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 214 Dec 2 14:19 go.mod [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 49501 Dec 2 14:19 go.sum [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 14:19 GOVERNANCE.md [2021-12-02T14:20:57.102Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 14:19 internal [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 656 Dec 2 14:19 Jenkinsfile [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 14:19 LICENSE [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 1057 Dec 2 14:19 Makefile [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 14:19 OWNERS.md [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 9073 Dec 2 14:19 README.md [2021-12-02T14:20:57.102Z] drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 14:19 snap [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 14:18 VERSION [2021-12-02T14:20:57.102Z] -rw-rw-r--. 1 jenkins jenkins 209 Dec 2 14:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:20:57.403Z] + 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=42a81012aee9d0f4741172f85aabccffc17c1488 --label arch=amd64 --label version=2.2.0-dev.2 . [2021-12-02T14:20:57.403Z] Sending build context to Docker daemon 2.688MB [2021-12-02T14:20:57.403Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:20:57.403Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T14:20:57.403Z] ---> d6466f8f5c32 [2021-12-02T14:20:57.403Z] Step 3/23 : ARG MAKE='make build' [2021-12-02T14:20:57.403Z] ---> Running in cd35f34b3723 [2021-12-02T14:20:57.664Z] Removing intermediate container cd35f34b3723 [2021-12-02T14:20:57.664Z] ---> 459fd582ec12 [2021-12-02T14:20:57.664Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:20:57.664Z] ---> Running in c9175f884cb4 [2021-12-02T14:20:57.664Z] Removing intermediate container c9175f884cb4 [2021-12-02T14:20:57.664Z] ---> df47372d7fb1 [2021-12-02T14:20:57.664Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:20:57.664Z] ---> Running in 96a8236dfbfb [2021-12-02T14:20:57.664Z] Removing intermediate container 96a8236dfbfb [2021-12-02T14:20:57.664Z] ---> c0b69e887ea9 [2021-12-02T14:20:57.664Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:20:57.928Z] ---> Running in 66362cf30713 [2021-12-02T14:20:58.191Z] Removing intermediate container 66362cf30713 [2021-12-02T14:20:58.191Z] ---> 7c8272753741 [2021-12-02T14:20:58.191Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:20:58.191Z] ---> Running in f48994dcbcd3 [2021-12-02T14:20:58.450Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T14:20:59.396Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T14:20:59.656Z] OK: 224 MiB in 56 packages [2021-12-02T14:20:59.917Z] Removing intermediate container f48994dcbcd3 [2021-12-02T14:20:59.917Z] ---> e91961d228f0 [2021-12-02T14:20:59.917Z] Step 8/23 : WORKDIR /device-snmp-go [2021-12-02T14:20:59.917Z] ---> Running in 5ea04e3160ee [2021-12-02T14:20:59.917Z] Removing intermediate container 5ea04e3160ee [2021-12-02T14:20:59.917Z] ---> 07fb65ef77b7 [2021-12-02T14:20:59.917Z] Step 9/23 : COPY . . [2021-12-02T14:21:00.177Z] ---> f2cdc2ca5aae [2021-12-02T14:21:00.177Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:21:00.177Z] ---> Running in e7ae036c6438 [2021-12-02T14:21:00.749Z] Removing intermediate container e7ae036c6438 [2021-12-02T14:21:00.749Z] ---> dfcdc30970d2 [2021-12-02T14:21:00.749Z] Step 11/23 : RUN ${MAKE} [2021-12-02T14:21:00.749Z] ---> Running in 866e58f0ad64 [2021-12-02T14:21:01.012Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.2" -o cmd/device-snmp ./cmd [2021-12-02T14:21:13.298Z] Removing intermediate container 866e58f0ad64 [2021-12-02T14:21:13.298Z] ---> 3b7658b2927c [2021-12-02T14:21:13.298Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T14:21:13.298Z] 3.14: Pulling from library/alpine [2021-12-02T14:21:13.298Z] 97518928ae5f: Pulling fs layer [2021-12-02T14:21:13.559Z] 97518928ae5f: Verifying Checksum [2021-12-02T14:21:13.559Z] 97518928ae5f: Download complete [2021-12-02T14:21:13.559Z] 97518928ae5f: Pull complete [2021-12-02T14:21:13.559Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T14:21:13.559Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T14:21:13.559Z] ---> 0a97eee8041e [2021-12-02T14:21:13.559Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T14:21:13.761Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-101 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-12-02T14:21:13.777Z] Running in /w/workspace/device-snmp-go/11 [Pipeline] { [Pipeline] checkout [2021-12-02T14:21:13.821Z] ---> Running in 743a406de70f [2021-12-02T14:21:13.994Z] Selected Git installation does not exist. Using Default [2021-12-02T14:21:13.994Z] The recommended git tool is: NONE [2021-12-02T14:21:14.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T14:21:14.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T14:21:14.344Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T14:21:14.344Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T14:21:14.344Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T14:21:14.344Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T14:21:14.344Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T14:21:14.344Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T14:21:14.344Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T14:21:14.344Z] OK: 8 MiB in 20 packages [2021-12-02T14:21:14.606Z] Removing intermediate container 743a406de70f [2021-12-02T14:21:14.606Z] ---> db41e8adcebe [2021-12-02T14:21:14.606Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-12-02T14:21:14.866Z] ---> 2adb584c9e77 [2021-12-02T14:21:14.866Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-12-02T14:21:15.125Z] ---> bb5391ca738d [2021-12-02T14:21:15.125Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-12-02T14:21:15.125Z] ---> 40e6cde3faa3 [2021-12-02T14:21:15.125Z] Step 17/23 : EXPOSE 59993 [2021-12-02T14:21:15.125Z] ---> Running in 629b967fd0bd [2021-12-02T14:21:15.384Z] Removing intermediate container 629b967fd0bd [2021-12-02T14:21:15.384Z] ---> 995a512fdbc6 [2021-12-02T14:21:15.384Z] Step 18/23 : EXPOSE 161 [2021-12-02T14:21:15.384Z] ---> Running in e75d02e3571c [2021-12-02T14:21:15.384Z] Removing intermediate container e75d02e3571c [2021-12-02T14:21:15.384Z] ---> cd9edd81997e [2021-12-02T14:21:15.384Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-12-02T14:21:15.384Z] ---> Running in e40e2f8ed55d [2021-12-02T14:21:15.384Z] Removing intermediate container e40e2f8ed55d [2021-12-02T14:21:15.384Z] ---> 2b3370ecbf95 [2021-12-02T14:21:15.384Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T14:21:15.645Z] ---> Running in 26d4e9a7f442 [2021-12-02T14:21:15.645Z] Removing intermediate container 26d4e9a7f442 [2021-12-02T14:21:15.645Z] ---> 225da0d3b5f9 [2021-12-02T14:21:15.645Z] Step 21/23 : LABEL arch=amd64 [2021-12-02T14:21:15.645Z] ---> Running in 523ba1b85ec6 [2021-12-02T14:21:15.645Z] Removing intermediate container 523ba1b85ec6 [2021-12-02T14:21:15.645Z] ---> 3966efe5d605 [2021-12-02T14:21:15.645Z] Step 22/23 : LABEL git_sha=42a81012aee9d0f4741172f85aabccffc17c1488 [2021-12-02T14:21:15.645Z] ---> Running in d5bc81320633 [2021-12-02T14:21:15.904Z] Removing intermediate container d5bc81320633 [2021-12-02T14:21:15.904Z] ---> 020f82ed78b8 [2021-12-02T14:21:15.904Z] Step 23/23 : LABEL version=2.2.0-dev.2 [2021-12-02T14:21:15.904Z] ---> Running in d20ee288a023 [2021-12-02T14:21:15.904Z] Removing intermediate container d20ee288a023 [2021-12-02T14:21:15.904Z] ---> 363f6931f022 [2021-12-02T14:21:15.904Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T14:21:15.904Z] Successfully built 363f6931f022 [2021-12-02T14:21:15.904Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:21:16.037Z] provisioning config files... [2021-12-02T14:21:16.048Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config4005561255903476078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:21:16.360Z] ---> docker-login.sh [2021-12-02T14:21:16.360Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:21:16.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:16.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:16.360Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:16.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:16.360Z] [2021-12-02T14:21:16.360Z] Login Succeeded [2021-12-02T14:21:16.360Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:21:16.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:16.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:16.360Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:16.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:16.360Z] [2021-12-02T14:21:16.360Z] Login Succeeded [2021-12-02T14:21:16.360Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:21:16.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:16.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:16.619Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:16.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:16.619Z] [2021-12-02T14:21:16.619Z] Login Succeeded [2021-12-02T14:21:16.619Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:21:16.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:16.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:16.619Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:16.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:16.619Z] [2021-12-02T14:21:16.619Z] Login Succeeded [2021-12-02T14:21:16.619Z] docker.io [2021-12-02T14:21:16.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:17.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:17.145Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:17.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:17.145Z] [2021-12-02T14:21:17.145Z] Login Succeeded [2021-12-02T14:21:17.145Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:21:17.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:21:17.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:21:17.206Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2021-12-02T14:21:17.206Z] 42a81012aee9d0f4741172f85aabccffc17c1488 [2021-12-02T14:21:17.206Z] latest [2021-12-02T14:21:17.206Z] 2.2.0-dev.2 [2021-12-02T14:21:17.206Z] 42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [2021-12-02T14:21:17.206Z] main [2021-12-02T14:21:17.206Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:17.525Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:17.820Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488 [2021-12-02T14:21:17.820Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T14:21:17.820Z] 0fc47159e74d: Preparing [2021-12-02T14:21:17.820Z] eb497fe397de: Preparing [2021-12-02T14:21:17.820Z] f456101fef10: Preparing [2021-12-02T14:21:17.820Z] b377fda4611d: Preparing [2021-12-02T14:21:17.820Z] 1a058d5342cc: Preparing [2021-12-02T14:21:17.820Z] 1a058d5342cc: Layer already exists [2021-12-02T14:21:18.080Z] eb497fe397de: Pushed [2021-12-02T14:21:18.080Z] 0fc47159e74d: Pushed [2021-12-02T14:21:18.080Z] b377fda4611d: Pushed [2021-12-02T14:21:19.024Z] f456101fef10: Pushed [2021-12-02T14:21:19.024Z] 42a81012aee9d0f4741172f85aabccffc17c1488: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:19.324Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:19.397Z] using credential edgex-jenkins-ssh [2021-12-02T14:21:19.417Z] Cloning the remote Git repository [2021-12-02T14:21:19.620Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-12-02T14:21:19.620Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T14:21:19.620Z] 0fc47159e74d: Preparing [2021-12-02T14:21:19.620Z] eb497fe397de: Preparing [2021-12-02T14:21:19.620Z] f456101fef10: Preparing [2021-12-02T14:21:19.620Z] b377fda4611d: Preparing [2021-12-02T14:21:19.620Z] 1a058d5342cc: Preparing [2021-12-02T14:21:19.620Z] 1a058d5342cc: Layer already exists [2021-12-02T14:21:19.620Z] eb497fe397de: Layer already exists [2021-12-02T14:21:19.620Z] f456101fef10: Layer already exists [2021-12-02T14:21:19.620Z] b377fda4611d: Layer already exists [2021-12-02T14:21:19.620Z] 0fc47159e74d: Layer already exists [2021-12-02T14:21:19.620Z] latest: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:19.920Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:19.492Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T14:21:19.582Z] > git init /w/workspace/device-snmp-go/11 # timeout=10 [2021-12-02T14:21:19.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-12-02T14:21:19.684Z] > git --version # timeout=10 [2021-12-02T14:21:19.711Z] > git --version # 'git version 2.17.1' [2021-12-02T14:21:19.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T14:21:19.801Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:21:20.220Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.2 [2021-12-02T14:21:20.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T14:21:20.220Z] 0fc47159e74d: Preparing [2021-12-02T14:21:20.220Z] eb497fe397de: Preparing [2021-12-02T14:21:20.220Z] f456101fef10: Preparing [2021-12-02T14:21:20.220Z] b377fda4611d: Preparing [2021-12-02T14:21:20.220Z] 1a058d5342cc: Preparing [2021-12-02T14:21:20.220Z] 0fc47159e74d: Layer already exists [2021-12-02T14:21:20.220Z] 1a058d5342cc: Layer already exists [2021-12-02T14:21:20.220Z] f456101fef10: Layer already exists [2021-12-02T14:21:20.220Z] b377fda4611d: Layer already exists [2021-12-02T14:21:20.220Z] eb497fe397de: Layer already exists [2021-12-02T14:21:20.220Z] 2.2.0-dev.2: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:20.516Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:20.811Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [2021-12-02T14:21:20.811Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T14:21:20.811Z] 0fc47159e74d: Preparing [2021-12-02T14:21:20.811Z] eb497fe397de: Preparing [2021-12-02T14:21:20.811Z] f456101fef10: Preparing [2021-12-02T14:21:20.811Z] b377fda4611d: Preparing [2021-12-02T14:21:20.811Z] 1a058d5342cc: Preparing [2021-12-02T14:21:20.811Z] eb497fe397de: Layer already exists [2021-12-02T14:21:20.811Z] 0fc47159e74d: Layer already exists [2021-12-02T14:21:20.811Z] f456101fef10: Layer already exists [2021-12-02T14:21:20.811Z] b377fda4611d: Layer already exists [2021-12-02T14:21:20.811Z] 1a058d5342cc: Layer already exists [2021-12-02T14:21:20.811Z] 42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:21.005Z] Avoid second fetch [2021-12-02T14:21:21.005Z] Checking out Revision 42a81012aee9d0f4741172f85aabccffc17c1488 (main) [2021-12-02T14:21:21.116Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:20.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-12-02T14:21:20.985Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:21:21.031Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T14:21:21.092Z] > git checkout -f 42a81012aee9d0f4741172f85aabccffc17c1488 # timeout=10 [2021-12-02T14:21:21.414Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2021-12-02T14:21:21.414Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-12-02T14:21:21.414Z] 0fc47159e74d: Preparing [2021-12-02T14:21:21.414Z] eb497fe397de: Preparing [2021-12-02T14:21:21.414Z] f456101fef10: Preparing [2021-12-02T14:21:21.414Z] b377fda4611d: Preparing [2021-12-02T14:21:21.414Z] 1a058d5342cc: Preparing [2021-12-02T14:21:21.414Z] 1a058d5342cc: Layer already exists [2021-12-02T14:21:21.414Z] f456101fef10: Layer already exists [2021-12-02T14:21:21.414Z] b377fda4611d: Layer already exists [2021-12-02T14:21:21.414Z] eb497fe397de: Layer already exists [2021-12-02T14:21:21.414Z] 0fc47159e74d: Layer already exists [2021-12-02T14:21:21.414Z] main: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:21:21.449Z] ===================================================== [Pipeline] echo [2021-12-02T14:21:21.459Z] taggedImages: [2021-12-02T14:21:21.459Z] - nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488 [2021-12-02T14:21:21.459Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-12-02T14:21:21.459Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.2 [2021-12-02T14:21:21.459Z] - nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [2021-12-02T14:21:21.459Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:21.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:21:21.925Z] [2021-12-02T14:21:21.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:22.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:21:22.230Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T14:21:22.230Z] b4d181a07f80: Pulling fs layer [2021-12-02T14:21:22.230Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T14:21:22.230Z] ed53099fbce6: Pulling fs layer [2021-12-02T14:21:22.230Z] dc539afda2c1: Pulling fs layer [2021-12-02T14:21:22.230Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T14:21:22.230Z] 9065ff56babe: Pulling fs layer [2021-12-02T14:21:22.230Z] d287ab97295c: Pulling fs layer [2021-12-02T14:21:22.230Z] dc539afda2c1: Waiting [2021-12-02T14:21:22.230Z] 77bc0d833cb6: Waiting [2021-12-02T14:21:22.230Z] 9065ff56babe: Waiting [2021-12-02T14:21:22.230Z] d287ab97295c: Waiting [2021-12-02T14:21:22.230Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T14:21:22.230Z] a1111a8f2ec3: Download complete [2021-12-02T14:21:22.230Z] dc539afda2c1: Verifying Checksum [2021-12-02T14:21:22.230Z] dc539afda2c1: Download complete [2021-12-02T14:21:22.230Z] ed53099fbce6: Verifying Checksum [2021-12-02T14:21:22.230Z] ed53099fbce6: Download complete [2021-12-02T14:21:22.230Z] 9065ff56babe: Verifying Checksum [2021-12-02T14:21:22.230Z] 9065ff56babe: Download complete [2021-12-02T14:21:22.230Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T14:21:22.230Z] 77bc0d833cb6: Download complete [2021-12-02T14:21:22.492Z] b4d181a07f80: Verifying Checksum [2021-12-02T14:21:22.492Z] b4d181a07f80: Download complete [2021-12-02T14:21:23.062Z] d287ab97295c: Verifying Checksum [2021-12-02T14:21:23.062Z] d287ab97295c: Download complete [2021-12-02T14:21:23.640Z] b4d181a07f80: Pull complete [2021-12-02T14:21:23.901Z] a1111a8f2ec3: Pull complete [2021-12-02T14:21:24.468Z] ed53099fbce6: Pull complete [2021-12-02T14:21:24.728Z] dc539afda2c1: Pull complete [2021-12-02T14:21:24.994Z] 77bc0d833cb6: Pull complete [2021-12-02T14:21:24.994Z] 9065ff56babe: Pull complete [2021-12-02T14:21:25.579Z] Commit message: "refactor(snap): remove obsolete passthrough usage" [2021-12-02T14:21:25.851Z] [2021-12-02T14:21:25.851Z] GitHub has been notified of this commit’s build result [2021-12-02T14:21:25.851Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T14:21:26.452Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T14:21:26.452Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T14:21:26.452Z] Dload Upload Total Spent Left Speed [2021-12-02T14:21:26.452Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 195k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2021-12-02T14:21:26.988Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T14:21:27.347Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T14:21:27.347Z] + sudo tee /etc/docker/daemon.new [2021-12-02T14:21:27.347Z] { [2021-12-02T14:21:27.347Z] "registry-mirrors": [ [2021-12-02T14:21:27.347Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T14:21:27.347Z] ], [2021-12-02T14:21:27.347Z] "bip": "10.250.0.254/24", [2021-12-02T14:21:27.347Z] "hosts": [ [2021-12-02T14:21:27.347Z] "tcp://0.0.0.0:5555", [2021-12-02T14:21:27.347Z] "unix:///var/run/docker.sock" [2021-12-02T14:21:27.347Z] ], [2021-12-02T14:21:27.347Z] "mtu": 1458, [2021-12-02T14:21:27.347Z] "selinux-enabled": true, [2021-12-02T14:21:27.347Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T14:21:27.347Z] } [Pipeline] sh [2021-12-02T14:21:27.705Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T14:21:28.051Z] + sudo service docker restart [2021-12-02T14:21:30.299Z] d287ab97295c: Pull complete [2021-12-02T14:21:30.300Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T14:21:30.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:21:30.300Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T14:21:30.360Z] prd-centos7-docker-4c-2g-100 does not seem to be running inside a container [2021-12-02T14:21:30.396Z] $ 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/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@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-12-02T14:21:32.816Z] $ docker top e25b9fa298ac50098c0637a873f5f1698329e21f72463f57b742b1a7026f18e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:21:33.231Z] ---> job-cost.sh [2021-12-02T14:21:33.231Z] lf-activate-venv: SKIPPING [2021-12-02T14:21:33.231Z] INFO: No Stack... [2021-12-02T14:21:33.492Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T14:21:33.751Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T14:21:34.052Z] + cat /w/workspace/device-snmp-go/11/archives/cost.csv [2021-12-02T14:21:34.053Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T14:21:34.084Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [2021-12-02T14:21:34.091Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] did not exist. Created. [2021-12-02T14:21:34.091Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T14:21:34.396Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T14:21:34.429Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T14:21:34.435Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T14:21:34.455Z] $ docker stop --time=1 e25b9fa298ac50098c0637a873f5f1698329e21f72463f57b742b1a7026f18e3 [2021-12-02T14:21:35.600Z] $ docker rm -f e25b9fa298ac50098c0637a873f5f1698329e21f72463f57b742b1a7026f18e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:21:46.429Z] provisioning config files... [2021-12-02T14:21:46.457Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config7309317153449068359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:21:46.828Z] ---> docker-login.sh [2021-12-02T14:21:46.828Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:21:47.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:47.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:47.708Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:47.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:47.708Z] [2021-12-02T14:21:47.708Z] Login Succeeded [2021-12-02T14:21:47.708Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:21:47.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:48.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:48.257Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:48.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:48.257Z] [2021-12-02T14:21:48.257Z] Login Succeeded [2021-12-02T14:21:48.257Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:21:48.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:48.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:48.533Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:48.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:48.533Z] [2021-12-02T14:21:48.533Z] Login Succeeded [2021-12-02T14:21:48.533Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:21:49.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:49.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:49.137Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:49.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:49.137Z] [2021-12-02T14:21:49.137Z] Login Succeeded [2021-12-02T14:21:49.137Z] docker.io [2021-12-02T14:21:49.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:21:50.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:21:50.009Z] Configure a credential helper to remove this warning. See [2021-12-02T14:21:50.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:21:50.009Z] [2021-12-02T14:21:50.009Z] Login Succeeded [2021-12-02T14:21:50.009Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:21:50.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T14:21:50.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:21:50.810Z] ========================================================= [2021-12-02T14:21:50.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T14:21:50.810Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:51.176Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-02T14:21:51.453Z] Sending build context to Docker daemon 2.679MB [2021-12-02T14:21:51.453Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:21:51.453Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T14:21:51.728Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T14:21:51.728Z] 552d1f2373af: Pulling fs layer [2021-12-02T14:21:51.728Z] ea3f2d53f512: Pulling fs layer [2021-12-02T14:21:51.728Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T14:21:51.728Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T14:21:51.728Z] 72dc09318566: Pulling fs layer [2021-12-02T14:21:51.728Z] f4f7b4309257: Pulling fs layer [2021-12-02T14:21:51.728Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T14:21:51.728Z] b78e95d17946: Pulling fs layer [2021-12-02T14:21:51.728Z] f4f7b4309257: Waiting [2021-12-02T14:21:51.728Z] 0ac9a79272e3: Waiting [2021-12-02T14:21:51.728Z] 7a9cfe048b4a: Waiting [2021-12-02T14:21:51.728Z] b78e95d17946: Waiting [2021-12-02T14:21:51.728Z] 72dc09318566: Waiting [2021-12-02T14:21:51.728Z] 9e70ebbbe112: Verifying Checksum [2021-12-02T14:21:51.728Z] 9e70ebbbe112: Download complete [2021-12-02T14:21:51.728Z] ea3f2d53f512: Verifying Checksum [2021-12-02T14:21:51.728Z] ea3f2d53f512: Download complete [2021-12-02T14:21:51.728Z] 72dc09318566: Download complete [2021-12-02T14:21:51.728Z] f4f7b4309257: Download complete [2021-12-02T14:21:51.728Z] 552d1f2373af: Download complete [2021-12-02T14:21:51.728Z] 0ac9a79272e3: Verifying Checksum [2021-12-02T14:21:51.728Z] 0ac9a79272e3: Download complete [2021-12-02T14:21:52.734Z] 552d1f2373af: Pull complete [2021-12-02T14:21:53.331Z] ea3f2d53f512: Pull complete [2021-12-02T14:21:53.609Z] 9e70ebbbe112: Pull complete [2021-12-02T14:21:53.889Z] b78e95d17946: Verifying Checksum [2021-12-02T14:21:53.889Z] b78e95d17946: Download complete [2021-12-02T14:21:54.163Z] 7a9cfe048b4a: Download complete [2021-12-02T14:22:06.578Z] 7a9cfe048b4a: Pull complete [2021-12-02T14:22:06.578Z] 72dc09318566: Pull complete [2021-12-02T14:22:06.578Z] f4f7b4309257: Pull complete [2021-12-02T14:22:06.578Z] 0ac9a79272e3: Pull complete [2021-12-02T14:22:11.992Z] b78e95d17946: Pull complete [2021-12-02T14:22:11.992Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T14:22:11.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T14:22:11.992Z] ---> 8b459fc5aaf0 [2021-12-02T14:22:11.992Z] Step 3/11 : ARG MAKE='make build' [2021-12-02T14:22:13.975Z] ---> Running in e6c1492951e8 [2021-12-02T14:22:13.975Z] Removing intermediate container e6c1492951e8 [2021-12-02T14:22:13.975Z] ---> 0412eb73e208 [2021-12-02T14:22:13.975Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:22:14.249Z] ---> Running in 5f8e0d8e2795 [2021-12-02T14:22:14.521Z] Removing intermediate container 5f8e0d8e2795 [2021-12-02T14:22:14.521Z] ---> 2e781c9312a2 [2021-12-02T14:22:14.521Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:22:14.793Z] ---> Running in 0e4c18ab8e5d [2021-12-02T14:22:15.066Z] Removing intermediate container 0e4c18ab8e5d [2021-12-02T14:22:15.066Z] ---> b488c6e454a7 [2021-12-02T14:22:15.066Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:22:15.066Z] ---> Running in 97e1bb93b943 [2021-12-02T14:22:17.046Z] Removing intermediate container 97e1bb93b943 [2021-12-02T14:22:17.046Z] ---> d6ef5ca44306 [2021-12-02T14:22:17.046Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:22:17.046Z] ---> Running in fde86f6cde6b [2021-12-02T14:22:18.034Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T14:22:19.016Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T14:22:19.991Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T14:22:19.991Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T14:22:20.262Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T14:22:20.262Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T14:22:20.535Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T14:22:20.535Z] OK: 223 MiB in 56 packages [2021-12-02T14:22:21.504Z] Removing intermediate container fde86f6cde6b [2021-12-02T14:22:21.504Z] ---> 676fea4bd1c8 [2021-12-02T14:22:21.504Z] Step 8/11 : WORKDIR /device-snmp-go [2021-12-02T14:22:21.504Z] ---> Running in c43fdef60eeb [2021-12-02T14:22:21.781Z] Removing intermediate container c43fdef60eeb [2021-12-02T14:22:21.781Z] ---> a24b30aafe77 [2021-12-02T14:22:21.781Z] Step 9/11 : COPY . . [2021-12-02T14:22:22.758Z] ---> abb9ea1148ec [2021-12-02T14:22:22.758Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:22:22.758Z] ---> Running in 962ee0fe1c2d [2021-12-02T14:23:44.522Z] Removing intermediate container 962ee0fe1c2d [2021-12-02T14:23:44.522Z] ---> 667b3198ebba [2021-12-02T14:23:44.522Z] Step 11/11 : RUN ${MAKE} [2021-12-02T14:23:44.522Z] ---> Running in 086d1519679e [2021-12-02T14:23:44.522Z] noop [2021-12-02T14:23:44.522Z] Removing intermediate container 086d1519679e [2021-12-02T14:23:44.522Z] ---> d3583766cb0b [2021-12-02T14:23:44.522Z] Successfully built d3583766cb0b [2021-12-02T14:23:44.522Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:44.864Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T14:23:44.864Z] . [Pipeline] withDockerContainer [2021-12-02T14:23:45.095Z] prd-ubuntu18.04-docker-arm64-4c-16g-101 does not seem to be running inside a container [2021-12-02T14:23:45.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T14:23:46.571Z] $ docker top f7ea950f4818adc57ad311b10c0e00dd205726daf2fb71eea8ee1916c657299d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T14:23:47.498Z] + go version [2021-12-02T14:23:47.498Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T14:23:47.519Z] $ docker stop --time=1 f7ea950f4818adc57ad311b10c0e00dd205726daf2fb71eea8ee1916c657299d [2021-12-02T14:23:49.165Z] $ docker rm -f f7ea950f4818adc57ad311b10c0e00dd205726daf2fb71eea8ee1916c657299d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:49.838Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T14:23:49.838Z] . [Pipeline] withDockerContainer [2021-12-02T14:23:50.083Z] prd-ubuntu18.04-docker-arm64-4c-16g-101 does not seem to be running inside a container [2021-12-02T14:23:50.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T14:23:51.466Z] $ docker top a9a41fefe4e54f112a297f7989ed9c324575d3572e3805ae89ce179a2c2e5aac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T14:23:52.379Z] + make test [2021-12-02T14:23:52.379Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T14:23:53.813Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-12-02T14:24:50.410Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-12-02T14:24:50.410Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.037s coverage: 0.0% of statements [2021-12-02T14:24:50.410Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T14:25:12.599Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T14:25:12.599Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T14:25:12.599Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T14:25:13.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T14:25:13.237Z] $ docker stop --time=1 a9a41fefe4e54f112a297f7989ed9c324575d3572e3805ae89ce179a2c2e5aac [2021-12-02T14:25:14.900Z] $ docker rm -f a9a41fefe4e54f112a297f7989ed9c324575d3572e3805ae89ce179a2c2e5aac [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:25:15.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T14:25:15.702Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T14:25:16.157Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T14:25:16.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T14:25:16.970Z] + ls -al . [2021-12-02T14:25:16.970Z] total 172 [2021-12-02T14:25:16.970Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:25 . [2021-12-02T14:25:16.970Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 14:21 .. [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 6 Dec 2 14:21 .dockerignore [2021-12-02T14:25:16.970Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:21 .git [2021-12-02T14:25:16.970Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:21 .github [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 262 Dec 2 14:21 .gitignore [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 6926 Dec 2 14:21 Attribution.txt [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 4401 Dec 2 14:21 CHANGELOG.md [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 1493 Dec 2 14:21 Dockerfile [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 14:21 GOVERNANCE.md [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 656 Dec 2 14:21 Jenkinsfile [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 14:21 LICENSE [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 1057 Dec 2 14:21 Makefile [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 14:21 OWNERS.md [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 9073 Dec 2 14:21 README.md [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 14:18 VERSION [2021-12-02T14:25:16.970Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:21 bin [2021-12-02T14:25:16.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:21 cmd [2021-12-02T14:25:16.970Z] -rw-r--r-- 1 jenkins jenkins 7631 Dec 2 14:24 coverage.out [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 214 Dec 2 14:21 go.mod [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 49501 Dec 2 14:21 go.sum [2021-12-02T14:25:16.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:21 internal [2021-12-02T14:25:16.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:21 snap [2021-12-02T14:25:16.970Z] -rw-rw-r-- 1 jenkins jenkins 209 Dec 2 14:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:25:17.306Z] + 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=42a81012aee9d0f4741172f85aabccffc17c1488 --label arch=arm64 --label version=2.2.0-dev.2 . [2021-12-02T14:25:17.582Z] Sending build context to Docker daemon 2.687MB [2021-12-02T14:25:17.582Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:25:17.582Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T14:25:17.582Z] ---> d3583766cb0b [2021-12-02T14:25:17.582Z] Step 3/23 : ARG MAKE='make build' [2021-12-02T14:25:17.855Z] ---> Running in 934986e37ffa [2021-12-02T14:25:18.127Z] Removing intermediate container 934986e37ffa [2021-12-02T14:25:18.127Z] ---> 277a5f6d86f5 [2021-12-02T14:25:18.127Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:25:18.127Z] ---> Running in 8e66e52ddef3 [2021-12-02T14:25:18.408Z] Removing intermediate container 8e66e52ddef3 [2021-12-02T14:25:18.408Z] ---> 2c1c3a5263ef [2021-12-02T14:25:18.408Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:25:18.679Z] ---> Running in 69b919b2c32f [2021-12-02T14:25:18.953Z] Removing intermediate container 69b919b2c32f [2021-12-02T14:25:18.953Z] ---> 61243d5c7376 [2021-12-02T14:25:18.953Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:25:18.953Z] ---> Running in 43ed0b7e0937 [2021-12-02T14:25:20.934Z] Removing intermediate container 43ed0b7e0937 [2021-12-02T14:25:20.934Z] ---> f655474992df [2021-12-02T14:25:20.934Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:25:20.934Z] ---> Running in 640132cfd726 [2021-12-02T14:25:21.915Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T14:25:22.898Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T14:25:23.881Z] OK: 223 MiB in 56 packages [2021-12-02T14:25:24.478Z] Removing intermediate container 640132cfd726 [2021-12-02T14:25:24.478Z] ---> 7b0afd971098 [2021-12-02T14:25:24.478Z] Step 8/23 : WORKDIR /device-snmp-go [2021-12-02T14:25:24.478Z] ---> Running in 12d353d4d39d [2021-12-02T14:25:25.075Z] Removing intermediate container 12d353d4d39d [2021-12-02T14:25:25.075Z] ---> 2856360d306f [2021-12-02T14:25:25.075Z] Step 9/23 : COPY . . [2021-12-02T14:25:26.055Z] ---> 01d0533afe30 [2021-12-02T14:25:26.055Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:25:26.055Z] ---> Running in 33e10eda538e [2021-12-02T14:25:28.678Z] Removing intermediate container 33e10eda538e [2021-12-02T14:25:28.678Z] ---> fd0fd37482f5 [2021-12-02T14:25:28.678Z] Step 11/23 : RUN ${MAKE} [2021-12-02T14:25:28.678Z] ---> Running in a7557db92315 [2021-12-02T14:25:29.276Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.2" -o cmd/device-snmp ./cmd [2021-12-02T14:26:16.304Z] Removing intermediate container a7557db92315 [2021-12-02T14:26:16.304Z] ---> a872c8807511 [2021-12-02T14:26:16.304Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T14:26:16.304Z] 3.14: Pulling from library/alpine [2021-12-02T14:26:16.304Z] be307f383ecc: Pulling fs layer [2021-12-02T14:26:16.304Z] be307f383ecc: Verifying Checksum [2021-12-02T14:26:16.304Z] be307f383ecc: Download complete [2021-12-02T14:26:16.304Z] be307f383ecc: Pull complete [2021-12-02T14:26:16.304Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T14:26:16.304Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T14:26:16.304Z] ---> 5b8b7b635229 [2021-12-02T14:26:16.304Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T14:26:16.304Z] ---> Running in c23fb25c006c [2021-12-02T14:26:16.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T14:26:16.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T14:26:16.304Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T14:26:16.304Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T14:26:16.304Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T14:26:16.304Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T14:26:16.304Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T14:26:16.304Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T14:26:16.304Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T14:26:16.304Z] OK: 8 MiB in 20 packages [2021-12-02T14:26:16.304Z] Removing intermediate container c23fb25c006c [2021-12-02T14:26:16.304Z] ---> ad96d57741d2 [2021-12-02T14:26:16.304Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-12-02T14:26:16.304Z] ---> cc6ad12de392 [2021-12-02T14:26:16.304Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-12-02T14:26:16.304Z] ---> 86024b35db29 [2021-12-02T14:26:16.304Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-12-02T14:26:16.304Z] ---> 1c052f7623ad [2021-12-02T14:26:16.304Z] Step 17/23 : EXPOSE 59993 [2021-12-02T14:26:16.304Z] ---> Running in 28ce244c4509 [2021-12-02T14:26:16.901Z] Removing intermediate container 28ce244c4509 [2021-12-02T14:26:16.901Z] ---> de29f22ff8e5 [2021-12-02T14:26:16.901Z] Step 18/23 : EXPOSE 161 [2021-12-02T14:26:16.901Z] ---> Running in e20bb4a33eef [2021-12-02T14:26:17.176Z] Removing intermediate container e20bb4a33eef [2021-12-02T14:26:17.176Z] ---> eeb9787dbc2d [2021-12-02T14:26:17.176Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-12-02T14:26:17.449Z] ---> Running in 582da143bc83 [2021-12-02T14:26:17.722Z] Removing intermediate container 582da143bc83 [2021-12-02T14:26:17.722Z] ---> efd09d214488 [2021-12-02T14:26:17.722Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-12-02T14:26:17.722Z] ---> Running in 3d5517d5f797 [2021-12-02T14:26:18.319Z] Removing intermediate container 3d5517d5f797 [2021-12-02T14:26:18.319Z] ---> 35724a6fa7bd [2021-12-02T14:26:18.319Z] Step 21/23 : LABEL arch=arm64 [2021-12-02T14:26:18.319Z] ---> Running in d1400f3d0e99 [2021-12-02T14:26:18.594Z] Removing intermediate container d1400f3d0e99 [2021-12-02T14:26:18.594Z] ---> dcdbb555940f [2021-12-02T14:26:18.594Z] Step 22/23 : LABEL git_sha=42a81012aee9d0f4741172f85aabccffc17c1488 [2021-12-02T14:26:18.594Z] ---> Running in 63e8c89da6fd [2021-12-02T14:26:19.191Z] Removing intermediate container 63e8c89da6fd [2021-12-02T14:26:19.191Z] ---> c91b77e16667 [2021-12-02T14:26:19.191Z] Step 23/23 : LABEL version=2.2.0-dev.2 [2021-12-02T14:26:19.191Z] ---> Running in 5e19456ddfea [2021-12-02T14:26:19.464Z] Removing intermediate container 5e19456ddfea [2021-12-02T14:26:19.464Z] ---> a9cb47ecc6ec [2021-12-02T14:26:19.464Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T14:26:19.464Z] Successfully built a9cb47ecc6ec [2021-12-02T14:26:19.464Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:26:19.651Z] provisioning config files... [2021-12-02T14:26:19.673Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config1876559922276805633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:26:20.027Z] ---> docker-login.sh [2021-12-02T14:26:20.027Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:26:20.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:26:20.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:26:20.306Z] Configure a credential helper to remove this warning. See [2021-12-02T14:26:20.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:26:20.306Z] [2021-12-02T14:26:20.306Z] Login Succeeded [2021-12-02T14:26:20.306Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:26:20.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:26:20.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:26:20.904Z] Configure a credential helper to remove this warning. See [2021-12-02T14:26:20.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:26:20.904Z] [2021-12-02T14:26:20.904Z] Login Succeeded [2021-12-02T14:26:20.904Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:26:21.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:26:21.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:26:21.453Z] Configure a credential helper to remove this warning. See [2021-12-02T14:26:21.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:26:21.453Z] [2021-12-02T14:26:21.453Z] Login Succeeded [2021-12-02T14:26:21.453Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:26:21.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:26:22.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:26:22.008Z] Configure a credential helper to remove this warning. See [2021-12-02T14:26:22.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:26:22.008Z] [2021-12-02T14:26:22.008Z] Login Succeeded [2021-12-02T14:26:22.008Z] docker.io [2021-12-02T14:26:22.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:26:22.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:26:22.554Z] Configure a credential helper to remove this warning. See [2021-12-02T14:26:22.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:26:22.554Z] [2021-12-02T14:26:22.554Z] Login Succeeded [2021-12-02T14:26:22.554Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:26:22.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:26:22.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:26:22.625Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-12-02T14:26:22.625Z] 42a81012aee9d0f4741172f85aabccffc17c1488 [2021-12-02T14:26:22.625Z] latest [2021-12-02T14:26:22.625Z] 2.2.0-dev.2 [2021-12-02T14:26:22.625Z] 42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [2021-12-02T14:26:22.625Z] main [2021-12-02T14:26:22.625Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:22.982Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:23.325Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488 [2021-12-02T14:26:23.325Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T14:26:23.325Z] 4ad9fac21222: Preparing [2021-12-02T14:26:23.325Z] c053e0f13e45: Preparing [2021-12-02T14:26:23.325Z] 48241984416a: Preparing [2021-12-02T14:26:23.325Z] 010ee5df0c65: Preparing [2021-12-02T14:26:23.325Z] 62170e181a92: Preparing [2021-12-02T14:26:23.326Z] 62170e181a92: Layer already exists [2021-12-02T14:26:23.599Z] 4ad9fac21222: Pushed [2021-12-02T14:26:23.599Z] c053e0f13e45: Pushed [2021-12-02T14:26:24.196Z] 010ee5df0c65: Pushed [2021-12-02T14:26:26.816Z] 48241984416a: Pushed [2021-12-02T14:26:26.816Z] 42a81012aee9d0f4741172f85aabccffc17c1488: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:27.168Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:27.516Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-12-02T14:26:27.516Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T14:26:27.516Z] 4ad9fac21222: Preparing [2021-12-02T14:26:27.516Z] c053e0f13e45: Preparing [2021-12-02T14:26:27.516Z] 48241984416a: Preparing [2021-12-02T14:26:27.516Z] 010ee5df0c65: Preparing [2021-12-02T14:26:27.516Z] 62170e181a92: Preparing [2021-12-02T14:26:27.516Z] 010ee5df0c65: Layer already exists [2021-12-02T14:26:27.516Z] 48241984416a: Layer already exists [2021-12-02T14:26:27.516Z] c053e0f13e45: Layer already exists [2021-12-02T14:26:27.516Z] 4ad9fac21222: Layer already exists [2021-12-02T14:26:27.516Z] 62170e181a92: Layer already exists [2021-12-02T14:26:27.789Z] latest: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:28.136Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:28.483Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.2 [2021-12-02T14:26:28.483Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T14:26:28.483Z] 4ad9fac21222: Preparing [2021-12-02T14:26:28.483Z] c053e0f13e45: Preparing [2021-12-02T14:26:28.483Z] 48241984416a: Preparing [2021-12-02T14:26:28.483Z] 010ee5df0c65: Preparing [2021-12-02T14:26:28.483Z] 62170e181a92: Preparing [2021-12-02T14:26:28.483Z] 010ee5df0c65: Layer already exists [2021-12-02T14:26:28.483Z] 48241984416a: Layer already exists [2021-12-02T14:26:28.483Z] 4ad9fac21222: Layer already exists [2021-12-02T14:26:28.483Z] c053e0f13e45: Layer already exists [2021-12-02T14:26:28.483Z] 62170e181a92: Layer already exists [2021-12-02T14:26:28.761Z] 2.2.0-dev.2: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:29.112Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:29.457Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [2021-12-02T14:26:29.457Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T14:26:29.457Z] 4ad9fac21222: Preparing [2021-12-02T14:26:29.457Z] c053e0f13e45: Preparing [2021-12-02T14:26:29.457Z] 48241984416a: Preparing [2021-12-02T14:26:29.457Z] 010ee5df0c65: Preparing [2021-12-02T14:26:29.457Z] 62170e181a92: Preparing [2021-12-02T14:26:29.457Z] c053e0f13e45: Layer already exists [2021-12-02T14:26:29.457Z] 4ad9fac21222: Layer already exists [2021-12-02T14:26:29.457Z] 010ee5df0c65: Layer already exists [2021-12-02T14:26:29.457Z] 48241984416a: Layer already exists [2021-12-02T14:26:29.457Z] 62170e181a92: Layer already exists [2021-12-02T14:26:29.730Z] 42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:30.080Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:30.433Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2021-12-02T14:26:30.433Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-12-02T14:26:30.433Z] 4ad9fac21222: Preparing [2021-12-02T14:26:30.433Z] c053e0f13e45: Preparing [2021-12-02T14:26:30.433Z] 48241984416a: Preparing [2021-12-02T14:26:30.433Z] 010ee5df0c65: Preparing [2021-12-02T14:26:30.433Z] 62170e181a92: Preparing [2021-12-02T14:26:30.433Z] c053e0f13e45: Layer already exists [2021-12-02T14:26:30.433Z] 62170e181a92: Layer already exists [2021-12-02T14:26:30.433Z] 4ad9fac21222: Layer already exists [2021-12-02T14:26:30.433Z] 010ee5df0c65: Layer already exists [2021-12-02T14:26:30.433Z] 48241984416a: Layer already exists [2021-12-02T14:26:30.708Z] main: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:26:30.759Z] ===================================================== [Pipeline] echo [2021-12-02T14:26:30.768Z] taggedImages: [2021-12-02T14:26:30.768Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488 [2021-12-02T14:26:30.768Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-12-02T14:26:30.768Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.2 [2021-12-02T14:26:30.768Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [2021-12-02T14:26:30.768Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:31.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T14:26:31.192Z] [2021-12-02T14:26:31.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:26:31.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T14:26:31.824Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T14:26:31.824Z] 448f6bf000e3: Pulling fs layer [2021-12-02T14:26:31.824Z] f757da607395: Pulling fs layer [2021-12-02T14:26:31.824Z] 05883995daec: Pulling fs layer [2021-12-02T14:26:31.824Z] 8603b9c90790: Pulling fs layer [2021-12-02T14:26:31.824Z] 1560dd03e051: Pulling fs layer [2021-12-02T14:26:31.824Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T14:26:31.824Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T14:26:31.824Z] 1560dd03e051: Waiting [2021-12-02T14:26:31.824Z] 27f5ce0e4adf: Waiting [2021-12-02T14:26:31.824Z] c2d8d7efcc4b: Waiting [2021-12-02T14:26:31.824Z] 8603b9c90790: Waiting [2021-12-02T14:26:31.824Z] f757da607395: Verifying Checksum [2021-12-02T14:26:31.824Z] f757da607395: Download complete [2021-12-02T14:26:31.824Z] 8603b9c90790: Verifying Checksum [2021-12-02T14:26:31.824Z] 8603b9c90790: Download complete [2021-12-02T14:26:31.824Z] 1560dd03e051: Verifying Checksum [2021-12-02T14:26:31.824Z] 1560dd03e051: Download complete [2021-12-02T14:26:31.824Z] 27f5ce0e4adf: Verifying Checksum [2021-12-02T14:26:31.824Z] 27f5ce0e4adf: Download complete [2021-12-02T14:26:32.102Z] 05883995daec: Verifying Checksum [2021-12-02T14:26:32.102Z] 05883995daec: Download complete [2021-12-02T14:26:32.376Z] 448f6bf000e3: Verifying Checksum [2021-12-02T14:26:32.376Z] 448f6bf000e3: Download complete [2021-12-02T14:26:34.999Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T14:26:34.999Z] c2d8d7efcc4b: Download complete [2021-12-02T14:26:35.982Z] 448f6bf000e3: Pull complete [2021-12-02T14:26:36.581Z] f757da607395: Pull complete [2021-12-02T14:26:38.021Z] 05883995daec: Pull complete [2021-12-02T14:26:38.294Z] 8603b9c90790: Pull complete [2021-12-02T14:26:39.276Z] 1560dd03e051: Pull complete [2021-12-02T14:26:39.548Z] 27f5ce0e4adf: Pull complete [2021-12-02T14:26:54.637Z] c2d8d7efcc4b: Pull complete [2021-12-02T14:26:54.637Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T14:26:54.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T14:26:54.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T14:26:54.883Z] prd-ubuntu18.04-docker-arm64-4c-16g-101 does not seem to be running inside a container [2021-12-02T14:26:54.962Z] $ 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/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-02T14:26:57.814Z] $ docker top 8c4753432324bc489f726e0758de4276935d2f12358db7914aeb1dabafdc1bea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:26:58.730Z] ---> job-cost.sh [2021-12-02T14:26:58.730Z] lf-activate-venv: SKIPPING [2021-12-02T14:26:58.730Z] INFO: No Stack... [2021-12-02T14:26:59.003Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T14:26:59.599Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T14:27:00.269Z] + + cutcat -d, /w/workspace/device-snmp-go/11/archives/cost.csv -f6 [2021-12-02T14:27:00.269Z] [Pipeline] lock [2021-12-02T14:27:00.339Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [2021-12-02T14:27:00.345Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] did not exist. Created. [2021-12-02T14:27:00.345Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T14:27:01.031Z] /w/workspace/device-snmp-go/11@tmp/durable-f80a588c/script.sh: 1: /w/workspace/device-snmp-go/11@tmp/durable-f80a588c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T14:27:01.702Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T14:27:01.722Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T14:27:01.766Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T14:27:01.773Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T14:27:01.788Z] $ docker stop --time=1 8c4753432324bc489f726e0758de4276935d2f12358db7914aeb1dabafdc1bea [2021-12-02T14:27:03.249Z] $ docker rm -f 8c4753432324bc489f726e0758de4276935d2f12358db7914aeb1dabafdc1bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-12-02T14:27:03.886Z] provisioning config files... [2021-12-02T14:27:03.897Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2260049081207535448tmp [Pipeline] { [Pipeline] sh [2021-12-02T14:27:04.212Z] + set +x [2021-12-02T14:27:04.212Z] + bash -s -- [2021-12-02T14:27:04.212Z] + curl -s https://codecov.io/bash [2021-12-02T14:27:04.212Z] [2021-12-02T14:27:04.212Z] _____ _ [2021-12-02T14:27:04.212Z] / ____| | | [2021-12-02T14:27:04.212Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T14:27:04.212Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T14:27:04.212Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T14:27:04.212Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T14:27:04.212Z] Bash-1.0.6 [2021-12-02T14:27:04.212Z] [2021-12-02T14:27:04.212Z] [2021-12-02T14:27:04.212Z] ==> git version 2.24.4 found [2021-12-02T14:27:04.212Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-12-02T14:27:04.212Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T14:27:04.212Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T14:27:04.212Z] ==> Jenkins CI detected. [2021-12-02T14:27:04.212Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T14:27:04.212Z] project root: . [2021-12-02T14:27:04.212Z] --> token set from env [2021-12-02T14:27:04.212Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T14:27:04.478Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T14:27:04.478Z] ==> Python coveragepy not found [2021-12-02T14:27:04.478Z] ==> Searching for coverage reports in: [2021-12-02T14:27:04.478Z] + . [2021-12-02T14:27:04.478Z] -> Found 1 reports [2021-12-02T14:27:04.478Z] ==> Detecting git/mercurial file structure [2021-12-02T14:27:04.478Z] ==> Reading reports [2021-12-02T14:27:04.478Z] + ./coverage.out bytes=7631 [2021-12-02T14:27:04.478Z] ==> Appending adjustments [2021-12-02T14:27:04.478Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T14:27:04.478Z] + Found adjustments [2021-12-02T14:27:04.478Z] ==> Gzipping contents [2021-12-02T14:27:04.478Z] 4.0K /tmp/codecov.Si1Rwo.gz [2021-12-02T14:27:04.478Z] ==> Uploading reports [2021-12-02T14:27:04.478Z] url: https://codecov.io [2021-12-02T14:27:04.478Z] query: branch=main&commit=42a81012aee9d0f4741172f85aabccffc17c1488&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T14:27:04.478Z] -> Pinging Codecov [2021-12-02T14:27:04.478Z] 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=42a81012aee9d0f4741172f85aabccffc17c1488&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T14:27:04.738Z] -> Uploading to [2021-12-02T14:27:04.739Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/6C56EA5C29638FB4528AC87E60AF5AE0/42a81012aee9d0f4741172f85aabccffc17c1488/33db56ad-5fb9-41e3-a34a-781d92d9f3b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T142704Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33dbfc30d980568c5840eb877bdb3e3b07992b63a72267d2f22bd5654c7ae25e [2021-12-02T14:27:04.739Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T14:27:04.739Z] Dload Upload Total Spent Left Speed [2021-12-02T14:27:05.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4143 --:--:-- --:--:-- --:--:-- 4152 [2021-12-02T14:27:05.312Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] } [2021-12-02T14:27:05.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-12-02T14:27:05.538Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-12-02T14:27:05.548Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:05.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T14:27:05.846Z] [2021-12-02T14:27:05.846Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:06.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T14:27:06.158Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-12-02T14:27:06.158Z] 188c0c94c7c5: Pulling fs layer [2021-12-02T14:27:06.158Z] 0ef7d3d256c8: Pulling fs layer [2021-12-02T14:27:06.158Z] de9db76c5a1d: Pulling fs layer [2021-12-02T14:27:06.158Z] 0eba1c9be4d2: Pulling fs layer [2021-12-02T14:27:06.158Z] 0d57e429df01: Pulling fs layer [2021-12-02T14:27:06.158Z] 4e4be7b47b0d: Pulling fs layer [2021-12-02T14:27:06.158Z] e1f770b5df2f: Pulling fs layer [2021-12-02T14:27:06.158Z] 85a0685a4137: Pulling fs layer [2021-12-02T14:27:06.158Z] 0eba1c9be4d2: Waiting [2021-12-02T14:27:06.158Z] 0d57e429df01: Waiting [2021-12-02T14:27:06.158Z] 4e4be7b47b0d: Waiting [2021-12-02T14:27:06.158Z] e1f770b5df2f: Waiting [2021-12-02T14:27:06.158Z] 85a0685a4137: Waiting [2021-12-02T14:27:06.158Z] de9db76c5a1d: Verifying Checksum [2021-12-02T14:27:06.158Z] de9db76c5a1d: Download complete [2021-12-02T14:27:06.158Z] 0ef7d3d256c8: Verifying Checksum [2021-12-02T14:27:06.158Z] 0ef7d3d256c8: Download complete [2021-12-02T14:27:06.158Z] 0d57e429df01: Verifying Checksum [2021-12-02T14:27:06.158Z] 0d57e429df01: Download complete [2021-12-02T14:27:06.158Z] 4e4be7b47b0d: Verifying Checksum [2021-12-02T14:27:06.158Z] 4e4be7b47b0d: Download complete [2021-12-02T14:27:06.158Z] 188c0c94c7c5: Verifying Checksum [2021-12-02T14:27:06.158Z] 188c0c94c7c5: Download complete [2021-12-02T14:27:06.441Z] e1f770b5df2f: Verifying Checksum [2021-12-02T14:27:06.441Z] e1f770b5df2f: Download complete [2021-12-02T14:27:06.441Z] 188c0c94c7c5: Pull complete [2021-12-02T14:27:06.712Z] 0eba1c9be4d2: Verifying Checksum [2021-12-02T14:27:06.712Z] 0eba1c9be4d2: Download complete [2021-12-02T14:27:06.712Z] 0ef7d3d256c8: Pull complete [2021-12-02T14:27:06.976Z] de9db76c5a1d: Pull complete [2021-12-02T14:27:07.258Z] 85a0685a4137: Verifying Checksum [2021-12-02T14:27:07.258Z] 85a0685a4137: Download complete [2021-12-02T14:27:11.517Z] 0eba1c9be4d2: Pull complete [2021-12-02T14:27:11.517Z] 0d57e429df01: Pull complete [2021-12-02T14:27:11.517Z] 4e4be7b47b0d: Pull complete [2021-12-02T14:27:11.517Z] e1f770b5df2f: Pull complete [2021-12-02T14:27:16.885Z] 85a0685a4137: Pull complete [2021-12-02T14:27:16.885Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-12-02T14:27:16.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T14:27:16.885Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-12-02T14:27:16.971Z] prd-centos7-docker-4c-2g-98 does not seem to be running inside a container [2021-12-02T14:27:17.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-12-02T14:27:17.632Z] $ docker top 32cc762897b38310d17b77d65b2537130d3561d0a49a37a5a2b7b0326c955b16 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-02T14:27:17.710Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-12-02T14:27:17.998Z] + set -o pipefail [2021-12-02T14:27:17.998Z] + snyk monitor '--org=edgex-jenkins' [2021-12-02T14:27:23.322Z] [2021-12-02T14:27:23.322Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2021-12-02T14:27:23.322Z] [2021-12-02T14:27:23.322Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/dd23d428-f8ed-4f0c-996d-9d0143403d82 [2021-12-02T14:27:23.322Z] [2021-12-02T14:27:23.322Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-12-02T14:27:23.322Z] [2021-12-02T14:27:23.322Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-12-02T14:27:23.322Z] [2021-12-02T14:27:23.583Z] [Pipeline] } [2021-12-02T14:27:23.594Z] $ docker stop --time=1 32cc762897b38310d17b77d65b2537130d3561d0a49a37a5a2b7b0326c955b16 [2021-12-02T14:27:25.534Z] $ docker rm -f 32cc762897b38310d17b77d65b2537130d3561d0a49a37a5a2b7b0326c955b16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T14:27:26.516Z] + git log --format=format:%s -1 42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] sh [2021-12-02T14:27:26.815Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:27:26.815Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:27.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:27:27.114Z] . [Pipeline] withDockerContainer [2021-12-02T14:27:27.175Z] prd-centos7-docker-4c-2g-98 does not seem to be running inside a container [2021-12-02T14:27:27.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:27:27.535Z] $ docker top ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:27:27.630Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:27:27.630Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:27:27.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:27:27.747Z] $ docker exec ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf ssh-agent [2021-12-02T14:27:27.865Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCIhKip/agent.13 [2021-12-02T14:27:27.865Z] SSH_AGENT_PID=19 [2021-12-02T14:27:27.870Z] Running ssh-add (command line suppressed) [2021-12-02T14:27:27.980Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7069967604531777420.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7069967604531777420.key) [2021-12-02T14:27:27.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:27:28.311Z] + git semver tag [2021-12-02T14:27:28.311Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:27:28.311Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-12-02T14:27:28.311Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T14:27:28.311Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:27:28.311Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:27:28.311Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:27:28.311Z] # $SEMVER_BRANCH = main [2021-12-02T14:27:28.311Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2021-12-02T14:27:28.311Z] # 42a81012aee9d0f4741172f85aabccffc17c1488 HEAD [2021-12-02T14:27:28.311Z] # -> Force: false [2021-12-02T14:27:28.311Z] # 7ccd8020e8fc85c2bbf5fe8a7a0de49e997d1cc7 refs/tags/v2.2.0-dev.2 [Pipeline] } [2021-12-02T14:27:28.321Z] $ docker exec --env ******** --env ******** ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf ssh-agent -k [2021-12-02T14:27:28.407Z] unset SSH_AUTH_SOCK; [2021-12-02T14:27:28.407Z] unset SSH_AGENT_PID; [2021-12-02T14:27:28.407Z] echo Agent pid 19 killed; [2021-12-02T14:27:28.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:27:28.736Z] + git semver [Pipeline] } [2021-12-02T14:27:28.753Z] $ docker stop --time=1 ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf [2021-12-02T14:27:29.933Z] $ docker rm -f ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:30.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T14:27:30.323Z] [2021-12-02T14:27:30.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:30.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T14:27:30.626Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-02T14:27:30.627Z] ab5ef0e58194: Pulling fs layer [2021-12-02T14:27:30.627Z] 9712f1f96733: Pulling fs layer [2021-12-02T14:27:30.627Z] 63f879dbbcfc: Pulling fs layer [2021-12-02T14:27:30.627Z] 0d9ebad4ef96: Pulling fs layer [2021-12-02T14:27:30.627Z] e9a5061849ea: Pulling fs layer [2021-12-02T14:27:30.627Z] d747dcd14b5f: Pulling fs layer [2021-12-02T14:27:30.627Z] 2de7ff778b66: Pulling fs layer [2021-12-02T14:27:30.627Z] e9a5061849ea: Waiting [2021-12-02T14:27:30.627Z] d747dcd14b5f: Waiting [2021-12-02T14:27:30.627Z] 2de7ff778b66: Waiting [2021-12-02T14:27:30.627Z] 0d9ebad4ef96: Waiting [2021-12-02T14:27:30.627Z] 9712f1f96733: Verifying Checksum [2021-12-02T14:27:30.627Z] 9712f1f96733: Download complete [2021-12-02T14:27:31.207Z] 63f879dbbcfc: Verifying Checksum [2021-12-02T14:27:31.207Z] 63f879dbbcfc: Download complete [2021-12-02T14:27:31.474Z] ab5ef0e58194: Verifying Checksum [2021-12-02T14:27:31.474Z] ab5ef0e58194: Download complete [2021-12-02T14:27:31.474Z] 0d9ebad4ef96: Verifying Checksum [2021-12-02T14:27:31.474Z] 0d9ebad4ef96: Download complete [2021-12-02T14:27:31.474Z] d747dcd14b5f: Verifying Checksum [2021-12-02T14:27:31.474Z] d747dcd14b5f: Download complete [2021-12-02T14:27:31.474Z] e9a5061849ea: Verifying Checksum [2021-12-02T14:27:31.474Z] e9a5061849ea: Download complete [2021-12-02T14:27:31.474Z] 2de7ff778b66: Verifying Checksum [2021-12-02T14:27:31.474Z] 2de7ff778b66: Download complete [2021-12-02T14:27:34.843Z] ab5ef0e58194: Pull complete [2021-12-02T14:27:34.843Z] 9712f1f96733: Pull complete [2021-12-02T14:27:35.437Z] 63f879dbbcfc: Pull complete [2021-12-02T14:27:38.769Z] 0d9ebad4ef96: Pull complete [2021-12-02T14:27:39.358Z] e9a5061849ea: Pull complete [2021-12-02T14:27:39.358Z] d747dcd14b5f: Pull complete [2021-12-02T14:27:40.752Z] 2de7ff778b66: Pull complete [2021-12-02T14:27:40.752Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-02T14:27:40.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T14:27:40.752Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-02T14:27:40.813Z] prd-centos7-docker-4c-2g-98 does not seem to be running inside a container [2021-12-02T14:27:40.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-12-02T14:27:44.146Z] $ docker top 77a3248063fce026115b463186e161d61377b25ab0bed41f4ca5821788946fa3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:27:44.241Z] provisioning config files... [2021-12-02T14:27:44.252Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config900664642714450564tmp [2021-12-02T14:27:44.264Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4473608188958237175tmp [2021-12-02T14:27:44.277Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4170964347040185986tmp [Pipeline] { [Pipeline] echo [2021-12-02T14:27:44.295Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:27:44.585Z] ---> sigul-configuration.sh [2021-12-02T14:27:44.585Z] gpg: directory `/root/.gnupg' created [2021-12-02T14:27:44.585Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-02T14:27:44.585Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-02T14:27:44.585Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-02T14:27:44.585Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-02T14:27:44.585Z] gpg: CAST5 encrypted data [2021-12-02T14:27:44.585Z] gpg: encrypted with 1 passphrase [2021-12-02T14:27:44.585Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-02T14:27:44.901Z] + mkdir /home/jenkins [2021-12-02T14:27:44.901Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-02T14:27:45.193Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-12-02T14:27:45.204Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:27:45.494Z] ---> sigul-install.sh [2021-12-02T14:27:45.494Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-02T14:27:45.787Z] + git tag --list [2021-12-02T14:27:45.787Z] 1.0.0 [2021-12-02T14:27:45.787Z] v0.0.0 [2021-12-02T14:27:45.787Z] v1.1.0 [2021-12-02T14:27:45.787Z] v1.1.1 [2021-12-02T14:27:45.787Z] v1.2.2 [2021-12-02T14:27:45.787Z] v1.3.0 [2021-12-02T14:27:45.787Z] v1.3.1 [2021-12-02T14:27:45.787Z] v2.0.0 [2021-12-02T14:27:45.787Z] v2.0.1-dev.1 [2021-12-02T14:27:45.787Z] v2.0.1-dev.2 [2021-12-02T14:27:45.787Z] v2.0.1-dev.3 [2021-12-02T14:27:45.787Z] v2.0.1-dev.4 [2021-12-02T14:27:45.787Z] v2.0.1-dev.5 [2021-12-02T14:27:45.787Z] v2.0.1-dev.6 [2021-12-02T14:27:45.787Z] v2.1.0 [2021-12-02T14:27:45.787Z] v2.2.0-dev.1 [2021-12-02T14:27:45.787Z] v2.2.0-dev.2 [Pipeline] sh [2021-12-02T14:27:46.079Z] + lftools sign git-tag v2.2.0-dev.2 [2021-12-02T14:27:46.652Z] Signing Git tag with Sigul... [2021-12-02T14:27:46.652Z] Signing v2.2.0-dev.2 [Pipeline] echo [2021-12-02T14:27:48.043Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:27:48.342Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-02T14:27:48.383Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-02T14:27:48.431Z] $ docker stop --time=1 77a3248063fce026115b463186e161d61377b25ab0bed41f4ca5821788946fa3 [2021-12-02T14:27:49.651Z] $ docker rm -f 77a3248063fce026115b463186e161d61377b25ab0bed41f4ca5821788946fa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-02T14:27:50.269Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:27:50.269Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:50.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:27:50.568Z] . [Pipeline] withDockerContainer [2021-12-02T14:27:50.634Z] prd-centos7-docker-4c-2g-98 does not seem to be running inside a container [2021-12-02T14:27:50.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:27:50.982Z] $ docker top 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:27:51.077Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:27:51.077Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:27:51.180Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:27:51.181Z] $ docker exec 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 ssh-agent [2021-12-02T14:27:51.274Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOPNEhJ/agent.13 [2021-12-02T14:27:51.274Z] SSH_AGENT_PID=20 [2021-12-02T14:27:51.279Z] Running ssh-add (command line suppressed) [2021-12-02T14:27:51.358Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8658549929199480068.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8658549929199480068.key) [2021-12-02T14:27:51.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:27:51.666Z] + git semver bump pre [2021-12-02T14:27:51.666Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:27:51.666Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-12-02T14:27:51.666Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T14:27:51.666Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:27:51.666Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:27:51.666Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:27:51.666Z] # $SEMVER_BRANCH = main [2021-12-02T14:27:51.666Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2021-12-02T14:27:51.666Z] 2.2.0-dev.3 [Pipeline] } [2021-12-02T14:27:51.676Z] $ docker exec --env ******** --env ******** 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 ssh-agent -k [2021-12-02T14:27:51.764Z] unset SSH_AUTH_SOCK; [2021-12-02T14:27:51.764Z] unset SSH_AGENT_PID; [2021-12-02T14:27:51.764Z] echo Agent pid 20 killed; [2021-12-02T14:27:51.771Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:27:52.068Z] + git semver [Pipeline] } [2021-12-02T14:27:52.079Z] $ docker stop --time=1 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 [2021-12-02T14:27:53.273Z] $ docker rm -f 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:27:53.628Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:27:53.628Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:27:53.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:27:53.921Z] . [Pipeline] withDockerContainer [2021-12-02T14:27:53.982Z] prd-centos7-docker-4c-2g-98 does not seem to be running inside a container [2021-12-02T14:27:54.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:27:54.350Z] $ docker top fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:27:54.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:27:54.444Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:27:54.545Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:27:54.547Z] $ docker exec fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b ssh-agent [2021-12-02T14:27:54.659Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXioocNp/agent.14 [2021-12-02T14:27:54.659Z] SSH_AGENT_PID=21 [2021-12-02T14:27:54.664Z] Running ssh-add (command line suppressed) [2021-12-02T14:27:54.755Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5111956417817571306.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5111956417817571306.key) [2021-12-02T14:27:54.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:27:55.073Z] + git semver push [2021-12-02T14:27:55.073Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:27:55.073Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-12-02T14:27:55.073Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T14:27:55.073Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:27:55.073Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:27:55.073Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:27:55.073Z] # $SEMVER_BRANCH = main [2021-12-02T14:27:55.073Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-12-02T14:27:56.465Z] $ docker exec --env ******** --env ******** fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b ssh-agent -k [2021-12-02T14:27:56.546Z] unset SSH_AUTH_SOCK; [2021-12-02T14:27:56.547Z] unset SSH_AGENT_PID; [2021-12-02T14:27:56.547Z] echo Agent pid 21 killed; [2021-12-02T14:27:56.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:27:56.871Z] + git semver [Pipeline] } [2021-12-02T14:27:56.884Z] $ docker stop --time=1 fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b [2021-12-02T14:27:58.057Z] $ docker rm -f fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-02T14:27:58.883Z] + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:27:59.172Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:27:59.726Z] ---> package-listing.sh [2021-12-02T14:27:59.726Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T14:27:59.726Z] ++ facter osfamily [2021-12-02T14:27:59.988Z] + OS_FAMILY=redhat [2021-12-02T14:27:59.989Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2021-12-02T14:27:59.989Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T14:27:59.989Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T14:27:59.989Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T14:27:59.989Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T14:27:59.989Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-12-02T14:27:59.989Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T14:27:59.989Z] + case "${OS_FAMILY}" in [2021-12-02T14:27:59.989Z] + sort [2021-12-02T14:27:59.989Z] + rpm -qa [2021-12-02T14:28:00.559Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T14:28:00.559Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T14:28:00.559Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T14:28:00.559Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-12-02T14:28:00.559Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2021-12-02T14:28:00.559Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2021-12-02T14:28:00.571Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-02T14:28:00.856Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:28:01.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:28:01.415Z] [2021-12-02T14:28:01.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:28:01.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:28:01.741Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T14:28:01.741Z] b4d181a07f80: Pulling fs layer [2021-12-02T14:28:01.741Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T14:28:01.741Z] ed53099fbce6: Pulling fs layer [2021-12-02T14:28:01.741Z] dc539afda2c1: Pulling fs layer [2021-12-02T14:28:01.741Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T14:28:01.741Z] 9065ff56babe: Pulling fs layer [2021-12-02T14:28:01.741Z] d287ab97295c: Pulling fs layer [2021-12-02T14:28:01.741Z] dc539afda2c1: Waiting [2021-12-02T14:28:01.741Z] 9065ff56babe: Waiting [2021-12-02T14:28:01.741Z] 77bc0d833cb6: Waiting [2021-12-02T14:28:01.741Z] d287ab97295c: Waiting [2021-12-02T14:28:01.741Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T14:28:01.741Z] a1111a8f2ec3: Download complete [2021-12-02T14:28:01.741Z] dc539afda2c1: Verifying Checksum [2021-12-02T14:28:01.741Z] dc539afda2c1: Download complete [2021-12-02T14:28:01.741Z] ed53099fbce6: Verifying Checksum [2021-12-02T14:28:01.741Z] ed53099fbce6: Download complete [2021-12-02T14:28:02.005Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T14:28:02.005Z] 77bc0d833cb6: Download complete [2021-12-02T14:28:02.005Z] b4d181a07f80: Verifying Checksum [2021-12-02T14:28:02.005Z] b4d181a07f80: Download complete [2021-12-02T14:28:02.005Z] 9065ff56babe: Verifying Checksum [2021-12-02T14:28:02.005Z] 9065ff56babe: Download complete [2021-12-02T14:28:02.583Z] d287ab97295c: Verifying Checksum [2021-12-02T14:28:02.583Z] d287ab97295c: Download complete [2021-12-02T14:28:03.161Z] b4d181a07f80: Pull complete [2021-12-02T14:28:03.428Z] a1111a8f2ec3: Pull complete [2021-12-02T14:28:04.001Z] ed53099fbce6: Pull complete [2021-12-02T14:28:04.001Z] dc539afda2c1: Pull complete [2021-12-02T14:28:04.570Z] 77bc0d833cb6: Pull complete [2021-12-02T14:28:04.570Z] 9065ff56babe: Pull complete [2021-12-02T14:28:09.907Z] d287ab97295c: Pull complete [2021-12-02T14:28:09.907Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T14:28:09.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:28:09.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T14:28:09.973Z] prd-centos7-docker-4c-2g-98 does not seem to be running inside a container [2021-12-02T14:28:10.005Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T14:28:12.405Z] $ docker top 5fd90033b0c42faff1b30c4495062e5c9b8696235af9a394150017770195b7e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T14:28:12.759Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T14:28:13.051Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T14:28:13.347Z] + ls /var/log/sa-host [2021-12-02T14:28:13.347Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T14:28:13.347Z] file_magic: OK [2021-12-02T14:28:13.347Z] HZ: Using current value: 100 [2021-12-02T14:28:13.347Z] file_header: OK [2021-12-02T14:28:13.347Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-02T14:28:13.347Z] Statistics: [2021-12-02T14:28:13.347Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T14:28:13.347Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T14:28:13.347Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T14:28:13.347Z] file_magic: OK [2021-12-02T14:28:13.347Z] HZ: Using current value: 100 [2021-12-02T14:28:13.347Z] file_header: OK [2021-12-02T14:28:13.347Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-02T14:28:13.347Z] Statistics: [2021-12-02T14:28:13.347Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T14:28:13.347Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:28:13.433Z] provisioning config files... [2021-12-02T14:28:13.444Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config328097932455713796tmp [Pipeline] { [Pipeline] echo [2021-12-02T14:28:13.461Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:28:13.745Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T14:28:13.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:28:14.091Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T14:28:14.102Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:28:14.390Z] ---> sudo-logs.sh [2021-12-02T14:28:14.390Z] Archiving 'sudo' log.. [2021-12-02T14:28:14.390Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-98.novalocal: Name or service not known [2021-12-02T14:28:14.390Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-98.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T14:28:14.417Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:28:14.703Z] ---> job-cost.sh [2021-12-02T14:28:14.703Z] lf-activate-venv: SKIPPING [2021-12-02T14:28:14.703Z] DEBUG: total: 0.10999999940395355 [2021-12-02T14:28:14.703Z] INFO: Retrieving Stack Cost... [2021-12-02T14:28:14.962Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T14:28:15.530Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T14:28:15.545Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:28:15.831Z] ---> logs-deploy.sh [2021-12-02T14:28:15.831Z] lf-activate-venv: SKIPPING [2021-12-02T14:28:15.831Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/11 [2021-12-02T14:28:15.831Z] INFO: archiving workspace using pattern(s): [2021-12-02T14:28:16.402Z] Archives upload complete. [2021-12-02T14:28:16.662Z] INFO: archiving logs to Nexus