Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 88e18fd07957abed78799bc43ba159f1a7719259 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-ssh16390097802764049086.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-ssh3279040531122512284.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-ssh3712640624389350335.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-ssh10387475972089473569.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-ssh14532656364885750925.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 Running on prd-centos7-docker-4c-2g-329 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-ssh1845970600062879079.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 88e18fd07957abed78799bc43ba159f1a7719259 (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 88e18fd07957abed78799bc43ba159f1a7719259 # timeout=10 Commit message: "Merge pull request #132 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.3" > git rev-list --no-walk 42a81012aee9d0f4741172f85aabccffc17c1488 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:00:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:00:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:00:22 ========================================================= 04:00:22 EdgeX Global Pipelines Version Info 04:00:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:00:23 ------------------- 04:00:23 stable info: 04:00:23 ------------------- 04:00:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:00:23 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:00:23 Message: update stable to v1.0.217 04:00:24 ------------------- 04:00:24 experimental info: 04:00:24 ------------------- 04:00:24 Commited By: **** collab-it+edgex@linuxfoundation.org 04:00:24 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:00:24 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88e18fd07957abed78799bc43ba159f1a7719259 [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88e18fd [Pipeline] echo 04:00:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:24 provisioning config files... 04:00:24 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5553277456594595846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:25 ---> docker-login.sh 04:00:25 nexus3.edgexfoundry.org:10001 04:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:25 Configure a credential helper to remove this warning. See 04:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:25 04:00:25 Login Succeeded 04:00:25 nexus3.edgexfoundry.org:10002 04:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:25 Configure a credential helper to remove this warning. See 04:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:25 04:00:25 Login Succeeded 04:00:25 nexus3.edgexfoundry.org:10003 04:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:25 Configure a credential helper to remove this warning. See 04:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:25 04:00:25 Login Succeeded 04:00:25 nexus3.edgexfoundry.org:10004 04:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:25 Configure a credential helper to remove this warning. See 04:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:25 04:00:25 Login Succeeded 04:00:25 docker.io 04:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:26 Configure a credential helper to remove this warning. See 04:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:26 04:00:26 Login Succeeded 04:00:26 ---> docker-login.sh ends [Pipeline] } 04:00:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:00:26 + git rev-list -1 --merges 88e18fd07957abed78799bc43ba159f1a7719259~1..88e18fd07957abed78799bc43ba159f1a7719259 [Pipeline] echo 04:00:26 -----------> git rev-list -1 --merges 88e18fd07957abed78799bc43ba159f1a7719259~1..88e18fd07957abed78799bc43ba159f1a7719259 88e18fd07957abed78799bc43ba159f1a7719259 04:00:26 88e18fd07957abed78799bc43ba159f1a7719259 [false] [Pipeline] sh 04:00:26 + git log --format=format:%s -1 88e18fd07957abed78799bc43ba159f1a7719259 [Pipeline] echo 04:00:26 ========================================================= 04:00:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:00:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:27 + git log --format=format:%s -1 88e18fd07957abed78799bc43ba159f1a7719259 [Pipeline] echo 04:00:27 [semverPrep] GIT_COMMIT: 88e18fd07957abed78799bc43ba159f1a7719259, Commit Message: Merge pull request #132 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.3 [Pipeline] echo 04:00:27 [semverPrep] This is not a build commit. [Pipeline] sh 04:00:27 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:00:27 + grep -v github /etc/ssh/ssh_known_hosts 04:00:27 + '[' -e /tmp/ssh_known_hosts ']' 04:00:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:00:27 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:00:27 + sudo tee -a /etc/ssh/ssh_known_hosts 04:00:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:00:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:00:28 04:00:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:00:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:00:28 latest: Pulling from edgex-devops/git-semver 04:00:28 a0d0a0d46f8b: Pulling fs layer 04:00:28 3e5f54012d9b: Pulling fs layer 04:00:28 4c7163046ea9: Pulling fs layer 04:00:28 0c2d73faf560: Pulling fs layer 04:00:28 0c2d73faf560: Waiting 04:00:28 3e5f54012d9b: Verifying Checksum 04:00:28 3e5f54012d9b: Download complete 04:00:28 a0d0a0d46f8b: Verifying Checksum 04:00:28 a0d0a0d46f8b: Download complete 04:00:28 0c2d73faf560: Verifying Checksum 04:00:28 0c2d73faf560: Download complete 04:00:28 4c7163046ea9: Verifying Checksum 04:00:28 4c7163046ea9: Download complete 04:00:28 a0d0a0d46f8b: Pull complete 04:00:28 3e5f54012d9b: Pull complete 04:00:29 4c7163046ea9: Pull complete 04:00:29 0c2d73faf560: Pull complete 04:00:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:00:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:00:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:00:29 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 04:00:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:00:30 $ docker top 03b049f1e5e70d0bec23f305a99f18915cd6dea6c1f5c32dd6ac72a9a699f6f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:30 [ssh-agent] Looking for ssh-agent implementation... 04:00:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:30 $ docker exec 03b049f1e5e70d0bec23f305a99f18915cd6dea6c1f5c32dd6ac72a9a699f6f2 ssh-agent 04:00:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEOGmmk/agent.14 04:00:30 SSH_AGENT_PID=20 04:00:30 Running ssh-add (command line suppressed) 04:00:30 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_763101382835894677.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_763101382835894677.key) 04:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:30 + git tag --points-at HEAD [Pipeline] } 04:00:30 $ docker exec --env ******** --env ******** 03b049f1e5e70d0bec23f305a99f18915cd6dea6c1f5c32dd6ac72a9a699f6f2 ssh-agent -k 04:00:30 unset SSH_AUTH_SOCK; 04:00:30 unset SSH_AGENT_PID; 04:00:30 echo Agent pid 20 killed; 04:00:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:30 [ssh-agent] Looking for ssh-agent implementation... 04:00:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:31 $ docker exec 03b049f1e5e70d0bec23f305a99f18915cd6dea6c1f5c32dd6ac72a9a699f6f2 ssh-agent 04:00:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHgeppB/agent.54 04:00:31 SSH_AGENT_PID=60 04:00:31 Running ssh-add (command line suppressed) 04:00:31 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1396480156034827252.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1396480156034827252.key) 04:00:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:31 + git semver init 04:00:31 # -> Open(): unable to determine branch for HEAD 04:00:31 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 04:00:31 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 04:00:31 # $SEMVER_REMOTE_NAME = origin 04:00:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:00:31 # $SEMVER_USER_NAME = edgex-jenkins 04:00:31 # $SEMVER_BRANCH = main 04:00:31 # $SEMVER_TEMP = /tmp/semver-236756417 04:00:31 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 04:00:32 # '/tmp/semver-236756417' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 04:00:32 # -> Force: false 04:00:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 04:00:32 $ docker exec --env ******** --env ******** 03b049f1e5e70d0bec23f305a99f18915cd6dea6c1f5c32dd6ac72a9a699f6f2 ssh-agent -k 04:00:32 unset SSH_AUTH_SOCK; 04:00:32 unset SSH_AGENT_PID; 04:00:32 echo Agent pid 60 killed; 04:00:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:00:32 + git semver [Pipeline] } 04:00:33 $ docker stop --time=1 03b049f1e5e70d0bec23f305a99f18915cd6dea6c1f5c32dd6ac72a9a699f6f2 04:00:34 $ docker rm -f 03b049f1e5e70d0bec23f305a99f18915cd6dea6c1f5c32dd6ac72a9a699f6f2 [Pipeline] // withDockerContainer [Pipeline] sh 04:00:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:00:34 Stashed 1 file(s) [Pipeline] echo 04:00:34 [edgeXSemver]: initialized semver on version 2.2.0-dev.3 [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 04:00:49 Still waiting to schedule task 04:00:49 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-329’ 04:00:49 Still waiting to schedule task 04:00:49 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:02:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-331 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 04:02:15 Running in /w/workspace/device-snmp-go/12 [Pipeline] { [Pipeline] checkout 04:02:16 Selected Git installation does not exist. Using Default 04:02:16 The recommended git tool is: NONE 04:02:20 using credential edgex-jenkins-ssh 04:02:20 Cloning the remote Git repository 04:02:20 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:02:20 > git init /w/workspace/device-snmp-go/12 # timeout=10 04:02:20 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:02:20 > git --version # timeout=10 04:02:20 > git --version # 'git version 2.17.1' 04:02:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:22 Avoid second fetch 04:02:22 Checking out Revision 88e18fd07957abed78799bc43ba159f1a7719259 (main) 04:02:21 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:02:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:22 > git config core.sparsecheckout # timeout=10 04:02:22 > git checkout -f 88e18fd07957abed78799bc43ba159f1a7719259 # timeout=10 04:02:22 Running on prd-centos7-docker-4c-2g-334 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 04:02:22 Running in /w/workspace/device-snmp-go/12 [Pipeline] { [Pipeline] checkout 04:02:23 Selected Git installation does not exist. Using Default 04:02:23 The recommended git tool is: NONE 04:02:24 using credential edgex-jenkins-ssh 04:02:24 Cloning the remote Git repository 04:02:24 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:02:24 > git init /w/workspace/device-snmp-go/12 # timeout=10 04:02:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:02:24 > git --version # timeout=10 04:02:24 > git --version # 'git version 2.24.4' 04:02:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:24 [INFO] Currently running in a labeled security context 04:02:24 [INFO] Currently SELinux is 'enforcing' on the host 04:02:24 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/12@tmp/jenkins-gitclient-ssh2423087656819960810.key 04:02:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:25 Avoid second fetch 04:02:25 Checking out Revision 88e18fd07957abed78799bc43ba159f1a7719259 (main) 04:02:26 Commit message: "Merge pull request #132 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.3" 04:02:25 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:02:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:25 > git config core.sparsecheckout # timeout=10 04:02:25 > git checkout -f 88e18fd07957abed78799bc43ba159f1a7719259 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:02:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:02:27 % Total % Received % Xferd Average Speed Time Time Time Current 04:02:27 Dload Upload Total Spent Left Speed 04:02:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 58534 0 --:--:-- --:--:-- --:--:-- 58534 [Pipeline] sh 04:02:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:02:27 + sudo tee /etc/docker/daemon.new 04:02:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:02:27 { 04:02:27 "registry-mirrors": [ 04:02:27 "https://nexus3.edgexfoundry.org:10001" 04:02:27 ], 04:02:27 "bip": "10.250.0.254/24", 04:02:27 "hosts": [ 04:02:27 "tcp://0.0.0.0:5555", 04:02:27 "unix:///var/run/docker.sock" 04:02:27 ], 04:02:27 "mtu": 1458, 04:02:27 "selinux-enabled": true, 04:02:27 "seccomp-profile": "/etc/docker/seccomp.json" 04:02:27 } [Pipeline] sh 04:02:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:02:28 + sudo service docker restart 04:02:29 Commit message: "Merge pull request #132 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:29 provisioning config files... 04:02:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/12@tmp/config6036430825830146727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:30 ---> docker-login.sh 04:02:30 nexus3.edgexfoundry.org:10001 04:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:30 Configure a credential helper to remove this warning. See 04:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:30 04:02:30 Login Succeeded 04:02:30 nexus3.edgexfoundry.org:10002 04:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:30 Configure a credential helper to remove this warning. See 04:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:30 04:02:30 Login Succeeded 04:02:30 nexus3.edgexfoundry.org:10003 04:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:30 Configure a credential helper to remove this warning. See 04:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:30 04:02:30 Login Succeeded 04:02:30 nexus3.edgexfoundry.org:10004 04:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:30 Configure a credential helper to remove this warning. See 04:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:30 04:02:30 Login Succeeded 04:02:30 docker.io 04:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:30 Configure a credential helper to remove this warning. See 04:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:30 04:02:30 Login Succeeded 04:02:30 ---> docker-login.sh ends [Pipeline] } 04:02:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:02:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:02:31 ========================================================= 04:02:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:02:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:02:31 + 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 . 04:02:31 Sending build context to Docker daemon 2.683MB 04:02:31 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 04:02:31 Step 2/11 : FROM ${BASE} AS builder 04:02:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:02:31 a0d0a0d46f8b: Pulling fs layer 04:02:31 31adcdaf11c8: Pulling fs layer 04:02:31 b8b176561691: Pulling fs layer 04:02:31 4527c011a84f: Pulling fs layer 04:02:31 5d74067f8e1e: Pulling fs layer 04:02:31 e0aca202a116: Pulling fs layer 04:02:31 3a43be97a3b4: Pulling fs layer 04:02:31 34cad66bf833: Pulling fs layer 04:02:31 b4e3c513aaa6: Pulling fs layer 04:02:31 4527c011a84f: Waiting 04:02:31 5d74067f8e1e: Waiting 04:02:31 e0aca202a116: Waiting 04:02:31 3a43be97a3b4: Waiting 04:02:31 34cad66bf833: Waiting 04:02:31 b4e3c513aaa6: Waiting 04:02:31 b8b176561691: Verifying Checksum 04:02:31 b8b176561691: Download complete 04:02:31 31adcdaf11c8: Verifying Checksum 04:02:31 31adcdaf11c8: Download complete 04:02:31 5d74067f8e1e: Verifying Checksum 04:02:31 5d74067f8e1e: Download complete 04:02:31 a0d0a0d46f8b: Verifying Checksum 04:02:31 a0d0a0d46f8b: Download complete 04:02:31 e0aca202a116: Verifying Checksum 04:02:31 e0aca202a116: Download complete 04:02:31 3a43be97a3b4: Verifying Checksum 04:02:31 3a43be97a3b4: Download complete 04:02:31 34cad66bf833: Verifying Checksum 04:02:31 34cad66bf833: Download complete 04:02:31 a0d0a0d46f8b: Pull complete 04:02:32 4527c011a84f: Verifying Checksum 04:02:32 4527c011a84f: Download complete 04:02:32 31adcdaf11c8: Pull complete 04:02:32 b4e3c513aaa6: Verifying Checksum 04:02:32 b4e3c513aaa6: Download complete 04:02:32 b8b176561691: Pull complete 04:02:36 4527c011a84f: Pull complete 04:02:36 5d74067f8e1e: Pull complete 04:02:36 e0aca202a116: Pull complete 04:02:36 3a43be97a3b4: Pull complete 04:02:36 34cad66bf833: Pull complete 04:02:39 b4e3c513aaa6: Pull complete 04:02:39 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:02:39 ---> 9f6097aaca64 04:02:39 Step 3/11 : ARG MAKE='make build' 04:02:42 ---> Running in aae0903cf4f8 04:02:42 Removing intermediate container aae0903cf4f8 04:02:42 ---> 23cce04e7353 04:02:42 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:02:42 ---> Running in 6f4bd29dd7a3 04:02:42 Removing intermediate container 6f4bd29dd7a3 04:02:42 ---> 1b814462126d 04:02:42 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 04:02:42 ---> Running in 3fb89627c67d 04:02:42 Removing intermediate container 3fb89627c67d 04:02:42 ---> ed287074a53e 04:02:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:42 ---> Running in b26465196ab1 04:02:42 Removing intermediate container b26465196ab1 04:02:42 ---> e99f8356a086 04:02:42 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:42 ---> Running in c2ea154b6857 04:02:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:02:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:02:44 (1/4) Installing openssh-keygen (8.6_p1-r3) 04:02:44 (2/4) Installing libedit (20210216.3.1-r0) 04:02:44 (3/4) Installing openssh-client-common (8.6_p1-r3) 04:02:44 (4/4) Installing openssh-client-default (8.6_p1-r3) 04:02:44 Executing busybox-1.33.1-r3.trigger 04:02:44 OK: 224 MiB in 56 packages 04:02:44 Removing intermediate container c2ea154b6857 04:02:44 ---> e0fb596419f3 04:02:44 Step 8/11 : WORKDIR /device-snmp-go 04:02:44 ---> Running in 4382e2f93bac 04:02:44 Removing intermediate container 4382e2f93bac 04:02:44 ---> 42ee9797c82b 04:02:44 Step 9/11 : COPY . . 04:02:45 ---> d53f795e2e94 04:02:45 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:45 ---> Running in bcdc0d9473a8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:46 provisioning config files... 04:02:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/12@tmp/config4417273280214641889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:47 ---> docker-login.sh 04:02:47 nexus3.edgexfoundry.org:10001 04:02:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:48 Configure a credential helper to remove this warning. See 04:02:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:48 04:02:48 Login Succeeded 04:02:48 nexus3.edgexfoundry.org:10002 04:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:48 Configure a credential helper to remove this warning. See 04:02:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:48 04:02:48 Login Succeeded 04:02:48 nexus3.edgexfoundry.org:10003 04:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:49 Configure a credential helper to remove this warning. See 04:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:49 04:02:49 Login Succeeded 04:02:49 nexus3.edgexfoundry.org:10004 04:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:49 Configure a credential helper to remove this warning. See 04:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:49 04:02:49 Login Succeeded 04:02:49 docker.io 04:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:50 Configure a credential helper to remove this warning. See 04:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:50 04:02:50 Login Succeeded 04:02:50 ---> docker-login.sh ends [Pipeline] } 04:02:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:02:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:02:50 ========================================================= 04:02:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:02:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:02:51 + 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 . 04:02:51 Sending build context to Docker daemon 2.682MB 04:02:51 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 04:02:51 Step 2/11 : FROM ${BASE} AS builder 04:02:51 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:02:51 552d1f2373af: Pulling fs layer 04:02:51 ea3f2d53f512: Pulling fs layer 04:02:51 9e70ebbbe112: Pulling fs layer 04:02:51 7a9cfe048b4a: Pulling fs layer 04:02:51 72dc09318566: Pulling fs layer 04:02:51 f4f7b4309257: Pulling fs layer 04:02:51 0ac9a79272e3: Pulling fs layer 04:02:51 b78e95d17946: Pulling fs layer 04:02:51 7a9cfe048b4a: Waiting 04:02:51 72dc09318566: Waiting 04:02:51 f4f7b4309257: Waiting 04:02:51 b78e95d17946: Waiting 04:02:51 0ac9a79272e3: Waiting 04:02:51 9e70ebbbe112: Verifying Checksum 04:02:51 9e70ebbbe112: Download complete 04:02:51 ea3f2d53f512: Verifying Checksum 04:02:51 ea3f2d53f512: Download complete 04:02:51 72dc09318566: Download complete 04:02:51 f4f7b4309257: Verifying Checksum 04:02:51 f4f7b4309257: Download complete 04:02:51 552d1f2373af: Verifying Checksum 04:02:51 552d1f2373af: Download complete 04:02:51 0ac9a79272e3: Download complete 04:02:52 552d1f2373af: Pull complete 04:02:53 ea3f2d53f512: Pull complete 04:02:53 9e70ebbbe112: Pull complete 04:02:53 b78e95d17946: Verifying Checksum 04:02:53 b78e95d17946: Download complete 04:02:54 7a9cfe048b4a: Verifying Checksum 04:02:54 7a9cfe048b4a: Download complete 04:03:06 7a9cfe048b4a: Pull complete 04:03:06 72dc09318566: Pull complete 04:03:06 f4f7b4309257: Pull complete 04:03:06 0ac9a79272e3: Pull complete 04:03:12 b78e95d17946: Pull complete 04:03:12 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:03:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:03:12 ---> 8b459fc5aaf0 04:03:12 Step 3/11 : ARG MAKE='make build' 04:03:13 ---> Running in 3bf3f23e52b2 04:03:13 Removing intermediate container 3bf3f23e52b2 04:03:13 ---> d91ac7217373 04:03:13 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:03:13 ---> Running in 8c73dc270361 04:03:13 Removing intermediate container 8c73dc270361 04:03:13 ---> dadcb40eb059 04:03:13 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 04:03:13 ---> Running in 9a1eefbdd4b7 04:03:14 Removing intermediate container 9a1eefbdd4b7 04:03:14 ---> 087df689b6b0 04:03:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:03:14 ---> Running in be0e3adad952 04:03:16 Removing intermediate container be0e3adad952 04:03:16 ---> f817a838b59d 04:03:16 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:16 ---> Running in db24ceb31741 04:03:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:03:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:03:19 (1/4) Installing openssh-keygen (8.6_p1-r3) 04:03:19 (2/4) Installing libedit (20210216.3.1-r0) 04:03:19 (3/4) Installing openssh-client-common (8.6_p1-r3) 04:03:19 (4/4) Installing openssh-client-default (8.6_p1-r3) 04:03:19 Executing busybox-1.33.1-r3.trigger 04:03:19 OK: 223 MiB in 56 packages 04:03:20 Removing intermediate container db24ceb31741 04:03:20 ---> 032ff4c88434 04:03:20 Step 8/11 : WORKDIR /device-snmp-go 04:03:20 ---> Running in ec89fcd279f5 04:03:21 Removing intermediate container ec89fcd279f5 04:03:21 ---> 626d98eb7881 04:03:21 Step 9/11 : COPY . . 04:03:22 ---> c09f22b75235 04:03:22 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:22 ---> Running in 4fef8675c24a 04:03:23 Removing intermediate container bcdc0d9473a8 04:03:23 ---> ef01e9dd13a1 04:03:23 Step 11/11 : RUN ${MAKE} 04:03:23 ---> Running in 196a17e759dc 04:03:23 noop 04:03:23 Removing intermediate container 196a17e759dc 04:03:23 ---> 396847dabb72 04:03:23 Successfully built 396847dabb72 04:03:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:03:24 + docker inspect -f . ci-base-image-x86_64 04:03:24 . [Pipeline] withDockerContainer 04:03:24 prd-centos7-docker-4c-2g-334 does not seem to be running inside a container 04:03:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@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 04:03:24 $ docker top ac83b9ce2b09598bfd4e969bb2e2703ec4707df9d8276051fa25140b0bfdbe22 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:25 + go version 04:03:25 go version go1.16.8 linux/amd64 [Pipeline] } 04:03:25 $ docker stop --time=1 ac83b9ce2b09598bfd4e969bb2e2703ec4707df9d8276051fa25140b0bfdbe22 04:03:26 $ docker rm -f ac83b9ce2b09598bfd4e969bb2e2703ec4707df9d8276051fa25140b0bfdbe22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:03:26 + docker inspect -f . ci-base-image-x86_64 04:03:26 . [Pipeline] withDockerContainer 04:03:26 prd-centos7-docker-4c-2g-334 does not seem to be running inside a container 04:03:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@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 04:03:27 $ docker top c959ff8cc66c1bbe805351f669e3786c30c9c50efb5051cc0d494e9937c73f77 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:03:27 + make test 04:03:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:03:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:03:46 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:03:46 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 04:03:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:03:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:03:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:03:50 ./bin/test-attribution-txt.sh [Pipeline] echo 04:03:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:03:50 $ docker stop --time=1 c959ff8cc66c1bbe805351f669e3786c30c9c50efb5051cc0d494e9937c73f77 04:03:52 $ docker rm -f c959ff8cc66c1bbe805351f669e3786c30c9c50efb5051cc0d494e9937c73f77 [Pipeline] // withDockerContainer [Pipeline] sh 04:03:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:03:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:53 + ls -al . 04:03:53 total 144 04:03:53 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 29 04:03 . 04:03:53 drwxrwxr-x. 4 jenkins jenkins 30 Dec 29 04:02 .. 04:03:53 -rw-rw-r--. 1 jenkins jenkins 6926 Dec 29 04:02 Attribution.txt 04:03:53 drwxrwxr-x. 2 jenkins jenkins 60 Dec 29 04:02 bin 04:03:53 -rw-rw-r--. 1 jenkins jenkins 4401 Dec 29 04:02 CHANGELOG.md 04:03:53 drwxrwxr-x. 3 jenkins jenkins 32 Dec 29 04:02 cmd 04:03:53 -rw-r--r--. 1 jenkins jenkins 7631 Dec 29 04:03 coverage.out 04:03:53 -rw-rw-r--. 1 jenkins jenkins 1493 Dec 29 04:02 Dockerfile 04:03:53 -rw-rw-r--. 1 jenkins jenkins 6 Dec 29 04:02 .dockerignore 04:03:53 drwxrwxr-x. 8 jenkins jenkins 162 Dec 29 04:02 .git 04:03:53 drwxrwxr-x. 2 jenkins jenkins 103 Dec 29 04:02 .github 04:03:53 -rw-rw-r--. 1 jenkins jenkins 262 Dec 29 04:02 .gitignore 04:03:53 -rw-rw-r--. 1 jenkins jenkins 214 Dec 29 04:02 go.mod 04:03:53 -rw-rw-r--. 1 jenkins jenkins 49712 Dec 29 04:02 go.sum 04:03:53 -rw-rw-r--. 1 jenkins jenkins 677 Dec 29 04:02 GOVERNANCE.md 04:03:53 drwxrwxr-x. 3 jenkins jenkins 20 Dec 29 04:02 internal 04:03:53 -rw-rw-r--. 1 jenkins jenkins 656 Dec 29 04:02 Jenkinsfile 04:03:53 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 29 04:02 LICENSE 04:03:53 -rw-rw-r--. 1 jenkins jenkins 1057 Dec 29 04:02 Makefile 04:03:53 -rw-rw-r--. 1 jenkins jenkins 620 Dec 29 04:02 OWNERS.md 04:03:53 -rw-rw-r--. 1 jenkins jenkins 9073 Dec 29 04:02 README.md 04:03:53 drwxrwxr-x. 3 jenkins jenkins 58 Dec 29 04:02 snap 04:03:53 -rw-rw-r--. 1 jenkins jenkins 11 Dec 29 04:00 VERSION 04:03:53 -rw-rw-r--. 1 jenkins jenkins 209 Dec 29 04:02 version.go [Pipeline] isUnix [Pipeline] sh 04:03:53 + 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=88e18fd07957abed78799bc43ba159f1a7719259 --label arch=amd64 --label version=2.2.0-dev.3 . 04:03:53 Sending build context to Docker daemon 2.691MB 04:03:53 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 04:03:53 Step 2/23 : FROM ${BASE} AS builder 04:03:53 ---> 396847dabb72 04:03:53 Step 3/23 : ARG MAKE='make build' 04:03:53 ---> Running in 2f4acb7c7c6c 04:03:54 Removing intermediate container 2f4acb7c7c6c 04:03:54 ---> f15453ada243 04:03:54 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:03:54 ---> Running in cac5cfc0d5c8 04:03:54 Removing intermediate container cac5cfc0d5c8 04:03:54 ---> a53b6bfe7d64 04:03:54 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:03:54 ---> Running in e6616a63f83f 04:03:54 Removing intermediate container e6616a63f83f 04:03:54 ---> 6aeaceea6ebc 04:03:54 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:03:54 ---> Running in 9806cd6e848f 04:03:54 Removing intermediate container 9806cd6e848f 04:03:54 ---> d2b9d17b2885 04:03:54 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:54 ---> Running in 87023981ac0a 04:03:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:03:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:03:56 OK: 224 MiB in 56 packages 04:03:56 Removing intermediate container 87023981ac0a 04:03:56 ---> 925f4f99d784 04:03:56 Step 8/23 : WORKDIR /device-snmp-go 04:03:56 ---> Running in 6fae67e96088 04:03:56 Removing intermediate container 6fae67e96088 04:03:56 ---> a8ed3dd830e0 04:03:56 Step 9/23 : COPY . . 04:03:56 ---> 2a8ff6e3f288 04:03:56 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:56 ---> Running in fe7cac27f88a 04:03:57 Removing intermediate container fe7cac27f88a 04:03:57 ---> 34682817b61a 04:03:57 Step 11/23 : RUN ${MAKE} 04:03:57 ---> Running in e793d7089a4c 04:03:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.3" -o cmd/device-snmp ./cmd 04:04:12 Removing intermediate container e793d7089a4c 04:04:12 ---> c21f4e34c92a 04:04:12 Step 12/23 : FROM alpine:3.14 04:04:12 3.14: Pulling from library/alpine 04:04:12 97518928ae5f: Pulling fs layer 04:04:12 97518928ae5f: Verifying Checksum 04:04:12 97518928ae5f: Download complete 04:04:12 97518928ae5f: Pull complete 04:04:12 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:04:12 Status: Downloaded newer image for alpine:3.14 04:04:12 ---> 0a97eee8041e 04:04:12 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 04:04:12 ---> Running in 4104896203d7 04:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:04:12 (1/6) Installing dumb-init (1.2.5-r1) 04:04:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:04:12 (3/6) Installing libsodium (1.0.18-r0) 04:04:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:04:12 (5/6) Installing libzmq (4.3.4-r0) 04:04:12 (6/6) Installing zeromq (4.3.4-r0) 04:04:12 Executing busybox-1.33.1-r6.trigger 04:04:12 OK: 8 MiB in 20 packages 04:04:12 Removing intermediate container 4104896203d7 04:04:12 ---> 4d8864b880e1 04:04:12 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 04:04:12 ---> 9520dab63c1e 04:04:12 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 04:04:12 ---> a49a59f7ef48 04:04:12 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 04:04:12 ---> 2d6f1cc49bf0 04:04:12 Step 17/23 : EXPOSE 59993 04:04:12 ---> Running in f75bf0ea8698 04:04:12 Removing intermediate container f75bf0ea8698 04:04:12 ---> 84db5360828e 04:04:12 Step 18/23 : EXPOSE 161 04:04:12 ---> Running in 62f434bab1a2 04:04:13 Removing intermediate container 62f434bab1a2 04:04:13 ---> 3e7692ae2981 04:04:13 Step 19/23 : ENTRYPOINT ["/device-snmp"] 04:04:13 ---> Running in b1f1351a4f9d 04:04:13 Removing intermediate container b1f1351a4f9d 04:04:13 ---> 71c96f6166cd 04:04:13 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:04:13 ---> Running in 0a57080e9dc7 04:04:13 Removing intermediate container 0a57080e9dc7 04:04:13 ---> 58dcefd6a8e8 04:04:13 Step 21/23 : LABEL arch=amd64 04:04:13 ---> Running in bf9db7cb66da 04:04:13 Removing intermediate container bf9db7cb66da 04:04:13 ---> 0448dcfdf444 04:04:13 Step 22/23 : LABEL git_sha=88e18fd07957abed78799bc43ba159f1a7719259 04:04:13 ---> Running in b10a4e6facec 04:04:13 Removing intermediate container b10a4e6facec 04:04:13 ---> 29a6070c85c3 04:04:13 Step 23/23 : LABEL version=2.2.0-dev.3 04:04:13 ---> Running in 52bdc0797c0a 04:04:13 Removing intermediate container 52bdc0797c0a 04:04:13 ---> 1906b5004be9 04:04:13 [Warning] One or more build-args [ARCH] were not consumed 04:04:13 Successfully built 1906b5004be9 04:04:13 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:13 provisioning config files... 04:04:13 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/12@tmp/config1970971266225460999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:14 ---> docker-login.sh 04:04:14 nexus3.edgexfoundry.org:10001 04:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:14 Configure a credential helper to remove this warning. See 04:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:14 04:04:14 Login Succeeded 04:04:14 nexus3.edgexfoundry.org:10002 04:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:14 Configure a credential helper to remove this warning. See 04:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:14 04:04:14 Login Succeeded 04:04:14 nexus3.edgexfoundry.org:10003 04:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:14 Configure a credential helper to remove this warning. See 04:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:14 04:04:14 Login Succeeded 04:04:14 nexus3.edgexfoundry.org:10004 04:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:14 Configure a credential helper to remove this warning. See 04:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:14 04:04:14 Login Succeeded 04:04:14 docker.io 04:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:14 Configure a credential helper to remove this warning. See 04:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:14 04:04:14 Login Succeeded 04:04:14 ---> docker-login.sh ends [Pipeline] } 04:04:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:04:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:15 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 04:04:15 88e18fd07957abed78799bc43ba159f1a7719259 04:04:15 latest 04:04:15 2.2.0-dev.3 04:04:15 88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3 04:04:15 main 04:04:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:04:15 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:88e18fd07957abed78799bc43ba159f1a7719259 [Pipeline] isUnix [Pipeline] sh 04:04:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp:88e18fd07957abed78799bc43ba159f1a7719259 04:04:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:04:15 c00ddef286a8: Preparing 04:04:15 a6602067f6f5: Preparing 04:04:15 48a78982093f: Preparing 04:04:15 636bfee1fbae: Preparing 04:04:15 1a058d5342cc: Preparing 04:04:15 1a058d5342cc: Layer already exists 04:04:15 a6602067f6f5: Pushed 04:04:15 c00ddef286a8: Pushed 04:04:15 636bfee1fbae: Pushed 04:04:16 48a78982093f: Pushed 04:04:17 88e18fd07957abed78799bc43ba159f1a7719259: digest: sha256:8087a60228c91af97c0588365c0ff2b516c25471009a9c101fcd70f1fd0231f8 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:04:17 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 04:04:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 04:04:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:04:17 c00ddef286a8: Preparing 04:04:17 a6602067f6f5: Preparing 04:04:17 48a78982093f: Preparing 04:04:17 636bfee1fbae: Preparing 04:04:17 1a058d5342cc: Preparing 04:04:17 a6602067f6f5: Layer already exists 04:04:17 c00ddef286a8: Layer already exists 04:04:17 1a058d5342cc: Layer already exists 04:04:17 636bfee1fbae: Layer already exists 04:04:17 48a78982093f: Layer already exists 04:04:17 latest: digest: sha256:8087a60228c91af97c0588365c0ff2b516c25471009a9c101fcd70f1fd0231f8 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:04:18 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 04:04:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.3 04:04:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:04:18 c00ddef286a8: Preparing 04:04:18 a6602067f6f5: Preparing 04:04:18 48a78982093f: Preparing 04:04:18 636bfee1fbae: Preparing 04:04:18 1a058d5342cc: Preparing 04:04:18 1a058d5342cc: Layer already exists 04:04:18 c00ddef286a8: Layer already exists 04:04:18 48a78982093f: Layer already exists 04:04:18 636bfee1fbae: Layer already exists 04:04:18 a6602067f6f5: Layer already exists 04:04:18 2.2.0-dev.3: digest: sha256:8087a60228c91af97c0588365c0ff2b516c25471009a9c101fcd70f1fd0231f8 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:04:18 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 04:04:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp:88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3 04:04:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:04:18 c00ddef286a8: Preparing 04:04:18 a6602067f6f5: Preparing 04:04:18 48a78982093f: Preparing 04:04:18 636bfee1fbae: Preparing 04:04:18 1a058d5342cc: Preparing 04:04:18 c00ddef286a8: Layer already exists 04:04:18 1a058d5342cc: Layer already exists 04:04:18 636bfee1fbae: Layer already exists 04:04:18 48a78982093f: Layer already exists 04:04:18 a6602067f6f5: Layer already exists 04:04:18 88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3: digest: sha256:8087a60228c91af97c0588365c0ff2b516c25471009a9c101fcd70f1fd0231f8 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:04:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 04:04:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 04:04:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:04:19 c00ddef286a8: Preparing 04:04:19 a6602067f6f5: Preparing 04:04:19 48a78982093f: Preparing 04:04:19 636bfee1fbae: Preparing 04:04:19 1a058d5342cc: Preparing 04:04:19 48a78982093f: Layer already exists 04:04:19 1a058d5342cc: Layer already exists 04:04:19 a6602067f6f5: Layer already exists 04:04:19 636bfee1fbae: Layer already exists 04:04:19 c00ddef286a8: Layer already exists 04:04:19 main: digest: sha256:8087a60228c91af97c0588365c0ff2b516c25471009a9c101fcd70f1fd0231f8 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:04:19 ===================================================== [Pipeline] echo 04:04:19 taggedImages: 04:04:19 - nexus3.edgexfoundry.org:10004/device-snmp:88e18fd07957abed78799bc43ba159f1a7719259 04:04:19 - nexus3.edgexfoundry.org:10004/device-snmp:latest 04:04:19 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.3 04:04:19 - nexus3.edgexfoundry.org:10004/device-snmp:88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3 04:04:19 - 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 04:04:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:19 04:04:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:04:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:20 latest: Pulling from edgex-lftools-log-publisher 04:04:20 b4d181a07f80: Pulling fs layer 04:04:20 a1111a8f2ec3: Pulling fs layer 04:04:20 ed53099fbce6: Pulling fs layer 04:04:20 dc539afda2c1: Pulling fs layer 04:04:20 77bc0d833cb6: Pulling fs layer 04:04:20 9065ff56babe: Pulling fs layer 04:04:20 d287ab97295c: Pulling fs layer 04:04:20 77bc0d833cb6: Waiting 04:04:20 9065ff56babe: Waiting 04:04:20 d287ab97295c: Waiting 04:04:20 dc539afda2c1: Waiting 04:04:20 a1111a8f2ec3: Verifying Checksum 04:04:20 a1111a8f2ec3: Download complete 04:04:20 dc539afda2c1: Verifying Checksum 04:04:20 dc539afda2c1: Download complete 04:04:20 ed53099fbce6: Verifying Checksum 04:04:20 ed53099fbce6: Download complete 04:04:20 9065ff56babe: Verifying Checksum 04:04:20 9065ff56babe: Download complete 04:04:20 77bc0d833cb6: Verifying Checksum 04:04:20 77bc0d833cb6: Download complete 04:04:20 b4d181a07f80: Verifying Checksum 04:04:20 b4d181a07f80: Download complete 04:04:21 d287ab97295c: Verifying Checksum 04:04:21 d287ab97295c: Download complete 04:04:22 b4d181a07f80: Pull complete 04:04:22 a1111a8f2ec3: Pull complete 04:04:22 ed53099fbce6: Pull complete 04:04:22 dc539afda2c1: Pull complete 04:04:23 77bc0d833cb6: Pull complete 04:04:23 9065ff56babe: Pull complete 04:04:28 d287ab97295c: Pull complete 04:04:28 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:04:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:04:28 prd-centos7-docker-4c-2g-334 does not seem to be running inside a container 04:04:28 $ 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/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@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 04:04:31 $ docker top 29f05d46937fa7ce86e7fb91ea43214bc2262e1cdbdaadb9e18b254413bb243b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:31 ---> job-cost.sh 04:04:31 lf-activate-venv: SKIPPING 04:04:31 INFO: No Stack... 04:04:31 INFO: Retrieving Pricing Info for: v3-standard-2 04:04:32 INFO: Archiving Costs [Pipeline] sh 04:04:32 + + cut -d, -f6 04:04:32 cat /w/workspace/device-snmp-go/12/archives/cost.csv [Pipeline] lock 04:04:32 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-12-stack-cost] 04:04:32 Resource [jenkins-edgexfoundry-device-snmp-go-main-12-stack-cost] did not exist. Created. 04:04:32 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:32 + echo total: 0.05999999865889549 [Pipeline] stash 04:04:32 Stashed 1 file(s) [Pipeline] } 04:04:32 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:32 $ docker stop --time=1 29f05d46937fa7ce86e7fb91ea43214bc2262e1cdbdaadb9e18b254413bb243b 04:04:34 $ docker rm -f 29f05d46937fa7ce86e7fb91ea43214bc2262e1cdbdaadb9e18b254413bb243b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:04:43 Removing intermediate container 4fef8675c24a 04:04:43 ---> 60b551d5e04c 04:04:43 Step 11/11 : RUN ${MAKE} 04:04:43 ---> Running in c552bb8ba9ee 04:04:43 noop 04:04:43 Removing intermediate container c552bb8ba9ee 04:04:43 ---> 06e1feb0d56a 04:04:43 Successfully built 06e1feb0d56a 04:04:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:04:44 + docker inspect -f . ci-base-image-arm64 04:04:44 . [Pipeline] withDockerContainer 04:04:44 prd-ubuntu18.04-docker-arm64-4c-16g-331 does not seem to be running inside a container 04:04:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:04:45 $ docker top 3666f187179ec2a0b26a6d7c5e6d44c3d860d421fc661d730f4d27609e0961f3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:46 + go version 04:04:46 go version go1.16.8 linux/arm64 [Pipeline] } 04:04:46 $ docker stop --time=1 3666f187179ec2a0b26a6d7c5e6d44c3d860d421fc661d730f4d27609e0961f3 04:04:48 $ docker rm -f 3666f187179ec2a0b26a6d7c5e6d44c3d860d421fc661d730f4d27609e0961f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:04:48 + docker inspect -f . ci-base-image-arm64 04:04:48 . [Pipeline] withDockerContainer 04:04:49 prd-ubuntu18.04-docker-arm64-4c-16g-331 does not seem to be running inside a container 04:04:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:04:50 $ docker top 5a5a289b5a9cccb3a0560cecf985ff543358d06f47bd256c1bea8fbc6719ce9e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:04:51 + make test 04:04:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:04:52 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:05:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:05:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.037s coverage: 0.0% of statements 04:05:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:06:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:07 ./bin/test-attribution-txt.sh [Pipeline] echo 04:06:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:07 $ docker stop --time=1 5a5a289b5a9cccb3a0560cecf985ff543358d06f47bd256c1bea8fbc6719ce9e 04:06:09 $ docker rm -f 5a5a289b5a9cccb3a0560cecf985ff543358d06f47bd256c1bea8fbc6719ce9e [Pipeline] // withDockerContainer [Pipeline] sh 04:06:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:10 Warning: overwriting stash ‘coverage-report’ 04:06:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:11 + ls -al . 04:06:11 total 172 04:06:11 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 04:06 . 04:06:11 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 04:02 .. 04:06:11 -rw-rw-r-- 1 jenkins jenkins 6 Dec 29 04:02 .dockerignore 04:06:11 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 04:02 .git 04:06:11 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 04:02 .github 04:06:11 -rw-rw-r-- 1 jenkins jenkins 262 Dec 29 04:02 .gitignore 04:06:11 -rw-rw-r-- 1 jenkins jenkins 6926 Dec 29 04:02 Attribution.txt 04:06:11 -rw-rw-r-- 1 jenkins jenkins 4401 Dec 29 04:02 CHANGELOG.md 04:06:11 -rw-rw-r-- 1 jenkins jenkins 1493 Dec 29 04:02 Dockerfile 04:06:11 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 04:02 GOVERNANCE.md 04:06:11 -rw-rw-r-- 1 jenkins jenkins 656 Dec 29 04:02 Jenkinsfile 04:06:11 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 04:02 LICENSE 04:06:11 -rw-rw-r-- 1 jenkins jenkins 1057 Dec 29 04:02 Makefile 04:06:11 -rw-rw-r-- 1 jenkins jenkins 620 Dec 29 04:02 OWNERS.md 04:06:11 -rw-rw-r-- 1 jenkins jenkins 9073 Dec 29 04:02 README.md 04:06:11 -rw-rw-r-- 1 jenkins jenkins 11 Dec 29 04:00 VERSION 04:06:11 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 04:02 bin 04:06:11 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 04:02 cmd 04:06:11 -rw-r--r-- 1 jenkins jenkins 7631 Dec 29 04:05 coverage.out 04:06:11 -rw-rw-r-- 1 jenkins jenkins 214 Dec 29 04:02 go.mod 04:06:11 -rw-rw-r-- 1 jenkins jenkins 49712 Dec 29 04:02 go.sum 04:06:11 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 04:02 internal 04:06:11 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 04:02 snap 04:06:11 -rw-rw-r-- 1 jenkins jenkins 209 Dec 29 04:02 version.go [Pipeline] isUnix [Pipeline] sh 04:06:11 + 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=88e18fd07957abed78799bc43ba159f1a7719259 --label arch=arm64 --label version=2.2.0-dev.3 . 04:06:11 Sending build context to Docker daemon 2.69MB 04:06:11 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 04:06:11 Step 2/23 : FROM ${BASE} AS builder 04:06:11 ---> 06e1feb0d56a 04:06:11 Step 3/23 : ARG MAKE='make build' 04:06:12 ---> Running in 661a8e3febbb 04:06:12 Removing intermediate container 661a8e3febbb 04:06:12 ---> 4d61ee0bdfc2 04:06:12 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:06:12 ---> Running in 2596b95c4945 04:06:12 Removing intermediate container 2596b95c4945 04:06:12 ---> d6e9d791f941 04:06:12 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:06:13 ---> Running in a2864b4b5e3c 04:06:13 Removing intermediate container a2864b4b5e3c 04:06:13 ---> eb19dc4cd89e 04:06:13 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:13 ---> Running in e7c55422202b 04:06:15 Removing intermediate container e7c55422202b 04:06:15 ---> 7378144c3f62 04:06:15 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:06:15 ---> Running in 1306d285b1c7 04:06:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:06:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:06:17 OK: 223 MiB in 56 packages 04:06:18 Removing intermediate container 1306d285b1c7 04:06:18 ---> a54540b7fe2f 04:06:18 Step 8/23 : WORKDIR /device-snmp-go 04:06:18 ---> Running in fccecd8fc3b4 04:06:19 Removing intermediate container fccecd8fc3b4 04:06:19 ---> 9faf73f11556 04:06:19 Step 9/23 : COPY . . 04:06:20 ---> 41530e2d9715 04:06:20 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:20 ---> Running in d8bdb9951f67 04:06:21 Removing intermediate container d8bdb9951f67 04:06:21 ---> c121795de78f 04:06:21 Step 11/23 : RUN ${MAKE} 04:06:21 ---> Running in 337db21ca8a1 04:06:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.3" -o cmd/device-snmp ./cmd 04:07:01 Removing intermediate container 337db21ca8a1 04:07:01 ---> 36eccbb87188 04:07:01 Step 12/23 : FROM alpine:3.14 04:07:01 3.14: Pulling from library/alpine 04:07:01 be307f383ecc: Pulling fs layer 04:07:01 be307f383ecc: Verifying Checksum 04:07:01 be307f383ecc: Download complete 04:07:01 be307f383ecc: Pull complete 04:07:01 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:07:01 Status: Downloaded newer image for alpine:3.14 04:07:01 ---> 5b8b7b635229 04:07:01 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 04:07:01 ---> Running in 433c616ce7a3 04:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:07:02 (1/6) Installing dumb-init (1.2.5-r1) 04:07:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:07:02 (3/6) Installing libsodium (1.0.18-r0) 04:07:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:07:02 (5/6) Installing libzmq (4.3.4-r0) 04:07:02 (6/6) Installing zeromq (4.3.4-r0) 04:07:02 Executing busybox-1.33.1-r6.trigger 04:07:02 OK: 8 MiB in 20 packages 04:07:03 Removing intermediate container 433c616ce7a3 04:07:03 ---> be8e259799cf 04:07:03 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 04:07:04 ---> 79cea88adcc0 04:07:04 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 04:07:05 ---> 1b7d31af7239 04:07:05 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 04:07:05 ---> 8dff926df85f 04:07:05 Step 17/23 : EXPOSE 59993 04:07:05 ---> Running in 4517592acb5c 04:07:05 Removing intermediate container 4517592acb5c 04:07:05 ---> 88d0f0bde2ce 04:07:05 Step 18/23 : EXPOSE 161 04:07:06 ---> Running in efe6a4c44fb8 04:07:06 Removing intermediate container efe6a4c44fb8 04:07:06 ---> 36bb91ed33e9 04:07:06 Step 19/23 : ENTRYPOINT ["/device-snmp"] 04:07:06 ---> Running in 2d03dca29a99 04:07:06 Removing intermediate container 2d03dca29a99 04:07:06 ---> 1b74bca5999c 04:07:06 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:07:07 ---> Running in 850d2fead46f 04:07:07 Removing intermediate container 850d2fead46f 04:07:07 ---> df7a07d6cb5f 04:07:07 Step 21/23 : LABEL arch=arm64 04:07:07 ---> Running in d45e15fe9f79 04:07:07 Removing intermediate container d45e15fe9f79 04:07:07 ---> c2f7236b17c6 04:07:07 Step 22/23 : LABEL git_sha=88e18fd07957abed78799bc43ba159f1a7719259 04:07:07 ---> Running in bf56b6d78111 04:07:08 Removing intermediate container bf56b6d78111 04:07:08 ---> 7542415aa9c9 04:07:08 Step 23/23 : LABEL version=2.2.0-dev.3 04:07:08 ---> Running in 7b0856d576a0 04:07:08 Removing intermediate container 7b0856d576a0 04:07:08 ---> f35372a125d4 04:07:08 [Warning] One or more build-args [ARCH] were not consumed 04:07:08 Successfully built f35372a125d4 04:07:08 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 04:07:08 provisioning config files... 04:07:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/12@tmp/config4542777108816489806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:09 ---> docker-login.sh 04:07:09 nexus3.edgexfoundry.org:10001 04:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:09 Configure a credential helper to remove this warning. See 04:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:09 04:07:09 Login Succeeded 04:07:09 nexus3.edgexfoundry.org:10002 04:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:09 Configure a credential helper to remove this warning. See 04:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:09 04:07:09 Login Succeeded 04:07:09 nexus3.edgexfoundry.org:10003 04:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:10 Configure a credential helper to remove this warning. See 04:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:10 04:07:10 Login Succeeded 04:07:10 nexus3.edgexfoundry.org:10004 04:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:10 Configure a credential helper to remove this warning. See 04:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:10 04:07:10 Login Succeeded 04:07:10 docker.io 04:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:11 Configure a credential helper to remove this warning. See 04:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:11 04:07:11 Login Succeeded 04:07:11 ---> docker-login.sh ends [Pipeline] } 04:07:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:07:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:11 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 04:07:11 88e18fd07957abed78799bc43ba159f1a7719259 04:07:11 latest 04:07:11 2.2.0-dev.3 04:07:11 88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3 04:07:11 main 04:07:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:07:11 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:88e18fd07957abed78799bc43ba159f1a7719259 [Pipeline] isUnix [Pipeline] sh 04:07:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:88e18fd07957abed78799bc43ba159f1a7719259 04:07:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:07:12 dbac30a9adf5: Preparing 04:07:12 b6c22e813d8b: Preparing 04:07:12 450bc78607e1: Preparing 04:07:12 8c59f930dba4: Preparing 04:07:12 62170e181a92: Preparing 04:07:12 62170e181a92: Layer already exists 04:07:12 b6c22e813d8b: Pushed 04:07:12 dbac30a9adf5: Pushed 04:07:13 8c59f930dba4: Pushed 04:07:15 450bc78607e1: Pushed 04:07:15 88e18fd07957abed78799bc43ba159f1a7719259: digest: sha256:d36d8011c79ec38c0c231744d4958f63e5d6be77b54193b32dc7871e3f6d9f52 size: 1365 [Pipeline] isUnix [Pipeline] sh 04:07:15 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:07:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 04:07:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:07:16 dbac30a9adf5: Preparing 04:07:16 b6c22e813d8b: Preparing 04:07:16 450bc78607e1: Preparing 04:07:16 8c59f930dba4: Preparing 04:07:16 62170e181a92: Preparing 04:07:16 62170e181a92: Layer already exists 04:07:16 450bc78607e1: Layer already exists 04:07:16 dbac30a9adf5: Layer already exists 04:07:16 8c59f930dba4: Layer already exists 04:07:16 b6c22e813d8b: Layer already exists 04:07:16 latest: digest: sha256:d36d8011c79ec38c0c231744d4958f63e5d6be77b54193b32dc7871e3f6d9f52 size: 1365 [Pipeline] isUnix [Pipeline] sh 04:07:16 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 04:07:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.3 04:07:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:07:17 dbac30a9adf5: Preparing 04:07:17 b6c22e813d8b: Preparing 04:07:17 450bc78607e1: Preparing 04:07:17 8c59f930dba4: Preparing 04:07:17 62170e181a92: Preparing 04:07:17 dbac30a9adf5: Layer already exists 04:07:17 450bc78607e1: Layer already exists 04:07:17 8c59f930dba4: Layer already exists 04:07:17 62170e181a92: Layer already exists 04:07:17 b6c22e813d8b: Layer already exists 04:07:17 2.2.0-dev.3: digest: sha256:d36d8011c79ec38c0c231744d4958f63e5d6be77b54193b32dc7871e3f6d9f52 size: 1365 [Pipeline] isUnix [Pipeline] sh 04:07:17 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 04:07:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3 04:07:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:07:18 dbac30a9adf5: Preparing 04:07:18 b6c22e813d8b: Preparing 04:07:18 450bc78607e1: Preparing 04:07:18 8c59f930dba4: Preparing 04:07:18 62170e181a92: Preparing 04:07:18 62170e181a92: Layer already exists 04:07:18 8c59f930dba4: Layer already exists 04:07:18 450bc78607e1: Layer already exists 04:07:18 b6c22e813d8b: Layer already exists 04:07:18 dbac30a9adf5: Layer already exists 04:07:18 88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3: digest: sha256:d36d8011c79ec38c0c231744d4958f63e5d6be77b54193b32dc7871e3f6d9f52 size: 1365 [Pipeline] isUnix [Pipeline] sh 04:07:18 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 04:07:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 04:07:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:07:19 dbac30a9adf5: Preparing 04:07:19 b6c22e813d8b: Preparing 04:07:19 450bc78607e1: Preparing 04:07:19 8c59f930dba4: Preparing 04:07:19 62170e181a92: Preparing 04:07:19 450bc78607e1: Layer already exists 04:07:19 8c59f930dba4: Layer already exists 04:07:19 b6c22e813d8b: Layer already exists 04:07:19 62170e181a92: Layer already exists 04:07:19 dbac30a9adf5: Layer already exists 04:07:19 main: digest: sha256:d36d8011c79ec38c0c231744d4958f63e5d6be77b54193b32dc7871e3f6d9f52 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:07:19 ===================================================== [Pipeline] echo 04:07:19 taggedImages: 04:07:19 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:88e18fd07957abed78799bc43ba159f1a7719259 04:07:19 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 04:07:19 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.3 04:07:19 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:88e18fd07957abed78799bc43ba159f1a7719259-2.2.0-dev.3 04:07:19 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:07:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:19 04:07:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:07:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:20 arm64: Pulling from edgex-lftools-log-publisher 04:07:20 448f6bf000e3: Pulling fs layer 04:07:20 f757da607395: Pulling fs layer 04:07:20 05883995daec: Pulling fs layer 04:07:20 8603b9c90790: Pulling fs layer 04:07:20 1560dd03e051: Pulling fs layer 04:07:20 27f5ce0e4adf: Pulling fs layer 04:07:20 c2d8d7efcc4b: Pulling fs layer 04:07:20 8603b9c90790: Waiting 04:07:20 1560dd03e051: Waiting 04:07:20 27f5ce0e4adf: Waiting 04:07:20 c2d8d7efcc4b: Waiting 04:07:20 f757da607395: Download complete 04:07:20 8603b9c90790: Verifying Checksum 04:07:20 8603b9c90790: Download complete 04:07:20 1560dd03e051: Verifying Checksum 04:07:20 1560dd03e051: Download complete 04:07:20 27f5ce0e4adf: Verifying Checksum 04:07:20 27f5ce0e4adf: Download complete 04:07:20 05883995daec: Verifying Checksum 04:07:20 05883995daec: Download complete 04:07:21 448f6bf000e3: Verifying Checksum 04:07:21 448f6bf000e3: Download complete 04:07:23 c2d8d7efcc4b: Verifying Checksum 04:07:23 c2d8d7efcc4b: Download complete 04:07:24 448f6bf000e3: Pull complete 04:07:25 f757da607395: Pull complete 04:07:26 05883995daec: Pull complete 04:07:26 8603b9c90790: Pull complete 04:07:27 1560dd03e051: Pull complete 04:07:27 27f5ce0e4adf: Pull complete 04:07:42 c2d8d7efcc4b: Pull complete 04:07:42 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:07:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:07:43 prd-ubuntu18.04-docker-arm64-4c-16g-331 does not seem to be running inside a container 04:07:43 $ 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/12 -v /w/workspace/device-snmp-go/12:/w/workspace/device-snmp-go/12:rw,z -v /w/workspace/device-snmp-go/12@tmp:/w/workspace/device-snmp-go/12@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:arm64 cat 04:07:45 $ docker top 85c47f47cad500d352c4fbd63a1c050ab0a2d243166666884c647f08c5265318 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:46 ---> job-cost.sh 04:07:46 lf-activate-venv: SKIPPING 04:07:46 INFO: No Stack... 04:07:46 INFO: Retrieving Pricing Info for: v3-standard-4 04:07:47 INFO: Archiving Costs [Pipeline] sh 04:07:47 + cat /w/workspace/device-snmp-go/12/archives/cost.csv 04:07:47 + cut -d, -f6 [Pipeline] lock 04:07:47 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-12-stack-cost] 04:07:47 Resource [jenkins-edgexfoundry-device-snmp-go-main-12-stack-cost] did not exist. Created. 04:07:47 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:48 /w/workspace/device-snmp-go/12@tmp/durable-6ae27d47/script.sh: 1: /w/workspace/device-snmp-go/12@tmp/durable-6ae27d47/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:07:49 + echo total: 0.10999999940395355 [Pipeline] stash 04:07:49 Warning: overwriting stash ‘stack-cost’ 04:07:49 Stashed 1 file(s) [Pipeline] } 04:07:49 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 04:07:49 $ docker stop --time=1 85c47f47cad500d352c4fbd63a1c050ab0a2d243166666884c647f08c5265318 04:07:50 $ docker rm -f 85c47f47cad500d352c4fbd63a1c050ab0a2d243166666884c647f08c5265318 [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 04:07:51 provisioning config files... 04:07:51 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5147862124501620238tmp [Pipeline] { [Pipeline] sh 04:07:51 + set +x 04:07:51 + curl -s https://codecov.io/bash 04:07:51 + bash -s -- 04:07:51 04:07:51 _____ _ 04:07:51 / ____| | | 04:07:51 | | ___ __| | ___ ___ _____ __ 04:07:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:07:51 | |___| (_) | (_| | __/ (_| (_) \ V / 04:07:51 \_____\___/ \__,_|\___|\___\___/ \_/ 04:07:51 Bash-1.0.6 04:07:51 04:07:51 04:07:51 ==> git version 2.24.4 found 04:07:51 ==> 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 04:07:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:07:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:07:51 ==> Jenkins CI detected. 04:07:51 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 04:07:51 project root: . 04:07:51 --> token set from env 04:07:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:07:51 ==> Running gcov in . (disable via -X gcov) 04:07:51 ==> Python coveragepy not found 04:07:51 ==> Searching for coverage reports in: 04:07:51 + . 04:07:51 -> Found 1 reports 04:07:51 ==> Detecting git/mercurial file structure 04:07:51 ==> Reading reports 04:07:52 + ./coverage.out bytes=7631 04:07:52 ==> Appending adjustments 04:07:52 https://docs.codecov.io/docs/fixing-reports 04:07:52 + Found adjustments 04:07:52 ==> Gzipping contents 04:07:52 4.0K /tmp/codecov.03qEcR.gz 04:07:52 ==> Uploading reports 04:07:52 url: https://codecov.io 04:07:52 query: branch=main&commit=88e18fd07957abed78799bc43ba159f1a7719259&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:07:52 -> Pinging Codecov 04:07:52 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=88e18fd07957abed78799bc43ba159f1a7719259&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:07:52 -> Uploading to 04:07:52 https://storage.googleapis.com/codecov/v4/raw/2021-12-29/6C56EA5C29638FB4528AC87E60AF5AE0/88e18fd07957abed78799bc43ba159f1a7719259/109a55af-6482-43ac-a145-dc486effc6ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211229T040752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aea5028344086a3d3e8b61fc3788bf8278bfd91d7b077217cbc3da629e5532cb 04:07:52 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:52 Dload Upload Total Spent Left Speed 04:07:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4471 --:--:-- --:--:-- --:--:-- 4470 100 1578 0 0 100 1578 0 4469 --:--:-- --:--:-- --:--:-- 4470 04:07:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/88e18fd07957abed78799bc43ba159f1a7719259 [Pipeline] } 04:07:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:07:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:07:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:07:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:07:53 04:07:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:07:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:07:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:07:53 188c0c94c7c5: Pulling fs layer 04:07:53 0ef7d3d256c8: Pulling fs layer 04:07:53 de9db76c5a1d: Pulling fs layer 04:07:53 0eba1c9be4d2: Pulling fs layer 04:07:53 0d57e429df01: Pulling fs layer 04:07:53 4e4be7b47b0d: Pulling fs layer 04:07:53 e1f770b5df2f: Pulling fs layer 04:07:53 85a0685a4137: Pulling fs layer 04:07:53 0eba1c9be4d2: Waiting 04:07:53 0d57e429df01: Waiting 04:07:53 4e4be7b47b0d: Waiting 04:07:53 e1f770b5df2f: Waiting 04:07:53 85a0685a4137: Waiting 04:07:53 de9db76c5a1d: Verifying Checksum 04:07:53 de9db76c5a1d: Download complete 04:07:53 0ef7d3d256c8: Verifying Checksum 04:07:53 0ef7d3d256c8: Download complete 04:07:53 0d57e429df01: Verifying Checksum 04:07:53 0d57e429df01: Download complete 04:07:53 188c0c94c7c5: Verifying Checksum 04:07:53 188c0c94c7c5: Download complete 04:07:53 4e4be7b47b0d: Verifying Checksum 04:07:53 4e4be7b47b0d: Download complete 04:07:53 e1f770b5df2f: Verifying Checksum 04:07:53 e1f770b5df2f: Download complete 04:07:53 188c0c94c7c5: Pull complete 04:07:54 0eba1c9be4d2: Verifying Checksum 04:07:54 0eba1c9be4d2: Download complete 04:07:54 0ef7d3d256c8: Pull complete 04:07:54 85a0685a4137: Verifying Checksum 04:07:54 85a0685a4137: Download complete 04:07:54 de9db76c5a1d: Pull complete 04:07:58 0eba1c9be4d2: Pull complete 04:07:58 0d57e429df01: Pull complete 04:07:58 4e4be7b47b0d: Pull complete 04:07:58 e1f770b5df2f: Pull complete 04:08:01 85a0685a4137: Pull complete 04:08:01 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:08:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:08:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:08:01 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 04:08:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:08:03 $ docker top 9040607935a1f2713252b19eef67f4fedd2cc1f2ad8d063afabc5907cf14e68b -eo pid,comm [Pipeline] { [Pipeline] echo 04:08:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:08:04 + set -o pipefail 04:08:04 + snyk monitor '--org=edgex-jenkins' 04:08:10 04:08:10 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 04:08:10 04:08:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/3e83e212-2dd9-4904-90e3-e853ec112b69 04:08:10 04:08:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:08:10 04:08:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:08:10 04:08:10 [Pipeline] } 04:08:10 $ docker stop --time=1 9040607935a1f2713252b19eef67f4fedd2cc1f2ad8d063afabc5907cf14e68b 04:08:12 $ docker rm -f 9040607935a1f2713252b19eef67f4fedd2cc1f2ad8d063afabc5907cf14e68b [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 04:08:13 + git log --format=format:%s -1 88e18fd07957abed78799bc43ba159f1a7719259 [Pipeline] sh 04:08:13 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:08:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:08:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:08:14 . [Pipeline] withDockerContainer 04:08:14 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 04:08:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:08:14 $ docker top d5d8d81692175c2abf962269e902210131a1d781614ba3e657a6cc5874ed3d79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:14 [ssh-agent] Looking for ssh-agent implementation... 04:08:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:14 $ docker exec d5d8d81692175c2abf962269e902210131a1d781614ba3e657a6cc5874ed3d79 ssh-agent 04:08:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmMjPAd/agent.13 04:08:14 SSH_AGENT_PID=20 04:08:14 Running ssh-add (command line suppressed) 04:08:14 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4105152304395778191.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4105152304395778191.key) 04:08:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:15 + git semver tag 04:08:15 # -> Open(): unable to determine branch for HEAD 04:08:15 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 04:08:15 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 04:08:15 # $SEMVER_REMOTE_NAME = origin 04:08:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:08:15 # $SEMVER_USER_NAME = edgex-jenkins 04:08:15 # $SEMVER_BRANCH = main 04:08:15 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 04:08:15 # 88e18fd07957abed78799bc43ba159f1a7719259 HEAD 04:08:15 # -> Force: false 04:08:15 # 3c382ae81d84633de688b4d197aeacdef95dd7ce refs/tags/v2.2.0-dev.3 [Pipeline] } 04:08:15 $ docker exec --env ******** --env ******** d5d8d81692175c2abf962269e902210131a1d781614ba3e657a6cc5874ed3d79 ssh-agent -k 04:08:15 unset SSH_AUTH_SOCK; 04:08:15 unset SSH_AGENT_PID; 04:08:15 echo Agent pid 20 killed; 04:08:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:15 + git semver [Pipeline] } 04:08:15 $ docker stop --time=1 d5d8d81692175c2abf962269e902210131a1d781614ba3e657a6cc5874ed3d79 04:08:16 $ docker rm -f d5d8d81692175c2abf962269e902210131a1d781614ba3e657a6cc5874ed3d79 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:08:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:17 04:08:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:08:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:17 0.23.1-centos7: Pulling from edgex-lftools 04:08:17 ab5ef0e58194: Pulling fs layer 04:08:17 9712f1f96733: Pulling fs layer 04:08:17 63f879dbbcfc: Pulling fs layer 04:08:17 0d9ebad4ef96: Pulling fs layer 04:08:17 e9a5061849ea: Pulling fs layer 04:08:17 d747dcd14b5f: Pulling fs layer 04:08:17 2de7ff778b66: Pulling fs layer 04:08:17 e9a5061849ea: Waiting 04:08:17 d747dcd14b5f: Waiting 04:08:17 2de7ff778b66: Waiting 04:08:17 0d9ebad4ef96: Waiting 04:08:17 9712f1f96733: Download complete 04:08:17 63f879dbbcfc: Verifying Checksum 04:08:17 63f879dbbcfc: Download complete 04:08:18 ab5ef0e58194: Verifying Checksum 04:08:18 ab5ef0e58194: Download complete 04:08:18 d747dcd14b5f: Verifying Checksum 04:08:18 d747dcd14b5f: Download complete 04:08:18 e9a5061849ea: Verifying Checksum 04:08:18 e9a5061849ea: Download complete 04:08:18 0d9ebad4ef96: Verifying Checksum 04:08:18 0d9ebad4ef96: Download complete 04:08:18 2de7ff778b66: Verifying Checksum 04:08:18 2de7ff778b66: Download complete 04:08:20 ab5ef0e58194: Pull complete 04:08:20 9712f1f96733: Pull complete 04:08:21 63f879dbbcfc: Pull complete 04:08:25 0d9ebad4ef96: Pull complete 04:08:25 e9a5061849ea: Pull complete 04:08:26 d747dcd14b5f: Pull complete 04:08:26 2de7ff778b66: Pull complete 04:08:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:08:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:08:27 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 04:08:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:08:29 $ docker top 4186cbc22cc17654f489885d008fd69030f94a03e438d4e888f9dc5550fb3ae3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:08:30 provisioning config files... 04:08:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10560373140575500tmp 04:08:30 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6294103098458036897tmp 04:08:30 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8669832934910521129tmp [Pipeline] { [Pipeline] echo 04:08:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:08:30 ---> sigul-configuration.sh 04:08:30 gpg: directory `/root/.gnupg' created 04:08:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:08:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:08:30 gpg: keyring `/root/.gnupg/secring.gpg' created 04:08:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:08:30 gpg: CAST5 encrypted data 04:08:30 gpg: encrypted with 1 passphrase 04:08:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:08:30 + mkdir /home/jenkins 04:08:30 + mkdir /home/jenkins/sigul [Pipeline] sh 04:08:30 + 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 04:08:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:08:31 ---> sigul-install.sh 04:08:31 Sigul already installed; skipping installation. [Pipeline] sh 04:08:31 + git tag --list 04:08:31 1.0.0 04:08:31 v0.0.0 04:08:31 v1.1.0 04:08:31 v1.1.1 04:08:31 v1.2.2 04:08:31 v1.3.0 04:08:31 v1.3.1 04:08:31 v2.0.0 04:08:31 v2.0.1-dev.1 04:08:31 v2.0.1-dev.2 04:08:31 v2.0.1-dev.3 04:08:31 v2.0.1-dev.4 04:08:31 v2.0.1-dev.5 04:08:31 v2.0.1-dev.6 04:08:31 v2.1.0 04:08:31 v2.2.0-dev.1 04:08:31 v2.2.0-dev.2 04:08:31 v2.2.0-dev.3 [Pipeline] sh 04:08:31 + lftools sign git-tag v2.2.0-dev.3 04:08:32 Signing Git tag with Sigul... 04:08:32 Signing v2.2.0-dev.3 [Pipeline] echo 04:08:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:08:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:08:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:08:33 $ docker stop --time=1 4186cbc22cc17654f489885d008fd69030f94a03e438d4e888f9dc5550fb3ae3 04:08:34 $ docker rm -f 4186cbc22cc17654f489885d008fd69030f94a03e438d4e888f9dc5550fb3ae3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:08:35 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:08:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:08:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:08:35 . [Pipeline] withDockerContainer 04:08:35 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 04:08:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:08:36 $ docker top 74b4475225764aa84193b94ace194d8fe615ca3a252e39e4691ad7dcdc517124 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:36 [ssh-agent] Looking for ssh-agent implementation... 04:08:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:36 $ docker exec 74b4475225764aa84193b94ace194d8fe615ca3a252e39e4691ad7dcdc517124 ssh-agent 04:08:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNGKeNC/agent.14 04:08:36 SSH_AGENT_PID=20 04:08:36 Running ssh-add (command line suppressed) 04:08:36 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2903669665159360405.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2903669665159360405.key) 04:08:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:36 + git semver bump pre 04:08:36 # -> Open(): unable to determine branch for HEAD 04:08:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 04:08:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 04:08:36 # $SEMVER_REMOTE_NAME = origin 04:08:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:08:36 # $SEMVER_USER_NAME = edgex-jenkins 04:08:36 # $SEMVER_BRANCH = main 04:08:36 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 04:08:36 2.2.0-dev.4 [Pipeline] } 04:08:36 $ docker exec --env ******** --env ******** 74b4475225764aa84193b94ace194d8fe615ca3a252e39e4691ad7dcdc517124 ssh-agent -k 04:08:36 unset SSH_AUTH_SOCK; 04:08:36 unset SSH_AGENT_PID; 04:08:36 echo Agent pid 20 killed; 04:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:37 + git semver [Pipeline] } 04:08:37 $ docker stop --time=1 74b4475225764aa84193b94ace194d8fe615ca3a252e39e4691ad7dcdc517124 04:08:38 $ docker rm -f 74b4475225764aa84193b94ace194d8fe615ca3a252e39e4691ad7dcdc517124 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:38 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:08:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:08:39 . [Pipeline] withDockerContainer 04:08:39 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 04:08:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:08:39 $ docker top db6ebd57b11ca9be4a92f62775ad85a52685e553d8c246825d8342ace5dceae5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:39 [ssh-agent] Looking for ssh-agent implementation... 04:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:39 $ docker exec db6ebd57b11ca9be4a92f62775ad85a52685e553d8c246825d8342ace5dceae5 ssh-agent 04:08:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCCaiag/agent.13 04:08:39 SSH_AGENT_PID=19 04:08:39 Running ssh-add (command line suppressed) 04:08:39 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2157757566488626580.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2157757566488626580.key) 04:08:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:40 + git semver push 04:08:40 # -> Open(): unable to determine branch for HEAD 04:08:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 04:08:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 04:08:40 # $SEMVER_REMOTE_NAME = origin 04:08:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:08:40 # $SEMVER_USER_NAME = edgex-jenkins 04:08:40 # $SEMVER_BRANCH = main 04:08:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 04:08:41 $ docker exec --env ******** --env ******** db6ebd57b11ca9be4a92f62775ad85a52685e553d8c246825d8342ace5dceae5 ssh-agent -k 04:08:41 unset SSH_AUTH_SOCK; 04:08:41 unset SSH_AGENT_PID; 04:08:41 echo Agent pid 19 killed; 04:08:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:41 + git semver [Pipeline] } 04:08:41 $ docker stop --time=1 db6ebd57b11ca9be4a92f62775ad85a52685e553d8c246825d8342ace5dceae5 04:08:43 $ docker rm -f db6ebd57b11ca9be4a92f62775ad85a52685e553d8c246825d8342ace5dceae5 [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 04:08:43 + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:08:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:08:44 ---> package-listing.sh 04:08:44 ++ facter osfamily 04:08:44 ++ tr '[:upper:]' '[:lower:]' 04:08:44 + OS_FAMILY=redhat 04:08:44 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 04:08:44 + START_PACKAGES=/tmp/packages_start.txt 04:08:44 + END_PACKAGES=/tmp/packages_end.txt 04:08:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:08:44 + PACKAGES=/tmp/packages_start.txt 04:08:44 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 04:08:44 + PACKAGES=/tmp/packages_end.txt 04:08:44 + case "${OS_FAMILY}" in 04:08:44 + rpm -qa 04:08:44 + sort 04:08:45 + '[' -f /tmp/packages_start.txt ']' 04:08:45 + '[' -f /tmp/packages_end.txt ']' 04:08:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:08:45 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 04:08:45 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 04:08:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 04:08:45 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 04:08:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:46 04:08:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:08:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:46 latest: Pulling from edgex-lftools-log-publisher 04:08:46 b4d181a07f80: Pulling fs layer 04:08:46 a1111a8f2ec3: Pulling fs layer 04:08:46 ed53099fbce6: Pulling fs layer 04:08:46 dc539afda2c1: Pulling fs layer 04:08:46 77bc0d833cb6: Pulling fs layer 04:08:46 9065ff56babe: Pulling fs layer 04:08:46 d287ab97295c: Pulling fs layer 04:08:46 dc539afda2c1: Waiting 04:08:46 77bc0d833cb6: Waiting 04:08:46 9065ff56babe: Waiting 04:08:46 d287ab97295c: Waiting 04:08:46 a1111a8f2ec3: Verifying Checksum 04:08:46 a1111a8f2ec3: Download complete 04:08:46 dc539afda2c1: Verifying Checksum 04:08:46 dc539afda2c1: Download complete 04:08:46 ed53099fbce6: Verifying Checksum 04:08:46 ed53099fbce6: Download complete 04:08:46 9065ff56babe: Verifying Checksum 04:08:46 9065ff56babe: Download complete 04:08:46 77bc0d833cb6: Verifying Checksum 04:08:46 77bc0d833cb6: Download complete 04:08:46 b4d181a07f80: Verifying Checksum 04:08:46 b4d181a07f80: Download complete 04:08:47 d287ab97295c: Verifying Checksum 04:08:47 d287ab97295c: Download complete 04:08:48 b4d181a07f80: Pull complete 04:08:48 a1111a8f2ec3: Pull complete 04:08:49 ed53099fbce6: Pull complete 04:08:49 dc539afda2c1: Pull complete 04:08:49 77bc0d833cb6: Pull complete 04:08:49 9065ff56babe: Pull complete 04:08:54 d287ab97295c: Pull complete 04:08:54 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:08:54 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 04:08:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:08:57 $ docker top 5bef2e3467fd362c8abbeb1bce612a07291c5fb4cf375d0dd63ab09a9a7c4d8d -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:57 + touch /tmp/pre-build-complete [Pipeline] sh 04:08:57 + mkdir -p /var/log/sysstat [Pipeline] sh 04:08:58 + ls /var/log/sa-host 04:08:58 + sadf -c /var/log/sa-host/sa17 04:08:58 file_magic: OK 04:08:58 HZ: Using current value: 100 04:08:58 file_header: OK 04:08:58 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 04:08:58 Statistics: 04:08:58 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:08:58 File successfully converted to sysstat format version 12.0.3 04:08:58 + sadf -c /var/log/sa-host/sa29 04:08:58 file_magic: OK 04:08:58 HZ: Using current value: 100 04:08:58 file_header: OK 04:08:58 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 04:08:58 Statistics: 04:08:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:08:58 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:58 provisioning config files... 04:08:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4013689924720376394tmp [Pipeline] { [Pipeline] echo 04:08:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:08:58 ---> create-netrc.sh [Pipeline] } 04:08:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:08:58 ---> python-tools-install.sh [Pipeline] echo 04:08:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:08:59 ---> sudo-logs.sh 04:08:59 Archiving 'sudo' log.. 04:08:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-329.novalocal: Name or service not known 04:08:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-329.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:08:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:08:59 ---> job-cost.sh 04:08:59 lf-activate-venv: SKIPPING 04:08:59 DEBUG: total: 0.10999999940395355 04:08:59 INFO: Retrieving Stack Cost... 04:08:59 INFO: Retrieving Pricing Info for: v3-standard-2 04:09:00 INFO: Archiving Costs [Pipeline] echo 04:09:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:09:00 ---> logs-deploy.sh 04:09:00 lf-activate-venv: SKIPPING 04:09:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/12 04:09:00 INFO: archiving workspace using pattern(s): 04:09:01 Archives upload complete. 04:09:01 INFO: archiving logs to Nexus