Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 42a81012aee9d0f4741172f85aabccffc17c1488 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9248795206389064143.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8876541285247667225.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4994217832325558230.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4662681080465034230.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9853788432950353689.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-95’ Running on prd-centos7-docker-4c-2g-98 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-snmp-go_main@tmp/jenkins-gitclient-ssh1463957585744292838.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 42a81012aee9d0f4741172f85aabccffc17c1488 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42a81012aee9d0f4741172f85aabccffc17c1488 # timeout=10 Commit message: "refactor(snap): remove obsolete passthrough usage" > git rev-list --no-walk f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:18:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:18:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:18:00 ========================================================= 14:18:00 EdgeX Global Pipelines Version Info 14:18:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:18:01 ------------------- 14:18:01 stable info: 14:18:01 ------------------- 14:18:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:18:01 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 14:18:01 Message: update stable to v1.0.217 14:18:02 ------------------- 14:18:02 experimental info: 14:18:02 ------------------- 14:18:02 Commited By: **** collab-it+edgex@linuxfoundation.org 14:18:02 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 14:18:02 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:18:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42a8101 [Pipeline] echo 14:18:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:18:03 provisioning config files... 14:18:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8483443976907662403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:18:03 ---> docker-login.sh 14:18:03 nexus3.edgexfoundry.org:10001 14:18:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:03 Configure a credential helper to remove this warning. See 14:18:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:03 14:18:03 Login Succeeded 14:18:03 nexus3.edgexfoundry.org:10002 14:18:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:03 Configure a credential helper to remove this warning. See 14:18:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:03 14:18:03 Login Succeeded 14:18:03 nexus3.edgexfoundry.org:10003 14:18:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:04 Configure a credential helper to remove this warning. See 14:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:04 14:18:04 Login Succeeded 14:18:04 nexus3.edgexfoundry.org:10004 14:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:04 Configure a credential helper to remove this warning. See 14:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:04 14:18:04 Login Succeeded 14:18:04 docker.io 14:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:04 Configure a credential helper to remove this warning. See 14:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:04 14:18:04 Login Succeeded 14:18:04 ---> docker-login.sh ends [Pipeline] } 14:18:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:18:05 + git rev-list -1 --merges 42a81012aee9d0f4741172f85aabccffc17c1488~1..42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] echo 14:18:05 -----------> git rev-list -1 --merges 42a81012aee9d0f4741172f85aabccffc17c1488~1..42a81012aee9d0f4741172f85aabccffc17c1488 42a81012aee9d0f4741172f85aabccffc17c1488 [false] [Pipeline] sh 14:18:05 + git log --format=format:%s -1 42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] echo 14:18:05 ========================================================= 14:18:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:18:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:18:05 + git log --format=format:%s -1 42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] echo 14:18:05 [semverPrep] GIT_COMMIT: 42a81012aee9d0f4741172f85aabccffc17c1488, Commit Message: refactor(snap): remove obsolete passthrough usage [Pipeline] echo 14:18:05 [semverPrep] This is not a build commit. [Pipeline] sh 14:18:06 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:18:06 + grep -v github /etc/ssh/ssh_known_hosts 14:18:06 + '[' -e /tmp/ssh_known_hosts ']' 14:18:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:18:06 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 14:18:06 + sudo tee -a /etc/ssh/ssh_known_hosts 14:18:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:18:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:18:06 14:18:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:18:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:18:06 latest: Pulling from edgex-devops/git-semver 14:18:06 a0d0a0d46f8b: Pulling fs layer 14:18:06 3e5f54012d9b: Pulling fs layer 14:18:06 4c7163046ea9: Pulling fs layer 14:18:06 0c2d73faf560: Pulling fs layer 14:18:06 0c2d73faf560: Waiting 14:18:06 3e5f54012d9b: Download complete 14:18:06 a0d0a0d46f8b: Verifying Checksum 14:18:06 a0d0a0d46f8b: Download complete 14:18:06 4c7163046ea9: Verifying Checksum 14:18:06 4c7163046ea9: Download complete 14:18:06 0c2d73faf560: Verifying Checksum 14:18:06 0c2d73faf560: Download complete 14:18:07 a0d0a0d46f8b: Pull complete 14:18:07 3e5f54012d9b: Pull complete 14:18:07 4c7163046ea9: Pull complete 14:18:07 0c2d73faf560: Pull complete 14:18:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:18:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:18:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:18:07 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 14:18:07 $ 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 14:18:08 $ docker top adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:18:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:18:08 [ssh-agent] Looking for ssh-agent implementation... 14:18:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:18:08 $ docker exec adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 ssh-agent 14:18:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmNNHmH/agent.14 14:18:08 SSH_AGENT_PID=20 14:18:08 Running ssh-add (command line suppressed) 14:18:08 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2272813641000076058.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2272813641000076058.key) 14:18:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:18:08 + git tag --points-at HEAD [Pipeline] } 14:18:08 $ docker exec --env ******** --env ******** adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 ssh-agent -k 14:18:09 unset SSH_AUTH_SOCK; 14:18:09 unset SSH_AGENT_PID; 14:18:09 echo Agent pid 20 killed; 14:18:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:18:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:18:09 [ssh-agent] Looking for ssh-agent implementation... 14:18:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:18:09 $ docker exec adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 ssh-agent 14:18:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKdLfJl/agent.53 14:18:09 SSH_AGENT_PID=59 14:18:09 Running ssh-add (command line suppressed) 14:18:09 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3126327695315990097.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3126327695315990097.key) 14:18:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:18:09 + git semver init 14:18:09 # -> Open(): unable to determine branch for HEAD 14:18:09 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 14:18:09 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 14:18:09 # $SEMVER_REMOTE_NAME = origin 14:18:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:18:09 # $SEMVER_USER_NAME = edgex-jenkins 14:18:09 # $SEMVER_BRANCH = main 14:18:09 # $SEMVER_TEMP = /tmp/semver-031218726 14:18:09 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 14:18:10 # '/tmp/semver-031218726' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 14:18:10 # -> Force: false 14:18:10 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 14:18:10 $ docker exec --env ******** --env ******** adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 ssh-agent -k 14:18:10 unset SSH_AUTH_SOCK; 14:18:10 unset SSH_AGENT_PID; 14:18:10 echo Agent pid 59 killed; 14:18:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:18:11 + git semver [Pipeline] } 14:18:11 $ docker stop --time=1 adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 14:18:12 $ docker rm -f adbd776105456bd00fc5b12446be22efffd1eab68635aca61b0a2872b677a393 [Pipeline] // withDockerContainer [Pipeline] sh 14:18:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:18:12 Stashed 1 file(s) [Pipeline] echo 14:18:12 [edgeXSemver]: initialized semver on version 2.2.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:18:28 Still waiting to schedule task 14:18:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:18:28 Still waiting to schedule task 14:18:28 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-96’ 14:19:33 Running on prd-centos7-docker-4c-2g-100 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 14:19:33 Running in /w/workspace/device-snmp-go/11 [Pipeline] { [Pipeline] checkout 14:19:33 Selected Git installation does not exist. Using Default 14:19:33 The recommended git tool is: NONE 14:19:34 using credential edgex-jenkins-ssh 14:19:34 Cloning the remote Git repository 14:19:34 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 14:19:34 > git init /w/workspace/device-snmp-go/11 # timeout=10 14:19:34 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 14:19:34 > git --version # timeout=10 14:19:34 > git --version # 'git version 2.24.4' 14:19:34 using GIT_SSH to set credentials SSH Credentials for GitHub 14:19:34 [INFO] Currently running in a labeled security context 14:19:34 [INFO] Currently SELinux is 'enforcing' on the host 14:19:34 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/11@tmp/jenkins-gitclient-ssh8746490578284248027.key 14:19:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:19:35 Avoid second fetch 14:19:35 Checking out Revision 42a81012aee9d0f4741172f85aabccffc17c1488 (main) 14:19:35 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 14:19:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:19:35 > git config core.sparsecheckout # timeout=10 14:19:35 > git checkout -f 42a81012aee9d0f4741172f85aabccffc17c1488 # timeout=10 14:19:39 Commit message: "refactor(snap): remove obsolete passthrough usage" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:19:39 provisioning config files... 14:19:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config4486866915070441455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:19:40 ---> docker-login.sh 14:19:40 nexus3.edgexfoundry.org:10001 14:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:40 Configure a credential helper to remove this warning. See 14:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:40 14:19:40 Login Succeeded 14:19:40 nexus3.edgexfoundry.org:10002 14:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:40 Configure a credential helper to remove this warning. See 14:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:40 14:19:40 Login Succeeded 14:19:40 nexus3.edgexfoundry.org:10003 14:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:40 Configure a credential helper to remove this warning. See 14:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:40 14:19:40 Login Succeeded 14:19:40 nexus3.edgexfoundry.org:10004 14:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:40 Configure a credential helper to remove this warning. See 14:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:40 14:19:40 Login Succeeded 14:19:40 docker.io 14:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:41 Configure a credential helper to remove this warning. See 14:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:41 14:19:41 Login Succeeded 14:19:41 ---> docker-login.sh ends [Pipeline] } 14:19:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:19:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:19:41 ========================================================= 14:19:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:19:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:19:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 14:19:41 Sending build context to Docker daemon 2.68MB 14:19:41 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 14:19:41 Step 2/11 : FROM ${BASE} AS builder 14:19:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:19:41 a0d0a0d46f8b: Pulling fs layer 14:19:41 31adcdaf11c8: Pulling fs layer 14:19:41 b8b176561691: Pulling fs layer 14:19:41 4527c011a84f: Pulling fs layer 14:19:41 5d74067f8e1e: Pulling fs layer 14:19:41 e0aca202a116: Pulling fs layer 14:19:41 3a43be97a3b4: Pulling fs layer 14:19:41 34cad66bf833: Pulling fs layer 14:19:41 b4e3c513aaa6: Pulling fs layer 14:19:41 4527c011a84f: Waiting 14:19:41 5d74067f8e1e: Waiting 14:19:41 e0aca202a116: Waiting 14:19:41 3a43be97a3b4: Waiting 14:19:41 34cad66bf833: Waiting 14:19:41 b4e3c513aaa6: Waiting 14:19:41 b8b176561691: Verifying Checksum 14:19:41 b8b176561691: Download complete 14:19:41 31adcdaf11c8: Verifying Checksum 14:19:41 31adcdaf11c8: Download complete 14:19:41 5d74067f8e1e: Verifying Checksum 14:19:41 5d74067f8e1e: Download complete 14:19:41 e0aca202a116: Verifying Checksum 14:19:41 e0aca202a116: Download complete 14:19:41 3a43be97a3b4: Verifying Checksum 14:19:41 3a43be97a3b4: Download complete 14:19:41 a0d0a0d46f8b: Verifying Checksum 14:19:41 a0d0a0d46f8b: Download complete 14:19:41 34cad66bf833: Verifying Checksum 14:19:41 34cad66bf833: Download complete 14:19:42 a0d0a0d46f8b: Pull complete 14:19:42 b4e3c513aaa6: Verifying Checksum 14:19:42 b4e3c513aaa6: Download complete 14:19:42 4527c011a84f: Verifying Checksum 14:19:42 4527c011a84f: Download complete 14:19:42 31adcdaf11c8: Pull complete 14:19:42 b8b176561691: Pull complete 14:19:46 4527c011a84f: Pull complete 14:19:46 5d74067f8e1e: Pull complete 14:19:46 e0aca202a116: Pull complete 14:19:46 3a43be97a3b4: Pull complete 14:19:46 34cad66bf833: Pull complete 14:19:49 b4e3c513aaa6: Pull complete 14:19:49 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 14:19:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:19:49 ---> 9f6097aaca64 14:19:49 Step 3/11 : ARG MAKE='make build' 14:19:53 ---> Running in 04b5b50db4e4 14:19:53 Removing intermediate container 04b5b50db4e4 14:19:53 ---> 8c65787897c5 14:19:53 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:19:53 ---> Running in 4aacd0782c68 14:19:53 Removing intermediate container 4aacd0782c68 14:19:53 ---> db9d6a159e82 14:19:53 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 14:19:53 ---> Running in 3edab2f6a4e4 14:19:53 Removing intermediate container 3edab2f6a4e4 14:19:53 ---> a2d2a4383ee4 14:19:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:19:53 ---> Running in f857285c1c2c 14:19:53 Removing intermediate container f857285c1c2c 14:19:53 ---> adf6d65a6aab 14:19:53 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:19:53 ---> Running in 3f1ff44b71df 14:19:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:19:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:19:54 (1/4) Installing openssh-keygen (8.6_p1-r3) 14:19:54 (2/4) Installing libedit (20210216.3.1-r0) 14:19:55 (3/4) Installing openssh-client-common (8.6_p1-r3) 14:19:55 (4/4) Installing openssh-client-default (8.6_p1-r3) 14:19:55 Executing busybox-1.33.1-r3.trigger 14:19:55 OK: 224 MiB in 56 packages 14:19:55 Removing intermediate container 3f1ff44b71df 14:19:55 ---> 0944399ce22b 14:19:55 Step 8/11 : WORKDIR /device-snmp-go 14:19:55 ---> Running in d3a5532cb94d 14:19:55 Removing intermediate container d3a5532cb94d 14:19:55 ---> f36a2727f020 14:19:55 Step 9/11 : COPY . . 14:19:55 ---> 1bb774d67db2 14:19:55 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:19:55 ---> Running in 57c27153d9e5 14:20:28 Removing intermediate container 57c27153d9e5 14:20:28 ---> 3b7fbe49c644 14:20:28 Step 11/11 : RUN ${MAKE} 14:20:28 ---> Running in 45cbe7a2f8cf 14:20:28 noop 14:20:28 Removing intermediate container 45cbe7a2f8cf 14:20:28 ---> d6466f8f5c32 14:20:28 Successfully built d6466f8f5c32 14:20:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:20:28 + docker inspect -f . ci-base-image-x86_64 14:20:28 . [Pipeline] withDockerContainer 14:20:28 prd-centos7-docker-4c-2g-100 does not seem to be running inside a container 14:20:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:20:28 $ docker top 068d4becf467cbde9e5fcdaa0063ce5c687e8f30632557742493f027aa2b7832 -eo pid,comm [Pipeline] { [Pipeline] sh 14:20:29 + go version 14:20:29 go version go1.16.8 linux/amd64 [Pipeline] } 14:20:29 $ docker stop --time=1 068d4becf467cbde9e5fcdaa0063ce5c687e8f30632557742493f027aa2b7832 14:20:30 $ docker rm -f 068d4becf467cbde9e5fcdaa0063ce5c687e8f30632557742493f027aa2b7832 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:20:30 + docker inspect -f . ci-base-image-x86_64 14:20:30 . [Pipeline] withDockerContainer 14:20:31 prd-centos7-docker-4c-2g-100 does not seem to be running inside a container 14:20:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:20:31 $ docker top 589022cc7a19612808ac623ac1825f342ebaaecdf7770e6601bec44ec34b1485 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:20:31 + make test 14:20:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:20:32 ? github.com/edgexfoundry/device-snmp-go [no test files] 14:20:47 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 14:20:47 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 14:20:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:20:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:20:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:20:53 ./bin/test-attribution-txt.sh [Pipeline] echo 14:20:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:20:53 $ docker stop --time=1 589022cc7a19612808ac623ac1825f342ebaaecdf7770e6601bec44ec34b1485 14:20:55 $ docker rm -f 589022cc7a19612808ac623ac1825f342ebaaecdf7770e6601bec44ec34b1485 [Pipeline] // withDockerContainer [Pipeline] sh 14:20:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:20:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:20:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:20:57 + ls -al . 14:20:57 total 144 14:20:57 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 14:20 . 14:20:57 drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 14:19 .. 14:20:57 -rw-rw-r--. 1 jenkins jenkins 6926 Dec 2 14:19 Attribution.txt 14:20:57 drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 14:19 bin 14:20:57 -rw-rw-r--. 1 jenkins jenkins 4401 Dec 2 14:19 CHANGELOG.md 14:20:57 drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 14:19 cmd 14:20:57 -rw-r--r--. 1 jenkins jenkins 7631 Dec 2 14:20 coverage.out 14:20:57 -rw-rw-r--. 1 jenkins jenkins 1493 Dec 2 14:19 Dockerfile 14:20:57 -rw-rw-r--. 1 jenkins jenkins 6 Dec 2 14:19 .dockerignore 14:20:57 drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 14:19 .git 14:20:57 drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 14:19 .github 14:20:57 -rw-rw-r--. 1 jenkins jenkins 262 Dec 2 14:19 .gitignore 14:20:57 -rw-rw-r--. 1 jenkins jenkins 214 Dec 2 14:19 go.mod 14:20:57 -rw-rw-r--. 1 jenkins jenkins 49501 Dec 2 14:19 go.sum 14:20:57 -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 14:19 GOVERNANCE.md 14:20:57 drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 14:19 internal 14:20:57 -rw-rw-r--. 1 jenkins jenkins 656 Dec 2 14:19 Jenkinsfile 14:20:57 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 14:19 LICENSE 14:20:57 -rw-rw-r--. 1 jenkins jenkins 1057 Dec 2 14:19 Makefile 14:20:57 -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 14:19 OWNERS.md 14:20:57 -rw-rw-r--. 1 jenkins jenkins 9073 Dec 2 14:19 README.md 14:20:57 drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 14:19 snap 14:20:57 -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 14:18 VERSION 14:20:57 -rw-rw-r--. 1 jenkins jenkins 209 Dec 2 14:19 version.go [Pipeline] isUnix [Pipeline] sh 14:20:57 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=42a81012aee9d0f4741172f85aabccffc17c1488 --label arch=amd64 --label version=2.2.0-dev.2 . 14:20:57 Sending build context to Docker daemon 2.688MB 14:20:57 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 14:20:57 Step 2/23 : FROM ${BASE} AS builder 14:20:57 ---> d6466f8f5c32 14:20:57 Step 3/23 : ARG MAKE='make build' 14:20:57 ---> Running in cd35f34b3723 14:20:57 Removing intermediate container cd35f34b3723 14:20:57 ---> 459fd582ec12 14:20:57 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:20:57 ---> Running in c9175f884cb4 14:20:57 Removing intermediate container c9175f884cb4 14:20:57 ---> df47372d7fb1 14:20:57 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 14:20:57 ---> Running in 96a8236dfbfb 14:20:57 Removing intermediate container 96a8236dfbfb 14:20:57 ---> c0b69e887ea9 14:20:57 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:20:57 ---> Running in 66362cf30713 14:20:58 Removing intermediate container 66362cf30713 14:20:58 ---> 7c8272753741 14:20:58 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:20:58 ---> Running in f48994dcbcd3 14:20:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:20:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:20:59 OK: 224 MiB in 56 packages 14:20:59 Removing intermediate container f48994dcbcd3 14:20:59 ---> e91961d228f0 14:20:59 Step 8/23 : WORKDIR /device-snmp-go 14:20:59 ---> Running in 5ea04e3160ee 14:20:59 Removing intermediate container 5ea04e3160ee 14:20:59 ---> 07fb65ef77b7 14:20:59 Step 9/23 : COPY . . 14:21:00 ---> f2cdc2ca5aae 14:21:00 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:21:00 ---> Running in e7ae036c6438 14:21:00 Removing intermediate container e7ae036c6438 14:21:00 ---> dfcdc30970d2 14:21:00 Step 11/23 : RUN ${MAKE} 14:21:00 ---> Running in 866e58f0ad64 14:21:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.2" -o cmd/device-snmp ./cmd 14:21:13 Removing intermediate container 866e58f0ad64 14:21:13 ---> 3b7658b2927c 14:21:13 Step 12/23 : FROM alpine:3.14 14:21:13 3.14: Pulling from library/alpine 14:21:13 97518928ae5f: Pulling fs layer 14:21:13 97518928ae5f: Verifying Checksum 14:21:13 97518928ae5f: Download complete 14:21:13 97518928ae5f: Pull complete 14:21:13 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 14:21:13 Status: Downloaded newer image for alpine:3.14 14:21:13 ---> 0a97eee8041e 14:21:13 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 14:21:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-101 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 14:21:13 Running in /w/workspace/device-snmp-go/11 [Pipeline] { [Pipeline] checkout 14:21:13 ---> Running in 743a406de70f 14:21:13 Selected Git installation does not exist. Using Default 14:21:13 The recommended git tool is: NONE 14:21:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:21:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:21:14 (1/6) Installing dumb-init (1.2.5-r1) 14:21:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:21:14 (3/6) Installing libsodium (1.0.18-r0) 14:21:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:21:14 (5/6) Installing libzmq (4.3.4-r0) 14:21:14 (6/6) Installing zeromq (4.3.4-r0) 14:21:14 Executing busybox-1.33.1-r6.trigger 14:21:14 OK: 8 MiB in 20 packages 14:21:14 Removing intermediate container 743a406de70f 14:21:14 ---> db41e8adcebe 14:21:14 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 14:21:14 ---> 2adb584c9e77 14:21:14 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 14:21:15 ---> bb5391ca738d 14:21:15 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 14:21:15 ---> 40e6cde3faa3 14:21:15 Step 17/23 : EXPOSE 59993 14:21:15 ---> Running in 629b967fd0bd 14:21:15 Removing intermediate container 629b967fd0bd 14:21:15 ---> 995a512fdbc6 14:21:15 Step 18/23 : EXPOSE 161 14:21:15 ---> Running in e75d02e3571c 14:21:15 Removing intermediate container e75d02e3571c 14:21:15 ---> cd9edd81997e 14:21:15 Step 19/23 : ENTRYPOINT ["/device-snmp"] 14:21:15 ---> Running in e40e2f8ed55d 14:21:15 Removing intermediate container e40e2f8ed55d 14:21:15 ---> 2b3370ecbf95 14:21:15 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:21:15 ---> Running in 26d4e9a7f442 14:21:15 Removing intermediate container 26d4e9a7f442 14:21:15 ---> 225da0d3b5f9 14:21:15 Step 21/23 : LABEL arch=amd64 14:21:15 ---> Running in 523ba1b85ec6 14:21:15 Removing intermediate container 523ba1b85ec6 14:21:15 ---> 3966efe5d605 14:21:15 Step 22/23 : LABEL git_sha=42a81012aee9d0f4741172f85aabccffc17c1488 14:21:15 ---> Running in d5bc81320633 14:21:15 Removing intermediate container d5bc81320633 14:21:15 ---> 020f82ed78b8 14:21:15 Step 23/23 : LABEL version=2.2.0-dev.2 14:21:15 ---> Running in d20ee288a023 14:21:15 Removing intermediate container d20ee288a023 14:21:15 ---> 363f6931f022 14:21:15 [Warning] One or more build-args [ARCH] were not consumed 14:21:15 Successfully built 363f6931f022 14:21:15 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:21:16 provisioning config files... 14:21:16 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config4005561255903476078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:21:16 ---> docker-login.sh 14:21:16 nexus3.edgexfoundry.org:10001 14:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:16 Configure a credential helper to remove this warning. See 14:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:16 14:21:16 Login Succeeded 14:21:16 nexus3.edgexfoundry.org:10002 14:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:16 Configure a credential helper to remove this warning. See 14:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:16 14:21:16 Login Succeeded 14:21:16 nexus3.edgexfoundry.org:10003 14:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:16 Configure a credential helper to remove this warning. See 14:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:16 14:21:16 Login Succeeded 14:21:16 nexus3.edgexfoundry.org:10004 14:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:16 Configure a credential helper to remove this warning. See 14:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:16 14:21:16 Login Succeeded 14:21:16 docker.io 14:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:17 Configure a credential helper to remove this warning. See 14:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:17 14:21:17 Login Succeeded 14:21:17 ---> docker-login.sh ends [Pipeline] } 14:21:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:21:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:21:17 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 14:21:17 42a81012aee9d0f4741172f85aabccffc17c1488 14:21:17 latest 14:21:17 2.2.0-dev.2 14:21:17 42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 14:21:17 main 14:21:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:21:17 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] isUnix [Pipeline] sh 14:21:17 + docker push nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488 14:21:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 14:21:17 0fc47159e74d: Preparing 14:21:17 eb497fe397de: Preparing 14:21:17 f456101fef10: Preparing 14:21:17 b377fda4611d: Preparing 14:21:17 1a058d5342cc: Preparing 14:21:17 1a058d5342cc: Layer already exists 14:21:18 eb497fe397de: Pushed 14:21:18 0fc47159e74d: Pushed 14:21:18 b377fda4611d: Pushed 14:21:19 f456101fef10: Pushed 14:21:19 42a81012aee9d0f4741172f85aabccffc17c1488: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:21:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 14:21:19 using credential edgex-jenkins-ssh 14:21:19 Cloning the remote Git repository 14:21:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 14:21:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 14:21:19 0fc47159e74d: Preparing 14:21:19 eb497fe397de: Preparing 14:21:19 f456101fef10: Preparing 14:21:19 b377fda4611d: Preparing 14:21:19 1a058d5342cc: Preparing 14:21:19 1a058d5342cc: Layer already exists 14:21:19 eb497fe397de: Layer already exists 14:21:19 f456101fef10: Layer already exists 14:21:19 b377fda4611d: Layer already exists 14:21:19 0fc47159e74d: Layer already exists 14:21:19 latest: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:21:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 14:21:19 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 14:21:19 > git init /w/workspace/device-snmp-go/11 # timeout=10 14:21:19 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 14:21:19 > git --version # timeout=10 14:21:19 > git --version # 'git version 2.17.1' 14:21:19 using GIT_SSH to set credentials SSH Credentials for GitHub 14:21:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:21:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.2 14:21:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 14:21:20 0fc47159e74d: Preparing 14:21:20 eb497fe397de: Preparing 14:21:20 f456101fef10: Preparing 14:21:20 b377fda4611d: Preparing 14:21:20 1a058d5342cc: Preparing 14:21:20 0fc47159e74d: Layer already exists 14:21:20 1a058d5342cc: Layer already exists 14:21:20 f456101fef10: Layer already exists 14:21:20 b377fda4611d: Layer already exists 14:21:20 eb497fe397de: Layer already exists 14:21:20 2.2.0-dev.2: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:21:20 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 14:21:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 14:21:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 14:21:20 0fc47159e74d: Preparing 14:21:20 eb497fe397de: Preparing 14:21:20 f456101fef10: Preparing 14:21:20 b377fda4611d: Preparing 14:21:20 1a058d5342cc: Preparing 14:21:20 eb497fe397de: Layer already exists 14:21:20 0fc47159e74d: Layer already exists 14:21:20 f456101fef10: Layer already exists 14:21:20 b377fda4611d: Layer already exists 14:21:20 1a058d5342cc: Layer already exists 14:21:20 42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:21:21 Avoid second fetch 14:21:21 Checking out Revision 42a81012aee9d0f4741172f85aabccffc17c1488 (main) 14:21:21 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 14:21:20 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 14:21:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:21:21 > git config core.sparsecheckout # timeout=10 14:21:21 > git checkout -f 42a81012aee9d0f4741172f85aabccffc17c1488 # timeout=10 14:21:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 14:21:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 14:21:21 0fc47159e74d: Preparing 14:21:21 eb497fe397de: Preparing 14:21:21 f456101fef10: Preparing 14:21:21 b377fda4611d: Preparing 14:21:21 1a058d5342cc: Preparing 14:21:21 1a058d5342cc: Layer already exists 14:21:21 f456101fef10: Layer already exists 14:21:21 b377fda4611d: Layer already exists 14:21:21 eb497fe397de: Layer already exists 14:21:21 0fc47159e74d: Layer already exists 14:21:21 main: digest: sha256:4720eb7fec0c484d94261e5f95680aa90542b0c9a9c4b06a57f717f59c482a30 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:21:21 ===================================================== [Pipeline] echo 14:21:21 taggedImages: 14:21:21 - nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488 14:21:21 - nexus3.edgexfoundry.org:10004/device-snmp:latest 14:21:21 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.2 14:21:21 - nexus3.edgexfoundry.org:10004/device-snmp:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 14:21:21 - 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 14:21:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:21 14:21:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:21:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:22 latest: Pulling from edgex-lftools-log-publisher 14:21:22 b4d181a07f80: Pulling fs layer 14:21:22 a1111a8f2ec3: Pulling fs layer 14:21:22 ed53099fbce6: Pulling fs layer 14:21:22 dc539afda2c1: Pulling fs layer 14:21:22 77bc0d833cb6: Pulling fs layer 14:21:22 9065ff56babe: Pulling fs layer 14:21:22 d287ab97295c: Pulling fs layer 14:21:22 dc539afda2c1: Waiting 14:21:22 77bc0d833cb6: Waiting 14:21:22 9065ff56babe: Waiting 14:21:22 d287ab97295c: Waiting 14:21:22 a1111a8f2ec3: Verifying Checksum 14:21:22 a1111a8f2ec3: Download complete 14:21:22 dc539afda2c1: Verifying Checksum 14:21:22 dc539afda2c1: Download complete 14:21:22 ed53099fbce6: Verifying Checksum 14:21:22 ed53099fbce6: Download complete 14:21:22 9065ff56babe: Verifying Checksum 14:21:22 9065ff56babe: Download complete 14:21:22 77bc0d833cb6: Verifying Checksum 14:21:22 77bc0d833cb6: Download complete 14:21:22 b4d181a07f80: Verifying Checksum 14:21:22 b4d181a07f80: Download complete 14:21:23 d287ab97295c: Verifying Checksum 14:21:23 d287ab97295c: Download complete 14:21:23 b4d181a07f80: Pull complete 14:21:23 a1111a8f2ec3: Pull complete 14:21:24 ed53099fbce6: Pull complete 14:21:24 dc539afda2c1: Pull complete 14:21:24 77bc0d833cb6: Pull complete 14:21:24 9065ff56babe: Pull complete 14:21:25 Commit message: "refactor(snap): remove obsolete passthrough usage" 14:21:25 14:21:25 GitHub has been notified of this commit’s build result 14:21:25 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:21:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:21:26 % Total % Received % Xferd Average Speed Time Time Time Current 14:21:26 Dload Upload Total Spent Left Speed 14:21:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 195k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 14:21:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:21:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:21:27 + sudo tee /etc/docker/daemon.new 14:21:27 { 14:21:27 "registry-mirrors": [ 14:21:27 "https://nexus3.edgexfoundry.org:10001" 14:21:27 ], 14:21:27 "bip": "10.250.0.254/24", 14:21:27 "hosts": [ 14:21:27 "tcp://0.0.0.0:5555", 14:21:27 "unix:///var/run/docker.sock" 14:21:27 ], 14:21:27 "mtu": 1458, 14:21:27 "selinux-enabled": true, 14:21:27 "seccomp-profile": "/etc/docker/seccomp.json" 14:21:27 } [Pipeline] sh 14:21:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:21:28 + sudo service docker restart 14:21:30 d287ab97295c: Pull complete 14:21:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:21:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:21:30 prd-centos7-docker-4c-2g-100 does not seem to be running inside a container 14:21:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:21:32 $ docker top e25b9fa298ac50098c0637a873f5f1698329e21f72463f57b742b1a7026f18e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:21:33 ---> job-cost.sh 14:21:33 lf-activate-venv: SKIPPING 14:21:33 INFO: No Stack... 14:21:33 INFO: Retrieving Pricing Info for: v3-standard-2 14:21:33 INFO: Archiving Costs [Pipeline] sh 14:21:34 + cat /w/workspace/device-snmp-go/11/archives/cost.csv 14:21:34 + cut -d, -f6 [Pipeline] lock 14:21:34 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] 14:21:34 Resource [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] did not exist. Created. 14:21:34 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:21:34 + echo total: 0.05999999865889549 [Pipeline] stash 14:21:34 Stashed 1 file(s) [Pipeline] } 14:21:34 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } 14:21:34 $ docker stop --time=1 e25b9fa298ac50098c0637a873f5f1698329e21f72463f57b742b1a7026f18e3 14:21:35 $ docker rm -f e25b9fa298ac50098c0637a873f5f1698329e21f72463f57b742b1a7026f18e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:21:46 provisioning config files... 14:21:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config7309317153449068359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:21:46 ---> docker-login.sh 14:21:46 nexus3.edgexfoundry.org:10001 14:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:47 Configure a credential helper to remove this warning. See 14:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:47 14:21:47 Login Succeeded 14:21:47 nexus3.edgexfoundry.org:10002 14:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:48 Configure a credential helper to remove this warning. See 14:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:48 14:21:48 Login Succeeded 14:21:48 nexus3.edgexfoundry.org:10003 14:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:48 Configure a credential helper to remove this warning. See 14:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:48 14:21:48 Login Succeeded 14:21:48 nexus3.edgexfoundry.org:10004 14:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:49 Configure a credential helper to remove this warning. See 14:21:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:49 14:21:49 Login Succeeded 14:21:49 docker.io 14:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:21:50 Configure a credential helper to remove this warning. See 14:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:21:50 14:21:50 Login Succeeded 14:21:50 ---> docker-login.sh ends [Pipeline] } 14:21:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:21:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:21:50 ========================================================= 14:21:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:21:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:21:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 14:21:51 Sending build context to Docker daemon 2.679MB 14:21:51 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 14:21:51 Step 2/11 : FROM ${BASE} AS builder 14:21:51 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:21:51 552d1f2373af: Pulling fs layer 14:21:51 ea3f2d53f512: Pulling fs layer 14:21:51 9e70ebbbe112: Pulling fs layer 14:21:51 7a9cfe048b4a: Pulling fs layer 14:21:51 72dc09318566: Pulling fs layer 14:21:51 f4f7b4309257: Pulling fs layer 14:21:51 0ac9a79272e3: Pulling fs layer 14:21:51 b78e95d17946: Pulling fs layer 14:21:51 f4f7b4309257: Waiting 14:21:51 0ac9a79272e3: Waiting 14:21:51 7a9cfe048b4a: Waiting 14:21:51 b78e95d17946: Waiting 14:21:51 72dc09318566: Waiting 14:21:51 9e70ebbbe112: Verifying Checksum 14:21:51 9e70ebbbe112: Download complete 14:21:51 ea3f2d53f512: Verifying Checksum 14:21:51 ea3f2d53f512: Download complete 14:21:51 72dc09318566: Download complete 14:21:51 f4f7b4309257: Download complete 14:21:51 552d1f2373af: Download complete 14:21:51 0ac9a79272e3: Verifying Checksum 14:21:51 0ac9a79272e3: Download complete 14:21:52 552d1f2373af: Pull complete 14:21:53 ea3f2d53f512: Pull complete 14:21:53 9e70ebbbe112: Pull complete 14:21:53 b78e95d17946: Verifying Checksum 14:21:53 b78e95d17946: Download complete 14:21:54 7a9cfe048b4a: Download complete 14:22:06 7a9cfe048b4a: Pull complete 14:22:06 72dc09318566: Pull complete 14:22:06 f4f7b4309257: Pull complete 14:22:06 0ac9a79272e3: Pull complete 14:22:11 b78e95d17946: Pull complete 14:22:11 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 14:22:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:22:11 ---> 8b459fc5aaf0 14:22:11 Step 3/11 : ARG MAKE='make build' 14:22:13 ---> Running in e6c1492951e8 14:22:13 Removing intermediate container e6c1492951e8 14:22:13 ---> 0412eb73e208 14:22:13 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:22:14 ---> Running in 5f8e0d8e2795 14:22:14 Removing intermediate container 5f8e0d8e2795 14:22:14 ---> 2e781c9312a2 14:22:14 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 14:22:14 ---> Running in 0e4c18ab8e5d 14:22:15 Removing intermediate container 0e4c18ab8e5d 14:22:15 ---> b488c6e454a7 14:22:15 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:22:15 ---> Running in 97e1bb93b943 14:22:17 Removing intermediate container 97e1bb93b943 14:22:17 ---> d6ef5ca44306 14:22:17 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:22:17 ---> Running in fde86f6cde6b 14:22:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:22:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:22:19 (1/4) Installing openssh-keygen (8.6_p1-r3) 14:22:19 (2/4) Installing libedit (20210216.3.1-r0) 14:22:20 (3/4) Installing openssh-client-common (8.6_p1-r3) 14:22:20 (4/4) Installing openssh-client-default (8.6_p1-r3) 14:22:20 Executing busybox-1.33.1-r3.trigger 14:22:20 OK: 223 MiB in 56 packages 14:22:21 Removing intermediate container fde86f6cde6b 14:22:21 ---> 676fea4bd1c8 14:22:21 Step 8/11 : WORKDIR /device-snmp-go 14:22:21 ---> Running in c43fdef60eeb 14:22:21 Removing intermediate container c43fdef60eeb 14:22:21 ---> a24b30aafe77 14:22:21 Step 9/11 : COPY . . 14:22:22 ---> abb9ea1148ec 14:22:22 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:22:22 ---> Running in 962ee0fe1c2d 14:23:44 Removing intermediate container 962ee0fe1c2d 14:23:44 ---> 667b3198ebba 14:23:44 Step 11/11 : RUN ${MAKE} 14:23:44 ---> Running in 086d1519679e 14:23:44 noop 14:23:44 Removing intermediate container 086d1519679e 14:23:44 ---> d3583766cb0b 14:23:44 Successfully built d3583766cb0b 14:23:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:23:44 + docker inspect -f . ci-base-image-arm64 14:23:44 . [Pipeline] withDockerContainer 14:23:45 prd-ubuntu18.04-docker-arm64-4c-16g-101 does not seem to be running inside a container 14:23:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:23:46 $ docker top f7ea950f4818adc57ad311b10c0e00dd205726daf2fb71eea8ee1916c657299d -eo pid,comm [Pipeline] { [Pipeline] sh 14:23:47 + go version 14:23:47 go version go1.16.8 linux/arm64 [Pipeline] } 14:23:47 $ docker stop --time=1 f7ea950f4818adc57ad311b10c0e00dd205726daf2fb71eea8ee1916c657299d 14:23:49 $ docker rm -f f7ea950f4818adc57ad311b10c0e00dd205726daf2fb71eea8ee1916c657299d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:23:49 + docker inspect -f . ci-base-image-arm64 14:23:49 . [Pipeline] withDockerContainer 14:23:50 prd-ubuntu18.04-docker-arm64-4c-16g-101 does not seem to be running inside a container 14:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:23:51 $ docker top a9a41fefe4e54f112a297f7989ed9c324575d3572e3805ae89ce179a2c2e5aac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:23:52 + make test 14:23:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:23:53 ? github.com/edgexfoundry/device-snmp-go [no test files] 14:24:50 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 14:24:50 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.037s coverage: 0.0% of statements 14:24:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:25:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:25:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:25:12 ./bin/test-attribution-txt.sh [Pipeline] echo 14:25:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:25:13 $ docker stop --time=1 a9a41fefe4e54f112a297f7989ed9c324575d3572e3805ae89ce179a2c2e5aac 14:25:14 $ docker rm -f a9a41fefe4e54f112a297f7989ed9c324575d3572e3805ae89ce179a2c2e5aac [Pipeline] // withDockerContainer [Pipeline] sh 14:25:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:25:15 Warning: overwriting stash ‘coverage-report’ 14:25:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:25:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:25:16 + ls -al . 14:25:16 total 172 14:25:16 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:25 . 14:25:16 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 14:21 .. 14:25:16 -rw-rw-r-- 1 jenkins jenkins 6 Dec 2 14:21 .dockerignore 14:25:16 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:21 .git 14:25:16 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:21 .github 14:25:16 -rw-rw-r-- 1 jenkins jenkins 262 Dec 2 14:21 .gitignore 14:25:16 -rw-rw-r-- 1 jenkins jenkins 6926 Dec 2 14:21 Attribution.txt 14:25:16 -rw-rw-r-- 1 jenkins jenkins 4401 Dec 2 14:21 CHANGELOG.md 14:25:16 -rw-rw-r-- 1 jenkins jenkins 1493 Dec 2 14:21 Dockerfile 14:25:16 -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 14:21 GOVERNANCE.md 14:25:16 -rw-rw-r-- 1 jenkins jenkins 656 Dec 2 14:21 Jenkinsfile 14:25:16 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 14:21 LICENSE 14:25:16 -rw-rw-r-- 1 jenkins jenkins 1057 Dec 2 14:21 Makefile 14:25:16 -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 14:21 OWNERS.md 14:25:16 -rw-rw-r-- 1 jenkins jenkins 9073 Dec 2 14:21 README.md 14:25:16 -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 14:18 VERSION 14:25:16 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:21 bin 14:25:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:21 cmd 14:25:16 -rw-r--r-- 1 jenkins jenkins 7631 Dec 2 14:24 coverage.out 14:25:16 -rw-rw-r-- 1 jenkins jenkins 214 Dec 2 14:21 go.mod 14:25:16 -rw-rw-r-- 1 jenkins jenkins 49501 Dec 2 14:21 go.sum 14:25:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:21 internal 14:25:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:21 snap 14:25:16 -rw-rw-r-- 1 jenkins jenkins 209 Dec 2 14:21 version.go [Pipeline] isUnix [Pipeline] sh 14:25:17 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=42a81012aee9d0f4741172f85aabccffc17c1488 --label arch=arm64 --label version=2.2.0-dev.2 . 14:25:17 Sending build context to Docker daemon 2.687MB 14:25:17 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 14:25:17 Step 2/23 : FROM ${BASE} AS builder 14:25:17 ---> d3583766cb0b 14:25:17 Step 3/23 : ARG MAKE='make build' 14:25:17 ---> Running in 934986e37ffa 14:25:18 Removing intermediate container 934986e37ffa 14:25:18 ---> 277a5f6d86f5 14:25:18 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:25:18 ---> Running in 8e66e52ddef3 14:25:18 Removing intermediate container 8e66e52ddef3 14:25:18 ---> 2c1c3a5263ef 14:25:18 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 14:25:18 ---> Running in 69b919b2c32f 14:25:18 Removing intermediate container 69b919b2c32f 14:25:18 ---> 61243d5c7376 14:25:18 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:25:18 ---> Running in 43ed0b7e0937 14:25:20 Removing intermediate container 43ed0b7e0937 14:25:20 ---> f655474992df 14:25:20 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:25:20 ---> Running in 640132cfd726 14:25:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:25:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:25:23 OK: 223 MiB in 56 packages 14:25:24 Removing intermediate container 640132cfd726 14:25:24 ---> 7b0afd971098 14:25:24 Step 8/23 : WORKDIR /device-snmp-go 14:25:24 ---> Running in 12d353d4d39d 14:25:25 Removing intermediate container 12d353d4d39d 14:25:25 ---> 2856360d306f 14:25:25 Step 9/23 : COPY . . 14:25:26 ---> 01d0533afe30 14:25:26 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:25:26 ---> Running in 33e10eda538e 14:25:28 Removing intermediate container 33e10eda538e 14:25:28 ---> fd0fd37482f5 14:25:28 Step 11/23 : RUN ${MAKE} 14:25:28 ---> Running in a7557db92315 14:25:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.2" -o cmd/device-snmp ./cmd 14:26:16 Removing intermediate container a7557db92315 14:26:16 ---> a872c8807511 14:26:16 Step 12/23 : FROM alpine:3.14 14:26:16 3.14: Pulling from library/alpine 14:26:16 be307f383ecc: Pulling fs layer 14:26:16 be307f383ecc: Verifying Checksum 14:26:16 be307f383ecc: Download complete 14:26:16 be307f383ecc: Pull complete 14:26:16 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 14:26:16 Status: Downloaded newer image for alpine:3.14 14:26:16 ---> 5b8b7b635229 14:26:16 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 14:26:16 ---> Running in c23fb25c006c 14:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:26:16 (1/6) Installing dumb-init (1.2.5-r1) 14:26:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:26:16 (3/6) Installing libsodium (1.0.18-r0) 14:26:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:26:16 (5/6) Installing libzmq (4.3.4-r0) 14:26:16 (6/6) Installing zeromq (4.3.4-r0) 14:26:16 Executing busybox-1.33.1-r6.trigger 14:26:16 OK: 8 MiB in 20 packages 14:26:16 Removing intermediate container c23fb25c006c 14:26:16 ---> ad96d57741d2 14:26:16 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 14:26:16 ---> cc6ad12de392 14:26:16 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 14:26:16 ---> 86024b35db29 14:26:16 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 14:26:16 ---> 1c052f7623ad 14:26:16 Step 17/23 : EXPOSE 59993 14:26:16 ---> Running in 28ce244c4509 14:26:16 Removing intermediate container 28ce244c4509 14:26:16 ---> de29f22ff8e5 14:26:16 Step 18/23 : EXPOSE 161 14:26:16 ---> Running in e20bb4a33eef 14:26:17 Removing intermediate container e20bb4a33eef 14:26:17 ---> eeb9787dbc2d 14:26:17 Step 19/23 : ENTRYPOINT ["/device-snmp"] 14:26:17 ---> Running in 582da143bc83 14:26:17 Removing intermediate container 582da143bc83 14:26:17 ---> efd09d214488 14:26:17 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:26:17 ---> Running in 3d5517d5f797 14:26:18 Removing intermediate container 3d5517d5f797 14:26:18 ---> 35724a6fa7bd 14:26:18 Step 21/23 : LABEL arch=arm64 14:26:18 ---> Running in d1400f3d0e99 14:26:18 Removing intermediate container d1400f3d0e99 14:26:18 ---> dcdbb555940f 14:26:18 Step 22/23 : LABEL git_sha=42a81012aee9d0f4741172f85aabccffc17c1488 14:26:18 ---> Running in 63e8c89da6fd 14:26:19 Removing intermediate container 63e8c89da6fd 14:26:19 ---> c91b77e16667 14:26:19 Step 23/23 : LABEL version=2.2.0-dev.2 14:26:19 ---> Running in 5e19456ddfea 14:26:19 Removing intermediate container 5e19456ddfea 14:26:19 ---> a9cb47ecc6ec 14:26:19 [Warning] One or more build-args [ARCH] were not consumed 14:26:19 Successfully built a9cb47ecc6ec 14:26:19 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 14:26:19 provisioning config files... 14:26:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/11@tmp/config1876559922276805633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:20 ---> docker-login.sh 14:26:20 nexus3.edgexfoundry.org:10001 14:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:20 Configure a credential helper to remove this warning. See 14:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:20 14:26:20 Login Succeeded 14:26:20 nexus3.edgexfoundry.org:10002 14:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:20 Configure a credential helper to remove this warning. See 14:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:20 14:26:20 Login Succeeded 14:26:20 nexus3.edgexfoundry.org:10003 14:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:21 Configure a credential helper to remove this warning. See 14:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:21 14:26:21 Login Succeeded 14:26:21 nexus3.edgexfoundry.org:10004 14:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:22 Configure a credential helper to remove this warning. See 14:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:22 14:26:22 Login Succeeded 14:26:22 docker.io 14:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:22 Configure a credential helper to remove this warning. See 14:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:22 14:26:22 Login Succeeded 14:26:22 ---> docker-login.sh ends [Pipeline] } 14:26:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:26:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:26:22 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 14:26:22 42a81012aee9d0f4741172f85aabccffc17c1488 14:26:22 latest 14:26:22 2.2.0-dev.2 14:26:22 42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 14:26:22 main 14:26:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:26:22 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] isUnix [Pipeline] sh 14:26:23 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488 14:26:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 14:26:23 4ad9fac21222: Preparing 14:26:23 c053e0f13e45: Preparing 14:26:23 48241984416a: Preparing 14:26:23 010ee5df0c65: Preparing 14:26:23 62170e181a92: Preparing 14:26:23 62170e181a92: Layer already exists 14:26:23 4ad9fac21222: Pushed 14:26:23 c053e0f13e45: Pushed 14:26:24 010ee5df0c65: Pushed 14:26:26 48241984416a: Pushed 14:26:26 42a81012aee9d0f4741172f85aabccffc17c1488: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:26:27 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:26:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 14:26:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 14:26:27 4ad9fac21222: Preparing 14:26:27 c053e0f13e45: Preparing 14:26:27 48241984416a: Preparing 14:26:27 010ee5df0c65: Preparing 14:26:27 62170e181a92: Preparing 14:26:27 010ee5df0c65: Layer already exists 14:26:27 48241984416a: Layer already exists 14:26:27 c053e0f13e45: Layer already exists 14:26:27 4ad9fac21222: Layer already exists 14:26:27 62170e181a92: Layer already exists 14:26:27 latest: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:26:28 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 14:26:28 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.2 14:26:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 14:26:28 4ad9fac21222: Preparing 14:26:28 c053e0f13e45: Preparing 14:26:28 48241984416a: Preparing 14:26:28 010ee5df0c65: Preparing 14:26:28 62170e181a92: Preparing 14:26:28 010ee5df0c65: Layer already exists 14:26:28 48241984416a: Layer already exists 14:26:28 4ad9fac21222: Layer already exists 14:26:28 c053e0f13e45: Layer already exists 14:26:28 62170e181a92: Layer already exists 14:26:28 2.2.0-dev.2: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:26:29 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh 14:26:29 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 14:26:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 14:26:29 4ad9fac21222: Preparing 14:26:29 c053e0f13e45: Preparing 14:26:29 48241984416a: Preparing 14:26:29 010ee5df0c65: Preparing 14:26:29 62170e181a92: Preparing 14:26:29 c053e0f13e45: Layer already exists 14:26:29 4ad9fac21222: Layer already exists 14:26:29 010ee5df0c65: Layer already exists 14:26:29 48241984416a: Layer already exists 14:26:29 62170e181a92: Layer already exists 14:26:29 42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:26:30 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 14:26:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 14:26:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 14:26:30 4ad9fac21222: Preparing 14:26:30 c053e0f13e45: Preparing 14:26:30 48241984416a: Preparing 14:26:30 010ee5df0c65: Preparing 14:26:30 62170e181a92: Preparing 14:26:30 c053e0f13e45: Layer already exists 14:26:30 62170e181a92: Layer already exists 14:26:30 4ad9fac21222: Layer already exists 14:26:30 010ee5df0c65: Layer already exists 14:26:30 48241984416a: Layer already exists 14:26:30 main: digest: sha256:4da1f240baa4982764b94e13baabacf3dda2bedd20376301e4a5522ee8a52a83 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:26:30 ===================================================== [Pipeline] echo 14:26:30 taggedImages: 14:26:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488 14:26:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 14:26:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.2 14:26:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:42a81012aee9d0f4741172f85aabccffc17c1488-2.2.0-dev.2 14:26:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:26:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:26:31 14:26:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:26:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:26:31 arm64: Pulling from edgex-lftools-log-publisher 14:26:31 448f6bf000e3: Pulling fs layer 14:26:31 f757da607395: Pulling fs layer 14:26:31 05883995daec: Pulling fs layer 14:26:31 8603b9c90790: Pulling fs layer 14:26:31 1560dd03e051: Pulling fs layer 14:26:31 27f5ce0e4adf: Pulling fs layer 14:26:31 c2d8d7efcc4b: Pulling fs layer 14:26:31 1560dd03e051: Waiting 14:26:31 27f5ce0e4adf: Waiting 14:26:31 c2d8d7efcc4b: Waiting 14:26:31 8603b9c90790: Waiting 14:26:31 f757da607395: Verifying Checksum 14:26:31 f757da607395: Download complete 14:26:31 8603b9c90790: Verifying Checksum 14:26:31 8603b9c90790: Download complete 14:26:31 1560dd03e051: Verifying Checksum 14:26:31 1560dd03e051: Download complete 14:26:31 27f5ce0e4adf: Verifying Checksum 14:26:31 27f5ce0e4adf: Download complete 14:26:32 05883995daec: Verifying Checksum 14:26:32 05883995daec: Download complete 14:26:32 448f6bf000e3: Verifying Checksum 14:26:32 448f6bf000e3: Download complete 14:26:34 c2d8d7efcc4b: Verifying Checksum 14:26:34 c2d8d7efcc4b: Download complete 14:26:35 448f6bf000e3: Pull complete 14:26:36 f757da607395: Pull complete 14:26:38 05883995daec: Pull complete 14:26:38 8603b9c90790: Pull complete 14:26:39 1560dd03e051: Pull complete 14:26:39 27f5ce0e4adf: Pull complete 14:26:54 c2d8d7efcc4b: Pull complete 14:26:54 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:26:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:26:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:26:54 prd-ubuntu18.04-docker-arm64-4c-16g-101 does not seem to be running inside a container 14:26:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/11 -v /w/workspace/device-snmp-go/11:/w/workspace/device-snmp-go/11:rw,z -v /w/workspace/device-snmp-go/11@tmp:/w/workspace/device-snmp-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:26:57 $ docker top 8c4753432324bc489f726e0758de4276935d2f12358db7914aeb1dabafdc1bea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:58 ---> job-cost.sh 14:26:58 lf-activate-venv: SKIPPING 14:26:58 INFO: No Stack... 14:26:59 INFO: Retrieving Pricing Info for: v3-standard-4 14:26:59 INFO: Archiving Costs [Pipeline] sh 14:27:00 + + cutcat -d, /w/workspace/device-snmp-go/11/archives/cost.csv -f6 14:27:00 [Pipeline] lock 14:27:00 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] 14:27:00 Resource [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] did not exist. Created. 14:27:00 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:27:01 /w/workspace/device-snmp-go/11@tmp/durable-f80a588c/script.sh: 1: /w/workspace/device-snmp-go/11@tmp/durable-f80a588c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:27:01 + echo total: 0.10999999940395355 [Pipeline] stash 14:27:01 Warning: overwriting stash ‘stack-cost’ 14:27:01 Stashed 1 file(s) [Pipeline] } 14:27:01 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } 14:27:01 $ docker stop --time=1 8c4753432324bc489f726e0758de4276935d2f12358db7914aeb1dabafdc1bea 14:27:03 $ docker rm -f 8c4753432324bc489f726e0758de4276935d2f12358db7914aeb1dabafdc1bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 14:27:03 provisioning config files... 14:27:03 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2260049081207535448tmp [Pipeline] { [Pipeline] sh 14:27:04 + set +x 14:27:04 + bash -s -- 14:27:04 + curl -s https://codecov.io/bash 14:27:04 14:27:04 _____ _ 14:27:04 / ____| | | 14:27:04 | | ___ __| | ___ ___ _____ __ 14:27:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:27:04 | |___| (_) | (_| | __/ (_| (_) \ V / 14:27:04 \_____\___/ \__,_|\___|\___\___/ \_/ 14:27:04 Bash-1.0.6 14:27:04 14:27:04 14:27:04 ==> git version 2.24.4 found 14:27:04 ==> 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 14:27:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:27:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:27:04 ==> Jenkins CI detected. 14:27:04 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 14:27:04 project root: . 14:27:04 --> token set from env 14:27:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:27:04 ==> Running gcov in . (disable via -X gcov) 14:27:04 ==> Python coveragepy not found 14:27:04 ==> Searching for coverage reports in: 14:27:04 + . 14:27:04 -> Found 1 reports 14:27:04 ==> Detecting git/mercurial file structure 14:27:04 ==> Reading reports 14:27:04 + ./coverage.out bytes=7631 14:27:04 ==> Appending adjustments 14:27:04 https://docs.codecov.io/docs/fixing-reports 14:27:04 + Found adjustments 14:27:04 ==> Gzipping contents 14:27:04 4.0K /tmp/codecov.Si1Rwo.gz 14:27:04 ==> Uploading reports 14:27:04 url: https://codecov.io 14:27:04 query: branch=main&commit=42a81012aee9d0f4741172f85aabccffc17c1488&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:27:04 -> Pinging Codecov 14:27:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=42a81012aee9d0f4741172f85aabccffc17c1488&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:27:04 -> Uploading to 14:27:04 https://storage.googleapis.com/codecov/v4/raw/2021-12-02/6C56EA5C29638FB4528AC87E60AF5AE0/42a81012aee9d0f4741172f85aabccffc17c1488/33db56ad-5fb9-41e3-a34a-781d92d9f3b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T142704Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33dbfc30d980568c5840eb877bdb3e3b07992b63a72267d2f22bd5654c7ae25e 14:27:04 % Total % Received % Xferd Average Speed Time Time Time Current 14:27:04 Dload Upload Total Spent Left Speed 14:27:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4143 --:--:-- --:--:-- --:--:-- 4152 14:27:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] } 14:27:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:27:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:27:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:27:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:27:05 14:27:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:27:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:27:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:27:06 188c0c94c7c5: Pulling fs layer 14:27:06 0ef7d3d256c8: Pulling fs layer 14:27:06 de9db76c5a1d: Pulling fs layer 14:27:06 0eba1c9be4d2: Pulling fs layer 14:27:06 0d57e429df01: Pulling fs layer 14:27:06 4e4be7b47b0d: Pulling fs layer 14:27:06 e1f770b5df2f: Pulling fs layer 14:27:06 85a0685a4137: Pulling fs layer 14:27:06 0eba1c9be4d2: Waiting 14:27:06 0d57e429df01: Waiting 14:27:06 4e4be7b47b0d: Waiting 14:27:06 e1f770b5df2f: Waiting 14:27:06 85a0685a4137: Waiting 14:27:06 de9db76c5a1d: Verifying Checksum 14:27:06 de9db76c5a1d: Download complete 14:27:06 0ef7d3d256c8: Verifying Checksum 14:27:06 0ef7d3d256c8: Download complete 14:27:06 0d57e429df01: Verifying Checksum 14:27:06 0d57e429df01: Download complete 14:27:06 4e4be7b47b0d: Verifying Checksum 14:27:06 4e4be7b47b0d: Download complete 14:27:06 188c0c94c7c5: Verifying Checksum 14:27:06 188c0c94c7c5: Download complete 14:27:06 e1f770b5df2f: Verifying Checksum 14:27:06 e1f770b5df2f: Download complete 14:27:06 188c0c94c7c5: Pull complete 14:27:06 0eba1c9be4d2: Verifying Checksum 14:27:06 0eba1c9be4d2: Download complete 14:27:06 0ef7d3d256c8: Pull complete 14:27:06 de9db76c5a1d: Pull complete 14:27:07 85a0685a4137: Verifying Checksum 14:27:07 85a0685a4137: Download complete 14:27:11 0eba1c9be4d2: Pull complete 14:27:11 0d57e429df01: Pull complete 14:27:11 4e4be7b47b0d: Pull complete 14:27:11 e1f770b5df2f: Pull complete 14:27:16 85a0685a4137: Pull complete 14:27:16 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:27:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:27:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:27:16 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 14:27:17 $ 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 14:27:17 $ docker top 32cc762897b38310d17b77d65b2537130d3561d0a49a37a5a2b7b0326c955b16 -eo pid,comm [Pipeline] { [Pipeline] echo 14:27:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:27:17 + set -o pipefail 14:27:17 + snyk monitor '--org=edgex-jenkins' 14:27:23 14:27:23 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 14:27:23 14:27:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/dd23d428-f8ed-4f0c-996d-9d0143403d82 14:27:23 14:27:23 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:27:23 14:27:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:27:23 14:27:23 [Pipeline] } 14:27:23 $ docker stop --time=1 32cc762897b38310d17b77d65b2537130d3561d0a49a37a5a2b7b0326c955b16 14:27:25 $ docker rm -f 32cc762897b38310d17b77d65b2537130d3561d0a49a37a5a2b7b0326c955b16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:27:26 + git log --format=format:%s -1 42a81012aee9d0f4741172f85aabccffc17c1488 [Pipeline] sh 14:27:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:27:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:27:27 . [Pipeline] withDockerContainer 14:27:27 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 14:27:27 $ 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 14:27:27 $ docker top ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:27:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:27:27 [ssh-agent] Looking for ssh-agent implementation... 14:27:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:27:27 $ docker exec ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf ssh-agent 14:27:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCIhKip/agent.13 14:27:27 SSH_AGENT_PID=19 14:27:27 Running ssh-add (command line suppressed) 14:27:27 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7069967604531777420.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7069967604531777420.key) 14:27:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:27:28 + git semver tag 14:27:28 # -> Open(): unable to determine branch for HEAD 14:27:28 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 14:27:28 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 14:27:28 # $SEMVER_REMOTE_NAME = origin 14:27:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:27:28 # $SEMVER_USER_NAME = edgex-jenkins 14:27:28 # $SEMVER_BRANCH = main 14:27:28 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 14:27:28 # 42a81012aee9d0f4741172f85aabccffc17c1488 HEAD 14:27:28 # -> Force: false 14:27:28 # 7ccd8020e8fc85c2bbf5fe8a7a0de49e997d1cc7 refs/tags/v2.2.0-dev.2 [Pipeline] } 14:27:28 $ docker exec --env ******** --env ******** ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf ssh-agent -k 14:27:28 unset SSH_AUTH_SOCK; 14:27:28 unset SSH_AGENT_PID; 14:27:28 echo Agent pid 19 killed; 14:27:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:27:28 + git semver [Pipeline] } 14:27:28 $ docker stop --time=1 ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf 14:27:29 $ docker rm -f ec2149527077b6ffac01cbf0fb2e0946f662d37fa9b4339efd04634a3c9713cf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:27:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:27:30 14:27:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:27:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:27:30 0.23.1-centos7: Pulling from edgex-lftools 14:27:30 ab5ef0e58194: Pulling fs layer 14:27:30 9712f1f96733: Pulling fs layer 14:27:30 63f879dbbcfc: Pulling fs layer 14:27:30 0d9ebad4ef96: Pulling fs layer 14:27:30 e9a5061849ea: Pulling fs layer 14:27:30 d747dcd14b5f: Pulling fs layer 14:27:30 2de7ff778b66: Pulling fs layer 14:27:30 e9a5061849ea: Waiting 14:27:30 d747dcd14b5f: Waiting 14:27:30 2de7ff778b66: Waiting 14:27:30 0d9ebad4ef96: Waiting 14:27:30 9712f1f96733: Verifying Checksum 14:27:30 9712f1f96733: Download complete 14:27:31 63f879dbbcfc: Verifying Checksum 14:27:31 63f879dbbcfc: Download complete 14:27:31 ab5ef0e58194: Verifying Checksum 14:27:31 ab5ef0e58194: Download complete 14:27:31 0d9ebad4ef96: Verifying Checksum 14:27:31 0d9ebad4ef96: Download complete 14:27:31 d747dcd14b5f: Verifying Checksum 14:27:31 d747dcd14b5f: Download complete 14:27:31 e9a5061849ea: Verifying Checksum 14:27:31 e9a5061849ea: Download complete 14:27:31 2de7ff778b66: Verifying Checksum 14:27:31 2de7ff778b66: Download complete 14:27:34 ab5ef0e58194: Pull complete 14:27:34 9712f1f96733: Pull complete 14:27:35 63f879dbbcfc: Pull complete 14:27:38 0d9ebad4ef96: Pull complete 14:27:39 e9a5061849ea: Pull complete 14:27:39 d747dcd14b5f: Pull complete 14:27:40 2de7ff778b66: Pull complete 14:27:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:27:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:27:40 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 14:27:40 $ 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 14:27:44 $ docker top 77a3248063fce026115b463186e161d61377b25ab0bed41f4ca5821788946fa3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:27:44 provisioning config files... 14:27:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config900664642714450564tmp 14:27:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4473608188958237175tmp 14:27:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4170964347040185986tmp [Pipeline] { [Pipeline] echo 14:27:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:27:44 ---> sigul-configuration.sh 14:27:44 gpg: directory `/root/.gnupg' created 14:27:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:27:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:27:44 gpg: keyring `/root/.gnupg/secring.gpg' created 14:27:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:27:44 gpg: CAST5 encrypted data 14:27:44 gpg: encrypted with 1 passphrase 14:27:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:27:44 + mkdir /home/jenkins 14:27:44 + mkdir /home/jenkins/sigul [Pipeline] sh 14:27:45 + 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 14:27:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:27:45 ---> sigul-install.sh 14:27:45 Sigul already installed; skipping installation. [Pipeline] sh 14:27:45 + git tag --list 14:27:45 1.0.0 14:27:45 v0.0.0 14:27:45 v1.1.0 14:27:45 v1.1.1 14:27:45 v1.2.2 14:27:45 v1.3.0 14:27:45 v1.3.1 14:27:45 v2.0.0 14:27:45 v2.0.1-dev.1 14:27:45 v2.0.1-dev.2 14:27:45 v2.0.1-dev.3 14:27:45 v2.0.1-dev.4 14:27:45 v2.0.1-dev.5 14:27:45 v2.0.1-dev.6 14:27:45 v2.1.0 14:27:45 v2.2.0-dev.1 14:27:45 v2.2.0-dev.2 [Pipeline] sh 14:27:46 + lftools sign git-tag v2.2.0-dev.2 14:27:46 Signing Git tag with Sigul... 14:27:46 Signing v2.2.0-dev.2 [Pipeline] echo 14:27:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:27:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:27:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:27:48 $ docker stop --time=1 77a3248063fce026115b463186e161d61377b25ab0bed41f4ca5821788946fa3 14:27:49 $ docker rm -f 77a3248063fce026115b463186e161d61377b25ab0bed41f4ca5821788946fa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:27:50 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:27:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:27:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:27:50 . [Pipeline] withDockerContainer 14:27:50 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 14:27:50 $ 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 14:27:50 $ docker top 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:27:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:27:51 [ssh-agent] Looking for ssh-agent implementation... 14:27:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:27:51 $ docker exec 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 ssh-agent 14:27:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOPNEhJ/agent.13 14:27:51 SSH_AGENT_PID=20 14:27:51 Running ssh-add (command line suppressed) 14:27:51 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8658549929199480068.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8658549929199480068.key) 14:27:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:27:51 + git semver bump pre 14:27:51 # -> Open(): unable to determine branch for HEAD 14:27:51 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 14:27:51 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 14:27:51 # $SEMVER_REMOTE_NAME = origin 14:27:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:27:51 # $SEMVER_USER_NAME = edgex-jenkins 14:27:51 # $SEMVER_BRANCH = main 14:27:51 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 14:27:51 2.2.0-dev.3 [Pipeline] } 14:27:51 $ docker exec --env ******** --env ******** 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 ssh-agent -k 14:27:51 unset SSH_AUTH_SOCK; 14:27:51 unset SSH_AGENT_PID; 14:27:51 echo Agent pid 20 killed; 14:27:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:27:52 + git semver [Pipeline] } 14:27:52 $ docker stop --time=1 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 14:27:53 $ docker rm -f 9aacead784aa754355e68f5b1680bb7a5b10516e4103d98e2d566c0789caae35 [Pipeline] // withDockerContainer [Pipeline] sh 14:27:53 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:27:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:27:53 . [Pipeline] withDockerContainer 14:27:53 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 14:27:54 $ 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 14:27:54 $ docker top fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:27:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:27:54 [ssh-agent] Looking for ssh-agent implementation... 14:27:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:27:54 $ docker exec fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b ssh-agent 14:27:54 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXioocNp/agent.14 14:27:54 SSH_AGENT_PID=21 14:27:54 Running ssh-add (command line suppressed) 14:27:54 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5111956417817571306.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5111956417817571306.key) 14:27:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:27:55 + git semver push 14:27:55 # -> Open(): unable to determine branch for HEAD 14:27:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 14:27:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 14:27:55 # $SEMVER_REMOTE_NAME = origin 14:27:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:27:55 # $SEMVER_USER_NAME = edgex-jenkins 14:27:55 # $SEMVER_BRANCH = main 14:27:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 14:27:56 $ docker exec --env ******** --env ******** fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b ssh-agent -k 14:27:56 unset SSH_AUTH_SOCK; 14:27:56 unset SSH_AGENT_PID; 14:27:56 echo Agent pid 21 killed; 14:27:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:27:56 + git semver [Pipeline] } 14:27:56 $ docker stop --time=1 fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b 14:27:58 $ docker rm -f fcdc91e314fbe7724860dd6d5dc6c8cca6ba9987e2b516ed853c1a256ec7847b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:27:58 + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:27:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:27:59 ---> package-listing.sh 14:27:59 ++ tr '[:upper:]' '[:lower:]' 14:27:59 ++ facter osfamily 14:27:59 + OS_FAMILY=redhat 14:27:59 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 14:27:59 + START_PACKAGES=/tmp/packages_start.txt 14:27:59 + END_PACKAGES=/tmp/packages_end.txt 14:27:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:27:59 + PACKAGES=/tmp/packages_start.txt 14:27:59 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 14:27:59 + PACKAGES=/tmp/packages_end.txt 14:27:59 + case "${OS_FAMILY}" in 14:27:59 + sort 14:27:59 + rpm -qa 14:28:00 + '[' -f /tmp/packages_start.txt ']' 14:28:00 + '[' -f /tmp/packages_end.txt ']' 14:28:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:28:00 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 14:28:00 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 14:28:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 14:28:00 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 14:28:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:28:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:28:01 14:28:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:28:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:28:01 latest: Pulling from edgex-lftools-log-publisher 14:28:01 b4d181a07f80: Pulling fs layer 14:28:01 a1111a8f2ec3: Pulling fs layer 14:28:01 ed53099fbce6: Pulling fs layer 14:28:01 dc539afda2c1: Pulling fs layer 14:28:01 77bc0d833cb6: Pulling fs layer 14:28:01 9065ff56babe: Pulling fs layer 14:28:01 d287ab97295c: Pulling fs layer 14:28:01 dc539afda2c1: Waiting 14:28:01 9065ff56babe: Waiting 14:28:01 77bc0d833cb6: Waiting 14:28:01 d287ab97295c: Waiting 14:28:01 a1111a8f2ec3: Verifying Checksum 14:28:01 a1111a8f2ec3: Download complete 14:28:01 dc539afda2c1: Verifying Checksum 14:28:01 dc539afda2c1: Download complete 14:28:01 ed53099fbce6: Verifying Checksum 14:28:01 ed53099fbce6: Download complete 14:28:02 77bc0d833cb6: Verifying Checksum 14:28:02 77bc0d833cb6: Download complete 14:28:02 b4d181a07f80: Verifying Checksum 14:28:02 b4d181a07f80: Download complete 14:28:02 9065ff56babe: Verifying Checksum 14:28:02 9065ff56babe: Download complete 14:28:02 d287ab97295c: Verifying Checksum 14:28:02 d287ab97295c: Download complete 14:28:03 b4d181a07f80: Pull complete 14:28:03 a1111a8f2ec3: Pull complete 14:28:04 ed53099fbce6: Pull complete 14:28:04 dc539afda2c1: Pull complete 14:28:04 77bc0d833cb6: Pull complete 14:28:04 9065ff56babe: Pull complete 14:28:09 d287ab97295c: Pull complete 14:28:09 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:28:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:28:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:28:09 prd-centos7-docker-4c-2g-98 does not seem to be running inside a container 14:28:10 $ 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 14:28:12 $ docker top 5fd90033b0c42faff1b30c4495062e5c9b8696235af9a394150017770195b7e5 -eo pid,comm [Pipeline] { [Pipeline] sh 14:28:12 + touch /tmp/pre-build-complete [Pipeline] sh 14:28:13 + mkdir -p /var/log/sysstat [Pipeline] sh 14:28:13 + ls /var/log/sa-host 14:28:13 + sadf -c /var/log/sa-host/sa02 14:28:13 file_magic: OK 14:28:13 HZ: Using current value: 100 14:28:13 file_header: OK 14:28:13 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 14:28:13 Statistics: 14:28:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:28:13 File successfully converted to sysstat format version 12.0.3 14:28:13 + sadf -c /var/log/sa-host/sa17 14:28:13 file_magic: OK 14:28:13 HZ: Using current value: 100 14:28:13 file_header: OK 14:28:13 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 14:28:13 Statistics: 14:28:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:28:13 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:28:13 provisioning config files... 14:28:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config328097932455713796tmp [Pipeline] { [Pipeline] echo 14:28:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:28:13 ---> create-netrc.sh [Pipeline] } 14:28:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:28:14 ---> python-tools-install.sh [Pipeline] echo 14:28:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:28:14 ---> sudo-logs.sh 14:28:14 Archiving 'sudo' log.. 14:28:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-98.novalocal: Name or service not known 14:28:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-98.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:28:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:28:14 ---> job-cost.sh 14:28:14 lf-activate-venv: SKIPPING 14:28:14 DEBUG: total: 0.10999999940395355 14:28:14 INFO: Retrieving Stack Cost... 14:28:14 INFO: Retrieving Pricing Info for: v3-standard-2 14:28:15 INFO: Archiving Costs [Pipeline] echo 14:28:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:28:15 ---> logs-deploy.sh 14:28:15 lf-activate-venv: SKIPPING 14:28:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/11 14:28:15 INFO: archiving workspace using pattern(s): 14:28:16 Archives upload complete. 14:28:16 INFO: archiving logs to Nexus