Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f190e6e8df31eb379f6a262f1bc8f793fb631af1 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-ssh11773646089978453327.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-ssh14543916524741526003.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-ssh17778577212842401016.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-ssh11281951569135232885.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-ssh2059383924239464801.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-40’ Running on prd-centos7-docker-4c-2g-42 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-ssh785877239660838499.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 f190e6e8df31eb379f6a262f1bc8f793fb631af1 (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 f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 Commit message: "Merge pull request #130 from lenny-intel/no-win-zmq" > git rev-list --no-walk d6a2d4438fc175be031f77f972aa414c83442272 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:33:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:33:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:33:53 ========================================================= 07:33:53 EdgeX Global Pipelines Version Info 07:33:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:33:54 ------------------- 07:33:54 stable info: 07:33:54 ------------------- 07:33:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:33:54 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 07:33:54 Message: update stable to v1.0.217 07:33:55 ------------------- 07:33:55 experimental info: 07:33:55 ------------------- 07:33:55 Commited By: **** collab-it+edgex@linuxfoundation.org 07:33:55 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 07:33:55 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:33:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] echo 07:33:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f190e6e [Pipeline] echo 07:33:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:56 provisioning config files... 07:33:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2720372021643143888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:33:56 ---> docker-login.sh 07:33:56 nexus3.edgexfoundry.org:10001 07:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:56 Configure a credential helper to remove this warning. See 07:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:56 07:33:56 Login Succeeded 07:33:56 nexus3.edgexfoundry.org:10002 07:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:56 Configure a credential helper to remove this warning. See 07:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:56 07:33:56 Login Succeeded 07:33:56 nexus3.edgexfoundry.org:10003 07:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:56 Configure a credential helper to remove this warning. See 07:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:56 07:33:56 Login Succeeded 07:33:56 nexus3.edgexfoundry.org:10004 07:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:56 Configure a credential helper to remove this warning. See 07:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:56 07:33:56 Login Succeeded 07:33:56 docker.io 07:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:57 Configure a credential helper to remove this warning. See 07:33:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:57 07:33:57 Login Succeeded 07:33:57 ---> docker-login.sh ends [Pipeline] } 07:33:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:33:57 + git rev-list -1 --merges f190e6e8df31eb379f6a262f1bc8f793fb631af1~1..f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] echo 07:33:57 -----------> git rev-list -1 --merges f190e6e8df31eb379f6a262f1bc8f793fb631af1~1..f190e6e8df31eb379f6a262f1bc8f793fb631af1 f190e6e8df31eb379f6a262f1bc8f793fb631af1 07:33:57 f190e6e8df31eb379f6a262f1bc8f793fb631af1 [false] [Pipeline] sh 07:33:58 + git log --format=format:%s -1 f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] echo 07:33:58 ========================================================= 07:33:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:33:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:33:58 + git log --format=format:%s -1 f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] echo 07:33:58 [semverPrep] GIT_COMMIT: f190e6e8df31eb379f6a262f1bc8f793fb631af1, Commit Message: Merge pull request #130 from lenny-intel/no-win-zmq [Pipeline] echo 07:33:58 [semverPrep] This is not a build commit. [Pipeline] sh 07:33:59 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 07:33:59 + grep -v github /etc/ssh/ssh_known_hosts 07:33:59 + '[' -e /tmp/ssh_known_hosts ']' 07:33:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:33:59 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 07:33:59 + sudo tee -a /etc/ssh/ssh_known_hosts 07:33:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:33:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:33:59 07:33:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:33:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:33:59 latest: Pulling from edgex-devops/git-semver 07:33:59 a0d0a0d46f8b: Pulling fs layer 07:33:59 3e5f54012d9b: Pulling fs layer 07:33:59 4c7163046ea9: Pulling fs layer 07:33:59 0c2d73faf560: Pulling fs layer 07:33:59 0c2d73faf560: Waiting 07:33:59 3e5f54012d9b: Verifying Checksum 07:33:59 3e5f54012d9b: Download complete 07:33:59 a0d0a0d46f8b: Verifying Checksum 07:33:59 a0d0a0d46f8b: Download complete 07:33:59 4c7163046ea9: Verifying Checksum 07:33:59 4c7163046ea9: Download complete 07:33:59 0c2d73faf560: Verifying Checksum 07:33:59 0c2d73faf560: Download complete 07:34:00 a0d0a0d46f8b: Pull complete 07:34:00 3e5f54012d9b: Pull complete 07:34:00 4c7163046ea9: Pull complete 07:34:00 0c2d73faf560: Pull complete 07:34:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:34:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:34:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:34:00 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 07:34:00 $ 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 07:34:01 $ docker top adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:34:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:01 [ssh-agent] Looking for ssh-agent implementation... 07:34:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:01 $ docker exec adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 ssh-agent 07:34:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKmfgda/agent.15 07:34:01 SSH_AGENT_PID=21 07:34:01 Running ssh-add (command line suppressed) 07:34:01 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5423844817272473229.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5423844817272473229.key) 07:34:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:02 + git tag --points-at HEAD [Pipeline] } 07:34:02 $ docker exec --env ******** --env ******** adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 ssh-agent -k 07:34:02 unset SSH_AUTH_SOCK; 07:34:02 unset SSH_AGENT_PID; 07:34:02 echo Agent pid 21 killed; 07:34:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:34:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:02 [ssh-agent] Looking for ssh-agent implementation... 07:34:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:02 $ docker exec adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 ssh-agent 07:34:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGkgEBd/agent.55 07:34:02 SSH_AGENT_PID=61 07:34:02 Running ssh-add (command line suppressed) 07:34:02 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6321749672570657849.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6321749672570657849.key) 07:34:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:02 + git semver init 07:34:02 # -> Open(): unable to determine branch for HEAD 07:34:02 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 07:34:02 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 07:34:02 # $SEMVER_REMOTE_NAME = origin 07:34:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:34:02 # $SEMVER_USER_NAME = edgex-jenkins 07:34:02 # $SEMVER_BRANCH = main 07:34:02 # $SEMVER_TEMP = /tmp/semver-086859690 07:34:02 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 07:34:03 # '/tmp/semver-086859690' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 07:34:03 # -> Force: false 07:34:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 07:34:03 $ docker exec --env ******** --env ******** adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 ssh-agent -k 07:34:04 unset SSH_AUTH_SOCK; 07:34:04 unset SSH_AGENT_PID; 07:34:04 echo Agent pid 61 killed; 07:34:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:34:04 + git semver [Pipeline] } 07:34:04 $ docker stop --time=1 adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 07:34:05 $ docker rm -f adc110f1aab1e6d8ff30e8c9e7f0702f26aeddebd2269f92f8f23f2033cd5089 [Pipeline] // withDockerContainer [Pipeline] sh 07:34:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:34:06 Stashed 1 file(s) [Pipeline] echo 07:34:06 [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [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 07:34:21 Still waiting to schedule task 07:34:21 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:34:21 Still waiting to schedule task 07:34:21 ‘prd-ubuntu18.04-docker-arm64-4c-16g-41’ is offline 07:36:16 Running on prd-centos7-docker-4c-2g-45 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 07:36:16 Running in /w/workspace/device-snmp-go/10 [Pipeline] { [Pipeline] checkout 07:36:16 Selected Git installation does not exist. Using Default 07:36:16 The recommended git tool is: NONE 07:36:18 using credential edgex-jenkins-ssh 07:36:18 Cloning the remote Git repository 07:36:17 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:36:17 > git init /w/workspace/device-snmp-go/10 # timeout=10 07:36:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:36:17 > git --version # timeout=10 07:36:17 > git --version # 'git version 2.24.4' 07:36:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:36:17 [INFO] Currently running in a labeled security context 07:36:17 [INFO] Currently SELinux is 'enforcing' on the host 07:36:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/10@tmp/jenkins-gitclient-ssh3007348603410254184.key 07:36:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:19 Avoid second fetch 07:36:19 Checking out Revision f190e6e8df31eb379f6a262f1bc8f793fb631af1 (main) 07:36:18 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:36:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:18 > git config core.sparsecheckout # timeout=10 07:36:18 > git checkout -f f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 07:36:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-44 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 07:36:22 Running in /w/workspace/device-snmp-go/10 [Pipeline] { [Pipeline] checkout 07:36:22 Selected Git installation does not exist. Using Default 07:36:22 The recommended git tool is: NONE 07:36:22 Commit message: "Merge pull request #130 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:23 provisioning config files... 07:36:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config227701682378073771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:23 ---> docker-login.sh 07:36:23 nexus3.edgexfoundry.org:10001 07:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:23 Configure a credential helper to remove this warning. See 07:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:23 07:36:23 Login Succeeded 07:36:23 nexus3.edgexfoundry.org:10002 07:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:24 Configure a credential helper to remove this warning. See 07:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:24 07:36:24 Login Succeeded 07:36:24 nexus3.edgexfoundry.org:10003 07:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:24 Configure a credential helper to remove this warning. See 07:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:24 07:36:24 Login Succeeded 07:36:24 nexus3.edgexfoundry.org:10004 07:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:24 Configure a credential helper to remove this warning. See 07:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:24 07:36:24 Login Succeeded 07:36:24 docker.io 07:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:24 Configure a credential helper to remove this warning. See 07:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:24 07:36:24 Login Succeeded 07:36:24 ---> docker-login.sh ends [Pipeline] } 07:36:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:36:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:36:24 ========================================================= 07:36:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:36:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:36:25 + 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 . 07:36:25 Sending build context to Docker daemon 2.677MB 07:36:25 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 07:36:25 Step 2/11 : FROM ${BASE} AS builder 07:36:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:36:25 a0d0a0d46f8b: Pulling fs layer 07:36:25 31adcdaf11c8: Pulling fs layer 07:36:25 b8b176561691: Pulling fs layer 07:36:25 4527c011a84f: Pulling fs layer 07:36:25 5d74067f8e1e: Pulling fs layer 07:36:25 e0aca202a116: Pulling fs layer 07:36:25 3a43be97a3b4: Pulling fs layer 07:36:25 34cad66bf833: Pulling fs layer 07:36:25 b4e3c513aaa6: Pulling fs layer 07:36:25 e0aca202a116: Waiting 07:36:25 3a43be97a3b4: Waiting 07:36:25 34cad66bf833: Waiting 07:36:25 b4e3c513aaa6: Waiting 07:36:25 4527c011a84f: Waiting 07:36:25 5d74067f8e1e: Waiting 07:36:25 b8b176561691: Verifying Checksum 07:36:25 b8b176561691: Download complete 07:36:25 31adcdaf11c8: Verifying Checksum 07:36:25 31adcdaf11c8: Download complete 07:36:25 5d74067f8e1e: Verifying Checksum 07:36:25 5d74067f8e1e: Download complete 07:36:25 e0aca202a116: Verifying Checksum 07:36:25 e0aca202a116: Download complete 07:36:25 a0d0a0d46f8b: Verifying Checksum 07:36:25 a0d0a0d46f8b: Download complete 07:36:25 3a43be97a3b4: Verifying Checksum 07:36:25 3a43be97a3b4: Download complete 07:36:25 34cad66bf833: Verifying Checksum 07:36:25 34cad66bf833: Download complete 07:36:25 4527c011a84f: Verifying Checksum 07:36:25 4527c011a84f: Download complete 07:36:25 b4e3c513aaa6: Verifying Checksum 07:36:25 b4e3c513aaa6: Download complete 07:36:25 a0d0a0d46f8b: Pull complete 07:36:25 31adcdaf11c8: Pull complete 07:36:25 b8b176561691: Pull complete 07:36:27 using credential edgex-jenkins-ssh 07:36:27 Cloning the remote Git repository 07:36:28 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:36:28 > git init /w/workspace/device-snmp-go/10 # timeout=10 07:36:28 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:36:28 > git --version # timeout=10 07:36:28 > git --version # 'git version 2.17.1' 07:36:28 using GIT_SSH to set credentials SSH Credentials for GitHub 07:36:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:29 Avoid second fetch 07:36:29 Checking out Revision f190e6e8df31eb379f6a262f1bc8f793fb631af1 (main) 07:36:30 4527c011a84f: Pull complete 07:36:30 5d74067f8e1e: Pull complete 07:36:30 e0aca202a116: Pull complete 07:36:30 3a43be97a3b4: Pull complete 07:36:30 34cad66bf833: Pull complete 07:36:29 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:36:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:29 > git config core.sparsecheckout # timeout=10 07:36:29 > git checkout -f f190e6e8df31eb379f6a262f1bc8f793fb631af1 # timeout=10 07:36:32 b4e3c513aaa6: Pull complete 07:36:32 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 07:36:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:36:32 ---> 9f6097aaca64 07:36:32 Step 3/11 : ARG MAKE='make build' 07:36:34 Commit message: "Merge pull request #130 from lenny-intel/no-win-zmq" 07:36:34 ---> Running in 69e139b0d63d 07:36:34 Removing intermediate container 69e139b0d63d 07:36:34 ---> 2b4e7f048c57 07:36:34 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:36:34 ---> Running in c5f97266195c 07:36:34 Removing intermediate container c5f97266195c 07:36:34 ---> 794d5f18a2a4 07:36:34 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 07:36:34 ---> Running in 7d1e4ad345be 07:36:34 Removing intermediate container 7d1e4ad345be 07:36:34 ---> 1583fd283885 07:36:34 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:36:34 ---> Running in e7c3fbcca6df [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:34 Removing intermediate container e7c3fbcca6df 07:36:34 ---> e3eb807ef37a 07:36:34 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:36:34 ---> Running in 65e6f9e09aa9 07:36:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:36:34 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:34 Dload Upload Total Spent Left Speed 07:36:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k 07:36:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [Pipeline] sh 07:36:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:36:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:36:35 + sudo tee /etc/docker/daemon.new 07:36:35 { 07:36:35 "registry-mirrors": [ 07:36:35 "https://nexus3.edgexfoundry.org:10001" 07:36:35 ], 07:36:35 "bip": "10.250.0.254/24", 07:36:35 "hosts": [ 07:36:35 "tcp://0.0.0.0:5555", 07:36:35 "unix:///var/run/docker.sock" 07:36:35 ], 07:36:35 "mtu": 1458, 07:36:35 "selinux-enabled": true, 07:36:35 "seccomp-profile": "/etc/docker/seccomp.json" 07:36:35 } [Pipeline] sh 07:36:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:36:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:36:36 (1/4) Installing openssh-keygen (8.6_p1-r3) 07:36:36 (2/4) Installing libedit (20210216.3.1-r0) 07:36:36 (3/4) Installing openssh-client-common (8.6_p1-r3) 07:36:36 (4/4) Installing openssh-client-default (8.6_p1-r3) 07:36:36 Executing busybox-1.33.1-r3.trigger 07:36:36 OK: 224 MiB in 56 packages 07:36:36 + sudo service docker restart 07:36:36 Removing intermediate container 65e6f9e09aa9 07:36:36 ---> 8c14ad6665d1 07:36:36 Step 8/11 : WORKDIR /device-snmp-go 07:36:36 ---> Running in 09a7d6bdfa59 07:36:36 Removing intermediate container 09a7d6bdfa59 07:36:36 ---> e0cd6ee343b3 07:36:36 Step 9/11 : COPY . . 07:36:37 ---> 2e9f1da0b781 07:36:37 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:36:37 ---> Running in b7ccd269b48f [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:54 provisioning config files... 07:36:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config7857014891989414476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:55 ---> docker-login.sh 07:36:55 nexus3.edgexfoundry.org:10001 07:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:56 Configure a credential helper to remove this warning. See 07:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:56 07:36:56 Login Succeeded 07:36:56 nexus3.edgexfoundry.org:10002 07:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:56 Configure a credential helper to remove this warning. See 07:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:56 07:36:56 Login Succeeded 07:36:56 nexus3.edgexfoundry.org:10003 07:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:56 Configure a credential helper to remove this warning. See 07:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:56 07:36:56 Login Succeeded 07:36:56 nexus3.edgexfoundry.org:10004 07:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:57 Configure a credential helper to remove this warning. See 07:36:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:57 07:36:57 Login Succeeded 07:36:57 docker.io 07:36:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:36:58 Configure a credential helper to remove this warning. See 07:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:36:58 07:36:58 Login Succeeded 07:36:58 ---> docker-login.sh ends [Pipeline] } 07:36:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:36:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:36:58 ========================================================= 07:36:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:36:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:36:58 + 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 . 07:36:59 Sending build context to Docker daemon 2.676MB 07:36:59 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 07:36:59 Step 2/11 : FROM ${BASE} AS builder 07:36:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:36:59 552d1f2373af: Pulling fs layer 07:36:59 ea3f2d53f512: Pulling fs layer 07:36:59 9e70ebbbe112: Pulling fs layer 07:36:59 7a9cfe048b4a: Pulling fs layer 07:36:59 72dc09318566: Pulling fs layer 07:36:59 f4f7b4309257: Pulling fs layer 07:36:59 0ac9a79272e3: Pulling fs layer 07:36:59 7a9cfe048b4a: Waiting 07:36:59 72dc09318566: Waiting 07:36:59 f4f7b4309257: Waiting 07:36:59 b78e95d17946: Pulling fs layer 07:36:59 0ac9a79272e3: Waiting 07:36:59 b78e95d17946: Waiting 07:36:59 9e70ebbbe112: Verifying Checksum 07:36:59 9e70ebbbe112: Download complete 07:36:59 ea3f2d53f512: Verifying Checksum 07:36:59 ea3f2d53f512: Download complete 07:36:59 72dc09318566: Verifying Checksum 07:36:59 72dc09318566: Download complete 07:36:59 f4f7b4309257: Verifying Checksum 07:36:59 f4f7b4309257: Download complete 07:36:59 552d1f2373af: Verifying Checksum 07:36:59 0ac9a79272e3: Verifying Checksum 07:36:59 0ac9a79272e3: Download complete 07:37:00 552d1f2373af: Pull complete 07:37:01 ea3f2d53f512: Pull complete 07:37:01 9e70ebbbe112: Pull complete 07:37:01 b78e95d17946: Verifying Checksum 07:37:01 b78e95d17946: Download complete 07:37:01 7a9cfe048b4a: Verifying Checksum 07:37:01 7a9cfe048b4a: Download complete 07:37:03 Removing intermediate container b7ccd269b48f 07:37:03 ---> 06bd9d88c27e 07:37:03 Step 11/11 : RUN ${MAKE} 07:37:03 ---> Running in 59d1ce6cba29 07:37:04 noop 07:37:04 Removing intermediate container 59d1ce6cba29 07:37:04 ---> 78efe00e7afc 07:37:04 Successfully built 78efe00e7afc 07:37:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:37:04 + docker inspect -f . ci-base-image-x86_64 07:37:04 . [Pipeline] withDockerContainer 07:37:04 prd-centos7-docker-4c-2g-45 does not seem to be running inside a container 07:37:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:37:05 $ docker top b66646f78ed92db2bb641c40ae045bfcaaa61c76de27f7c6cd9c9d404fdf6aa4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:05 + go version 07:37:05 go version go1.16.8 linux/amd64 [Pipeline] } 07:37:05 $ docker stop --time=1 b66646f78ed92db2bb641c40ae045bfcaaa61c76de27f7c6cd9c9d404fdf6aa4 07:37:06 $ docker rm -f b66646f78ed92db2bb641c40ae045bfcaaa61c76de27f7c6cd9c9d404fdf6aa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:37:07 + docker inspect -f . ci-base-image-x86_64 07:37:07 . [Pipeline] withDockerContainer 07:37:07 prd-centos7-docker-4c-2g-45 does not seem to be running inside a container 07:37:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:37:07 $ docker top d2e13fbdf7d603d25bde8cb3aa277d5ee7f5723926a2d6540564889b201cc3e2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:37:07 + make test 07:37:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:37:08 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:37:14 7a9cfe048b4a: Pull complete 07:37:14 72dc09318566: Pull complete 07:37:14 f4f7b4309257: Pull complete 07:37:14 0ac9a79272e3: Pull complete 07:37:19 b78e95d17946: Pull complete 07:37:19 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 07:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:37:19 ---> 8b459fc5aaf0 07:37:19 Step 3/11 : ARG MAKE='make build' 07:37:21 ---> Running in c67044bee7d8 07:37:21 Removing intermediate container c67044bee7d8 07:37:21 ---> f82286d769eb 07:37:21 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:37:21 ---> Running in afadb3bfd449 07:37:22 Removing intermediate container afadb3bfd449 07:37:22 ---> cf426e38f303 07:37:22 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 07:37:22 ---> Running in 8712638daaa0 07:37:22 Removing intermediate container 8712638daaa0 07:37:22 ---> 7573baad52ad 07:37:22 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:37:22 ---> Running in 9af3d27003b4 07:37:23 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:37:23 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 07:37:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:37:24 Removing intermediate container 9af3d27003b4 07:37:24 ---> b4d3ceaf04f9 07:37:24 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:37:24 ---> Running in f583323b2ca5 07:37:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:37:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:37:27 (1/4) Installing openssh-keygen (8.6_p1-r3) 07:37:27 (2/4) Installing libedit (20210216.3.1-r0) 07:37:27 (3/4) Installing openssh-client-common (8.6_p1-r3) 07:37:27 (4/4) Installing openssh-client-default (8.6_p1-r3) 07:37:27 Executing busybox-1.33.1-r3.trigger 07:37:27 OK: 223 MiB in 56 packages 07:37:28 Removing intermediate container f583323b2ca5 07:37:28 ---> 37de3aa1a6c3 07:37:28 Step 8/11 : WORKDIR /device-snmp-go 07:37:28 ---> Running in 5b64edbd8110 07:37:29 Removing intermediate container 5b64edbd8110 07:37:29 ---> c3060f4563e5 07:37:29 Step 9/11 : COPY . . 07:37:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:37:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:37:30 ./bin/test-attribution-txt.sh [Pipeline] echo 07:37:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:37:30 $ docker stop --time=1 d2e13fbdf7d603d25bde8cb3aa277d5ee7f5723926a2d6540564889b201cc3e2 07:37:30 ---> 1ae573dbda04 07:37:30 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:30 ---> Running in 85cc41aad8db 07:37:31 $ docker rm -f d2e13fbdf7d603d25bde8cb3aa277d5ee7f5723926a2d6540564889b201cc3e2 [Pipeline] // withDockerContainer [Pipeline] sh 07:37:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:37:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:37:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:37:33 + ls -al . 07:37:33 total 144 07:37:33 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 2 07:37 . 07:37:33 drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 07:36 .. 07:37:33 -rw-rw-r--. 1 jenkins jenkins 6926 Dec 2 07:36 Attribution.txt 07:37:33 drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 07:36 bin 07:37:33 -rw-rw-r--. 1 jenkins jenkins 4401 Dec 2 07:36 CHANGELOG.md 07:37:33 drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 07:36 cmd 07:37:33 -rw-r--r--. 1 jenkins jenkins 7631 Dec 2 07:37 coverage.out 07:37:33 -rw-rw-r--. 1 jenkins jenkins 1493 Dec 2 07:36 Dockerfile 07:37:33 -rw-rw-r--. 1 jenkins jenkins 6 Dec 2 07:36 .dockerignore 07:37:33 drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 07:36 .git 07:37:33 drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 07:36 .github 07:37:33 -rw-rw-r--. 1 jenkins jenkins 262 Dec 2 07:36 .gitignore 07:37:33 -rw-rw-r--. 1 jenkins jenkins 214 Dec 2 07:36 go.mod 07:37:33 -rw-rw-r--. 1 jenkins jenkins 49501 Dec 2 07:36 go.sum 07:37:33 -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 07:36 GOVERNANCE.md 07:37:33 drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 07:36 internal 07:37:33 -rw-rw-r--. 1 jenkins jenkins 656 Dec 2 07:36 Jenkinsfile 07:37:33 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 07:36 LICENSE 07:37:33 -rw-rw-r--. 1 jenkins jenkins 1057 Dec 2 07:36 Makefile 07:37:33 -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 07:36 OWNERS.md 07:37:33 -rw-rw-r--. 1 jenkins jenkins 9073 Dec 2 07:36 README.md 07:37:33 drwxrwxr-x. 3 jenkins jenkins 58 Dec 2 07:36 snap 07:37:33 -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 07:34 VERSION 07:37:33 -rw-rw-r--. 1 jenkins jenkins 209 Dec 2 07:36 version.go [Pipeline] isUnix [Pipeline] sh 07:37:33 + 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=f190e6e8df31eb379f6a262f1bc8f793fb631af1 --label arch=amd64 --label version=2.2.0-dev.1 . 07:37:33 Sending build context to Docker daemon 2.685MB 07:37:33 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 07:37:33 Step 2/23 : FROM ${BASE} AS builder 07:37:33 ---> 78efe00e7afc 07:37:33 Step 3/23 : ARG MAKE='make build' 07:37:33 ---> Running in c63e11e4f8b5 07:37:33 Removing intermediate container c63e11e4f8b5 07:37:33 ---> 8e53717327d4 07:37:33 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:37:33 ---> Running in 4582ef4d7b62 07:37:33 Removing intermediate container 4582ef4d7b62 07:37:33 ---> 899d78711ccb 07:37:33 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:37:33 ---> Running in cefbdba1b046 07:37:33 Removing intermediate container cefbdba1b046 07:37:33 ---> 486cde17ea72 07:37:33 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:37:33 ---> Running in 3f32c1907831 07:37:34 Removing intermediate container 3f32c1907831 07:37:34 ---> 10ca5ac55707 07:37:34 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:37:34 ---> Running in 1aa80f79ecca 07:37:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:37:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:37:35 OK: 224 MiB in 56 packages 07:37:35 Removing intermediate container 1aa80f79ecca 07:37:35 ---> b74bb841217c 07:37:35 Step 8/23 : WORKDIR /device-snmp-go 07:37:35 ---> Running in bc7fac957823 07:37:35 Removing intermediate container bc7fac957823 07:37:35 ---> 0a5d1cffe158 07:37:35 Step 9/23 : COPY . . 07:37:35 ---> f92eb5e12c96 07:37:35 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:36 ---> Running in 5d2928a13e3d 07:37:36 Removing intermediate container 5d2928a13e3d 07:37:36 ---> e99947512e8c 07:37:36 Step 11/23 : RUN ${MAKE} 07:37:36 ---> Running in 3193a4f3b262 07:37:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.1" -o cmd/device-snmp ./cmd 07:37:48 Removing intermediate container 3193a4f3b262 07:37:48 ---> c63373c5f4bf 07:37:48 Step 12/23 : FROM alpine:3.14 07:37:48 3.14: Pulling from library/alpine 07:37:48 97518928ae5f: Pulling fs layer 07:37:49 97518928ae5f: Verifying Checksum 07:37:49 97518928ae5f: Download complete 07:37:49 97518928ae5f: Pull complete 07:37:49 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 07:37:49 Status: Downloaded newer image for alpine:3.14 07:37:49 ---> 0a97eee8041e 07:37:49 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 07:37:49 ---> Running in 6d0228b88b63 07:37:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:37:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:37:49 (1/6) Installing dumb-init (1.2.5-r1) 07:37:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:37:49 (3/6) Installing libsodium (1.0.18-r0) 07:37:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:37:49 (5/6) Installing libzmq (4.3.4-r0) 07:37:49 (6/6) Installing zeromq (4.3.4-r0) 07:37:49 Executing busybox-1.33.1-r6.trigger 07:37:49 OK: 8 MiB in 20 packages 07:37:50 Removing intermediate container 6d0228b88b63 07:37:50 ---> 57db72306ede 07:37:50 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 07:37:50 ---> 1ebece4214e1 07:37:50 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:37:50 ---> cf9190a22c01 07:37:50 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 07:37:50 ---> 70d6a8a8125f 07:37:50 Step 17/23 : EXPOSE 59993 07:37:50 ---> Running in bd9172c1e4e7 07:37:50 Removing intermediate container bd9172c1e4e7 07:37:50 ---> 132a231b756c 07:37:50 Step 18/23 : EXPOSE 161 07:37:50 ---> Running in 95d142976fe1 07:37:50 Removing intermediate container 95d142976fe1 07:37:50 ---> 7a181bc8506f 07:37:50 Step 19/23 : ENTRYPOINT ["/device-snmp"] 07:37:50 ---> Running in 560d18a031c4 07:37:51 Removing intermediate container 560d18a031c4 07:37:51 ---> 5bc7ec5665ef 07:37:51 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:37:51 ---> Running in 219b388db0a8 07:37:51 Removing intermediate container 219b388db0a8 07:37:51 ---> 5c0752302706 07:37:51 Step 21/23 : LABEL arch=amd64 07:37:51 ---> Running in 4a762dc48b98 07:37:51 Removing intermediate container 4a762dc48b98 07:37:51 ---> d92b15f8fe5d 07:37:51 Step 22/23 : LABEL git_sha=f190e6e8df31eb379f6a262f1bc8f793fb631af1 07:37:51 ---> Running in 15e66b134eee 07:37:51 Removing intermediate container 15e66b134eee 07:37:51 ---> c56f6e34f77e 07:37:51 Step 23/23 : LABEL version=2.2.0-dev.1 07:37:51 ---> Running in 1d6e13d95eff 07:37:51 Removing intermediate container 1d6e13d95eff 07:37:51 ---> f6cf147f1a8f 07:37:51 [Warning] One or more build-args [ARCH] were not consumed 07:37:51 Successfully built f6cf147f1a8f 07:37:51 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:51 provisioning config files... 07:37:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config5133578860660546309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:51 ---> docker-login.sh 07:37:51 nexus3.edgexfoundry.org:10001 07:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:51 Configure a credential helper to remove this warning. See 07:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:51 07:37:51 Login Succeeded 07:37:51 nexus3.edgexfoundry.org:10002 07:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:51 Configure a credential helper to remove this warning. See 07:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:51 07:37:51 Login Succeeded 07:37:51 nexus3.edgexfoundry.org:10003 07:37:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:52 Configure a credential helper to remove this warning. See 07:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:52 07:37:52 Login Succeeded 07:37:52 nexus3.edgexfoundry.org:10004 07:37:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:52 Configure a credential helper to remove this warning. See 07:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:52 07:37:52 Login Succeeded 07:37:52 docker.io 07:37:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:52 Configure a credential helper to remove this warning. See 07:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:52 07:37:52 Login Succeeded 07:37:52 ---> docker-login.sh ends [Pipeline] } 07:37:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:37:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:37:52 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 07:37:52 f190e6e8df31eb379f6a262f1bc8f793fb631af1 07:37:52 latest 07:37:52 2.2.0-dev.1 07:37:52 f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 07:37:52 main 07:37:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:37:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] isUnix [Pipeline] sh 07:37:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1 07:37:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:37:53 b5be9f590b5e: Preparing 07:37:53 c3f3730165ff: Preparing 07:37:53 1c7864de5e71: Preparing 07:37:53 ea5968c64dc6: Preparing 07:37:53 1a058d5342cc: Preparing 07:37:53 1a058d5342cc: Layer already exists 07:37:53 b5be9f590b5e: Pushed 07:37:53 c3f3730165ff: Pushed 07:37:53 ea5968c64dc6: Pushed 07:37:54 1c7864de5e71: Pushed 07:37:54 f190e6e8df31eb379f6a262f1bc8f793fb631af1: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] isUnix [Pipeline] sh 07:37:54 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 07:37:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 07:37:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:37:55 b5be9f590b5e: Preparing 07:37:55 c3f3730165ff: Preparing 07:37:55 1c7864de5e71: Preparing 07:37:55 ea5968c64dc6: Preparing 07:37:55 1a058d5342cc: Preparing 07:37:55 ea5968c64dc6: Layer already exists 07:37:55 1a058d5342cc: Layer already exists 07:37:55 c3f3730165ff: Layer already exists 07:37:55 b5be9f590b5e: Layer already exists 07:37:55 1c7864de5e71: Layer already exists 07:37:55 latest: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] isUnix [Pipeline] sh 07:37:55 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 07:37:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.1 07:37:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:37:55 b5be9f590b5e: Preparing 07:37:55 c3f3730165ff: Preparing 07:37:55 1c7864de5e71: Preparing 07:37:55 ea5968c64dc6: Preparing 07:37:55 1a058d5342cc: Preparing 07:37:55 c3f3730165ff: Layer already exists 07:37:55 1a058d5342cc: Layer already exists 07:37:55 1c7864de5e71: Layer already exists 07:37:55 b5be9f590b5e: Layer already exists 07:37:55 ea5968c64dc6: Layer already exists 07:37:55 2.2.0-dev.1: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] isUnix [Pipeline] sh 07:37:56 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 07:37:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 07:37:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:37:56 b5be9f590b5e: Preparing 07:37:56 c3f3730165ff: Preparing 07:37:56 1c7864de5e71: Preparing 07:37:56 ea5968c64dc6: Preparing 07:37:56 1a058d5342cc: Preparing 07:37:56 c3f3730165ff: Layer already exists 07:37:56 1a058d5342cc: Layer already exists 07:37:56 b5be9f590b5e: Layer already exists 07:37:56 ea5968c64dc6: Layer already exists 07:37:56 1c7864de5e71: Layer already exists 07:37:56 f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] isUnix [Pipeline] sh 07:37:56 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 07:37:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 07:37:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:37:56 b5be9f590b5e: Preparing 07:37:56 c3f3730165ff: Preparing 07:37:56 1c7864de5e71: Preparing 07:37:56 ea5968c64dc6: Preparing 07:37:56 1a058d5342cc: Preparing 07:37:56 1c7864de5e71: Layer already exists 07:37:56 c3f3730165ff: Layer already exists 07:37:56 ea5968c64dc6: Layer already exists 07:37:56 b5be9f590b5e: Layer already exists 07:37:56 1a058d5342cc: Layer already exists 07:37:56 main: digest: sha256:85151e69d1f9bbd072691191654fe7a8629346883f8868c2e577c15bf80af2e2 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:37:56 ===================================================== [Pipeline] echo 07:37:56 taggedImages: 07:37:56 - nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1 07:37:56 - nexus3.edgexfoundry.org:10004/device-snmp:latest 07:37:56 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.1 07:37:56 - nexus3.edgexfoundry.org:10004/device-snmp:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 07:37:56 - 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 07:37:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:57 07:37:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:37:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:57 latest: Pulling from edgex-lftools-log-publisher 07:37:57 b4d181a07f80: Pulling fs layer 07:37:57 a1111a8f2ec3: Pulling fs layer 07:37:57 ed53099fbce6: Pulling fs layer 07:37:57 dc539afda2c1: Pulling fs layer 07:37:57 77bc0d833cb6: Pulling fs layer 07:37:57 9065ff56babe: Pulling fs layer 07:37:57 d287ab97295c: Pulling fs layer 07:37:57 dc539afda2c1: Waiting 07:37:57 77bc0d833cb6: Waiting 07:37:57 9065ff56babe: Waiting 07:37:57 d287ab97295c: Waiting 07:37:57 a1111a8f2ec3: Verifying Checksum 07:37:57 a1111a8f2ec3: Download complete 07:37:57 dc539afda2c1: Verifying Checksum 07:37:57 dc539afda2c1: Download complete 07:37:57 ed53099fbce6: Verifying Checksum 07:37:57 ed53099fbce6: Download complete 07:37:57 9065ff56babe: Verifying Checksum 07:37:57 9065ff56babe: Download complete 07:37:57 77bc0d833cb6: Verifying Checksum 07:37:57 77bc0d833cb6: Download complete 07:37:58 b4d181a07f80: Verifying Checksum 07:37:58 b4d181a07f80: Download complete 07:37:58 d287ab97295c: Verifying Checksum 07:37:58 d287ab97295c: Download complete 07:37:59 b4d181a07f80: Pull complete 07:37:59 a1111a8f2ec3: Pull complete 07:38:00 ed53099fbce6: Pull complete 07:38:00 dc539afda2c1: Pull complete 07:38:00 77bc0d833cb6: Pull complete 07:38:00 9065ff56babe: Pull complete 07:38:06 d287ab97295c: Pull complete 07:38:06 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:38:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:38:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:38:06 prd-centos7-docker-4c-2g-45 does not seem to be running inside a container 07:38:06 $ 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/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 07:38:08 $ docker top 270abac84628b247123b73d4422f9ce2cec80920d670fc100f2507e9e51b5142 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:08 ---> job-cost.sh 07:38:08 lf-activate-venv: SKIPPING 07:38:08 INFO: No Stack... 07:38:08 INFO: Retrieving Pricing Info for: v3-standard-2 07:38:09 INFO: Archiving Costs [Pipeline] sh 07:38:09 + cat /w/workspace/device-snmp-go/10/archives/cost.csv 07:38:09 + cut -d, -f6 [Pipeline] lock 07:38:09 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] 07:38:09 Resource [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] did not exist. Created. 07:38:09 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:38:09 + echo total: 0.05999999865889549 [Pipeline] stash 07:38:09 Stashed 1 file(s) [Pipeline] } 07:38:09 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 07:38:09 $ docker stop --time=1 270abac84628b247123b73d4422f9ce2cec80920d670fc100f2507e9e51b5142 07:38:11 $ docker rm -f 270abac84628b247123b73d4422f9ce2cec80920d670fc100f2507e9e51b5142 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:38:52 Removing intermediate container 85cc41aad8db 07:38:52 ---> 474402419552 07:38:52 Step 11/11 : RUN ${MAKE} 07:38:52 ---> Running in 196803049fcf 07:38:52 noop 07:38:52 Removing intermediate container 196803049fcf 07:38:52 ---> 4bf64f7bb705 07:38:52 Successfully built 4bf64f7bb705 07:38:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:38:52 + docker inspect -f . ci-base-image-arm64 07:38:52 . [Pipeline] withDockerContainer 07:38:52 prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container 07:38:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 07:38:54 $ docker top 8315e2331f162b94c48d599d6394b31b88e8fc2bc48a9833f05b08080b36abe1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:55 + go version 07:38:55 go version go1.16.8 linux/arm64 [Pipeline] } 07:38:55 $ docker stop --time=1 8315e2331f162b94c48d599d6394b31b88e8fc2bc48a9833f05b08080b36abe1 07:38:56 $ docker rm -f 8315e2331f162b94c48d599d6394b31b88e8fc2bc48a9833f05b08080b36abe1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:38:57 + docker inspect -f . ci-base-image-arm64 07:38:57 . [Pipeline] withDockerContainer 07:38:57 prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container 07:38:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 07:38:59 $ docker top a327692f3681152b752d2d199e59e5db09befcdab2ae96645aba05e2d20f0cbb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:38:59 + make test 07:38:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:39:01 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:39:57 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:39:57 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 07:39:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:40:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:40:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:40:20 ./bin/test-attribution-txt.sh [Pipeline] echo 07:40:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:40:22 $ docker stop --time=1 a327692f3681152b752d2d199e59e5db09befcdab2ae96645aba05e2d20f0cbb 07:40:24 $ docker rm -f a327692f3681152b752d2d199e59e5db09befcdab2ae96645aba05e2d20f0cbb [Pipeline] // withDockerContainer [Pipeline] sh 07:40:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:40:25 Warning: overwriting stash ‘coverage-report’ 07:40:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:40:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:40:26 + ls -al . 07:40:26 total 172 07:40:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 07:40 . 07:40:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 07:36 .. 07:40:26 -rw-rw-r-- 1 jenkins jenkins 6 Dec 2 07:36 .dockerignore 07:40:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 07:36 .git 07:40:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 07:36 .github 07:40:26 -rw-rw-r-- 1 jenkins jenkins 262 Dec 2 07:36 .gitignore 07:40:26 -rw-rw-r-- 1 jenkins jenkins 6926 Dec 2 07:36 Attribution.txt 07:40:26 -rw-rw-r-- 1 jenkins jenkins 4401 Dec 2 07:36 CHANGELOG.md 07:40:26 -rw-rw-r-- 1 jenkins jenkins 1493 Dec 2 07:36 Dockerfile 07:40:26 -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 07:36 GOVERNANCE.md 07:40:26 -rw-rw-r-- 1 jenkins jenkins 656 Dec 2 07:36 Jenkinsfile 07:40:26 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 07:36 LICENSE 07:40:26 -rw-rw-r-- 1 jenkins jenkins 1057 Dec 2 07:36 Makefile 07:40:26 -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 07:36 OWNERS.md 07:40:26 -rw-rw-r-- 1 jenkins jenkins 9073 Dec 2 07:36 README.md 07:40:26 -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 07:34 VERSION 07:40:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 07:36 bin 07:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 07:36 cmd 07:40:26 -rw-r--r-- 1 jenkins jenkins 7631 Dec 2 07:39 coverage.out 07:40:26 -rw-rw-r-- 1 jenkins jenkins 214 Dec 2 07:36 go.mod 07:40:26 -rw-rw-r-- 1 jenkins jenkins 49501 Dec 2 07:36 go.sum 07:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 07:36 internal 07:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 07:36 snap 07:40:26 -rw-rw-r-- 1 jenkins jenkins 209 Dec 2 07:36 version.go [Pipeline] isUnix [Pipeline] sh 07:40:26 + 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=f190e6e8df31eb379f6a262f1bc8f793fb631af1 --label arch=arm64 --label version=2.2.0-dev.1 . 07:40:26 Sending build context to Docker daemon 2.684MB 07:40:26 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 07:40:26 Step 2/23 : FROM ${BASE} AS builder 07:40:26 ---> 4bf64f7bb705 07:40:26 Step 3/23 : ARG MAKE='make build' 07:40:27 ---> Running in ec96520a421f 07:40:27 Removing intermediate container ec96520a421f 07:40:27 ---> e362b0db4387 07:40:27 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:40:27 ---> Running in 825c4411a04d 07:40:27 Removing intermediate container 825c4411a04d 07:40:27 ---> b7c962a429a1 07:40:27 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:40:27 ---> Running in 706a7a1d6a29 07:40:28 Removing intermediate container 706a7a1d6a29 07:40:28 ---> d2e216dceec9 07:40:28 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:40:28 ---> Running in 6441b06885ad 07:40:30 Removing intermediate container 6441b06885ad 07:40:30 ---> e46b1a450fab 07:40:30 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:40:30 ---> Running in 70b22d2f634e 07:40:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:40:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:40:32 OK: 223 MiB in 56 packages 07:40:33 Removing intermediate container 70b22d2f634e 07:40:33 ---> 97604ca2f09a 07:40:33 Step 8/23 : WORKDIR /device-snmp-go 07:40:33 ---> Running in 797a610aa2d9 07:40:33 Removing intermediate container 797a610aa2d9 07:40:33 ---> 65db4b7cf35a 07:40:33 Step 9/23 : COPY . . 07:40:34 ---> 7e7c34553fbf 07:40:34 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:34 ---> Running in e14eb9f3632a 07:40:36 Removing intermediate container e14eb9f3632a 07:40:36 ---> 52336266a857 07:40:36 Step 11/23 : RUN ${MAKE} 07:40:36 ---> Running in 8284745ac696 07:40:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.1" -o cmd/device-snmp ./cmd 07:41:16 Removing intermediate container 8284745ac696 07:41:16 ---> fce66e9a6b63 07:41:16 Step 12/23 : FROM alpine:3.14 07:41:16 3.14: Pulling from library/alpine 07:41:16 be307f383ecc: Pulling fs layer 07:41:16 be307f383ecc: Verifying Checksum 07:41:16 be307f383ecc: Download complete 07:41:16 be307f383ecc: Pull complete 07:41:16 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 07:41:16 Status: Downloaded newer image for alpine:3.14 07:41:16 ---> 5b8b7b635229 07:41:16 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 07:41:16 ---> Running in 39212570299d 07:41:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:41:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:41:17 (1/6) Installing dumb-init (1.2.5-r1) 07:41:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:41:17 (3/6) Installing libsodium (1.0.18-r0) 07:41:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:41:17 (5/6) Installing libzmq (4.3.4-r0) 07:41:17 (6/6) Installing zeromq (4.3.4-r0) 07:41:17 Executing busybox-1.33.1-r6.trigger 07:41:17 OK: 8 MiB in 20 packages 07:41:18 Removing intermediate container 39212570299d 07:41:18 ---> b9f275130468 07:41:18 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 07:41:19 ---> 3b601c8c5e9e 07:41:19 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:41:19 ---> fe73d9875d7a 07:41:19 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 07:41:20 ---> 99a34cfbbc0b 07:41:20 Step 17/23 : EXPOSE 59993 07:41:20 ---> Running in 98b22cbec39f 07:41:20 Removing intermediate container 98b22cbec39f 07:41:20 ---> 3852d3e726c6 07:41:20 Step 18/23 : EXPOSE 161 07:41:20 ---> Running in 88108df95383 07:41:21 Removing intermediate container 88108df95383 07:41:21 ---> b5a47165dad4 07:41:21 Step 19/23 : ENTRYPOINT ["/device-snmp"] 07:41:21 ---> Running in 23bdcf46fa88 07:41:21 Removing intermediate container 23bdcf46fa88 07:41:21 ---> 0625b129dd7f 07:41:21 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:41:21 ---> Running in a47cf2e213a9 07:41:21 Removing intermediate container a47cf2e213a9 07:41:21 ---> 7ad65fdc9bc1 07:41:21 Step 21/23 : LABEL arch=arm64 07:41:22 ---> Running in 6032dc02ea03 07:41:22 Removing intermediate container 6032dc02ea03 07:41:22 ---> 7bba3b0970f6 07:41:22 Step 22/23 : LABEL git_sha=f190e6e8df31eb379f6a262f1bc8f793fb631af1 07:41:22 ---> Running in 14fb0969ff36 07:41:22 Removing intermediate container 14fb0969ff36 07:41:22 ---> 18e1297e995f 07:41:22 Step 23/23 : LABEL version=2.2.0-dev.1 07:41:23 ---> Running in 2bda2829f388 07:41:23 Removing intermediate container 2bda2829f388 07:41:23 ---> 8c56bb26d25f 07:41:23 [Warning] One or more build-args [ARCH] were not consumed 07:41:23 Successfully built 8c56bb26d25f 07:41:23 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 07:41:23 provisioning config files... 07:41:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config960458823746250638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:23 ---> docker-login.sh 07:41:23 nexus3.edgexfoundry.org:10001 07:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:24 Configure a credential helper to remove this warning. See 07:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:24 07:41:24 Login Succeeded 07:41:24 nexus3.edgexfoundry.org:10002 07:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:24 Configure a credential helper to remove this warning. See 07:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:24 07:41:24 Login Succeeded 07:41:24 nexus3.edgexfoundry.org:10003 07:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:25 Configure a credential helper to remove this warning. See 07:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:25 07:41:25 Login Succeeded 07:41:25 nexus3.edgexfoundry.org:10004 07:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:25 Configure a credential helper to remove this warning. See 07:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:25 07:41:25 Login Succeeded 07:41:25 docker.io 07:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:26 Configure a credential helper to remove this warning. See 07:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:26 07:41:26 Login Succeeded 07:41:26 ---> docker-login.sh ends [Pipeline] } 07:41:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:41:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:26 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 07:41:26 f190e6e8df31eb379f6a262f1bc8f793fb631af1 07:41:26 latest 07:41:26 2.2.0-dev.1 07:41:26 f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 07:41:26 main 07:41:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:41:26 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] isUnix [Pipeline] sh 07:41:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1 07:41:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:41:27 634a0a251f76: Preparing 07:41:27 1968a2304d04: Preparing 07:41:27 be476c5f038b: Preparing 07:41:27 4cb551396fc4: Preparing 07:41:27 62170e181a92: Preparing 07:41:27 62170e181a92: Layer already exists 07:41:27 1968a2304d04: Pushed 07:41:27 634a0a251f76: Pushed 07:41:28 4cb551396fc4: Pushed 07:41:30 be476c5f038b: Pushed 07:41:30 f190e6e8df31eb379f6a262f1bc8f793fb631af1: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] isUnix [Pipeline] sh 07:41:30 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:41:31 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:41:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:41:31 634a0a251f76: Preparing 07:41:31 1968a2304d04: Preparing 07:41:31 be476c5f038b: Preparing 07:41:31 4cb551396fc4: Preparing 07:41:31 62170e181a92: Preparing 07:41:31 1968a2304d04: Layer already exists 07:41:31 be476c5f038b: Layer already exists 07:41:31 634a0a251f76: Layer already exists 07:41:31 4cb551396fc4: Layer already exists 07:41:31 62170e181a92: Layer already exists 07:41:31 latest: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] isUnix [Pipeline] sh 07:41:31 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 07:41:32 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.1 07:41:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:41:32 634a0a251f76: Preparing 07:41:32 1968a2304d04: Preparing 07:41:32 be476c5f038b: Preparing 07:41:32 4cb551396fc4: Preparing 07:41:32 62170e181a92: Preparing 07:41:32 4cb551396fc4: Layer already exists 07:41:32 1968a2304d04: Layer already exists 07:41:32 62170e181a92: Layer already exists 07:41:32 be476c5f038b: Layer already exists 07:41:32 634a0a251f76: Layer already exists 07:41:32 2.2.0-dev.1: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] isUnix [Pipeline] sh 07:41:32 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 07:41:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 07:41:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:41:33 634a0a251f76: Preparing 07:41:33 1968a2304d04: Preparing 07:41:33 be476c5f038b: Preparing 07:41:33 4cb551396fc4: Preparing 07:41:33 62170e181a92: Preparing 07:41:33 1968a2304d04: Layer already exists 07:41:33 634a0a251f76: Layer already exists 07:41:33 be476c5f038b: Layer already exists 07:41:33 4cb551396fc4: Layer already exists 07:41:33 62170e181a92: Layer already exists 07:41:33 f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] isUnix [Pipeline] sh 07:41:33 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 07:41:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 07:41:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:41:33 634a0a251f76: Preparing 07:41:33 1968a2304d04: Preparing 07:41:33 be476c5f038b: Preparing 07:41:33 4cb551396fc4: Preparing 07:41:33 62170e181a92: Preparing 07:41:33 be476c5f038b: Layer already exists 07:41:33 634a0a251f76: Layer already exists 07:41:33 62170e181a92: Layer already exists 07:41:33 4cb551396fc4: Layer already exists 07:41:33 1968a2304d04: Layer already exists 07:41:33 main: digest: sha256:75d47a5f7825125628e4f5a6f72581cf143e4e0afe408470688a94a04891f5b9 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:41:34 ===================================================== [Pipeline] echo 07:41:34 taggedImages: 07:41:34 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1 07:41:34 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:41:34 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.1 07:41:34 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:f190e6e8df31eb379f6a262f1bc8f793fb631af1-2.2.0-dev.1 07:41:34 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:41:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:41:34 07:41:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:41:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:41:35 arm64: Pulling from edgex-lftools-log-publisher 07:41:35 448f6bf000e3: Pulling fs layer 07:41:35 f757da607395: Pulling fs layer 07:41:35 05883995daec: Pulling fs layer 07:41:35 8603b9c90790: Pulling fs layer 07:41:35 1560dd03e051: Pulling fs layer 07:41:35 27f5ce0e4adf: Pulling fs layer 07:41:35 c2d8d7efcc4b: Pulling fs layer 07:41:35 1560dd03e051: Waiting 07:41:35 27f5ce0e4adf: Waiting 07:41:35 c2d8d7efcc4b: Waiting 07:41:35 8603b9c90790: Waiting 07:41:35 f757da607395: Verifying Checksum 07:41:35 f757da607395: Download complete 07:41:35 8603b9c90790: Verifying Checksum 07:41:35 8603b9c90790: Download complete 07:41:35 1560dd03e051: Verifying Checksum 07:41:35 1560dd03e051: Download complete 07:41:35 27f5ce0e4adf: Download complete 07:41:35 05883995daec: Verifying Checksum 07:41:35 05883995daec: Download complete 07:41:35 448f6bf000e3: Verifying Checksum 07:41:35 448f6bf000e3: Download complete 07:41:38 c2d8d7efcc4b: Verifying Checksum 07:41:38 c2d8d7efcc4b: Download complete 07:41:39 448f6bf000e3: Pull complete 07:41:40 f757da607395: Pull complete 07:41:41 05883995daec: Pull complete 07:41:41 8603b9c90790: Pull complete 07:41:42 1560dd03e051: Pull complete 07:41:42 27f5ce0e4adf: Pull complete 07:41:57 c2d8d7efcc4b: Pull complete 07:41:57 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 07:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:41:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:41:58 prd-ubuntu18.04-docker-arm64-4c-16g-44 does not seem to be running inside a container 07:41:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 07:42:00 $ docker top efab3eefe59e1dcec3942e69901f724fef78fece09528425870aa6b8f641b35b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:42:01 ---> job-cost.sh 07:42:01 lf-activate-venv: SKIPPING 07:42:01 INFO: No Stack... 07:42:02 INFO: Retrieving Pricing Info for: v3-standard-4 07:42:02 INFO: Archiving Costs [Pipeline] sh 07:42:02 + cut -d, -f6+ cat /w/workspace/device-snmp-go/10/archives/cost.csv 07:42:02 [Pipeline] lock 07:42:03 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] 07:42:03 Resource [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] did not exist. Created. 07:42:03 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:42:03 /w/workspace/device-snmp-go/10@tmp/durable-6ef4a2f1/script.sh: 1: /w/workspace/device-snmp-go/10@tmp/durable-6ef4a2f1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:42:04 + echo total: 0.10999999940395355 [Pipeline] stash 07:42:04 Warning: overwriting stash ‘stack-cost’ 07:42:04 Stashed 1 file(s) [Pipeline] } 07:42:04 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 07:42:04 $ docker stop --time=1 efab3eefe59e1dcec3942e69901f724fef78fece09528425870aa6b8f641b35b 07:42:05 $ docker rm -f efab3eefe59e1dcec3942e69901f724fef78fece09528425870aa6b8f641b35b [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 07:42:06 provisioning config files... 07:42:06 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5447162751300456485tmp [Pipeline] { [Pipeline] sh 07:42:06 + set +x 07:42:06 + bash -s -- 07:42:06 + curl -s https://codecov.io/bash 07:42:06 07:42:06 _____ _ 07:42:06 / ____| | | 07:42:06 | | ___ __| | ___ ___ _____ __ 07:42:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:42:06 | |___| (_) | (_| | __/ (_| (_) \ V / 07:42:06 \_____\___/ \__,_|\___|\___\___/ \_/ 07:42:06 Bash-1.0.6 07:42:06 07:42:06 07:42:06 ==> git version 2.24.4 found 07:42:06 ==> 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 07:42:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:42:06 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:42:06 ==> Jenkins CI detected. 07:42:06 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 07:42:06 project root: . 07:42:06 --> token set from env 07:42:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:42:06 ==> Running gcov in . (disable via -X gcov) 07:42:06 ==> Python coveragepy not found 07:42:06 ==> Searching for coverage reports in: 07:42:06 + . 07:42:06 -> Found 1 reports 07:42:06 ==> Detecting git/mercurial file structure 07:42:06 ==> Reading reports 07:42:06 + ./coverage.out bytes=7631 07:42:06 ==> Appending adjustments 07:42:06 https://docs.codecov.io/docs/fixing-reports 07:42:07 + Found adjustments 07:42:07 ==> Gzipping contents 07:42:07 4.0K /tmp/codecov.ojLUvo.gz 07:42:07 ==> Uploading reports 07:42:07 url: https://codecov.io 07:42:07 query: branch=main&commit=f190e6e8df31eb379f6a262f1bc8f793fb631af1&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:42:07 -> Pinging Codecov 07:42:07 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=f190e6e8df31eb379f6a262f1bc8f793fb631af1&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:42:07 -> Uploading to 07:42:07 https://storage.googleapis.com/codecov/v4/raw/2021-12-02/6C56EA5C29638FB4528AC87E60AF5AE0/f190e6e8df31eb379f6a262f1bc8f793fb631af1/3ceb8d3d-c225-4541-a8ef-6ad64cb020f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T074207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fde92c3d1b6a1dd168cebc175debd2bd547fe3e0f47325256b019ca5f883a00a 07:42:07 % Total % Received % Xferd Average Speed Time Time Time Current 07:42:07 Dload Upload Total Spent Left Speed 07:42:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4835 --:--:-- --:--:-- --:--:-- 4825 100 1578 0 0 100 1578 0 4832 --:--:-- --:--:-- --:--:-- 4825 07:42:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] } 07:42:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:42:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:42:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:42:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:42:08 07:42:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 07:42:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:42:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:42:08 188c0c94c7c5: Pulling fs layer 07:42:08 0ef7d3d256c8: Pulling fs layer 07:42:08 de9db76c5a1d: Pulling fs layer 07:42:08 0eba1c9be4d2: Pulling fs layer 07:42:08 0d57e429df01: Pulling fs layer 07:42:08 4e4be7b47b0d: Pulling fs layer 07:42:08 e1f770b5df2f: Pulling fs layer 07:42:08 85a0685a4137: Pulling fs layer 07:42:08 0d57e429df01: Waiting 07:42:08 4e4be7b47b0d: Waiting 07:42:08 e1f770b5df2f: Waiting 07:42:08 85a0685a4137: Waiting 07:42:08 0eba1c9be4d2: Waiting 07:42:08 de9db76c5a1d: Verifying Checksum 07:42:08 de9db76c5a1d: Download complete 07:42:08 0ef7d3d256c8: Download complete 07:42:08 0d57e429df01: Verifying Checksum 07:42:08 0d57e429df01: Download complete 07:42:08 4e4be7b47b0d: Verifying Checksum 07:42:08 4e4be7b47b0d: Download complete 07:42:08 188c0c94c7c5: Verifying Checksum 07:42:08 188c0c94c7c5: Download complete 07:42:08 e1f770b5df2f: Verifying Checksum 07:42:08 e1f770b5df2f: Download complete 07:42:09 0eba1c9be4d2: Verifying Checksum 07:42:09 0eba1c9be4d2: Download complete 07:42:09 188c0c94c7c5: Pull complete 07:42:09 85a0685a4137: Verifying Checksum 07:42:09 85a0685a4137: Download complete 07:42:09 0ef7d3d256c8: Pull complete 07:42:09 de9db76c5a1d: Pull complete 07:42:13 0eba1c9be4d2: Pull complete 07:42:13 0d57e429df01: Pull complete 07:42:13 4e4be7b47b0d: Pull complete 07:42:13 e1f770b5df2f: Pull complete 07:42:16 85a0685a4137: Pull complete 07:42:16 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 07:42:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:42:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 07:42:17 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 07:42: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 07:42:19 $ docker top ba81b236380aa968b53d0011ed2952760a9bf4d2f1960025e150ff97e22e6f83 -eo pid,comm [Pipeline] { [Pipeline] echo 07:42:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 07:42:19 + set -o pipefail 07:42:19 + snyk monitor '--org=edgex-jenkins' 07:42:24 07:42:24 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 07:42:24 07:42:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/8db595cb-869d-47dc-b8f4-cefeeaae4b6a 07:42:24 07:42:24 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:42:24 07:42:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:42:24 07:42:24 [Pipeline] } 07:42:24 $ docker stop --time=1 ba81b236380aa968b53d0011ed2952760a9bf4d2f1960025e150ff97e22e6f83 07:42:27 $ docker rm -f ba81b236380aa968b53d0011ed2952760a9bf4d2f1960025e150ff97e22e6f83 [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 07:42:28 + git log --format=format:%s -1 f190e6e8df31eb379f6a262f1bc8f793fb631af1 [Pipeline] sh 07:42:28 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 07:42:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:42:28 . [Pipeline] withDockerContainer 07:42:28 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 07:42:28 $ 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 07:42:29 $ docker top 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:42:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:42:29 [ssh-agent] Looking for ssh-agent implementation... 07:42:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:42:29 $ docker exec 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 ssh-agent 07:42:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjAOiek/agent.13 07:42:29 SSH_AGENT_PID=19 07:42:29 Running ssh-add (command line suppressed) 07:42:29 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3240599114164617998.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3240599114164617998.key) 07:42:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:42:29 + git semver tag 07:42:29 # -> Open(): unable to determine branch for HEAD 07:42:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 07:42:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 07:42:29 # $SEMVER_REMOTE_NAME = origin 07:42:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:42:29 # $SEMVER_USER_NAME = edgex-jenkins 07:42:29 # $SEMVER_BRANCH = main 07:42:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 07:42:29 # f190e6e8df31eb379f6a262f1bc8f793fb631af1 HEAD 07:42:29 # -> Force: false 07:42:29 # 314402a0a41ca0693f2243cc1f56d59e6a0f20db refs/tags/v2.2.0-dev.1 [Pipeline] } 07:42:29 $ docker exec --env ******** --env ******** 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 ssh-agent -k 07:42:29 unset SSH_AUTH_SOCK; 07:42:29 unset SSH_AGENT_PID; 07:42:29 echo Agent pid 19 killed; 07:42:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:42:30 + git semver [Pipeline] } 07:42:30 $ docker stop --time=1 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 07:42:31 $ docker rm -f 01c3391f6c196baff11627c2b3502623bed43cf292e4134a72501eddd97b8315 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:42:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:42:31 07:42:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:42:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:42:32 0.23.1-centos7: Pulling from edgex-lftools 07:42:32 ab5ef0e58194: Pulling fs layer 07:42:32 9712f1f96733: Pulling fs layer 07:42:32 63f879dbbcfc: Pulling fs layer 07:42:32 0d9ebad4ef96: Pulling fs layer 07:42:32 e9a5061849ea: Pulling fs layer 07:42:32 d747dcd14b5f: Pulling fs layer 07:42:32 2de7ff778b66: Pulling fs layer 07:42:32 e9a5061849ea: Waiting 07:42:32 d747dcd14b5f: Waiting 07:42:32 2de7ff778b66: Waiting 07:42:32 0d9ebad4ef96: Waiting 07:42:32 9712f1f96733: Download complete 07:42:32 63f879dbbcfc: Verifying Checksum 07:42:32 63f879dbbcfc: Download complete 07:42:32 ab5ef0e58194: Verifying Checksum 07:42:32 ab5ef0e58194: Download complete 07:42:32 d747dcd14b5f: Verifying Checksum 07:42:32 d747dcd14b5f: Download complete 07:42:32 0d9ebad4ef96: Verifying Checksum 07:42:32 0d9ebad4ef96: Download complete 07:42:32 e9a5061849ea: Verifying Checksum 07:42:32 e9a5061849ea: Download complete 07:42:32 2de7ff778b66: Verifying Checksum 07:42:32 2de7ff778b66: Download complete 07:42:35 ab5ef0e58194: Pull complete 07:42:35 9712f1f96733: Pull complete 07:42:36 63f879dbbcfc: Pull complete 07:42:40 0d9ebad4ef96: Pull complete 07:42:40 e9a5061849ea: Pull complete 07:42:40 d747dcd14b5f: Pull complete 07:42:42 2de7ff778b66: Pull complete 07:42:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:42:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:42:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:42:42 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 07:42:42 $ 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 07:42:45 $ docker top aa5125330f501640b5afac333e5008cb7ac9708fe6a91bf0dfc8027ca36ff07b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:42:45 provisioning config files... 07:42:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3586536726624002587tmp 07:42:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2700608543195881970tmp 07:42:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1892348183395085220tmp [Pipeline] { [Pipeline] echo 07:42:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:42:46 ---> sigul-configuration.sh 07:42:46 gpg: directory `/root/.gnupg' created 07:42:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:42:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:42:46 gpg: keyring `/root/.gnupg/secring.gpg' created 07:42:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:42:46 gpg: CAST5 encrypted data 07:42:46 gpg: encrypted with 1 passphrase 07:42:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:42:46 + mkdir /home/jenkins 07:42:46 + mkdir /home/jenkins/sigul [Pipeline] sh 07:42:46 + 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 07:42:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:42:46 ---> sigul-install.sh 07:42:46 Sigul already installed; skipping installation. [Pipeline] sh 07:42:47 + git tag --list 07:42:47 1.0.0 07:42:47 v0.0.0 07:42:47 v1.1.0 07:42:47 v1.1.1 07:42:47 v1.2.2 07:42:47 v1.3.0 07:42:47 v1.3.1 07:42:47 v2.0.0 07:42:47 v2.0.1-dev.1 07:42:47 v2.0.1-dev.2 07:42:47 v2.0.1-dev.3 07:42:47 v2.0.1-dev.4 07:42:47 v2.0.1-dev.5 07:42:47 v2.0.1-dev.6 07:42:47 v2.1.0 07:42:47 v2.2.0-dev.1 [Pipeline] sh 07:42:47 + lftools sign git-tag v2.2.0-dev.1 07:42:48 Signing Git tag with Sigul... 07:42:48 Signing v2.2.0-dev.1 [Pipeline] echo 07:42:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:42:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:42:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:42:49 $ docker stop --time=1 aa5125330f501640b5afac333e5008cb7ac9708fe6a91bf0dfc8027ca36ff07b 07:42:50 $ docker rm -f aa5125330f501640b5afac333e5008cb7ac9708fe6a91bf0dfc8027ca36ff07b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:42:51 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 07:42:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:42:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:42:51 . [Pipeline] withDockerContainer 07:42:51 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 07:42:51 $ 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 07:42:52 $ docker top d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:42:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:42:52 [ssh-agent] Looking for ssh-agent implementation... 07:42:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:42:52 $ docker exec d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f ssh-agent 07:42:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKKPBGp/agent.13 07:42:52 SSH_AGENT_PID=19 07:42:52 Running ssh-add (command line suppressed) 07:42:52 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1796569542221742311.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1796569542221742311.key) 07:42:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:42:52 + git semver bump pre 07:42:52 # -> Open(): unable to determine branch for HEAD 07:42:52 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 07:42:52 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 07:42:52 # $SEMVER_REMOTE_NAME = origin 07:42:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:42:52 # $SEMVER_USER_NAME = edgex-jenkins 07:42:52 # $SEMVER_BRANCH = main 07:42:52 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 07:42:52 2.2.0-dev.2 [Pipeline] } 07:42:52 $ docker exec --env ******** --env ******** d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f ssh-agent -k 07:42:52 unset SSH_AUTH_SOCK; 07:42:52 unset SSH_AGENT_PID; 07:42:52 echo Agent pid 19 killed; 07:42:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:42:53 + git semver [Pipeline] } 07:42:53 $ docker stop --time=1 d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f 07:42:54 $ docker rm -f d32a58a039b96fd66b34d4917651379ad9756ff3b93277f00134c1cf30ea611f [Pipeline] // withDockerContainer [Pipeline] sh 07:42:55 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 07:42:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:42:55 . [Pipeline] withDockerContainer 07:42:55 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 07:42:55 $ 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 07:42:55 $ docker top 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:42:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:42:55 [ssh-agent] Looking for ssh-agent implementation... 07:42:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:42:56 $ docker exec 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 ssh-agent 07:42:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpBmjFp/agent.14 07:42:56 SSH_AGENT_PID=20 07:42:56 Running ssh-add (command line suppressed) 07:42:56 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2276757690005361942.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2276757690005361942.key) 07:42:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:42:56 + git semver push 07:42:56 # -> Open(): unable to determine branch for HEAD 07:42:56 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 07:42:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 07:42:56 # $SEMVER_REMOTE_NAME = origin 07:42:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:42:56 # $SEMVER_USER_NAME = edgex-jenkins 07:42:56 # $SEMVER_BRANCH = main 07:42:56 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 07:42:58 $ docker exec --env ******** --env ******** 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 ssh-agent -k 07:42:58 unset SSH_AUTH_SOCK; 07:42:58 unset SSH_AGENT_PID; 07:42:58 echo Agent pid 20 killed; 07:42:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:42:58 + git semver [Pipeline] } 07:42:58 $ docker stop --time=1 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 07:43:00 $ docker rm -f 06b05fbf58361c6ddaa7817d17385fe7dc8b32fe4e16235c55985e93cc576e34 [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 07:43:01 + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 07:43:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:43:02 ---> package-listing.sh 07:43:02 ++ facter osfamily 07:43:02 ++ tr '[:upper:]' '[:lower:]' 07:43:02 + OS_FAMILY=redhat 07:43:02 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 07:43:02 + START_PACKAGES=/tmp/packages_start.txt 07:43:02 + END_PACKAGES=/tmp/packages_end.txt 07:43:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:43:02 + PACKAGES=/tmp/packages_start.txt 07:43:02 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 07:43:02 + PACKAGES=/tmp/packages_end.txt 07:43:02 + case "${OS_FAMILY}" in 07:43:02 + rpm -qa 07:43:02 + sort 07:43:02 + '[' -f /tmp/packages_start.txt ']' 07:43:02 + '[' -f /tmp/packages_end.txt ']' 07:43:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:43:02 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 07:43:02 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 07:43:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 07:43:02 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 07:43:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:43:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:43:03 07:43:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:43:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:43:04 latest: Pulling from edgex-lftools-log-publisher 07:43:04 b4d181a07f80: Pulling fs layer 07:43:04 a1111a8f2ec3: Pulling fs layer 07:43:04 ed53099fbce6: Pulling fs layer 07:43:04 dc539afda2c1: Pulling fs layer 07:43:04 77bc0d833cb6: Pulling fs layer 07:43:04 9065ff56babe: Pulling fs layer 07:43:04 d287ab97295c: Pulling fs layer 07:43:04 77bc0d833cb6: Waiting 07:43:04 9065ff56babe: Waiting 07:43:04 d287ab97295c: Waiting 07:43:04 dc539afda2c1: Waiting 07:43:04 a1111a8f2ec3: Verifying Checksum 07:43:04 a1111a8f2ec3: Download complete 07:43:04 dc539afda2c1: Verifying Checksum 07:43:04 dc539afda2c1: Download complete 07:43:04 ed53099fbce6: Verifying Checksum 07:43:04 ed53099fbce6: Download complete 07:43:04 77bc0d833cb6: Verifying Checksum 07:43:04 77bc0d833cb6: Download complete 07:43:04 9065ff56babe: Verifying Checksum 07:43:04 9065ff56babe: Download complete 07:43:04 b4d181a07f80: Verifying Checksum 07:43:04 b4d181a07f80: Download complete 07:43:04 d287ab97295c: Verifying Checksum 07:43:04 d287ab97295c: Download complete 07:43:05 b4d181a07f80: Pull complete 07:43:06 a1111a8f2ec3: Pull complete 07:43:06 ed53099fbce6: Pull complete 07:43:06 dc539afda2c1: Pull complete 07:43:06 77bc0d833cb6: Pull complete 07:43:06 9065ff56babe: Pull complete 07:43:12 d287ab97295c: Pull complete 07:43:12 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:43:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:43:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:43:12 prd-centos7-docker-4c-2g-42 does not seem to be running inside a container 07:43:12 $ 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 07:43:14 $ docker top c3c6c5393fc188e786218a9ff70890e57d57acb35b647628c7abf1b39a9f9681 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:15 + touch /tmp/pre-build-complete [Pipeline] sh 07:43:15 + mkdir -p /var/log/sysstat [Pipeline] sh 07:43:15 + ls /var/log/sa-host 07:43:15 + sadf -c /var/log/sa-host/sa02 07:43:15 file_magic: OK 07:43:15 HZ: Using current value: 100 07:43:15 file_header: OK 07:43:15 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 07:43:15 Statistics: 07:43:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:43:15 File successfully converted to sysstat format version 12.0.3 07:43:15 + sadf -c /var/log/sa-host/sa17 07:43:15 file_magic: OK 07:43:15 HZ: Using current value: 100 07:43:15 file_header: OK 07:43:15 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 07:43:15 Statistics: 07:43:15 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:43:15 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:43:15 provisioning config files... 07:43:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6274887588173802554tmp [Pipeline] { [Pipeline] echo 07:43:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:43:16 ---> create-netrc.sh [Pipeline] } 07:43:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:43:16 ---> python-tools-install.sh [Pipeline] echo 07:43:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:43:16 ---> sudo-logs.sh 07:43:16 Archiving 'sudo' log.. 07:43:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-42.novalocal: Name or service not known 07:43:16 sudo: unable to resolve host prd-centos7-docker-4c-2g-42.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 07:43:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:43:17 ---> job-cost.sh 07:43:17 lf-activate-venv: SKIPPING 07:43:17 DEBUG: total: 0.10999999940395355 07:43:17 INFO: Retrieving Stack Cost... 07:43:17 INFO: Retrieving Pricing Info for: v3-standard-2 07:43:19 INFO: Archiving Costs [Pipeline] echo 07:43:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:43:19 ---> logs-deploy.sh 07:43:19 lf-activate-venv: SKIPPING 07:43:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/10 07:43:19 INFO: archiving workspace using pattern(s): 07:43:20 Archives upload complete. 07:43:20 INFO: archiving logs to Nexus