Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 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-ssh7053500011601812526.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3682129136286324345.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11709382061327223801.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3755027445553130184.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-ssh15848463091851925474.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1659 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-ssh3337114302764907484.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 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 (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 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 # timeout=10 Commit message: "Merge pull request #133 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" > git rev-list --no-walk 88e18fd07957abed78799bc43ba159f1a7719259 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:09:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:09:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:09:30 ========================================================= 06:09:30 EdgeX Global Pipelines Version Info 06:09:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:09:31 ------------------- 06:09:31 stable info: 06:09:31 ------------------- 06:09:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:09:31 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 06:09:31 Message: update stable to v1.0.219 06:09:32 ------------------- 06:09:32 experimental info: 06:09:32 ------------------- 06:09:32 Commited By: **** collab-it+edgex@linuxfoundation.org 06:09:32 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 06:09:32 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:09:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:09:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] echo 06:09:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58834fc [Pipeline] echo 06:09:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:33 provisioning config files... 06:09:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3759784455547845557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:33 ---> docker-login.sh 06:09:33 nexus3.edgexfoundry.org:10001 06:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:33 Configure a credential helper to remove this warning. See 06:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:33 06:09:33 Login Succeeded 06:09:33 nexus3.edgexfoundry.org:10002 06:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:33 Configure a credential helper to remove this warning. See 06:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:33 06:09:33 Login Succeeded 06:09:33 nexus3.edgexfoundry.org:10003 06:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:33 Configure a credential helper to remove this warning. See 06:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:33 06:09:33 Login Succeeded 06:09:33 nexus3.edgexfoundry.org:10004 06:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:33 Configure a credential helper to remove this warning. See 06:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:33 06:09:33 Login Succeeded 06:09:33 docker.io 06:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:34 Configure a credential helper to remove this warning. See 06:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:34 06:09:34 Login Succeeded 06:09:34 ---> docker-login.sh ends [Pipeline] } 06:09:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:09:34 + git rev-list -1 --merges 58834fc6b430fe9b88288769f7ae389ff6e0a5f7~1..58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] echo 06:09:34 -----------> git rev-list -1 --merges 58834fc6b430fe9b88288769f7ae389ff6e0a5f7~1..58834fc6b430fe9b88288769f7ae389ff6e0a5f7 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 06:09:34 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [false] [Pipeline] sh 06:09:35 + git log --format=format:%s -1 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] echo 06:09:35 ========================================================= 06:09:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:09:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:35 + git log --format=format:%s -1 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] echo 06:09:35 [semverPrep] GIT_COMMIT: 58834fc6b430fe9b88288769f7ae389ff6e0a5f7, Commit Message: Merge pull request #133 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8 [Pipeline] echo 06:09:35 [semverPrep] This is not a build commit. [Pipeline] sh 06:09:36 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:09:36 + grep -v github /etc/ssh/ssh_known_hosts 06:09:36 + '[' -e /tmp/ssh_known_hosts ']' 06:09:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:09:36 + sudo tee -a /etc/ssh/ssh_known_hosts 06:09:36 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 06:09:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:09:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:09:36 06:09:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:09:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:09:36 latest: Pulling from edgex-devops/git-semver 06:09:36 a0d0a0d46f8b: Pulling fs layer 06:09:36 3e5f54012d9b: Pulling fs layer 06:09:36 4c7163046ea9: Pulling fs layer 06:09:36 0c2d73faf560: Pulling fs layer 06:09:36 0c2d73faf560: Waiting 06:09:36 3e5f54012d9b: Verifying Checksum 06:09:36 3e5f54012d9b: Download complete 06:09:36 a0d0a0d46f8b: Verifying Checksum 06:09:36 a0d0a0d46f8b: Download complete 06:09:36 0c2d73faf560: Verifying Checksum 06:09:36 0c2d73faf560: Download complete 06:09:36 4c7163046ea9: Verifying Checksum 06:09:36 4c7163046ea9: Download complete 06:09:36 a0d0a0d46f8b: Pull complete 06:09:36 3e5f54012d9b: Pull complete 06:09:37 4c7163046ea9: Pull complete 06:09:37 0c2d73faf560: Pull complete 06:09:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 06:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:09:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:09:37 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:09:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:09:37 $ docker top 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:38 [ssh-agent] Looking for ssh-agent implementation... 06:09:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:38 $ docker exec 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 ssh-agent 06:09:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFhaaKP/agent.14 06:09:38 SSH_AGENT_PID=20 06:09:38 Running ssh-add (command line suppressed) 06:09:38 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7508145305275878867.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7508145305275878867.key) 06:09:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:39 + git tag --points-at HEAD [Pipeline] } 06:09:38 $ docker exec --env ******** --env ******** 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 ssh-agent -k 06:09:38 unset SSH_AUTH_SOCK; 06:09:38 unset SSH_AGENT_PID; 06:09:38 echo Agent pid 20 killed; 06:09:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:09:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:39 [ssh-agent] Looking for ssh-agent implementation... 06:09:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:38 $ docker exec 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 ssh-agent 06:09:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkIEJhf/agent.52 06:09:39 SSH_AGENT_PID=58 06:09:39 Running ssh-add (command line suppressed) 06:09:39 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5810451532407580308.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5810451532407580308.key) 06:09:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:39 + git semver init 06:09:39 # -> Open(): unable to determine branch for HEAD 06:09:39 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 06:09:39 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 06:09:39 # $SEMVER_REMOTE_NAME = origin 06:09:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:09:39 # $SEMVER_USER_NAME = edgex-jenkins 06:09:39 # $SEMVER_BRANCH = main 06:09:39 # $SEMVER_TEMP = /tmp/semver-791534006 06:09:39 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 06:09:40 # '/tmp/semver-791534006' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 06:09:40 # -> Force: false 06:09:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 06:09:40 $ docker exec --env ******** --env ******** 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 ssh-agent -k 06:09:40 unset SSH_AUTH_SOCK; 06:09:40 unset SSH_AGENT_PID; 06:09:40 echo Agent pid 58 killed; 06:09:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:41 + git semver [Pipeline] } 06:09:41 $ docker stop --time=1 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 06:09:42 $ docker rm -f 72053c9e66855a61a10082fb086e794390822a8c684b90bf11292e27d8ef3678 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:09:43 Stashed 1 file(s) [Pipeline] echo 06:09:43 [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:43 provisioning config files... 06:09:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6127821253755240988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:43 ---> docker-login.sh 06:09:43 nexus3.edgexfoundry.org:10001 06:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:43 Configure a credential helper to remove this warning. See 06:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:43 06:09:43 Login Succeeded 06:09:43 nexus3.edgexfoundry.org:10002 06:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:43 Configure a credential helper to remove this warning. See 06:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:43 06:09:43 Login Succeeded 06:09:43 nexus3.edgexfoundry.org:10003 06:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:43 Configure a credential helper to remove this warning. See 06:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:43 06:09:43 Login Succeeded 06:09:43 nexus3.edgexfoundry.org:10004 06:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:44 Configure a credential helper to remove this warning. See 06:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:44 06:09:44 Login Succeeded 06:09:44 docker.io 06:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:44 Configure a credential helper to remove this warning. See 06:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:44 06:09:44 Login Succeeded 06:09:44 ---> docker-login.sh ends [Pipeline] } 06:09:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:09:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:09:44 ========================================================= 06:09:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:09:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:09:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 06:09:44 Sending build context to Docker daemon 5.162MB 06:09:44 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 06:09:44 Step 2/11 : FROM ${BASE} AS builder 06:09:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:09:44 59bf1c3509f3: Pulling fs layer 06:09:44 666ba61612fd: Pulling fs layer 06:09:44 8ed8ca486205: Pulling fs layer 06:09:44 4fe6c5a15a65: Pulling fs layer 06:09:44 22a0e8bec74d: Pulling fs layer 06:09:44 f965cba54748: Pulling fs layer 06:09:44 861ffc35075e: Pulling fs layer 06:09:44 4b385c91608e: Pulling fs layer 06:09:44 560528eb2ebb: Pulling fs layer 06:09:44 4fe6c5a15a65: Waiting 06:09:44 22a0e8bec74d: Waiting 06:09:44 f965cba54748: Waiting 06:09:44 861ffc35075e: Waiting 06:09:44 4b385c91608e: Waiting 06:09:44 560528eb2ebb: Waiting 06:09:44 8ed8ca486205: Verifying Checksum 06:09:44 8ed8ca486205: Download complete 06:09:44 666ba61612fd: Verifying Checksum 06:09:44 666ba61612fd: Download complete 06:09:44 22a0e8bec74d: Verifying Checksum 06:09:44 22a0e8bec74d: Download complete 06:09:44 f965cba54748: Verifying Checksum 06:09:44 f965cba54748: Download complete 06:09:44 59bf1c3509f3: Verifying Checksum 06:09:44 59bf1c3509f3: Download complete 06:09:44 861ffc35075e: Verifying Checksum 06:09:44 861ffc35075e: Download complete 06:09:44 4b385c91608e: Verifying Checksum 06:09:44 4b385c91608e: Download complete 06:09:45 59bf1c3509f3: Pull complete 06:09:45 4fe6c5a15a65: Verifying Checksum 06:09:45 4fe6c5a15a65: Download complete 06:09:45 560528eb2ebb: Verifying Checksum 06:09:45 560528eb2ebb: Download complete 06:09:45 666ba61612fd: Pull complete 06:09:45 8ed8ca486205: Pull complete 06:09:49 4fe6c5a15a65: Pull complete 06:09:49 22a0e8bec74d: Pull complete 06:09:49 f965cba54748: Pull complete 06:09:49 861ffc35075e: Pull complete 06:09:49 4b385c91608e: Pull complete 06:09:52 560528eb2ebb: Pull complete 06:09:52 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 06:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:09:52 ---> dd4a08f94e63 06:09:52 Step 3/11 : ARG MAKE='make build' 06:09:54 ---> Running in 50a021b6b6b3 06:09:54 Removing intermediate container 50a021b6b6b3 06:09:54 ---> 8b54c9bac103 06:09:54 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:09:54 ---> Running in be231a94970d 06:09:54 Removing intermediate container be231a94970d 06:09:54 ---> 7ce605224509 06:09:54 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 06:09:54 ---> Running in ae4de039c0af 06:09:54 Removing intermediate container ae4de039c0af 06:09:54 ---> 846ca85f1195 06:09:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:09:54 ---> Running in 9057d76ab8fc 06:09:55 Removing intermediate container 9057d76ab8fc 06:09:55 ---> 8ffa8e65eb2f 06:09:55 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:09:55 ---> Running in 8d0419454e05 06:09:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:09:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:09:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:09:56 (2/4) Installing libedit (20210910.3.1-r0) 06:09:57 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:09:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:09:57 Executing busybox-1.34.1-r3.trigger 06:09:57 OK: 224 MiB in 56 packages 06:09:57 Removing intermediate container 8d0419454e05 06:09:57 ---> 8617713509aa 06:09:57 Step 8/11 : WORKDIR /device-snmp-go 06:09:57 ---> Running in 5ad551df54d4 06:09:57 Removing intermediate container 5ad551df54d4 06:09:57 ---> 820bf3e3e88d 06:09:57 Step 9/11 : COPY . . 06:09:57 ---> 2d3f85a14f31 06:09:57 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:58 ---> Running in 5de56d10d5e5 06:09:58 Still waiting to schedule task 06:09:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1658’ is offline 06:10:30 Removing intermediate container 5de56d10d5e5 06:10:30 ---> fc5633e89575 06:10:30 Step 11/11 : RUN ${MAKE} 06:10:30 ---> Running in c7e52e2d81d4 06:10:30 noop 06:10:30 Removing intermediate container c7e52e2d81d4 06:10:30 ---> 0182471083e5 06:10:30 Successfully built 0182471083e5 06:10:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:10:30 + docker inspect -f . ci-base-image-x86_64 06:10:30 . [Pipeline] withDockerContainer 06:10:30 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:10:30 $ 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 ******** ci-base-image-x86_64 cat 06:10:31 $ docker top fa620986f77f41a8eb5a4afce6ae59e5c935ee6ea198ea5523d5210f742b351c -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:31 + go version 06:10:31 go version go1.17.6 linux/amd64 [Pipeline] } 06:10:31 $ docker stop --time=1 fa620986f77f41a8eb5a4afce6ae59e5c935ee6ea198ea5523d5210f742b351c 06:10:32 $ docker rm -f fa620986f77f41a8eb5a4afce6ae59e5c935ee6ea198ea5523d5210f742b351c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:10:33 + docker inspect -f . ci-base-image-x86_64 06:10:33 . [Pipeline] withDockerContainer 06:10:33 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:10:33 $ 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 ******** ci-base-image-x86_64 cat 06:10:33 $ docker top c36db8f806fac5239f9b3afb09b284b00e8d3237c7f8716a353f10a9687b3659 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:10:33 + make test 06:10:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:10:34 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:10:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:10:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 06:10:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:10:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:10:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:10:52 ./bin/test-attribution-txt.sh [Pipeline] echo 06:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:10:52 $ docker stop --time=1 c36db8f806fac5239f9b3afb09b284b00e8d3237c7f8716a353f10a9687b3659 06:10:54 $ docker rm -f c36db8f806fac5239f9b3afb09b284b00e8d3237c7f8716a353f10a9687b3659 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:10:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:10:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:55 + ls -al . 06:10:55 total 144 06:10:55 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 17 06:10 . 06:10:55 drwxrwxr-x. 4 jenkins jenkins 112 Jan 17 06:09 .. 06:10:55 -rw-rw-r--. 1 jenkins jenkins 6926 Jan 17 06:09 Attribution.txt 06:10:55 drwxrwxr-x. 2 jenkins jenkins 60 Jan 17 06:09 bin 06:10:55 -rw-rw-r--. 1 jenkins jenkins 4401 Jan 17 06:09 CHANGELOG.md 06:10:55 drwxrwxr-x. 3 jenkins jenkins 32 Jan 17 06:09 cmd 06:10:55 -rw-r--r--. 1 jenkins jenkins 7631 Jan 17 06:10 coverage.out 06:10:55 -rw-rw-r--. 1 jenkins jenkins 1493 Jan 17 06:09 Dockerfile 06:10:55 -rw-rw-r--. 1 jenkins jenkins 6 Jan 17 06:09 .dockerignore 06:10:55 drwxrwxr-x. 8 jenkins jenkins 162 Jan 17 06:09 .git 06:10:55 drwxrwxr-x. 2 jenkins jenkins 103 Jan 17 06:09 .github 06:10:55 -rw-rw-r--. 1 jenkins jenkins 262 Jan 17 06:09 .gitignore 06:10:55 -rw-rw-r--. 1 jenkins jenkins 214 Jan 17 06:09 go.mod 06:10:55 -rw-rw-r--. 1 jenkins jenkins 49501 Jan 17 06:09 go.sum 06:10:55 -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 06:09 GOVERNANCE.md 06:10:55 drwxrwxr-x. 3 jenkins jenkins 20 Jan 17 06:09 internal 06:10:55 -rw-rw-r--. 1 jenkins jenkins 656 Jan 17 06:09 Jenkinsfile 06:10:55 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 17 06:09 LICENSE 06:10:55 -rw-rw-r--. 1 jenkins jenkins 1057 Jan 17 06:09 Makefile 06:10:55 -rw-rw-r--. 1 jenkins jenkins 620 Jan 17 06:09 OWNERS.md 06:10:55 -rw-rw-r--. 1 jenkins jenkins 9073 Jan 17 06:09 README.md 06:10:55 drwx------. 3 jenkins jenkins 74 Jan 17 06:09 .semver 06:10:55 drwxrwxr-x. 3 jenkins jenkins 58 Jan 17 06:09 snap 06:10:55 -rw-rw-r--. 1 jenkins jenkins 11 Jan 17 06:09 VERSION 06:10:55 -rw-rw-r--. 1 jenkins jenkins 209 Jan 17 06:09 version.go [Pipeline] isUnix [Pipeline] sh 06:10:55 + 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=58834fc6b430fe9b88288769f7ae389ff6e0a5f7 --label arch=amd64 --label version=2.2.0-dev.4 . 06:10:55 Sending build context to Docker daemon 5.17MB 06:10:55 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 06:10:55 Step 2/23 : FROM ${BASE} AS builder 06:10:55 ---> 0182471083e5 06:10:55 Step 3/23 : ARG MAKE='make build' 06:10:55 ---> Running in 3d06f9ace0e4 06:10:56 Removing intermediate container 3d06f9ace0e4 06:10:56 ---> 2533001b3c29 06:10:56 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:10:56 ---> Running in 918396ce3c2b 06:10:56 Removing intermediate container 918396ce3c2b 06:10:56 ---> 3ee1dc41fb95 06:10:56 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 06:10:56 ---> Running in 2f9c3f28ee27 06:10:56 Removing intermediate container 2f9c3f28ee27 06:10:56 ---> 3432e4b3dbd2 06:10:56 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:56 ---> Running in 96588635b974 06:10:56 Removing intermediate container 96588635b974 06:10:56 ---> 885c3ca9612c 06:10:56 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:56 ---> Running in 410ad868bd7b 06:10:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:10:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:10:58 OK: 224 MiB in 56 packages 06:10:58 Removing intermediate container 410ad868bd7b 06:10:58 ---> ca06a066e7ff 06:10:58 Step 8/23 : WORKDIR /device-snmp-go 06:10:58 ---> Running in 0982e93eb062 06:10:58 Removing intermediate container 0982e93eb062 06:10:58 ---> d2f10831ed93 06:10:58 Step 9/23 : COPY . . 06:10:58 ---> 9a026d777743 06:10:58 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:58 ---> Running in 3ac376878fbe 06:10:59 Removing intermediate container 3ac376878fbe 06:10:59 ---> bdcc1a2a72e5 06:10:59 Step 11/23 : RUN ${MAKE} 06:10:59 ---> Running in 43931ca7cfb8 06:10:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.4" -o cmd/device-snmp ./cmd 06:11:11 Removing intermediate container 43931ca7cfb8 06:11:11 ---> 1bc3d7c53533 06:11:11 Step 12/23 : FROM alpine:3.14 06:11:11 3.14: Pulling from library/alpine 06:11:12 97518928ae5f: Pulling fs layer 06:11:12 97518928ae5f: Verifying Checksum 06:11:12 97518928ae5f: Download complete 06:11:12 97518928ae5f: Pull complete 06:11:12 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:11:12 Status: Downloaded newer image for alpine:3.14 06:11:12 ---> 0a97eee8041e 06:11:12 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 06:11:12 ---> Running in 103b0b7adb19 06:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:11:12 (1/6) Installing dumb-init (1.2.5-r1) 06:11:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:11:13 (3/6) Installing libsodium (1.0.18-r0) 06:11:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:11:13 (5/6) Installing libzmq (4.3.4-r0) 06:11:13 (6/6) Installing zeromq (4.3.4-r0) 06:11:13 Executing busybox-1.33.1-r6.trigger 06:11:13 OK: 8 MiB in 20 packages 06:11:13 Removing intermediate container 103b0b7adb19 06:11:13 ---> 26240fa5201b 06:11:13 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 06:11:13 ---> b210c798e660 06:11:13 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:11:13 ---> 0f71cdc19976 06:11:13 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 06:11:13 ---> 1862f093d2be 06:11:13 Step 17/23 : EXPOSE 59993 06:11:13 ---> Running in 953cdc699671 06:11:14 Removing intermediate container 953cdc699671 06:11:14 ---> ff56b78fe13f 06:11:14 Step 18/23 : EXPOSE 161 06:11:14 ---> Running in c27811adf6cd 06:11:14 Removing intermediate container c27811adf6cd 06:11:14 ---> cd5a13bc50b3 06:11:14 Step 19/23 : ENTRYPOINT ["/device-snmp"] 06:11:14 ---> Running in d7ea463c8f91 06:11:14 Removing intermediate container d7ea463c8f91 06:11:14 ---> 9c1f2f1e6492 06:11:14 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:11:14 ---> Running in 52665dda96f8 06:11:14 Removing intermediate container 52665dda96f8 06:11:14 ---> a94bd7f39808 06:11:14 Step 21/23 : LABEL arch=amd64 06:11:14 ---> Running in bbb719447c81 06:11:14 Removing intermediate container bbb719447c81 06:11:14 ---> 4c880c8547a3 06:11:14 Step 22/23 : LABEL git_sha=58834fc6b430fe9b88288769f7ae389ff6e0a5f7 06:11:14 ---> Running in db6d78a5c646 06:11:14 Removing intermediate container db6d78a5c646 06:11:14 ---> f5d716bfbbc3 06:11:14 Step 23/23 : LABEL version=2.2.0-dev.4 06:11:14 ---> Running in 7b87c2ef63e9 06:11:14 Removing intermediate container 7b87c2ef63e9 06:11:14 ---> 708b0d74856f 06:11:14 [Warning] One or more build-args [ARCH] were not consumed 06:11:14 Successfully built 708b0d74856f 06:11:14 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:14 provisioning config files... 06:11:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4383334798055044763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:15 ---> docker-login.sh 06:11:15 nexus3.edgexfoundry.org:10001 06:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:15 Configure a credential helper to remove this warning. See 06:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:15 06:11:15 Login Succeeded 06:11:15 nexus3.edgexfoundry.org:10002 06:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:15 Configure a credential helper to remove this warning. See 06:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:15 06:11:15 Login Succeeded 06:11:15 nexus3.edgexfoundry.org:10003 06:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:15 Configure a credential helper to remove this warning. See 06:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:15 06:11:15 Login Succeeded 06:11:15 nexus3.edgexfoundry.org:10004 06:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:15 Configure a credential helper to remove this warning. See 06:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:15 06:11:15 Login Succeeded 06:11:15 docker.io 06:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:15 Configure a credential helper to remove this warning. See 06:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:15 06:11:15 Login Succeeded 06:11:15 ---> docker-login.sh ends [Pipeline] } 06:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:11:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:11:15 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 06:11:15 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 06:11:15 latest 06:11:15 2.2.0-dev.4 06:11:15 58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 06:11:15 main 06:11:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:11:16 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] isUnix [Pipeline] sh 06:11:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 06:11:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:11:16 cb782f218e5a: Preparing 06:11:16 aa4d7034b6d6: Preparing 06:11:16 281fca98534c: Preparing 06:11:16 efe77230a2f8: Preparing 06:11:16 1a058d5342cc: Preparing 06:11:16 1a058d5342cc: Layer already exists 06:11:16 cb782f218e5a: Pushed 06:11:16 aa4d7034b6d6: Pushed 06:11:16 efe77230a2f8: Pushed 06:11:17 281fca98534c: Pushed 06:11:17 58834fc6b430fe9b88288769f7ae389ff6e0a5f7: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:11:18 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 06:11:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 06:11:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:11:18 cb782f218e5a: Preparing 06:11:18 aa4d7034b6d6: Preparing 06:11:18 281fca98534c: Preparing 06:11:18 efe77230a2f8: Preparing 06:11:18 1a058d5342cc: Preparing 06:11:18 cb782f218e5a: Layer already exists 06:11:18 1a058d5342cc: Layer already exists 06:11:18 aa4d7034b6d6: Layer already exists 06:11:18 efe77230a2f8: Layer already exists 06:11:18 281fca98534c: Layer already exists 06:11:18 latest: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:11:18 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 06:11:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.4 06:11:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:11:18 cb782f218e5a: Preparing 06:11:18 aa4d7034b6d6: Preparing 06:11:18 281fca98534c: Preparing 06:11:18 efe77230a2f8: Preparing 06:11:18 1a058d5342cc: Preparing 06:11:18 efe77230a2f8: Layer already exists 06:11:18 281fca98534c: Layer already exists 06:11:18 cb782f218e5a: Layer already exists 06:11:18 aa4d7034b6d6: Layer already exists 06:11:18 1a058d5342cc: Layer already exists 06:11:18 2.2.0-dev.4: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:11:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 06:11:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 06:11:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:11:19 cb782f218e5a: Preparing 06:11:19 aa4d7034b6d6: Preparing 06:11:19 281fca98534c: Preparing 06:11:19 efe77230a2f8: Preparing 06:11:19 1a058d5342cc: Preparing 06:11:19 1a058d5342cc: Layer already exists 06:11:19 281fca98534c: Layer already exists 06:11:19 efe77230a2f8: Layer already exists 06:11:19 aa4d7034b6d6: Layer already exists 06:11:19 cb782f218e5a: Layer already exists 06:11:19 58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:11:19 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 06:11:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 06:11:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:11:20 cb782f218e5a: Preparing 06:11:20 aa4d7034b6d6: Preparing 06:11:20 281fca98534c: Preparing 06:11:20 efe77230a2f8: Preparing 06:11:20 1a058d5342cc: Preparing 06:11:20 1a058d5342cc: Layer already exists 06:11:20 281fca98534c: Layer already exists 06:11:20 aa4d7034b6d6: Layer already exists 06:11:20 efe77230a2f8: Layer already exists 06:11:20 cb782f218e5a: Layer already exists 06:11:20 main: digest: sha256:684ffdc1860975dddc0bd61776ee424818b07ccbffe15aed74cbf4d95cc714e6 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:11:20 ===================================================== [Pipeline] echo 06:11:20 taggedImages: 06:11:20 - nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 06:11:20 - nexus3.edgexfoundry.org:10004/device-snmp:latest 06:11:20 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.4 06:11:20 - nexus3.edgexfoundry.org:10004/device-snmp:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 06:11:20 - 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 06:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:20 06:11:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:11:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:20 latest: Pulling from edgex-lftools-log-publisher 06:11:20 b4d181a07f80: Pulling fs layer 06:11:20 a1111a8f2ec3: Pulling fs layer 06:11:20 ed53099fbce6: Pulling fs layer 06:11:20 dc539afda2c1: Pulling fs layer 06:11:20 77bc0d833cb6: Pulling fs layer 06:11:20 9065ff56babe: Pulling fs layer 06:11:20 d287ab97295c: Pulling fs layer 06:11:20 dc539afda2c1: Waiting 06:11:20 77bc0d833cb6: Waiting 06:11:20 9065ff56babe: Waiting 06:11:20 d287ab97295c: Waiting 06:11:20 a1111a8f2ec3: Verifying Checksum 06:11:20 a1111a8f2ec3: Download complete 06:11:20 dc539afda2c1: Verifying Checksum 06:11:20 dc539afda2c1: Download complete 06:11:20 ed53099fbce6: Verifying Checksum 06:11:20 ed53099fbce6: Download complete 06:11:21 9065ff56babe: Verifying Checksum 06:11:21 9065ff56babe: Download complete 06:11:21 77bc0d833cb6: Verifying Checksum 06:11:21 77bc0d833cb6: Download complete 06:11:21 b4d181a07f80: Verifying Checksum 06:11:21 b4d181a07f80: Download complete 06:11:21 d287ab97295c: Verifying Checksum 06:11:21 d287ab97295c: Download complete 06:11:22 b4d181a07f80: Pull complete 06:11:22 a1111a8f2ec3: Pull complete 06:11:23 ed53099fbce6: Pull complete 06:11:23 dc539afda2c1: Pull complete 06:11:23 77bc0d833cb6: Pull complete 06:11:23 9065ff56babe: Pull complete 06:11:29 d287ab97295c: Pull complete 06:11:29 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 06:11:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:11:29 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:11:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:31 $ docker top 4fff1738b150fa3f960a0a00a4ddb04e50979067cae8b8387d1b3acc64e5c46e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:32 ---> job-cost.sh 06:11:32 lf-activate-venv: SKIPPING 06:11:32 INFO: No Stack... 06:11:32 INFO: Retrieving Pricing Info for: v3-standard-2 06:11:32 INFO: Archiving Costs [Pipeline] sh 06:11:32 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 06:11:32 + cut -d, -f6 [Pipeline] lock 06:11:32 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] 06:11:32 Resource [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] did not exist. Created. 06:11:32 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:33 + echo total: 0.05999999865889549 [Pipeline] stash 06:11:33 Stashed 1 file(s) [Pipeline] } 06:11:33 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:33 $ docker stop --time=1 4fff1738b150fa3f960a0a00a4ddb04e50979067cae8b8387d1b3acc64e5c46e 06:11:34 $ docker rm -f 4fff1738b150fa3f960a0a00a4ddb04e50979067cae8b8387d1b3acc64e5c46e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:12:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1660 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 06:12:15 Running in /w/workspace/device-snmp-go/13 [Pipeline] { [Pipeline] checkout 06:12:15 Selected Git installation does not exist. Using Default 06:12:15 The recommended git tool is: NONE 06:12:19 using credential edgex-jenkins-ssh 06:12:19 Cloning the remote Git repository 06:12:19 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:12:19 > git init /w/workspace/device-snmp-go/13 # timeout=10 06:12:20 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:12:20 > git --version # timeout=10 06:12:20 > git --version # 'git version 2.17.1' 06:12:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:21 Avoid second fetch 06:12:21 Checking out Revision 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 (main) 06:12:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:21 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:12:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:21 > git config core.sparsecheckout # timeout=10 06:12:21 > git checkout -f 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 # timeout=10 06:12:25 Commit message: "Merge pull request #133 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:12:26 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:26 Dload Upload Total Spent Left Speed 06:12:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 06:12:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:12:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:12:27 + sudo tee /etc/docker/daemon.new 06:12:27 { 06:12:27 "registry-mirrors": [ 06:12:27 "https://nexus3.edgexfoundry.org:10001" 06:12:27 ], 06:12:27 "bip": "10.250.0.254/24", 06:12:27 "hosts": [ 06:12:27 "tcp://0.0.0.0:5555", 06:12:27 "unix:///var/run/docker.sock" 06:12:27 ], 06:12:27 "mtu": 1458, 06:12:27 "selinux-enabled": true, 06:12:27 "seccomp-profile": "/etc/docker/seccomp.json" 06:12:27 } [Pipeline] sh 06:12:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:12:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:46 provisioning config files... 06:12:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/13@tmp/config8249079327558550352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:46 ---> docker-login.sh 06:12:46 nexus3.edgexfoundry.org:10001 06:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:47 Configure a credential helper to remove this warning. See 06:12:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:47 06:12:47 Login Succeeded 06:12:47 nexus3.edgexfoundry.org:10002 06:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:48 Configure a credential helper to remove this warning. See 06:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:48 06:12:48 Login Succeeded 06:12:48 nexus3.edgexfoundry.org:10003 06:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:48 Configure a credential helper to remove this warning. See 06:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:48 06:12:48 Login Succeeded 06:12:48 nexus3.edgexfoundry.org:10004 06:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:48 Configure a credential helper to remove this warning. See 06:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:48 06:12:48 Login Succeeded 06:12:48 docker.io 06:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:49 Configure a credential helper to remove this warning. See 06:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:49 06:12:49 Login Succeeded 06:12:49 ---> docker-login.sh ends [Pipeline] } 06:12:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:12:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:50 ========================================================= 06:12:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:12:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:12:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:12:50 Sending build context to Docker daemon 2.685MB 06:12:50 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 06:12:50 Step 2/11 : FROM ${BASE} AS builder 06:12:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:12:51 9b3977197b4f: Pulling fs layer 06:12:51 1a89e8eeedd5: Pulling fs layer 06:12:51 94645a83ff95: Pulling fs layer 06:12:51 3f3a8bcf1eab: Pulling fs layer 06:12:51 0c92f367c5e7: Pulling fs layer 06:12:51 3f3a8bcf1eab: Waiting 06:12:51 4b8299f9d1f4: Pulling fs layer 06:12:51 9a6b49a46696: Pulling fs layer 06:12:51 0c92f367c5e7: Waiting 06:12:51 cf05db05a679: Pulling fs layer 06:12:51 4b8299f9d1f4: Waiting 06:12:51 9a6b49a46696: Waiting 06:12:51 cf05db05a679: Waiting 06:12:51 94645a83ff95: Download complete 06:12:51 1a89e8eeedd5: Download complete 06:12:51 0c92f367c5e7: Verifying Checksum 06:12:51 0c92f367c5e7: Download complete 06:12:51 4b8299f9d1f4: Verifying Checksum 06:12:51 4b8299f9d1f4: Download complete 06:12:51 9b3977197b4f: Verifying Checksum 06:12:51 9b3977197b4f: Download complete 06:12:51 9a6b49a46696: Verifying Checksum 06:12:51 9a6b49a46696: Download complete 06:12:52 9b3977197b4f: Pull complete 06:12:52 1a89e8eeedd5: Pull complete 06:12:53 94645a83ff95: Pull complete 06:12:53 cf05db05a679: Download complete 06:12:53 3f3a8bcf1eab: Verifying Checksum 06:12:53 3f3a8bcf1eab: Download complete 06:13:06 3f3a8bcf1eab: Pull complete 06:13:06 0c92f367c5e7: Pull complete 06:13:06 4b8299f9d1f4: Pull complete 06:13:06 9a6b49a46696: Pull complete 06:13:11 cf05db05a679: Pull complete 06:13:11 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 06:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:13:11 ---> 0ccda1f7e2ee 06:13:11 Step 3/11 : ARG MAKE='make build' 06:13:13 ---> Running in 0620f625c21a 06:13:13 Removing intermediate container 0620f625c21a 06:13:13 ---> cc72830c427a 06:13:13 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:13:14 ---> Running in 20245c3f999d 06:13:14 Removing intermediate container 20245c3f999d 06:13:14 ---> 9c53228eb404 06:13:14 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 06:13:14 ---> Running in 2ef384a59ced 06:13:14 Removing intermediate container 2ef384a59ced 06:13:14 ---> 28c0a5521201 06:13:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:15 ---> Running in c946882c93b9 06:13:17 Removing intermediate container c946882c93b9 06:13:17 ---> fb5258837ddc 06:13:17 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:13:17 ---> Running in ecbffd48f4e5 06:13:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:13:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:13:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:13:20 (2/4) Installing libedit (20210910.3.1-r0) 06:13:20 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:13:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:13:20 Executing busybox-1.34.1-r3.trigger 06:13:20 OK: 224 MiB in 56 packages 06:13:21 Removing intermediate container ecbffd48f4e5 06:13:21 ---> ef37d43d488e 06:13:21 Step 8/11 : WORKDIR /device-snmp-go 06:13:21 ---> Running in 49d6372d5766 06:13:22 Removing intermediate container 49d6372d5766 06:13:22 ---> 50db567b0fd0 06:13:22 Step 9/11 : COPY . . 06:13:22 ---> e3527d17d095 06:13:22 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:13:22 ---> Running in 18aa8d67cc99 06:14:44 Removing intermediate container 18aa8d67cc99 06:14:44 ---> 8f1a959c2687 06:14:44 Step 11/11 : RUN ${MAKE} 06:14:44 ---> Running in 4130e706ba06 06:14:44 noop 06:14:44 Removing intermediate container 4130e706ba06 06:14:44 ---> 8d00301ac3e5 06:14:44 Successfully built 8d00301ac3e5 06:14:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:14:45 + docker inspect -f . ci-base-image-arm64 06:14:45 . [Pipeline] withDockerContainer 06:14:45 prd-ubuntu18.04-docker-arm64-4c-16g-1660 does not seem to be running inside a container 06:14:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/13 -v /w/workspace/device-snmp-go/13:/w/workspace/device-snmp-go/13:rw,z -v /w/workspace/device-snmp-go/13@tmp:/w/workspace/device-snmp-go/13@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 06:14:46 $ docker top 72c1547df1c2dd3e73e931b7e6da9bf647cc5d15032cb94d92cdbe04b192b389 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:47 + go version 06:14:47 go version go1.17.6 linux/arm64 [Pipeline] } 06:14:47 $ docker stop --time=1 72c1547df1c2dd3e73e931b7e6da9bf647cc5d15032cb94d92cdbe04b192b389 06:14:49 $ docker rm -f 72c1547df1c2dd3e73e931b7e6da9bf647cc5d15032cb94d92cdbe04b192b389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:14:49 + docker inspect -f . ci-base-image-arm64 06:14:49 . [Pipeline] withDockerContainer 06:14:49 prd-ubuntu18.04-docker-arm64-4c-16g-1660 does not seem to be running inside a container 06:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/13 -v /w/workspace/device-snmp-go/13:/w/workspace/device-snmp-go/13:rw,z -v /w/workspace/device-snmp-go/13@tmp:/w/workspace/device-snmp-go/13@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 06:14:51 $ docker top 41f02e2cc5bfbb92851c4c4420a2a131eb16c9cbd89fc763209392ee5685cd85 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:14:52 + make test 06:14:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:14:53 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:15:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:15:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements 06:15:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:15:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:15:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:15:58 ./bin/test-attribution-txt.sh [Pipeline] echo 06:15:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:15:58 $ docker stop --time=1 41f02e2cc5bfbb92851c4c4420a2a131eb16c9cbd89fc763209392ee5685cd85 06:16:00 $ docker rm -f 41f02e2cc5bfbb92851c4c4420a2a131eb16c9cbd89fc763209392ee5685cd85 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:01 Warning: overwriting stash ‘coverage-report’ 06:16:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:02 + ls -al . 06:16:02 total 172 06:16:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 06:15 . 06:16:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 06:12 .. 06:16:02 -rw-rw-r-- 1 jenkins jenkins 6 Jan 17 06:12 .dockerignore 06:16:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 06:12 .git 06:16:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:12 .github 06:16:02 -rw-rw-r-- 1 jenkins jenkins 262 Jan 17 06:12 .gitignore 06:16:02 -rw-rw-r-- 1 jenkins jenkins 6926 Jan 17 06:12 Attribution.txt 06:16:02 -rw-rw-r-- 1 jenkins jenkins 4401 Jan 17 06:12 CHANGELOG.md 06:16:02 -rw-rw-r-- 1 jenkins jenkins 1493 Jan 17 06:12 Dockerfile 06:16:02 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 06:12 GOVERNANCE.md 06:16:02 -rw-rw-r-- 1 jenkins jenkins 656 Jan 17 06:12 Jenkinsfile 06:16:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 06:12 LICENSE 06:16:02 -rw-rw-r-- 1 jenkins jenkins 1057 Jan 17 06:12 Makefile 06:16:02 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 06:12 OWNERS.md 06:16:02 -rw-rw-r-- 1 jenkins jenkins 9073 Jan 17 06:12 README.md 06:16:02 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 06:09 VERSION 06:16:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:12 bin 06:16:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:12 cmd 06:16:02 -rw-r--r-- 1 jenkins jenkins 7631 Jan 17 06:15 coverage.out 06:16:02 -rw-rw-r-- 1 jenkins jenkins 214 Jan 17 06:12 go.mod 06:16:02 -rw-rw-r-- 1 jenkins jenkins 49501 Jan 17 06:12 go.sum 06:16:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:12 internal 06:16:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:12 snap 06:16:02 -rw-rw-r-- 1 jenkins jenkins 209 Jan 17 06:12 version.go [Pipeline] isUnix [Pipeline] sh 06:16:02 + 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=58834fc6b430fe9b88288769f7ae389ff6e0a5f7 --label arch=arm64 --label version=2.2.0-dev.4 . 06:16:03 Sending build context to Docker daemon 2.693MB 06:16:03 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 06:16:03 Step 2/23 : FROM ${BASE} AS builder 06:16:03 ---> 8d00301ac3e5 06:16:03 Step 3/23 : ARG MAKE='make build' 06:16:03 ---> Running in cd3b4f416d9b 06:16:03 Removing intermediate container cd3b4f416d9b 06:16:03 ---> cad478401a6a 06:16:03 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:16:03 ---> Running in 00604c85aa37 06:16:04 Removing intermediate container 00604c85aa37 06:16:04 ---> f2a3a8dfc5a5 06:16:04 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 06:16:04 ---> Running in c4cd1d77833d 06:16:04 Removing intermediate container c4cd1d77833d 06:16:04 ---> 783a9d1c0c1f 06:16:04 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:05 ---> Running in c3756b292daf 06:16:06 Removing intermediate container c3756b292daf 06:16:06 ---> dbeec0c9aeb9 06:16:06 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:06 ---> Running in 71b87bbb2ff9 06:16:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:16:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:16:09 OK: 224 MiB in 56 packages 06:16:10 Removing intermediate container 71b87bbb2ff9 06:16:10 ---> aafa14be3510 06:16:10 Step 8/23 : WORKDIR /device-snmp-go 06:16:10 ---> Running in 351bf1446e5f 06:16:10 Removing intermediate container 351bf1446e5f 06:16:10 ---> 781429555280 06:16:10 Step 9/23 : COPY . . 06:16:11 ---> 35ba9577808a 06:16:11 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:11 ---> Running in 0b1c6326217e 06:16:13 Removing intermediate container 0b1c6326217e 06:16:13 ---> 142fe0d89d23 06:16:13 Step 11/23 : RUN ${MAKE} 06:16:13 ---> Running in 4b7278bad860 06:16:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.4" -o cmd/device-snmp ./cmd 06:16:53 Removing intermediate container 4b7278bad860 06:16:53 ---> e415241808a4 06:16:53 Step 12/23 : FROM alpine:3.14 06:16:53 3.14: Pulling from library/alpine 06:16:53 be307f383ecc: Pulling fs layer 06:16:53 be307f383ecc: Verifying Checksum 06:16:53 be307f383ecc: Download complete 06:16:53 be307f383ecc: Pull complete 06:16:53 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 06:16:53 Status: Downloaded newer image for alpine:3.14 06:16:53 ---> 5b8b7b635229 06:16:53 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 06:16:53 ---> Running in f47014d678bf 06:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:16:55 (1/6) Installing dumb-init (1.2.5-r1) 06:16:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:16:55 (3/6) Installing libsodium (1.0.18-r0) 06:16:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:16:55 (5/6) Installing libzmq (4.3.4-r0) 06:16:55 (6/6) Installing zeromq (4.3.4-r0) 06:16:55 Executing busybox-1.33.1-r6.trigger 06:16:55 OK: 8 MiB in 20 packages 06:16:56 Removing intermediate container f47014d678bf 06:16:56 ---> d62e52420e48 06:16:56 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 06:16:57 ---> 6b682a93e3df 06:16:57 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:16:58 ---> 4857c8ee27ef 06:16:58 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 06:16:58 ---> 53152486a02a 06:16:58 Step 17/23 : EXPOSE 59993 06:16:58 ---> Running in c9793c3514ae 06:16:59 Removing intermediate container c9793c3514ae 06:16:59 ---> 9dc4477647cb 06:16:59 Step 18/23 : EXPOSE 161 06:16:59 ---> Running in cc8ef076b256 06:16:59 Removing intermediate container cc8ef076b256 06:16:59 ---> 33922a429cc4 06:16:59 Step 19/23 : ENTRYPOINT ["/device-snmp"] 06:16:59 ---> Running in f49b69f028f6 06:17:00 Removing intermediate container f49b69f028f6 06:17:00 ---> 9c438d43c713 06:17:00 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:17:00 ---> Running in 5d371c128f9e 06:17:00 Removing intermediate container 5d371c128f9e 06:17:00 ---> 4cf80734439c 06:17:00 Step 21/23 : LABEL arch=arm64 06:17:00 ---> Running in 3895c75c0911 06:17:01 Removing intermediate container 3895c75c0911 06:17:01 ---> 96104f27078d 06:17:01 Step 22/23 : LABEL git_sha=58834fc6b430fe9b88288769f7ae389ff6e0a5f7 06:17:01 ---> Running in 7b8f405f617d 06:17:01 Removing intermediate container 7b8f405f617d 06:17:01 ---> f2e416e9dfef 06:17:01 Step 23/23 : LABEL version=2.2.0-dev.4 06:17:01 ---> Running in c009877c2e0a 06:17:01 Removing intermediate container c009877c2e0a 06:17:01 ---> 36717e8fd575 06:17:01 [Warning] One or more build-args [ARCH] were not consumed 06:17:02 Successfully built 36717e8fd575 06:17:02 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 06:17:02 provisioning config files... 06:17:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/13@tmp/config1930575590586642711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:02 ---> docker-login.sh 06:17:02 nexus3.edgexfoundry.org:10001 06:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:02 Configure a credential helper to remove this warning. See 06:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:02 06:17:02 Login Succeeded 06:17:02 nexus3.edgexfoundry.org:10002 06:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:03 Configure a credential helper to remove this warning. See 06:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:03 06:17:03 Login Succeeded 06:17:03 nexus3.edgexfoundry.org:10003 06:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:03 Configure a credential helper to remove this warning. See 06:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:03 06:17:03 Login Succeeded 06:17:03 nexus3.edgexfoundry.org:10004 06:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:04 Configure a credential helper to remove this warning. See 06:17:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:04 06:17:04 Login Succeeded 06:17:04 docker.io 06:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:05 Configure a credential helper to remove this warning. See 06:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:05 06:17:05 Login Succeeded 06:17:05 ---> docker-login.sh ends [Pipeline] } 06:17:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:17:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:05 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 06:17:05 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 06:17:05 latest 06:17:05 2.2.0-dev.4 06:17:05 58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 06:17:05 main 06:17:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:17:05 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] isUnix [Pipeline] sh 06:17:05 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 06:17:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:17:05 a6dd50fab7c9: Preparing 06:17:05 48ec82025e32: Preparing 06:17:05 32f22821aadb: Preparing 06:17:05 607cb0e5e41a: Preparing 06:17:05 62170e181a92: Preparing 06:17:05 62170e181a92: Layer already exists 06:17:06 48ec82025e32: Pushed 06:17:06 a6dd50fab7c9: Pushed 06:17:06 607cb0e5e41a: Pushed 06:17:09 32f22821aadb: Pushed 06:17:09 58834fc6b430fe9b88288769f7ae389ff6e0a5f7: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] isUnix [Pipeline] sh 06:17:09 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:17:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:17:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:17:09 a6dd50fab7c9: Preparing 06:17:09 48ec82025e32: Preparing 06:17:09 32f22821aadb: Preparing 06:17:09 607cb0e5e41a: Preparing 06:17:09 62170e181a92: Preparing 06:17:09 62170e181a92: Layer already exists 06:17:09 32f22821aadb: Layer already exists 06:17:09 607cb0e5e41a: Layer already exists 06:17:09 a6dd50fab7c9: Layer already exists 06:17:09 48ec82025e32: Layer already exists 06:17:10 latest: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] isUnix [Pipeline] sh 06:17:10 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 06:17:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.4 06:17:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:17:10 a6dd50fab7c9: Preparing 06:17:10 48ec82025e32: Preparing 06:17:10 32f22821aadb: Preparing 06:17:10 607cb0e5e41a: Preparing 06:17:10 62170e181a92: Preparing 06:17:10 607cb0e5e41a: Layer already exists 06:17:10 32f22821aadb: Layer already exists 06:17:10 62170e181a92: Layer already exists 06:17:10 a6dd50fab7c9: Layer already exists 06:17:10 48ec82025e32: Layer already exists 06:17:10 2.2.0-dev.4: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] isUnix [Pipeline] sh 06:17:11 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 [Pipeline] isUnix [Pipeline] sh 06:17:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 06:17:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:17:11 a6dd50fab7c9: Preparing 06:17:11 48ec82025e32: Preparing 06:17:11 32f22821aadb: Preparing 06:17:11 607cb0e5e41a: Preparing 06:17:11 62170e181a92: Preparing 06:17:11 48ec82025e32: Layer already exists 06:17:11 607cb0e5e41a: Layer already exists 06:17:11 32f22821aadb: Layer already exists 06:17:11 a6dd50fab7c9: Layer already exists 06:17:11 62170e181a92: Layer already exists 06:17:11 58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] isUnix [Pipeline] sh 06:17:12 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 06:17:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 06:17:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:17:12 a6dd50fab7c9: Preparing 06:17:12 48ec82025e32: Preparing 06:17:12 32f22821aadb: Preparing 06:17:12 607cb0e5e41a: Preparing 06:17:12 62170e181a92: Preparing 06:17:12 48ec82025e32: Layer already exists 06:17:12 a6dd50fab7c9: Layer already exists 06:17:12 32f22821aadb: Layer already exists 06:17:12 62170e181a92: Layer already exists 06:17:12 607cb0e5e41a: Layer already exists 06:17:12 main: digest: sha256:bbcb7344578ef9f6a3df76f4e418332b69d92b7f27dc3a006856467a52fdb629 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:17:12 ===================================================== [Pipeline] echo 06:17:12 taggedImages: 06:17:12 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7 06:17:12 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:17:12 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.4 06:17:12 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:58834fc6b430fe9b88288769f7ae389ff6e0a5f7-2.2.0-dev.4 06:17:12 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:17:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:17:13 06:17:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:17:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:17:13 arm64: Pulling from edgex-lftools-log-publisher 06:17:13 448f6bf000e3: Pulling fs layer 06:17:13 f757da607395: Pulling fs layer 06:17:13 05883995daec: Pulling fs layer 06:17:13 8603b9c90790: Pulling fs layer 06:17:13 1560dd03e051: Pulling fs layer 06:17:13 27f5ce0e4adf: Pulling fs layer 06:17:13 c2d8d7efcc4b: Pulling fs layer 06:17:13 27f5ce0e4adf: Waiting 06:17:13 8603b9c90790: Waiting 06:17:13 c2d8d7efcc4b: Waiting 06:17:13 1560dd03e051: Waiting 06:17:13 f757da607395: Verifying Checksum 06:17:13 f757da607395: Download complete 06:17:13 8603b9c90790: Verifying Checksum 06:17:13 8603b9c90790: Download complete 06:17:13 1560dd03e051: Verifying Checksum 06:17:13 1560dd03e051: Download complete 06:17:13 27f5ce0e4adf: Download complete 06:17:14 05883995daec: Download complete 06:17:14 448f6bf000e3: Verifying Checksum 06:17:14 448f6bf000e3: Download complete 06:17:17 c2d8d7efcc4b: Verifying Checksum 06:17:17 c2d8d7efcc4b: Download complete 06:17:17 448f6bf000e3: Pull complete 06:17:18 f757da607395: Pull complete 06:17:20 05883995daec: Pull complete 06:17:20 8603b9c90790: Pull complete 06:17:21 1560dd03e051: Pull complete 06:17:21 27f5ce0e4adf: Pull complete 06:17:36 c2d8d7efcc4b: Pull complete 06:17:36 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 06:17:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:17:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:17:36 prd-ubuntu18.04-docker-arm64-4c-16g-1660 does not seem to be running inside a container 06:17:37 $ 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/13 -v /w/workspace/device-snmp-go/13:/w/workspace/device-snmp-go/13:rw,z -v /w/workspace/device-snmp-go/13@tmp:/w/workspace/device-snmp-go/13@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 06:17:39 $ docker top c1771a80417ebc445e04ce16083169fa838450cb868fd500f54790a84a73cbfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:40 ---> job-cost.sh 06:17:40 lf-activate-venv: SKIPPING 06:17:40 INFO: No Stack... 06:17:40 INFO: Retrieving Pricing Info for: v3-standard-4 06:17:41 INFO: Archiving Costs [Pipeline] sh 06:17:41 + cut -d, -f6 06:17:41 + cat /w/workspace/device-snmp-go/13/archives/cost.csv [Pipeline] lock 06:17:42 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] 06:17:42 Resource [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] did not exist. Created. 06:17:42 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:42 /w/workspace/device-snmp-go/13@tmp/durable-be4e60b8/script.sh: 1: /w/workspace/device-snmp-go/13@tmp/durable-be4e60b8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:17:43 + echo total: 0.10999999940395355 [Pipeline] stash 06:17:43 Warning: overwriting stash ‘stack-cost’ 06:17:43 Stashed 1 file(s) [Pipeline] } 06:17:43 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:43 $ docker stop --time=1 c1771a80417ebc445e04ce16083169fa838450cb868fd500f54790a84a73cbfc 06:17:44 $ docker rm -f c1771a80417ebc445e04ce16083169fa838450cb868fd500f54790a84a73cbfc [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 06:17:45 provisioning config files... 06:17:45 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8186539750988944820tmp [Pipeline] { [Pipeline] sh 06:17:45 + set +x 06:17:45 + curl -s https://codecov.io/bash 06:17:45 + bash -s -- 06:17:45 06:17:45 _____ _ 06:17:45 / ____| | | 06:17:45 | | ___ __| | ___ ___ _____ __ 06:17:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:17:45 | |___| (_) | (_| | __/ (_| (_) \ V / 06:17:45 \_____\___/ \__,_|\___|\___\___/ \_/ 06:17:45 Bash-1.0.6 06:17:45 06:17:45 06:17:45 ==> git version 2.24.4 found 06:17:45 ==> 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 06:17:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:17:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:17:45 ==> Jenkins CI detected. 06:17:45 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 06:17:45 project root: . 06:17:45 --> token set from env 06:17:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:17:45 ==> Running gcov in . (disable via -X gcov) 06:17:45 ==> Python coveragepy not found 06:17:45 ==> Searching for coverage reports in: 06:17:45 + . 06:17:45 -> Found 1 reports 06:17:45 ==> Detecting git/mercurial file structure 06:17:45 ==> Reading reports 06:17:45 + ./coverage.out bytes=7631 06:17:45 ==> Appending adjustments 06:17:45 https://docs.codecov.io/docs/fixing-reports 06:17:45 + Found adjustments 06:17:45 ==> Gzipping contents 06:17:45 4.0K /tmp/codecov.3yGsXb.gz 06:17:45 ==> Uploading reports 06:17:45 url: https://codecov.io 06:17:45 query: branch=main&commit=58834fc6b430fe9b88288769f7ae389ff6e0a5f7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:17:45 -> Pinging Codecov 06:17:45 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=58834fc6b430fe9b88288769f7ae389ff6e0a5f7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:17:46 -> Uploading to 06:17:46 https://storage.googleapis.com/codecov/v4/raw/2022-01-17/6C56EA5C29638FB4528AC87E60AF5AE0/58834fc6b430fe9b88288769f7ae389ff6e0a5f7/e8d36294-7282-4936-9106-7f9fb4c324f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220117T061746Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3150f3034c95b23b03265f38a5a6283c72c7128ba95fe0df63a42cf42c1c92d8 06:17:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:17:46 Dload Upload Total Spent Left Speed 06:17:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4420 --:--:-- --:--:-- --:--:-- 4420 100 1578 0 0 100 1578 0 4419 --:--:-- --:--:-- --:--:-- 4420 06:17:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] } 06:17:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:17:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:17:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:17:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:17:47 06:17:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:17:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:17:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:17:47 188c0c94c7c5: Pulling fs layer 06:17:47 0ef7d3d256c8: Pulling fs layer 06:17:47 de9db76c5a1d: Pulling fs layer 06:17:47 0eba1c9be4d2: Pulling fs layer 06:17:47 0d57e429df01: Pulling fs layer 06:17:47 4e4be7b47b0d: Pulling fs layer 06:17:47 e1f770b5df2f: Pulling fs layer 06:17:47 85a0685a4137: Pulling fs layer 06:17:47 4e4be7b47b0d: Waiting 06:17:47 e1f770b5df2f: Waiting 06:17:47 85a0685a4137: Waiting 06:17:47 0eba1c9be4d2: Waiting 06:17:47 0d57e429df01: Waiting 06:17:47 de9db76c5a1d: Verifying Checksum 06:17:47 de9db76c5a1d: Download complete 06:17:47 0ef7d3d256c8: Verifying Checksum 06:17:47 0ef7d3d256c8: Download complete 06:17:47 0d57e429df01: Verifying Checksum 06:17:47 0d57e429df01: Download complete 06:17:47 4e4be7b47b0d: Verifying Checksum 06:17:47 4e4be7b47b0d: Download complete 06:17:47 188c0c94c7c5: Verifying Checksum 06:17:47 188c0c94c7c5: Download complete 06:17:47 e1f770b5df2f: Verifying Checksum 06:17:47 e1f770b5df2f: Download complete 06:17:48 188c0c94c7c5: Pull complete 06:17:48 0eba1c9be4d2: Verifying Checksum 06:17:48 0eba1c9be4d2: Download complete 06:17:48 0ef7d3d256c8: Pull complete 06:17:48 de9db76c5a1d: Pull complete 06:17:48 85a0685a4137: Verifying Checksum 06:17:48 85a0685a4137: Download complete 06:17:52 0eba1c9be4d2: Pull complete 06:17:52 0d57e429df01: Pull complete 06:17:52 4e4be7b47b0d: Pull complete 06:17:52 e1f770b5df2f: Pull complete 06:17:58 85a0685a4137: Pull complete 06:17:58 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:17:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:17:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:17:58 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:17:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:17:59 $ docker top 5e4e72b65fc60d17bc48b28afc3132faf6f7b0384e979bc20b46f777ae5258e9 -eo pid,comm [Pipeline] { [Pipeline] echo 06:17:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:17:59 + set -o pipefail 06:17:59 + snyk monitor '--org=edgex-jenkins' 06:18:06 06:18:06 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 06:18:06 06:18:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/3c906d7d-6ee0-4e98-a8b3-f3310941c46f 06:18:06 06:18:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:18:06 06:18:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:18:06 06:18:06 [Pipeline] } 06:18:06 $ docker stop --time=1 5e4e72b65fc60d17bc48b28afc3132faf6f7b0384e979bc20b46f777ae5258e9 06:18:08 $ docker rm -f 5e4e72b65fc60d17bc48b28afc3132faf6f7b0384e979bc20b46f777ae5258e9 [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 06:18:08 + git log --format=format:%s -1 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 [Pipeline] sh 06:18:09 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:18:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:18:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:18:09 . [Pipeline] withDockerContainer 06:18:09 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:18:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:18:09 $ docker top 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:10 [ssh-agent] Looking for ssh-agent implementation... 06:18:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:10 $ docker exec 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 ssh-agent 06:18:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnGdJlp/agent.13 06:18:10 SSH_AGENT_PID=20 06:18:10 Running ssh-add (command line suppressed) 06:18:10 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3538681450752581572.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3538681450752581572.key) 06:18:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:10 + git semver tag 06:18:10 # -> Open(): unable to determine branch for HEAD 06:18:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 06:18:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 06:18:10 # $SEMVER_REMOTE_NAME = origin 06:18:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:18:10 # $SEMVER_USER_NAME = edgex-jenkins 06:18:10 # $SEMVER_BRANCH = main 06:18:10 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 06:18:10 # 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 HEAD 06:18:10 # -> Force: false 06:18:10 # d5517001a9fc88cbe98936f9b5f1486066c0ab27 refs/tags/v2.2.0-dev.4 [Pipeline] } 06:18:10 $ docker exec --env ******** --env ******** 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 ssh-agent -k 06:18:10 unset SSH_AUTH_SOCK; 06:18:10 unset SSH_AGENT_PID; 06:18:10 echo Agent pid 20 killed; 06:18:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:11 + git semver [Pipeline] } 06:18:11 $ docker stop --time=1 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 06:18:12 $ docker rm -f 12496b18f13ba92e9b95d7f134feed6106c61a51d1f1b0e7e8da6ad0701a5747 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:18:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:18:12 06:18:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:18:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:18:13 0.23.1-centos7: Pulling from edgex-lftools 06:18:13 ab5ef0e58194: Pulling fs layer 06:18:13 9712f1f96733: Pulling fs layer 06:18:13 63f879dbbcfc: Pulling fs layer 06:18:13 0d9ebad4ef96: Pulling fs layer 06:18:13 e9a5061849ea: Pulling fs layer 06:18:13 d747dcd14b5f: Pulling fs layer 06:18:13 2de7ff778b66: Pulling fs layer 06:18:13 0d9ebad4ef96: Waiting 06:18:13 e9a5061849ea: Waiting 06:18:13 d747dcd14b5f: Waiting 06:18:13 2de7ff778b66: Waiting 06:18:13 9712f1f96733: Verifying Checksum 06:18:13 9712f1f96733: Download complete 06:18:13 63f879dbbcfc: Verifying Checksum 06:18:13 63f879dbbcfc: Download complete 06:18:13 ab5ef0e58194: Verifying Checksum 06:18:13 ab5ef0e58194: Download complete 06:18:13 d747dcd14b5f: Verifying Checksum 06:18:13 d747dcd14b5f: Download complete 06:18:13 0d9ebad4ef96: Verifying Checksum 06:18:13 e9a5061849ea: Verifying Checksum 06:18:13 e9a5061849ea: Download complete 06:18:13 2de7ff778b66: Verifying Checksum 06:18:13 2de7ff778b66: Download complete 06:18:16 ab5ef0e58194: Pull complete 06:18:16 9712f1f96733: Pull complete 06:18:17 63f879dbbcfc: Pull complete 06:18:21 0d9ebad4ef96: Pull complete 06:18:21 e9a5061849ea: Pull complete 06:18:21 d747dcd14b5f: Pull complete 06:18:23 2de7ff778b66: Pull complete 06:18:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:18:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:18:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:18:23 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:18:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:18:26 $ docker top 19c1b421c3c4f5dcb812f2726a07effb1f4f342f83831c8df7276faf909ecfd0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:18:26 provisioning config files... 06:18:26 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3821117510254666766tmp 06:18:26 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1412573878291298601tmp 06:18:26 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2657578609437490705tmp [Pipeline] { [Pipeline] echo 06:18:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:18:26 ---> sigul-configuration.sh 06:18:26 gpg: directory `/root/.gnupg' created 06:18:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:18:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:18:26 gpg: keyring `/root/.gnupg/secring.gpg' created 06:18:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:18:26 gpg: CAST5 encrypted data 06:18:26 gpg: encrypted with 1 passphrase 06:18:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:18:27 + mkdir /home/jenkins 06:18:27 + mkdir /home/jenkins/sigul [Pipeline] sh 06:18:27 + 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 06:18:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:18:27 ---> sigul-install.sh 06:18:27 Sigul already installed; skipping installation. [Pipeline] sh 06:18:28 + git tag --list 06:18:28 1.0.0 06:18:28 v0.0.0 06:18:28 v1.1.0 06:18:28 v1.1.1 06:18:28 v1.2.2 06:18:28 v1.3.0 06:18:28 v1.3.1 06:18:28 v2.0.0 06:18:28 v2.0.1-dev.1 06:18:28 v2.0.1-dev.2 06:18:28 v2.0.1-dev.3 06:18:28 v2.0.1-dev.4 06:18:28 v2.0.1-dev.5 06:18:28 v2.0.1-dev.6 06:18:28 v2.1.0 06:18:28 v2.2.0-dev.1 06:18:28 v2.2.0-dev.2 06:18:28 v2.2.0-dev.3 06:18:28 v2.2.0-dev.4 [Pipeline] sh 06:18:28 + lftools sign git-tag v2.2.0-dev.4 06:18:28 Signing Git tag with Sigul... 06:18:28 Signing v2.2.0-dev.4 [Pipeline] echo 06:18:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:18:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:18:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:18:29 $ docker stop --time=1 19c1b421c3c4f5dcb812f2726a07effb1f4f342f83831c8df7276faf909ecfd0 06:18:30 $ docker rm -f 19c1b421c3c4f5dcb812f2726a07effb1f4f342f83831c8df7276faf909ecfd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:18:31 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:18:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:18:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:18:31 . [Pipeline] withDockerContainer 06:18:31 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:18:31 $ docker top bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:31 [ssh-agent] Looking for ssh-agent implementation... 06:18:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:32 $ docker exec bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 ssh-agent 06:18:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnAKkam/agent.12 06:18:32 SSH_AGENT_PID=19 06:18:32 Running ssh-add (command line suppressed) 06:18:32 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1865389734705139732.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1865389734705139732.key) 06:18:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:32 + git semver bump pre 06:18:32 # -> Open(): unable to determine branch for HEAD 06:18:32 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 06:18:32 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 06:18:32 # $SEMVER_REMOTE_NAME = origin 06:18:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:18:32 # $SEMVER_USER_NAME = edgex-jenkins 06:18:32 # $SEMVER_BRANCH = main 06:18:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 06:18:32 2.2.0-dev.5 [Pipeline] } 06:18:32 $ docker exec --env ******** --env ******** bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 ssh-agent -k 06:18:32 unset SSH_AUTH_SOCK; 06:18:32 unset SSH_AGENT_PID; 06:18:32 echo Agent pid 19 killed; 06:18:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:33 + git semver [Pipeline] } 06:18:33 $ docker stop --time=1 bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 06:18:34 $ docker rm -f bdb77e08a0b97d97d8a432a962bd01ebec8e4d0c81998c818b1faa107fbcb699 [Pipeline] // withDockerContainer [Pipeline] sh 06:18:34 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 06:18:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:18:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:18:34 . [Pipeline] withDockerContainer 06:18:34 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:18:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:18:35 $ docker top d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:35 [ssh-agent] Looking for ssh-agent implementation... 06:18:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:35 $ docker exec d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 ssh-agent 06:18:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhPKBhh/agent.14 06:18:35 SSH_AGENT_PID=21 06:18:35 Running ssh-add (command line suppressed) 06:18:35 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2598502234851362633.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2598502234851362633.key) 06:18:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:35 + git semver push 06:18:35 # -> Open(): unable to determine branch for HEAD 06:18:35 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 06:18:35 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 06:18:35 # $SEMVER_REMOTE_NAME = origin 06:18:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:18:35 # $SEMVER_USER_NAME = edgex-jenkins 06:18:35 # $SEMVER_BRANCH = main 06:18:35 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 06:18:37 $ docker exec --env ******** --env ******** d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 ssh-agent -k 06:18:37 unset SSH_AUTH_SOCK; 06:18:37 unset SSH_AGENT_PID; 06:18:37 echo Agent pid 21 killed; 06:18:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:37 + git semver [Pipeline] } 06:18:37 $ docker stop --time=1 d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 06:18:38 $ docker rm -f d1e443fa3933800b552ba0361ac0bb899c5a56cc8214fe96cd348b30082c7169 [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 06:18:39 + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' 06:18:39 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:18:39 total 8 06:18:39 drwxr-xr-x. 3 root root 34 Jan 17 06:11 . 06:18:39 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 06:18 .. 06:18:39 drwxr-xr-x. 2 root root 6 Jan 17 06:11 cost 06:18:39 -rw-r--r--. 1 root root 84 Jan 17 06:11 cost.csv 06:18:39 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:18:39 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:18:39 total 8 06:18:39 drwxr-xr-x. 3 jenkins jenkins 34 Jan 17 06:11 . 06:18:39 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 06:18 .. 06:18:39 drwxr-xr-x. 2 jenkins jenkins 6 Jan 17 06:11 cost 06:18:39 -rw-r--r--. 1 jenkins jenkins 84 Jan 17 06:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:18:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:18:40 ---> package-listing.sh 06:18:40 ++ facter osfamily 06:18:40 ++ tr '[:upper:]' '[:lower:]' 06:18:40 + OS_FAMILY=redhat 06:18:40 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 06:18:40 + START_PACKAGES=/tmp/packages_start.txt 06:18:40 + END_PACKAGES=/tmp/packages_end.txt 06:18:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:18:40 + PACKAGES=/tmp/packages_start.txt 06:18:40 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:18:40 + PACKAGES=/tmp/packages_end.txt 06:18:40 + case "${OS_FAMILY}" in 06:18:40 + rpm -qa 06:18:40 + sort 06:18:41 + '[' -f /tmp/packages_start.txt ']' 06:18:41 + '[' -f /tmp/packages_end.txt ']' 06:18:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:18:41 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:18:41 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 06:18:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 06:18:41 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 06:18:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:18:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:42 . [Pipeline] withDockerContainer 06:18:42 prd-centos7-docker-4c-2g-1659 does not seem to be running inside a container 06:18:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:18:42 $ docker top a93c582263fda1b639485949312d3cbc8c21e0906395171fc1e0a2526ffca42c -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:42 + touch /tmp/pre-build-complete [Pipeline] sh 06:18:43 + mkdir -p /var/log/sysstat [Pipeline] sh 06:18:43 + ls /var/log/sa-host 06:18:43 + sadf -c /var/log/sa-host/sa17 06:18:43 file_magic: OK 06:18:43 HZ: Using current value: 100 06:18:43 file_header: OK 06:18:43 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 06:18:43 Statistics: 06:18:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:18:43 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:43 provisioning config files... 06:18:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5705215345829740763tmp [Pipeline] { [Pipeline] echo 06:18:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:18:43 ---> create-netrc.sh [Pipeline] } 06:18:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:18:44 ---> python-tools-install.sh [Pipeline] echo 06:18:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:18:44 ---> sudo-logs.sh 06:18:44 Archiving 'sudo' log.. 06:18:44 sudo: unable to resolve host prd-centos7-docker-4c-2g-1659.novalocal: Name or service not known 06:18:44 sudo: unable to resolve host prd-centos7-docker-4c-2g-1659.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 06:18:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:18:44 ---> job-cost.sh 06:18:44 lf-activate-venv: SKIPPING 06:18:44 DEBUG: total: 0.05999999865889549 06:18:44 INFO: Retrieving Stack Cost... 06:18:45 INFO: Retrieving Pricing Info for: v3-standard-2 06:18:45 INFO: Archiving Costs [Pipeline] echo 06:18:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:18:45 ---> logs-deploy.sh 06:18:45 lf-activate-venv: SKIPPING 06:18:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/13 06:18:45 INFO: archiving workspace using pattern(s): 06:18:46 Archives upload complete. 06:18:46 INFO: archiving logs to Nexus