Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f2700d797dde70a27600e51c0b144607fa1919f0 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-ssh9385813836495582722.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5939142247249514499.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14357761423490270893.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1826160438836201765.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-ssh4261466414562095614.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2828 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-ssh5884592979410528656.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 f2700d797dde70a27600e51c0b144607fa1919f0 (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 f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 Commit message: "Merge pull request #135 from ernestojeda/go-1_17-module-changes" > git rev-list --no-walk 0686e34266a91fa2107915df6132c8d4297bd730 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:23:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:23:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:23:49 ========================================================= 18:23:49 EdgeX Global Pipelines Version Info 18:23:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:23:50 ------------------- 18:23:50 stable info: 18:23:50 ------------------- 18:23:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:23:50 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:23:50 Message: update stable to v1.0.219 18:23:51 ------------------- 18:23:51 experimental info: 18:23:51 ------------------- 18:23:51 Commited By: **** collab-it+edgex@linuxfoundation.org 18:23:51 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:23:51 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:23:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2700d797dde70a27600e51c0b144607fa1919f0 [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2700d7 [Pipeline] echo 18:23:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:23:52 provisioning config files... 18:23:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7351440001108693761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:52 ---> docker-login.sh 18:23:52 nexus3.edgexfoundry.org:10001 18:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:52 Configure a credential helper to remove this warning. See 18:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:52 18:23:52 Login Succeeded 18:23:52 nexus3.edgexfoundry.org:10002 18:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:52 Configure a credential helper to remove this warning. See 18:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:52 18:23:52 Login Succeeded 18:23:52 nexus3.edgexfoundry.org:10003 18:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:53 Configure a credential helper to remove this warning. See 18:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:53 18:23:53 Login Succeeded 18:23:53 nexus3.edgexfoundry.org:10004 18:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:53 Configure a credential helper to remove this warning. See 18:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:53 18:23:53 Login Succeeded 18:23:53 docker.io 18:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:53 Configure a credential helper to remove this warning. See 18:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:53 18:23:53 Login Succeeded 18:23:53 ---> docker-login.sh ends [Pipeline] } 18:23:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:23:54 + git rev-list -1 --merges f2700d797dde70a27600e51c0b144607fa1919f0~1..f2700d797dde70a27600e51c0b144607fa1919f0 [Pipeline] echo 18:23:54 -----------> git rev-list -1 --merges f2700d797dde70a27600e51c0b144607fa1919f0~1..f2700d797dde70a27600e51c0b144607fa1919f0 f2700d797dde70a27600e51c0b144607fa1919f0 18:23:54 f2700d797dde70a27600e51c0b144607fa1919f0 [false] [Pipeline] sh 18:23:54 + git log --format=format:%s -1 f2700d797dde70a27600e51c0b144607fa1919f0 [Pipeline] echo 18:23:54 ========================================================= 18:23:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:23:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:54 + git log --format=format:%s -1 f2700d797dde70a27600e51c0b144607fa1919f0 [Pipeline] echo 18:23:54 [semverPrep] GIT_COMMIT: f2700d797dde70a27600e51c0b144607fa1919f0, Commit Message: Merge pull request #135 from ernestojeda/go-1_17-module-changes [Pipeline] echo 18:23:54 [semverPrep] This is not a build commit. [Pipeline] sh 18:23:55 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:23:55 + grep -v github /etc/ssh/ssh_known_hosts 18:23:55 + '[' -e /tmp/ssh_known_hosts ']' 18:23:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:23:55 + sudo tee -a /etc/ssh/ssh_known_hosts 18:23:55 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 18:23:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:23:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:23:55 18:23:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:23:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:23:56 latest: Pulling from edgex-devops/git-semver 18:23:56 a0d0a0d46f8b: Pulling fs layer 18:23:56 3e5f54012d9b: Pulling fs layer 18:23:56 4c7163046ea9: Pulling fs layer 18:23:56 0c2d73faf560: Pulling fs layer 18:23:56 0c2d73faf560: Waiting 18:23:56 3e5f54012d9b: Verifying Checksum 18:23:56 3e5f54012d9b: Download complete 18:23:56 a0d0a0d46f8b: Verifying Checksum 18:23:56 a0d0a0d46f8b: Download complete 18:23:56 0c2d73faf560: Verifying Checksum 18:23:56 0c2d73faf560: Download complete 18:23:56 4c7163046ea9: Verifying Checksum 18:23:56 4c7163046ea9: Download complete 18:23:56 a0d0a0d46f8b: Pull complete 18:23:56 3e5f54012d9b: Pull complete 18:23:56 4c7163046ea9: Pull complete 18:23:57 0c2d73faf560: Pull complete 18:23:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:23:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:23:57 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:23:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:23:57 $ docker top 7650d18f8b0d9426783a419f54f101565e1e250c41732fa75e3dd739bb2d1829 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:23:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:23:58 [ssh-agent] Looking for ssh-agent implementation... 18:23:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:23:58 $ docker exec 7650d18f8b0d9426783a419f54f101565e1e250c41732fa75e3dd739bb2d1829 ssh-agent 18:23:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKEOLfJ/agent.14 18:23:58 SSH_AGENT_PID=20 18:23:58 Running ssh-add (command line suppressed) 18:23:58 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6452913687881479321.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6452913687881479321.key) 18:23:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:58 + git tag --points-at HEAD [Pipeline] } 18:23:58 $ docker exec --env ******** --env ******** 7650d18f8b0d9426783a419f54f101565e1e250c41732fa75e3dd739bb2d1829 ssh-agent -k 18:23:58 unset SSH_AUTH_SOCK; 18:23:58 unset SSH_AGENT_PID; 18:23:58 echo Agent pid 20 killed; 18:23:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:23:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:23:58 [ssh-agent] Looking for ssh-agent implementation... 18:23:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:23:58 $ docker exec 7650d18f8b0d9426783a419f54f101565e1e250c41732fa75e3dd739bb2d1829 ssh-agent 18:23:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCbhIEk/agent.54 18:23:59 SSH_AGENT_PID=60 18:23:59 Running ssh-add (command line suppressed) 18:23:59 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6065168130645018529.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6065168130645018529.key) 18:23:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:23:59 + git semver init 18:23:59 # -> Open(): unable to determine branch for HEAD 18:23:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 18:23:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 18:23:59 # $SEMVER_REMOTE_NAME = origin 18:23:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:23:59 # $SEMVER_USER_NAME = edgex-jenkins 18:23:59 # $SEMVER_BRANCH = main 18:23:59 # $SEMVER_TEMP = /tmp/semver-602075775 18:23:59 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 18:24:00 # '/tmp/semver-602075775' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 18:24:00 # -> Force: false 18:24:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 18:24:00 $ docker exec --env ******** --env ******** 7650d18f8b0d9426783a419f54f101565e1e250c41732fa75e3dd739bb2d1829 ssh-agent -k 18:24:00 unset SSH_AUTH_SOCK; 18:24:00 unset SSH_AGENT_PID; 18:24:00 echo Agent pid 60 killed; 18:24:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:24:00 + git semver [Pipeline] } 18:24:00 $ docker stop --time=1 7650d18f8b0d9426783a419f54f101565e1e250c41732fa75e3dd739bb2d1829 18:24:01 $ docker rm -f 7650d18f8b0d9426783a419f54f101565e1e250c41732fa75e3dd739bb2d1829 [Pipeline] // withDockerContainer [Pipeline] sh 18:24:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:24:02 Stashed 1 file(s) [Pipeline] echo 18:24:02 [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:02 provisioning config files... 18:24:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3240719964642799843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:02 ---> docker-login.sh 18:24:02 nexus3.edgexfoundry.org:10001 18:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:02 Configure a credential helper to remove this warning. See 18:24:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:02 18:24:02 Login Succeeded 18:24:02 nexus3.edgexfoundry.org:10002 18:24:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:03 Configure a credential helper to remove this warning. See 18:24:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:03 18:24:03 Login Succeeded 18:24:03 nexus3.edgexfoundry.org:10003 18:24:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:03 Configure a credential helper to remove this warning. See 18:24:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:03 18:24:03 Login Succeeded 18:24:03 nexus3.edgexfoundry.org:10004 18:24:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:03 Configure a credential helper to remove this warning. See 18:24:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:03 18:24:03 Login Succeeded 18:24:03 docker.io 18:24:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:03 Configure a credential helper to remove this warning. See 18:24:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:03 18:24:03 Login Succeeded 18:24:03 ---> docker-login.sh ends [Pipeline] } 18:24:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:24:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:03 ========================================================= 18:24:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:24:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:24:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 18:24:04 Sending build context to Docker daemon 5.176MB 18:24:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:24:04 Step 2/12 : FROM ${BASE} AS builder 18:24:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:24:04 59bf1c3509f3: Pulling fs layer 18:24:04 666ba61612fd: Pulling fs layer 18:24:04 8ed8ca486205: Pulling fs layer 18:24:04 4fe6c5a15a65: Pulling fs layer 18:24:04 22a0e8bec74d: Pulling fs layer 18:24:04 f965cba54748: Pulling fs layer 18:24:04 861ffc35075e: Pulling fs layer 18:24:04 4b385c91608e: Pulling fs layer 18:24:04 560528eb2ebb: Pulling fs layer 18:24:04 4fe6c5a15a65: Waiting 18:24:04 22a0e8bec74d: Waiting 18:24:04 f965cba54748: Waiting 18:24:04 861ffc35075e: Waiting 18:24:04 4b385c91608e: Waiting 18:24:04 560528eb2ebb: Waiting 18:24:04 8ed8ca486205: Verifying Checksum 18:24:04 8ed8ca486205: Download complete 18:24:04 666ba61612fd: Verifying Checksum 18:24:04 666ba61612fd: Download complete 18:24:04 22a0e8bec74d: Verifying Checksum 18:24:04 22a0e8bec74d: Download complete 18:24:04 59bf1c3509f3: Verifying Checksum 18:24:04 59bf1c3509f3: Download complete 18:24:04 f965cba54748: Verifying Checksum 18:24:04 f965cba54748: Download complete 18:24:04 861ffc35075e: Verifying Checksum 18:24:04 861ffc35075e: Download complete 18:24:04 4b385c91608e: Verifying Checksum 18:24:04 4b385c91608e: Download complete 18:24:04 59bf1c3509f3: Pull complete 18:24:04 666ba61612fd: Pull complete 18:24:04 8ed8ca486205: Pull complete 18:24:04 4fe6c5a15a65: Verifying Checksum 18:24:04 4fe6c5a15a65: Download complete 18:24:04 560528eb2ebb: Verifying Checksum 18:24:04 560528eb2ebb: Download complete 18:24:09 4fe6c5a15a65: Pull complete 18:24:09 22a0e8bec74d: Pull complete 18:24:09 f965cba54748: Pull complete 18:24:09 861ffc35075e: Pull complete 18:24:09 4b385c91608e: Pull complete 18:24:11 560528eb2ebb: Pull complete 18:24:11 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 18:24:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:24:11 ---> dd4a08f94e63 18:24:11 Step 3/12 : ARG MAKE='make build' 18:24:13 ---> Running in 58105a2808c1 18:24:13 Removing intermediate container 58105a2808c1 18:24:13 ---> e2b9d79c2c19 18:24:13 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:24:13 ---> Running in fea26ff47e0f 18:24:13 Removing intermediate container fea26ff47e0f 18:24:13 ---> 5486b1174402 18:24:13 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:24:13 ---> Running in 738be24a706a 18:24:13 Removing intermediate container 738be24a706a 18:24:13 ---> 8b37cbc7df6a 18:24:13 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:13 ---> Running in fd74a031bf7d 18:24:14 Removing intermediate container fd74a031bf7d 18:24:14 ---> ea0c7837b3dd 18:24:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:14 ---> Running in 13cfd1e5bfb5 18:24:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:24:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:24:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:24:16 (2/4) Installing libedit (20210910.3.1-r0) 18:24:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:24:16 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:24:16 Executing busybox-1.34.1-r3.trigger 18:24:16 OK: 224 MiB in 56 packages 18:24:16 Removing intermediate container 13cfd1e5bfb5 18:24:16 ---> afa9df3ded30 18:24:16 Step 8/12 : WORKDIR /device-snmp-go 18:24:16 ---> Running in d51e0542110b 18:24:17 Removing intermediate container d51e0542110b 18:24:17 ---> 32ac4bb952da 18:24:17 Step 9/12 : COPY go.mod vendor* ./ 18:24:17 ---> 281867d99548 18:24:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:17 ---> Running in 2736a94c4325 18:24:17 Still waiting to schedule task 18:24:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:24:55 Removing intermediate container 2736a94c4325 18:24:55 ---> ddb8fdd9f92d 18:24:55 Step 11/12 : COPY . . 18:24:55 ---> 33572fd9cd2b 18:24:55 Step 12/12 : RUN ${MAKE} 18:24:55 ---> Running in 2fdb1fae3fee 18:24:55 noop 18:24:55 Removing intermediate container 2fdb1fae3fee 18:24:55 ---> 9c0f4fa44759 18:24:55 Successfully built 9c0f4fa44759 18:24:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:24:56 + docker inspect -f . ci-base-image-x86_64 18:24:56 . [Pipeline] withDockerContainer 18:24:56 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:24:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:24:56 $ docker top f3d4c351d40b57d87d96b8fbbc970233abed693ac3ddecb3f7aa0e3ccdd44465 -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:57 + go version 18:24:57 go version go1.17.6 linux/amd64 [Pipeline] } 18:24:57 $ docker stop --time=1 f3d4c351d40b57d87d96b8fbbc970233abed693ac3ddecb3f7aa0e3ccdd44465 18:24:58 $ docker rm -f f3d4c351d40b57d87d96b8fbbc970233abed693ac3ddecb3f7aa0e3ccdd44465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:24:58 + docker inspect -f . ci-base-image-x86_64 18:24:58 . [Pipeline] withDockerContainer 18:24:58 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:24:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:24:59 $ docker top 780261a77035ed3ae280b64060dc02f8844a92150316c3fddc18392fb621a60f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:24:59 + make test 18:24:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:24:59 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:25:14 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:25:14 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 18:25:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:25:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:25:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:25:20 ./bin/test-attribution-txt.sh [Pipeline] echo 18:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:25:20 $ docker stop --time=1 780261a77035ed3ae280b64060dc02f8844a92150316c3fddc18392fb621a60f 18:25:21 $ docker rm -f 780261a77035ed3ae280b64060dc02f8844a92150316c3fddc18392fb621a60f [Pipeline] // withDockerContainer [Pipeline] sh 18:25:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:25:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:25:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:25:23 + ls -al . 18:25:23 total 144 18:25:23 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:25 . 18:25:23 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:23 .. 18:25:23 -rw-rw-r--. 1 jenkins jenkins 6926 Jan 20 18:23 Attribution.txt 18:25:23 drwxrwxr-x. 2 jenkins jenkins 60 Jan 20 18:23 bin 18:25:23 -rw-rw-r--. 1 jenkins jenkins 4401 Jan 20 18:23 CHANGELOG.md 18:25:23 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:23 cmd 18:25:23 -rw-r--r--. 1 jenkins jenkins 7631 Jan 20 18:25 coverage.out 18:25:23 -rw-rw-r--. 1 jenkins jenkins 1516 Jan 20 18:23 Dockerfile 18:25:23 -rw-rw-r--. 1 jenkins jenkins 6 Jan 20 18:23 .dockerignore 18:25:23 drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 18:23 .git 18:25:23 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:23 .github 18:25:23 -rw-rw-r--. 1 jenkins jenkins 262 Jan 20 18:23 .gitignore 18:25:23 -rw-rw-r--. 1 jenkins jenkins 2820 Jan 20 18:23 go.mod 18:25:23 -rw-rw-r--. 1 jenkins jenkins 49501 Jan 20 18:23 go.sum 18:25:23 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:23 GOVERNANCE.md 18:25:23 drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 18:23 internal 18:25:23 -rw-rw-r--. 1 jenkins jenkins 656 Jan 20 18:23 Jenkinsfile 18:25:23 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:23 LICENSE 18:25:23 -rw-rw-r--. 1 jenkins jenkins 1057 Jan 20 18:23 Makefile 18:25:23 -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 18:23 OWNERS.md 18:25:23 -rw-rw-r--. 1 jenkins jenkins 9073 Jan 20 18:23 README.md 18:25:23 drwx------. 3 jenkins jenkins 74 Jan 20 18:24 .semver 18:25:23 drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 18:23 snap 18:25:23 -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 18:24 VERSION 18:25:23 -rw-rw-r--. 1 jenkins jenkins 209 Jan 20 18:23 version.go [Pipeline] isUnix [Pipeline] sh 18:25:23 + 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=f2700d797dde70a27600e51c0b144607fa1919f0 --label arch=amd64 --label version=2.2.0-dev.5 . 18:25:23 Sending build context to Docker daemon 5.184MB 18:25:23 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:25:23 Step 2/24 : FROM ${BASE} AS builder 18:25:23 ---> 9c0f4fa44759 18:25:23 Step 3/24 : ARG MAKE='make build' 18:25:23 ---> Running in ff1b15181bf6 18:25:23 Removing intermediate container ff1b15181bf6 18:25:23 ---> 7bd0267472f5 18:25:23 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:25:23 ---> Running in d10b9fc9498a 18:25:23 Removing intermediate container d10b9fc9498a 18:25:23 ---> e9a566f61525 18:25:23 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:25:23 ---> Running in f5042883f0e5 18:25:23 Removing intermediate container f5042883f0e5 18:25:23 ---> fb5683223d7a 18:25:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:23 ---> Running in c5a0179b725e 18:25:24 Removing intermediate container c5a0179b725e 18:25:24 ---> 2ce2cc716bae 18:25:24 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:24 ---> Running in bfdf8a3c19fb 18:25:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:25:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:25:25 OK: 224 MiB in 56 packages 18:25:25 Removing intermediate container bfdf8a3c19fb 18:25:25 ---> 10cf1bc2ce39 18:25:25 Step 8/24 : WORKDIR /device-snmp-go 18:25:25 ---> Running in a74bc1df1465 18:25:25 Removing intermediate container a74bc1df1465 18:25:25 ---> f6faf51badfb 18:25:25 Step 9/24 : COPY go.mod vendor* ./ 18:25:26 ---> 4f77ce9b3338 18:25:26 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:25:26 ---> Running in 8114f98830c6 18:25:26 Removing intermediate container 8114f98830c6 18:25:26 ---> ce8d376a5519 18:25:26 Step 11/24 : COPY . . 18:25:27 ---> ba0f77200906 18:25:27 Step 12/24 : RUN ${MAKE} 18:25:27 ---> Running in 21a0791357c8 18:25:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.5" -o cmd/device-snmp ./cmd 18:25:42 Removing intermediate container 21a0791357c8 18:25:42 ---> e610b6be5f17 18:25:42 Step 13/24 : FROM alpine:3.14 18:25:42 3.14: Pulling from library/alpine 18:25:42 97518928ae5f: Pulling fs layer 18:25:42 97518928ae5f: Verifying Checksum 18:25:42 97518928ae5f: Download complete 18:25:42 97518928ae5f: Pull complete 18:25:42 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:25:42 Status: Downloaded newer image for alpine:3.14 18:25:42 ---> 0a97eee8041e 18:25:42 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 18:25:42 ---> Running in c165d8344128 18:25:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:25:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:25:42 (1/6) Installing dumb-init (1.2.5-r1) 18:25:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:25:42 (3/6) Installing libsodium (1.0.18-r0) 18:25:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:25:42 (5/6) Installing libzmq (4.3.4-r0) 18:25:42 (6/6) Installing zeromq (4.3.4-r0) 18:25:42 Executing busybox-1.33.1-r6.trigger 18:25:42 OK: 8 MiB in 20 packages 18:25:42 Removing intermediate container c165d8344128 18:25:42 ---> 325259acd3a8 18:25:42 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:25:42 ---> 53cf17f96a0c 18:25:42 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:25:42 ---> f489053bf608 18:25:42 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:25:42 ---> b7a4a83e043a 18:25:42 Step 18/24 : EXPOSE 59993 18:25:42 ---> Running in 4d205c4338b7 18:25:42 Removing intermediate container 4d205c4338b7 18:25:42 ---> e16de9f6ba4c 18:25:42 Step 19/24 : EXPOSE 161 18:25:42 ---> Running in e7e63c749c56 18:25:42 Removing intermediate container e7e63c749c56 18:25:42 ---> ac28e46f3caf 18:25:42 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:25:42 ---> Running in 14d38ebe6bd5 18:25:42 Removing intermediate container 14d38ebe6bd5 18:25:42 ---> a587d36962ca 18:25:42 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:25:42 ---> Running in c02358c5a8d8 18:25:43 Removing intermediate container c02358c5a8d8 18:25:43 ---> 50d1bfea4fdd 18:25:43 Step 22/24 : LABEL arch=amd64 18:25:43 ---> Running in 91cfee695bd7 18:25:43 Removing intermediate container 91cfee695bd7 18:25:43 ---> 6f6e3ef59a91 18:25:43 Step 23/24 : LABEL git_sha=f2700d797dde70a27600e51c0b144607fa1919f0 18:25:43 ---> Running in 9ac74a2cae56 18:25:43 Removing intermediate container 9ac74a2cae56 18:25:43 ---> c6111a012186 18:25:43 Step 24/24 : LABEL version=2.2.0-dev.5 18:25:43 ---> Running in 9e95cd5d1ec8 18:25:43 Removing intermediate container 9e95cd5d1ec8 18:25:43 ---> 4e272d1fbd4a 18:25:43 [Warning] One or more build-args [ARCH] were not consumed 18:25:43 Successfully built 4e272d1fbd4a 18:25:43 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:25:43 provisioning config files... 18:25:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config44229027028692454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:43 ---> docker-login.sh 18:25:43 nexus3.edgexfoundry.org:10001 18:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:43 Configure a credential helper to remove this warning. See 18:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:43 18:25:43 Login Succeeded 18:25:43 nexus3.edgexfoundry.org:10002 18:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:43 Configure a credential helper to remove this warning. See 18:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:43 18:25:43 Login Succeeded 18:25:43 nexus3.edgexfoundry.org:10003 18:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:44 Configure a credential helper to remove this warning. See 18:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:44 18:25:44 Login Succeeded 18:25:44 nexus3.edgexfoundry.org:10004 18:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:44 Configure a credential helper to remove this warning. See 18:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:44 18:25:44 Login Succeeded 18:25:44 docker.io 18:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:44 Configure a credential helper to remove this warning. See 18:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:44 18:25:44 Login Succeeded 18:25:44 ---> docker-login.sh ends [Pipeline] } 18:25:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:25:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:25:44 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 18:25:44 f2700d797dde70a27600e51c0b144607fa1919f0 18:25:44 latest 18:25:44 2.2.0-dev.5 18:25:44 f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5 18:25:44 main 18:25:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:25:44 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:f2700d797dde70a27600e51c0b144607fa1919f0 [Pipeline] isUnix [Pipeline] sh 18:25:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp:f2700d797dde70a27600e51c0b144607fa1919f0 18:25:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:25:45 e7c8f509c7f4: Preparing 18:25:45 ae831e1aaee3: Preparing 18:25:45 722228ebc02e: Preparing 18:25:45 4f64f06397f7: Preparing 18:25:45 1a058d5342cc: Preparing 18:25:45 1a058d5342cc: Layer already exists 18:25:45 ae831e1aaee3: Pushed 18:25:45 e7c8f509c7f4: Pushed 18:25:45 4f64f06397f7: Pushed 18:25:46 722228ebc02e: Pushed 18:25:46 f2700d797dde70a27600e51c0b144607fa1919f0: digest: sha256:fdb0ec4ad25d785eebc4f9a4d03757b50c0fbb406bfffa2c0372d69f4ef4e8e3 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:25:46 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 18:25:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 18:25:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:25:46 e7c8f509c7f4: Preparing 18:25:46 ae831e1aaee3: Preparing 18:25:46 722228ebc02e: Preparing 18:25:46 4f64f06397f7: Preparing 18:25:46 1a058d5342cc: Preparing 18:25:46 4f64f06397f7: Layer already exists 18:25:46 722228ebc02e: Layer already exists 18:25:46 1a058d5342cc: Layer already exists 18:25:46 e7c8f509c7f4: Layer already exists 18:25:46 ae831e1aaee3: Layer already exists 18:25:46 latest: digest: sha256:fdb0ec4ad25d785eebc4f9a4d03757b50c0fbb406bfffa2c0372d69f4ef4e8e3 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:25:47 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:25:47 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.5 18:25:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:25:47 e7c8f509c7f4: Preparing 18:25:47 ae831e1aaee3: Preparing 18:25:47 722228ebc02e: Preparing 18:25:47 4f64f06397f7: Preparing 18:25:47 1a058d5342cc: Preparing 18:25:47 1a058d5342cc: Layer already exists 18:25:47 4f64f06397f7: Layer already exists 18:25:47 e7c8f509c7f4: Layer already exists 18:25:47 722228ebc02e: Layer already exists 18:25:47 ae831e1aaee3: Layer already exists 18:25:47 2.2.0-dev.5: digest: sha256:fdb0ec4ad25d785eebc4f9a4d03757b50c0fbb406bfffa2c0372d69f4ef4e8e3 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:25:47 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:25:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp:f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5 18:25:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:25:48 e7c8f509c7f4: Preparing 18:25:48 ae831e1aaee3: Preparing 18:25:48 722228ebc02e: Preparing 18:25:48 4f64f06397f7: Preparing 18:25:48 1a058d5342cc: Preparing 18:25:48 ae831e1aaee3: Layer already exists 18:25:48 e7c8f509c7f4: Layer already exists 18:25:48 722228ebc02e: Layer already exists 18:25:48 4f64f06397f7: Layer already exists 18:25:48 1a058d5342cc: Layer already exists 18:25:48 f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5: digest: sha256:fdb0ec4ad25d785eebc4f9a4d03757b50c0fbb406bfffa2c0372d69f4ef4e8e3 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:25:48 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 18:25:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 18:25:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:25:48 e7c8f509c7f4: Preparing 18:25:48 ae831e1aaee3: Preparing 18:25:48 722228ebc02e: Preparing 18:25:48 4f64f06397f7: Preparing 18:25:48 1a058d5342cc: Preparing 18:25:48 ae831e1aaee3: Layer already exists 18:25:48 1a058d5342cc: Layer already exists 18:25:48 722228ebc02e: Layer already exists 18:25:48 e7c8f509c7f4: Layer already exists 18:25:48 4f64f06397f7: Layer already exists 18:25:48 main: digest: sha256:fdb0ec4ad25d785eebc4f9a4d03757b50c0fbb406bfffa2c0372d69f4ef4e8e3 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:25:48 ===================================================== [Pipeline] echo 18:25:48 taggedImages: 18:25:48 - nexus3.edgexfoundry.org:10004/device-snmp:f2700d797dde70a27600e51c0b144607fa1919f0 18:25:48 - nexus3.edgexfoundry.org:10004/device-snmp:latest 18:25:48 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.5 18:25:48 - nexus3.edgexfoundry.org:10004/device-snmp:f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5 18:25:48 - 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 18:25:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:49 18:25:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:25:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:49 latest: Pulling from edgex-lftools-log-publisher 18:25:49 b4d181a07f80: Pulling fs layer 18:25:49 a1111a8f2ec3: Pulling fs layer 18:25:49 ed53099fbce6: Pulling fs layer 18:25:49 dc539afda2c1: Pulling fs layer 18:25:49 77bc0d833cb6: Pulling fs layer 18:25:49 9065ff56babe: Pulling fs layer 18:25:49 d287ab97295c: Pulling fs layer 18:25:49 dc539afda2c1: Waiting 18:25:49 77bc0d833cb6: Waiting 18:25:49 9065ff56babe: Waiting 18:25:49 d287ab97295c: Waiting 18:25:49 a1111a8f2ec3: Verifying Checksum 18:25:49 a1111a8f2ec3: Download complete 18:25:49 dc539afda2c1: Verifying Checksum 18:25:49 dc539afda2c1: Download complete 18:25:49 ed53099fbce6: Verifying Checksum 18:25:49 ed53099fbce6: Download complete 18:25:49 9065ff56babe: Verifying Checksum 18:25:49 9065ff56babe: Download complete 18:25:49 77bc0d833cb6: Verifying Checksum 18:25:49 77bc0d833cb6: Download complete 18:25:49 b4d181a07f80: Verifying Checksum 18:25:49 b4d181a07f80: Download complete 18:25:50 d287ab97295c: Verifying Checksum 18:25:50 d287ab97295c: Download complete 18:25:51 b4d181a07f80: Pull complete 18:25:51 a1111a8f2ec3: Pull complete 18:25:52 ed53099fbce6: Pull complete 18:25:52 dc539afda2c1: Pull complete 18:25:52 77bc0d833cb6: Pull complete 18:25:52 9065ff56babe: Pull complete 18:25:58 d287ab97295c: Pull complete 18:25:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:25:58 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:25:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:26:01 $ docker top 1fc858f531925c6998e6ef1a0015f09b9524ec05e21dfbec9f424f0516b3746a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:01 ---> job-cost.sh 18:26:01 lf-activate-venv: SKIPPING 18:26:01 INFO: No Stack... 18:26:01 INFO: Retrieving Pricing Info for: v3-standard-2 18:26:02 INFO: Archiving Costs [Pipeline] sh 18:26:02 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 18:26:02 + cut -d, -f6 [Pipeline] lock 18:26:02 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-15-stack-cost] 18:26:02 Resource [jenkins-edgexfoundry-device-snmp-go-main-15-stack-cost] did not exist. Created. 18:26:02 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:26:02 + echo total: 0.05999999865889549 [Pipeline] stash 18:26:02 Stashed 1 file(s) [Pipeline] } 18:26:02 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 18:26:02 $ docker stop --time=1 1fc858f531925c6998e6ef1a0015f09b9524ec05e21dfbec9f424f0516b3746a 18:26:03 $ docker rm -f 1fc858f531925c6998e6ef1a0015f09b9524ec05e21dfbec9f424f0516b3746a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:34:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3265 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 18:34:55 Running in /w/workspace/device-snmp-go/15 [Pipeline] { [Pipeline] checkout 18:34:56 Selected Git installation does not exist. Using Default 18:34:56 The recommended git tool is: NONE 18:35:02 using credential edgex-jenkins-ssh 18:35:02 Cloning the remote Git repository 18:35:02 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 18:35:03 > git init /w/workspace/device-snmp-go/15 # timeout=10 18:35:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 18:35:03 > git --version # timeout=10 18:35:03 > git --version # 'git version 2.17.1' 18:35:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:35:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:04 Avoid second fetch 18:35:04 Checking out Revision f2700d797dde70a27600e51c0b144607fa1919f0 (main) 18:35:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 18:35:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:04 > git config core.sparsecheckout # timeout=10 18:35:04 > git checkout -f f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 18:35:10 Commit message: "Merge pull request #135 from ernestojeda/go-1_17-module-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:35:11 % Total % Received % Xferd Average Speed Time Time Time Current 18:35:11 Dload Upload Total Spent Left Speed 18:35:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 55600 0 --:--:-- --:--:-- --:--:-- 55600 [Pipeline] sh 18:35:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:35:12 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 18:35:12 18:35:12 { 18:35:12 "registry-mirrors": [ 18:35:12 "https://nexus3.edgexfoundry.org:10001" 18:35:12 ], 18:35:12 "bip": "10.250.0.254/24", 18:35:12 "hosts": [ 18:35:12 "tcp://0.0.0.0:5555", 18:35:12 "unix:///var/run/docker.sock" 18:35:12 ], 18:35:12 "mtu": 1458, 18:35:12 "selinux-enabled": true, 18:35:12 "seccomp-profile": "/etc/docker/seccomp.json" 18:35:12 } [Pipeline] sh 18:35:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:35:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:31 provisioning config files... 18:35:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/15@tmp/config8656668626774912002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:31 ---> docker-login.sh 18:35:31 nexus3.edgexfoundry.org:10001 18:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:32 Configure a credential helper to remove this warning. See 18:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:32 18:35:32 Login Succeeded 18:35:32 nexus3.edgexfoundry.org:10002 18:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:33 Configure a credential helper to remove this warning. See 18:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:33 18:35:33 Login Succeeded 18:35:33 nexus3.edgexfoundry.org:10003 18:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:33 Configure a credential helper to remove this warning. See 18:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:33 18:35:33 Login Succeeded 18:35:33 nexus3.edgexfoundry.org:10004 18:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:34 Configure a credential helper to remove this warning. See 18:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:34 18:35:34 Login Succeeded 18:35:34 docker.io 18:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:35 Configure a credential helper to remove this warning. See 18:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:35 18:35:35 Login Succeeded 18:35:35 ---> docker-login.sh ends [Pipeline] } 18:35:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:36 ========================================================= 18:35:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:35:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:35:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 18:35:36 Sending build context to Docker daemon 2.695MB 18:35:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:35:36 Step 2/12 : FROM ${BASE} AS builder 18:35:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:35:37 9b3977197b4f: Pulling fs layer 18:35:37 1a89e8eeedd5: Pulling fs layer 18:35:37 94645a83ff95: Pulling fs layer 18:35:37 3f3a8bcf1eab: Pulling fs layer 18:35:37 0c92f367c5e7: Pulling fs layer 18:35:37 3f3a8bcf1eab: Waiting 18:35:37 0c92f367c5e7: Waiting 18:35:37 4b8299f9d1f4: Pulling fs layer 18:35:37 9a6b49a46696: Pulling fs layer 18:35:37 4b8299f9d1f4: Waiting 18:35:37 cf05db05a679: Pulling fs layer 18:35:37 cf05db05a679: Waiting 18:35:37 94645a83ff95: Verifying Checksum 18:35:37 94645a83ff95: Download complete 18:35:37 1a89e8eeedd5: Verifying Checksum 18:35:37 1a89e8eeedd5: Download complete 18:35:37 0c92f367c5e7: Download complete 18:35:37 4b8299f9d1f4: Download complete 18:35:37 9a6b49a46696: Download complete 18:35:37 9b3977197b4f: Verifying Checksum 18:35:37 9b3977197b4f: Download complete 18:35:38 9b3977197b4f: Pull complete 18:35:38 1a89e8eeedd5: Pull complete 18:35:39 94645a83ff95: Pull complete 18:35:39 cf05db05a679: Verifying Checksum 18:35:39 cf05db05a679: Download complete 18:35:40 3f3a8bcf1eab: Verifying Checksum 18:35:40 3f3a8bcf1eab: Download complete 18:35:53 3f3a8bcf1eab: Pull complete 18:35:53 0c92f367c5e7: Pull complete 18:35:53 4b8299f9d1f4: Pull complete 18:35:53 9a6b49a46696: Pull complete 18:36:00 cf05db05a679: Pull complete 18:36:00 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 18:36:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:36:00 ---> 0ccda1f7e2ee 18:36:00 Step 3/12 : ARG MAKE='make build' 18:36:03 ---> Running in 5dc1a3b8f94d 18:36:03 Removing intermediate container 5dc1a3b8f94d 18:36:03 ---> 8dab3554eb1b 18:36:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:36:03 ---> Running in 8c4294da2202 18:36:04 Removing intermediate container 8c4294da2202 18:36:04 ---> ec0634b6efcf 18:36:04 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:36:04 ---> Running in 9a187a7855fe 18:36:04 Removing intermediate container 9a187a7855fe 18:36:04 ---> 3f5851ffed87 18:36:04 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:36:04 ---> Running in 37cd8c1cc8e8 18:36:07 Removing intermediate container 37cd8c1cc8e8 18:36:07 ---> ae4fdfa9c5c7 18:36:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:07 ---> Running in e53b1c71da5b 18:36:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:36:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:36:11 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:36:11 (2/4) Installing libedit (20210910.3.1-r0) 18:36:11 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:36:11 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:36:11 Executing busybox-1.34.1-r3.trigger 18:36:11 OK: 224 MiB in 56 packages 18:36:13 Removing intermediate container e53b1c71da5b 18:36:13 ---> f9a27aafb4fb 18:36:13 Step 8/12 : WORKDIR /device-snmp-go 18:36:13 ---> Running in 2d38c4929d6f 18:36:13 Removing intermediate container 2d38c4929d6f 18:36:13 ---> 5706553580f2 18:36:13 Step 9/12 : COPY go.mod vendor* ./ 18:36:14 ---> 606b0e56a8b0 18:36:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:36:14 ---> Running in 0802f590809a 18:37:51 Removing intermediate container 0802f590809a 18:37:51 ---> b463935eced8 18:37:51 Step 11/12 : COPY . . 18:37:51 ---> f5d43867dec8 18:37:51 Step 12/12 : RUN ${MAKE} 18:37:51 ---> Running in a46c98cfc9ca 18:37:51 noop 18:37:51 Removing intermediate container a46c98cfc9ca 18:37:51 ---> a9b67c6535ea 18:37:51 Successfully built a9b67c6535ea 18:37:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:37:52 + docker inspect -f . ci-base-image-arm64 18:37:52 . [Pipeline] withDockerContainer 18:37:52 prd-ubuntu18.04-docker-arm64-4c-16g-3265 does not seem to be running inside a container 18:37:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/15 -v /w/workspace/device-snmp-go/15:/w/workspace/device-snmp-go/15:rw,z -v /w/workspace/device-snmp-go/15@tmp:/w/workspace/device-snmp-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:37:54 $ docker top 2c959a6e4713b60cf5301f83aa940d81b9974951312f098711693f229373137a -eo pid,comm [Pipeline] { [Pipeline] sh 18:37:55 + go version 18:37:55 go version go1.17.6 linux/arm64 [Pipeline] } 18:37:55 $ docker stop --time=1 2c959a6e4713b60cf5301f83aa940d81b9974951312f098711693f229373137a 18:37:57 $ docker rm -f 2c959a6e4713b60cf5301f83aa940d81b9974951312f098711693f229373137a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:37:57 + docker inspect -f . ci-base-image-arm64 18:37:57 . [Pipeline] withDockerContainer 18:37:58 prd-ubuntu18.04-docker-arm64-4c-16g-3265 does not seem to be running inside a container 18:37:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/15 -v /w/workspace/device-snmp-go/15:/w/workspace/device-snmp-go/15:rw,z -v /w/workspace/device-snmp-go/15@tmp:/w/workspace/device-snmp-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:37:59 $ docker top 63b10d64aff8c7d568a223020f04b613f9b9564dc625f1cdceb75ddf58aa3ba5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:38:00 + make test 18:38:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:38:02 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:38:59 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:38:59 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 18:38:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:39:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:39:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:39:21 ./bin/test-attribution-txt.sh [Pipeline] echo 18:39:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:39:23 $ docker stop --time=1 63b10d64aff8c7d568a223020f04b613f9b9564dc625f1cdceb75ddf58aa3ba5 18:39:25 $ docker rm -f 63b10d64aff8c7d568a223020f04b613f9b9564dc625f1cdceb75ddf58aa3ba5 [Pipeline] // withDockerContainer [Pipeline] sh 18:39:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:39:26 Warning: overwriting stash ‘coverage-report’ 18:39:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:39:27 + ls -al . 18:39:27 total 172 18:39:27 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:39 . 18:39:27 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:35 .. 18:39:27 -rw-rw-r-- 1 jenkins jenkins 6 Jan 20 18:35 .dockerignore 18:39:27 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:35 .git 18:39:27 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:35 .github 18:39:27 -rw-rw-r-- 1 jenkins jenkins 262 Jan 20 18:35 .gitignore 18:39:27 -rw-rw-r-- 1 jenkins jenkins 6926 Jan 20 18:35 Attribution.txt 18:39:27 -rw-rw-r-- 1 jenkins jenkins 4401 Jan 20 18:35 CHANGELOG.md 18:39:27 -rw-rw-r-- 1 jenkins jenkins 1516 Jan 20 18:35 Dockerfile 18:39:27 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:35 GOVERNANCE.md 18:39:27 -rw-rw-r-- 1 jenkins jenkins 656 Jan 20 18:35 Jenkinsfile 18:39:27 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:35 LICENSE 18:39:27 -rw-rw-r-- 1 jenkins jenkins 1057 Jan 20 18:35 Makefile 18:39:27 -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 18:35 OWNERS.md 18:39:27 -rw-rw-r-- 1 jenkins jenkins 9073 Jan 20 18:35 README.md 18:39:27 -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 18:24 VERSION 18:39:27 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:35 bin 18:39:27 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:35 cmd 18:39:27 -rw-r--r-- 1 jenkins jenkins 7631 Jan 20 18:38 coverage.out 18:39:27 -rw-rw-r-- 1 jenkins jenkins 2820 Jan 20 18:35 go.mod 18:39:27 -rw-rw-r-- 1 jenkins jenkins 49501 Jan 20 18:35 go.sum 18:39:27 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:35 internal 18:39:27 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:35 snap 18:39:27 -rw-rw-r-- 1 jenkins jenkins 209 Jan 20 18:35 version.go [Pipeline] isUnix [Pipeline] sh 18:39:27 + 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=f2700d797dde70a27600e51c0b144607fa1919f0 --label arch=arm64 --label version=2.2.0-dev.5 . 18:39:28 Sending build context to Docker daemon 2.703MB 18:39:28 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:39:28 Step 2/24 : FROM ${BASE} AS builder 18:39:28 ---> a9b67c6535ea 18:39:28 Step 3/24 : ARG MAKE='make build' 18:39:28 ---> Running in 96e105f96eda 18:39:28 Removing intermediate container 96e105f96eda 18:39:28 ---> b626a7fded0b 18:39:28 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:39:29 ---> Running in 8332b3e23c57 18:39:29 Removing intermediate container 8332b3e23c57 18:39:29 ---> 580d20ff2866 18:39:29 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:39:29 ---> Running in 0d746975792e 18:39:29 Removing intermediate container 0d746975792e 18:39:29 ---> 832b2aabf15e 18:39:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:39:30 ---> Running in dc912968db0d 18:39:32 Removing intermediate container dc912968db0d 18:39:32 ---> d3a14e3c0f4e 18:39:32 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:32 ---> Running in de5929d2e3d6 18:39:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:39:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:39:35 OK: 224 MiB in 56 packages 18:39:36 Removing intermediate container de5929d2e3d6 18:39:36 ---> 5248f6bb9b0a 18:39:36 Step 8/24 : WORKDIR /device-snmp-go 18:39:36 ---> Running in e228920e5dec 18:39:36 Removing intermediate container e228920e5dec 18:39:36 ---> aad53be889e0 18:39:36 Step 9/24 : COPY go.mod vendor* ./ 18:39:37 ---> a411efcbfea7 18:39:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:37 ---> Running in bf3d308f9e4c 18:39:39 Removing intermediate container bf3d308f9e4c 18:39:39 ---> 73857f156eff 18:39:39 Step 11/24 : COPY . . 18:39:40 ---> eb5112e9feb0 18:39:40 Step 12/24 : RUN ${MAKE} 18:39:40 ---> Running in 7882ecccc5fc 18:39:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.5" -o cmd/device-snmp ./cmd 18:40:28 Removing intermediate container 7882ecccc5fc 18:40:28 ---> 52012922ba08 18:40:28 Step 13/24 : FROM alpine:3.14 18:40:28 3.14: Pulling from library/alpine 18:40:28 be307f383ecc: Pulling fs layer 18:40:28 be307f383ecc: Verifying Checksum 18:40:28 be307f383ecc: Download complete 18:40:28 be307f383ecc: Pull complete 18:40:28 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:40:28 Status: Downloaded newer image for alpine:3.14 18:40:28 ---> 5b8b7b635229 18:40:28 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 18:40:28 ---> Running in 3b5c848e7972 18:40:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:40:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:40:29 (1/6) Installing dumb-init (1.2.5-r1) 18:40:29 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:40:29 (3/6) Installing libsodium (1.0.18-r0) 18:40:29 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:40:29 (5/6) Installing libzmq (4.3.4-r0) 18:40:29 (6/6) Installing zeromq (4.3.4-r0) 18:40:29 Executing busybox-1.33.1-r6.trigger 18:40:29 OK: 8 MiB in 20 packages 18:40:30 Removing intermediate container 3b5c848e7972 18:40:30 ---> 15cb29dc1098 18:40:30 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:40:31 ---> 2dbb5c33e972 18:40:31 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:40:31 ---> 6072ab2a25c4 18:40:31 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:40:32 ---> 0976cd6bfb99 18:40:32 Step 18/24 : EXPOSE 59993 18:40:32 ---> Running in f35fce1ce322 18:40:32 Removing intermediate container f35fce1ce322 18:40:32 ---> 993cbd74dd9a 18:40:32 Step 19/24 : EXPOSE 161 18:40:33 ---> Running in 7138b65c816d 18:40:33 Removing intermediate container 7138b65c816d 18:40:33 ---> 670db28c8b9f 18:40:33 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:40:33 ---> Running in cac907052744 18:40:34 Removing intermediate container cac907052744 18:40:34 ---> 3eaff393b683 18:40:34 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:40:34 ---> Running in ce9b177cbc08 18:40:34 Removing intermediate container ce9b177cbc08 18:40:34 ---> a001f6355745 18:40:34 Step 22/24 : LABEL arch=arm64 18:40:34 ---> Running in 1c89a8c539eb 18:40:34 Removing intermediate container 1c89a8c539eb 18:40:34 ---> 516ac028cafb 18:40:34 Step 23/24 : LABEL git_sha=f2700d797dde70a27600e51c0b144607fa1919f0 18:40:34 ---> Running in db96afdd97db 18:40:35 Removing intermediate container db96afdd97db 18:40:35 ---> 7b1f154e2186 18:40:35 Step 24/24 : LABEL version=2.2.0-dev.5 18:40:35 ---> Running in c122b41199b6 18:40:35 Removing intermediate container c122b41199b6 18:40:35 ---> 6345fc8940b8 18:40:35 [Warning] One or more build-args [ARCH] were not consumed 18:40:35 Successfully built 6345fc8940b8 18:40:35 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 18:40:35 provisioning config files... 18:40:35 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/15@tmp/config1238500057278555052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:36 ---> docker-login.sh 18:40:36 nexus3.edgexfoundry.org:10001 18:40:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:36 Configure a credential helper to remove this warning. See 18:40:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:36 18:40:36 Login Succeeded 18:40:36 nexus3.edgexfoundry.org:10002 18:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:37 Configure a credential helper to remove this warning. See 18:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:37 18:40:37 Login Succeeded 18:40:37 nexus3.edgexfoundry.org:10003 18:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:37 Configure a credential helper to remove this warning. See 18:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:37 18:40:37 Login Succeeded 18:40:37 nexus3.edgexfoundry.org:10004 18:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:37 Configure a credential helper to remove this warning. See 18:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:37 18:40:37 Login Succeeded 18:40:37 docker.io 18:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:38 Configure a credential helper to remove this warning. See 18:40:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:38 18:40:38 Login Succeeded 18:40:38 ---> docker-login.sh ends [Pipeline] } 18:40:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:40:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:38 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 18:40:38 f2700d797dde70a27600e51c0b144607fa1919f0 18:40:38 latest 18:40:38 2.2.0-dev.5 18:40:38 f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5 18:40:38 main 18:40:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:40:39 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:f2700d797dde70a27600e51c0b144607fa1919f0 [Pipeline] isUnix [Pipeline] sh 18:40:39 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:f2700d797dde70a27600e51c0b144607fa1919f0 18:40:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:40:39 37d315786704: Preparing 18:40:39 5d835c1f7036: Preparing 18:40:39 a0f9a5d9a080: Preparing 18:40:39 345c6aca9aac: Preparing 18:40:39 62170e181a92: Preparing 18:40:39 62170e181a92: Layer already exists 18:40:39 5d835c1f7036: Pushed 18:40:39 37d315786704: Pushed 18:40:40 345c6aca9aac: Pushed 18:40:42 a0f9a5d9a080: Pushed 18:40:42 f2700d797dde70a27600e51c0b144607fa1919f0: digest: sha256:d414f40589ecb8d94abf704725f27526885b4a0ff69d1c0d1231e9cb9ad94146 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:40:43 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:40:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 18:40:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:40:43 37d315786704: Preparing 18:40:43 5d835c1f7036: Preparing 18:40:43 a0f9a5d9a080: Preparing 18:40:43 345c6aca9aac: Preparing 18:40:43 62170e181a92: Preparing 18:40:43 37d315786704: Layer already exists 18:40:43 345c6aca9aac: Layer already exists 18:40:43 a0f9a5d9a080: Layer already exists 18:40:43 5d835c1f7036: Layer already exists 18:40:43 62170e181a92: Layer already exists 18:40:43 latest: digest: sha256:d414f40589ecb8d94abf704725f27526885b4a0ff69d1c0d1231e9cb9ad94146 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:40:44 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:40:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.5 18:40:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:40:44 37d315786704: Preparing 18:40:44 5d835c1f7036: Preparing 18:40:44 a0f9a5d9a080: Preparing 18:40:44 345c6aca9aac: Preparing 18:40:44 62170e181a92: Preparing 18:40:44 62170e181a92: Layer already exists 18:40:44 345c6aca9aac: Layer already exists 18:40:44 5d835c1f7036: Layer already exists 18:40:44 a0f9a5d9a080: Layer already exists 18:40:44 37d315786704: Layer already exists 18:40:44 2.2.0-dev.5: digest: sha256:d414f40589ecb8d94abf704725f27526885b4a0ff69d1c0d1231e9cb9ad94146 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:40:44 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 18:40:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5 18:40:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:40:45 37d315786704: Preparing 18:40:45 5d835c1f7036: Preparing 18:40:45 a0f9a5d9a080: Preparing 18:40:45 345c6aca9aac: Preparing 18:40:45 62170e181a92: Preparing 18:40:45 62170e181a92: Layer already exists 18:40:45 a0f9a5d9a080: Layer already exists 18:40:45 5d835c1f7036: Layer already exists 18:40:45 37d315786704: Layer already exists 18:40:45 345c6aca9aac: Layer already exists 18:40:45 f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5: digest: sha256:d414f40589ecb8d94abf704725f27526885b4a0ff69d1c0d1231e9cb9ad94146 size: 1365 [Pipeline] isUnix [Pipeline] sh 18:40:45 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 18:40:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 18:40:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:40:46 37d315786704: Preparing 18:40:46 5d835c1f7036: Preparing 18:40:46 a0f9a5d9a080: Preparing 18:40:46 345c6aca9aac: Preparing 18:40:46 62170e181a92: Preparing 18:40:46 62170e181a92: Layer already exists 18:40:46 37d315786704: Layer already exists 18:40:46 5d835c1f7036: Layer already exists 18:40:46 345c6aca9aac: Layer already exists 18:40:46 a0f9a5d9a080: Layer already exists 18:40:46 main: digest: sha256:d414f40589ecb8d94abf704725f27526885b4a0ff69d1c0d1231e9cb9ad94146 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:40:46 ===================================================== [Pipeline] echo 18:40:46 taggedImages: 18:40:46 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:f2700d797dde70a27600e51c0b144607fa1919f0 18:40:46 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 18:40:46 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.5 18:40:46 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:f2700d797dde70a27600e51c0b144607fa1919f0-2.2.0-dev.5 18:40:46 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:40:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:40:46 18:40:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:40:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:40:47 arm64: Pulling from edgex-lftools-log-publisher 18:40:47 448f6bf000e3: Pulling fs layer 18:40:47 f757da607395: Pulling fs layer 18:40:47 05883995daec: Pulling fs layer 18:40:47 8603b9c90790: Pulling fs layer 18:40:47 1560dd03e051: Pulling fs layer 18:40:47 27f5ce0e4adf: Pulling fs layer 18:40:47 8603b9c90790: Waiting 18:40:47 c2d8d7efcc4b: Pulling fs layer 18:40:47 1560dd03e051: Waiting 18:40:47 27f5ce0e4adf: Waiting 18:40:47 c2d8d7efcc4b: Waiting 18:40:47 f757da607395: Verifying Checksum 18:40:47 f757da607395: Download complete 18:40:47 8603b9c90790: Verifying Checksum 18:40:47 8603b9c90790: Download complete 18:40:47 1560dd03e051: Verifying Checksum 18:40:47 1560dd03e051: Download complete 18:40:47 27f5ce0e4adf: Verifying Checksum 18:40:47 27f5ce0e4adf: Download complete 18:40:47 05883995daec: Verifying Checksum 18:40:47 05883995daec: Download complete 18:40:48 448f6bf000e3: Verifying Checksum 18:40:48 448f6bf000e3: Download complete 18:40:50 c2d8d7efcc4b: Verifying Checksum 18:40:50 c2d8d7efcc4b: Download complete 18:40:52 448f6bf000e3: Pull complete 18:40:52 f757da607395: Pull complete 18:40:53 05883995daec: Pull complete 18:40:54 8603b9c90790: Pull complete 18:40:55 1560dd03e051: Pull complete 18:40:55 27f5ce0e4adf: Pull complete 18:41:13 c2d8d7efcc4b: Pull complete 18:41:13 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:41:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:41:13 prd-ubuntu18.04-docker-arm64-4c-16g-3265 does not seem to be running inside a container 18:41:14 $ 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/15 -v /w/workspace/device-snmp-go/15:/w/workspace/device-snmp-go/15:rw,z -v /w/workspace/device-snmp-go/15@tmp:/w/workspace/device-snmp-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:41:17 $ docker top 25e239c09309429131f524b9b5fadfb7eb360a46b6eaf6cff675321ead7df55b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:17 ---> job-cost.sh 18:41:17 lf-activate-venv: SKIPPING 18:41:17 INFO: No Stack... 18:41:18 INFO: Retrieving Pricing Info for: v3-standard-4 18:41:18 INFO: Archiving Costs [Pipeline] sh 18:41:19 + cat /w/workspace/device-snmp-go/15/archives/cost.csv 18:41:19 + cut -d, -f6 [Pipeline] lock 18:41:19 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-15-stack-cost] 18:41:19 Resource [jenkins-edgexfoundry-device-snmp-go-main-15-stack-cost] did not exist. Created. 18:41:19 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:41:20 /w/workspace/device-snmp-go/15@tmp/durable-c9f4a4a2/script.sh: 1: /w/workspace/device-snmp-go/15@tmp/durable-c9f4a4a2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:41:20 + echo total: 0.10999999940395355 [Pipeline] stash 18:41:20 Warning: overwriting stash ‘stack-cost’ 18:41:20 Stashed 1 file(s) [Pipeline] } 18:41:20 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 18:41:20 $ docker stop --time=1 25e239c09309429131f524b9b5fadfb7eb360a46b6eaf6cff675321ead7df55b 18:41:22 $ docker rm -f 25e239c09309429131f524b9b5fadfb7eb360a46b6eaf6cff675321ead7df55b [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 18:41:23 provisioning config files... 18:41:23 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1741025222812832733tmp [Pipeline] { [Pipeline] sh 18:41:23 + set +x 18:41:23 + curl -s https://codecov.io/bash 18:41:23 + bash -s -- 18:41:23 18:41:23 _____ _ 18:41:23 / ____| | | 18:41:23 | | ___ __| | ___ ___ _____ __ 18:41:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:41:23 | |___| (_) | (_| | __/ (_| (_) \ V / 18:41:23 \_____\___/ \__,_|\___|\___\___/ \_/ 18:41:23 Bash-1.0.6 18:41:23 18:41:23 18:41:23 ==> git version 2.24.4 found 18:41:23 ==> 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 18:41:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:41:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:41:23 ==> Jenkins CI detected. 18:41:23 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 18:41:23 project root: . 18:41:23 --> token set from env 18:41:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:41:23 ==> Running gcov in . (disable via -X gcov) 18:41:23 ==> Python coveragepy not found 18:41:23 ==> Searching for coverage reports in: 18:41:23 + . 18:41:23 -> Found 1 reports 18:41:23 ==> Detecting git/mercurial file structure 18:41:23 ==> Reading reports 18:41:23 + ./coverage.out bytes=7631 18:41:23 ==> Appending adjustments 18:41:23 https://docs.codecov.io/docs/fixing-reports 18:41:23 + Found adjustments 18:41:23 ==> Gzipping contents 18:41:23 4.0K /tmp/codecov.mTdQlQ.gz 18:41:23 ==> Uploading reports 18:41:23 url: https://codecov.io 18:41:23 query: branch=main&commit=f2700d797dde70a27600e51c0b144607fa1919f0&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:41:23 -> Pinging Codecov 18:41:23 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=f2700d797dde70a27600e51c0b144607fa1919f0&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:41:23 -> Uploading to 18:41:23 https://storage.googleapis.com/codecov/v4/raw/2022-01-20/6C56EA5C29638FB4528AC87E60AF5AE0/f2700d797dde70a27600e51c0b144607fa1919f0/8a30c372-3dbc-47c4-a0d9-2394ecdd8e65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T184123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bdb3619e6ef699e2e6f9b94bdece1c7c655f3e98a6ef1ffa477bb27b566de02b 18:41:23 % Total % Received % Xferd Average Speed Time Time Time Current 18:41:23 Dload Upload Total Spent Left Speed 18:41:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 5089 --:--:-- --:--:-- --:--:-- 5106 18:41:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/f2700d797dde70a27600e51c0b144607fa1919f0 [Pipeline] } 18:41:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:41:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:41:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:41:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:41:24 18:41:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:41:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:41:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:41:25 188c0c94c7c5: Pulling fs layer 18:41:25 0ef7d3d256c8: Pulling fs layer 18:41:25 de9db76c5a1d: Pulling fs layer 18:41:25 0eba1c9be4d2: Pulling fs layer 18:41:25 0d57e429df01: Pulling fs layer 18:41:25 4e4be7b47b0d: Pulling fs layer 18:41:25 e1f770b5df2f: Pulling fs layer 18:41:25 85a0685a4137: Pulling fs layer 18:41:25 4e4be7b47b0d: Waiting 18:41:25 e1f770b5df2f: Waiting 18:41:25 85a0685a4137: Waiting 18:41:25 0d57e429df01: Waiting 18:41:25 de9db76c5a1d: Verifying Checksum 18:41:25 de9db76c5a1d: Download complete 18:41:25 0ef7d3d256c8: Verifying Checksum 18:41:25 0ef7d3d256c8: Download complete 18:41:25 0d57e429df01: Verifying Checksum 18:41:25 0d57e429df01: Download complete 18:41:25 4e4be7b47b0d: Verifying Checksum 18:41:25 4e4be7b47b0d: Download complete 18:41:25 188c0c94c7c5: Verifying Checksum 18:41:25 188c0c94c7c5: Download complete 18:41:25 e1f770b5df2f: Verifying Checksum 18:41:25 e1f770b5df2f: Download complete 18:41:25 188c0c94c7c5: Pull complete 18:41:25 0ef7d3d256c8: Pull complete 18:41:25 de9db76c5a1d: Pull complete 18:41:25 0eba1c9be4d2: Verifying Checksum 18:41:25 0eba1c9be4d2: Download complete 18:41:26 85a0685a4137: Verifying Checksum 18:41:26 85a0685a4137: Download complete 18:41:29 0eba1c9be4d2: Pull complete 18:41:29 0d57e429df01: Pull complete 18:41:29 4e4be7b47b0d: Pull complete 18:41:30 e1f770b5df2f: Pull complete 18:41:34 85a0685a4137: Pull complete 18:41:34 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:41:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:41:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:41:34 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:41:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:41:36 $ docker top aad6eef2f44e8f9540ec1b101e9213b4a55fde6515aac93120aed95b286dee18 -eo pid,comm [Pipeline] { [Pipeline] echo 18:41:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:41:36 + set -o pipefail 18:41:36 + snyk monitor '--org=edgex-jenkins' 18:41:43 18:41:43 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 18:41:43 18:41:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/70fca50e-fdf8-40af-9be8-33ff1c78e856 18:41:43 18:41:43 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:41:43 18:41:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:41:43 18:41:43 [Pipeline] } 18:41:43 $ docker stop --time=1 aad6eef2f44e8f9540ec1b101e9213b4a55fde6515aac93120aed95b286dee18 18:41:45 $ docker rm -f aad6eef2f44e8f9540ec1b101e9213b4a55fde6515aac93120aed95b286dee18 [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 18:41:45 + git log --format=format:%s -1 f2700d797dde70a27600e51c0b144607fa1919f0 [Pipeline] sh 18:41:46 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:41:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:41:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:41:46 . [Pipeline] withDockerContainer 18:41:46 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:41:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:41:46 $ docker top 2e9cef1cf7f3620a24ba17773a134a3993154cee97d402d5f23418ce868e2de7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:46 [ssh-agent] Looking for ssh-agent implementation... 18:41:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:47 $ docker exec 2e9cef1cf7f3620a24ba17773a134a3993154cee97d402d5f23418ce868e2de7 ssh-agent 18:41:47 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBAhDci/agent.14 18:41:47 SSH_AGENT_PID=21 18:41:47 Running ssh-add (command line suppressed) 18:41:47 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11647273848203144.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11647273848203144.key) 18:41:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:47 + git semver tag 18:41:47 # -> Open(): unable to determine branch for HEAD 18:41:47 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 18:41:47 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 18:41:47 # $SEMVER_REMOTE_NAME = origin 18:41:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:41:47 # $SEMVER_USER_NAME = edgex-jenkins 18:41:47 # $SEMVER_BRANCH = main 18:41:47 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 18:41:47 # f2700d797dde70a27600e51c0b144607fa1919f0 HEAD 18:41:47 # -> Force: false 18:41:47 # 2d09ee9ebca17ee66a56004e978fbd705ec3fdc7 refs/tags/v2.2.0-dev.5 [Pipeline] } 18:41:47 $ docker exec --env ******** --env ******** 2e9cef1cf7f3620a24ba17773a134a3993154cee97d402d5f23418ce868e2de7 ssh-agent -k 18:41:47 unset SSH_AUTH_SOCK; 18:41:47 unset SSH_AGENT_PID; 18:41:47 echo Agent pid 21 killed; 18:41:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:47 + git semver [Pipeline] } 18:41:47 $ docker stop --time=1 2e9cef1cf7f3620a24ba17773a134a3993154cee97d402d5f23418ce868e2de7 18:41:49 $ docker rm -f 2e9cef1cf7f3620a24ba17773a134a3993154cee97d402d5f23418ce868e2de7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:41:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:41:49 18:41:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:41:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:41:49 0.23.1-centos7: Pulling from edgex-lftools 18:41:49 ab5ef0e58194: Pulling fs layer 18:41:49 9712f1f96733: Pulling fs layer 18:41:49 63f879dbbcfc: Pulling fs layer 18:41:49 0d9ebad4ef96: Pulling fs layer 18:41:49 e9a5061849ea: Pulling fs layer 18:41:49 d747dcd14b5f: Pulling fs layer 18:41:49 2de7ff778b66: Pulling fs layer 18:41:49 0d9ebad4ef96: Waiting 18:41:49 e9a5061849ea: Waiting 18:41:49 d747dcd14b5f: Waiting 18:41:49 2de7ff778b66: Waiting 18:41:49 9712f1f96733: Verifying Checksum 18:41:49 9712f1f96733: Download complete 18:41:50 0d9ebad4ef96: Verifying Checksum 18:41:50 0d9ebad4ef96: Download complete 18:41:50 63f879dbbcfc: Verifying Checksum 18:41:50 63f879dbbcfc: Download complete 18:41:50 d747dcd14b5f: Verifying Checksum 18:41:50 d747dcd14b5f: Download complete 18:41:50 e9a5061849ea: Verifying Checksum 18:41:50 e9a5061849ea: Download complete 18:41:50 ab5ef0e58194: Verifying Checksum 18:41:50 ab5ef0e58194: Download complete 18:41:50 2de7ff778b66: Verifying Checksum 18:41:50 2de7ff778b66: Download complete 18:41:53 ab5ef0e58194: Pull complete 18:41:53 9712f1f96733: Pull complete 18:41:54 63f879dbbcfc: Pull complete 18:41:58 0d9ebad4ef96: Pull complete 18:41:58 e9a5061849ea: Pull complete 18:41:58 d747dcd14b5f: Pull complete 18:42:00 2de7ff778b66: Pull complete 18:42:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:42:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:42:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:42:00 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:42:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:42:03 $ docker top e511f791240220a1f68beb8cea00686301afcde65ae217159859efca55b4204a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:42:03 provisioning config files... 18:42:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3689377049512136499tmp 18:42:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7538283559669399171tmp 18:42:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3759544672358686066tmp [Pipeline] { [Pipeline] echo 18:42:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:42:03 ---> sigul-configuration.sh 18:42:03 gpg: directory `/root/.gnupg' created 18:42:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:42:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:42:03 gpg: keyring `/root/.gnupg/secring.gpg' created 18:42:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:42:03 gpg: CAST5 encrypted data 18:42:03 gpg: encrypted with 1 passphrase 18:42:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:42:03 + mkdir /home/jenkins 18:42:03 + mkdir /home/jenkins/sigul [Pipeline] sh 18:42:04 + 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 18:42:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:42:04 ---> sigul-install.sh 18:42:04 Sigul already installed; skipping installation. [Pipeline] sh 18:42:04 + git tag --list 18:42:04 1.0.0 18:42:04 v0.0.0 18:42:04 v1.1.0 18:42:04 v1.1.1 18:42:04 v1.2.2 18:42:04 v1.3.0 18:42:04 v1.3.1 18:42:04 v2.0.0 18:42:04 v2.0.1-dev.1 18:42:04 v2.0.1-dev.2 18:42:04 v2.0.1-dev.3 18:42:04 v2.0.1-dev.4 18:42:04 v2.0.1-dev.5 18:42:04 v2.0.1-dev.6 18:42:04 v2.1.0 18:42:04 v2.2.0-dev.1 18:42:04 v2.2.0-dev.2 18:42:04 v2.2.0-dev.3 18:42:04 v2.2.0-dev.4 18:42:04 v2.2.0-dev.5 [Pipeline] sh 18:42:04 + lftools sign git-tag v2.2.0-dev.5 18:42:05 Signing Git tag with Sigul... 18:42:05 Signing v2.2.0-dev.5 [Pipeline] echo 18:42:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:42:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:42:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:42:06 $ docker stop --time=1 e511f791240220a1f68beb8cea00686301afcde65ae217159859efca55b4204a 18:42:07 $ docker rm -f e511f791240220a1f68beb8cea00686301afcde65ae217159859efca55b4204a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:42:08 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:42:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:42:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:08 . [Pipeline] withDockerContainer 18:42:08 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:42:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:42:08 $ docker top bcad3fac021b63fea8f9562eb292cfafa8e4fd8e29fbfb992a1bbee42c5c267f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:08 [ssh-agent] Looking for ssh-agent implementation... 18:42:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:09 $ docker exec bcad3fac021b63fea8f9562eb292cfafa8e4fd8e29fbfb992a1bbee42c5c267f ssh-agent 18:42:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkhgAJH/agent.14 18:42:09 SSH_AGENT_PID=21 18:42:09 Running ssh-add (command line suppressed) 18:42:09 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6756790799955495349.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6756790799955495349.key) 18:42:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:09 + git semver bump pre 18:42:09 # -> Open(): unable to determine branch for HEAD 18:42:09 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 18:42:09 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 18:42:09 # $SEMVER_REMOTE_NAME = origin 18:42:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:09 # $SEMVER_USER_NAME = edgex-jenkins 18:42:09 # $SEMVER_BRANCH = main 18:42:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 18:42:09 2.2.0-dev.6 [Pipeline] } 18:42:09 $ docker exec --env ******** --env ******** bcad3fac021b63fea8f9562eb292cfafa8e4fd8e29fbfb992a1bbee42c5c267f ssh-agent -k 18:42:09 unset SSH_AUTH_SOCK; 18:42:09 unset SSH_AGENT_PID; 18:42:09 echo Agent pid 21 killed; 18:42:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:09 + git semver [Pipeline] } 18:42:10 $ docker stop --time=1 bcad3fac021b63fea8f9562eb292cfafa8e4fd8e29fbfb992a1bbee42c5c267f 18:42:11 $ docker rm -f bcad3fac021b63fea8f9562eb292cfafa8e4fd8e29fbfb992a1bbee42c5c267f [Pipeline] // withDockerContainer [Pipeline] sh 18:42:11 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:42:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:42:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:11 . [Pipeline] withDockerContainer 18:42:11 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:42:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:42:12 $ docker top 733556bb2c542c6b1f14d556ab56a5bc89ce65d44b0064f52b2d9d2eff9e8989 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:12 [ssh-agent] Looking for ssh-agent implementation... 18:42:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:12 $ docker exec 733556bb2c542c6b1f14d556ab56a5bc89ce65d44b0064f52b2d9d2eff9e8989 ssh-agent 18:42:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmoCgGd/agent.13 18:42:12 SSH_AGENT_PID=19 18:42:12 Running ssh-add (command line suppressed) 18:42:12 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7264260005932317643.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7264260005932317643.key) 18:42:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:12 + git semver push 18:42:12 # -> Open(): unable to determine branch for HEAD 18:42:12 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 18:42:12 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 18:42:12 # $SEMVER_REMOTE_NAME = origin 18:42:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:12 # $SEMVER_USER_NAME = edgex-jenkins 18:42:12 # $SEMVER_BRANCH = main 18:42:12 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 18:42:14 $ docker exec --env ******** --env ******** 733556bb2c542c6b1f14d556ab56a5bc89ce65d44b0064f52b2d9d2eff9e8989 ssh-agent -k 18:42:14 unset SSH_AUTH_SOCK; 18:42:14 unset SSH_AGENT_PID; 18:42:14 echo Agent pid 19 killed; 18:42:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:14 + git semver [Pipeline] } 18:42:14 $ docker stop --time=1 733556bb2c542c6b1f14d556ab56a5bc89ce65d44b0064f52b2d9d2eff9e8989 18:42:15 $ docker rm -f 733556bb2c542c6b1f14d556ab56a5bc89ce65d44b0064f52b2d9d2eff9e8989 [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 18:42:16 + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' 18:42:16 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 18:42:16 total 8 18:42:16 drwxr-xr-x. 3 root root 34 Jan 20 18:26 . 18:42:16 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:42 .. 18:42:16 drwxr-xr-x. 2 root root 6 Jan 20 18:26 cost 18:42:16 -rw-r--r--. 1 root root 84 Jan 20 18:26 cost.csv 18:42:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 18:42:16 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 18:42:16 total 8 18:42:16 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:26 . 18:42:16 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:42 .. 18:42:16 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:26 cost 18:42:16 -rw-r--r--. 1 jenkins jenkins 84 Jan 20 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:42:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:42:17 ---> package-listing.sh 18:42:17 ++ facter osfamily 18:42:17 ++ tr '[:upper:]' '[:lower:]' 18:42:17 + OS_FAMILY=redhat 18:42:17 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 18:42:17 + START_PACKAGES=/tmp/packages_start.txt 18:42:17 + END_PACKAGES=/tmp/packages_end.txt 18:42:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:42:17 + PACKAGES=/tmp/packages_start.txt 18:42:17 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 18:42:17 + PACKAGES=/tmp/packages_end.txt 18:42:17 + case "${OS_FAMILY}" in 18:42:17 + rpm -qa 18:42:17 + sort 18:42:18 + '[' -f /tmp/packages_start.txt ']' 18:42:18 + '[' -f /tmp/packages_end.txt ']' 18:42:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:42:18 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 18:42:18 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 18:42:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 18:42:18 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 18:42:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:42:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:19 . [Pipeline] withDockerContainer 18:42:19 prd-centos7-docker-4c-2g-2828 does not seem to be running inside a container 18:42:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:42:19 $ docker top 28efb3cdf3f9b51c37178e7bee2302d93c5719f96355f4a470423c4dda749494 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:19 + touch /tmp/pre-build-complete [Pipeline] sh 18:42:19 + mkdir -p /var/log/sysstat [Pipeline] sh 18:42:20 + ls /var/log/sa-host 18:42:20 + sadf -c /var/log/sa-host/sa17 18:42:20 file_magic: OK 18:42:20 HZ: Using current value: 100 18:42:20 file_header: OK 18:42:20 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 18:42:20 Statistics: 18:42:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:42:20 File successfully converted to sysstat format version 12.0.3 18:42:20 + sadf -c /var/log/sa-host/sa20 18:42:20 file_magic: OK 18:42:20 HZ: Using current value: 100 18:42:20 file_header: OK 18:42:20 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 18:42:20 Statistics: 18:42:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:42:20 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:20 provisioning config files... 18:42:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7716520646301402206tmp [Pipeline] { [Pipeline] echo 18:42:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:42:20 ---> create-netrc.sh [Pipeline] } 18:42:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:42:21 ---> python-tools-install.sh [Pipeline] echo 18:42:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:42:21 ---> sudo-logs.sh 18:42:21 Archiving 'sudo' log.. 18:42:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-2828.novalocal: Name or service not known 18:42:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-2828.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:42:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:42:21 ---> job-cost.sh 18:42:21 lf-activate-venv: SKIPPING 18:42:21 DEBUG: total: 0.05999999865889549 18:42:21 INFO: Retrieving Stack Cost... 18:42:22 INFO: Retrieving Pricing Info for: v3-standard-2 18:42:22 INFO: Archiving Costs [Pipeline] echo 18:42:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:42:22 ---> logs-deploy.sh 18:42:22 lf-activate-venv: SKIPPING 18:42:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/15 18:42:22 INFO: archiving workspace using pattern(s): 18:42:23 Archives upload complete. 18:42:23 INFO: archiving logs to Nexus