Pull request #134 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-snmp-go Obtained Jenkinsfile from c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc+58834fc6b430fe9b88288769f7ae389ff6e0a5f7 (3b6bfcb88ab3b6cfdec7e953d3dae56fb456acf9) 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-ssh5070724771056771009.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-ssh13350195479344244421.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-134/workspace@libs/edgex-global-pipelines # timeout=10 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/PR-134/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13167287607546134731.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-134/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7863097330169080221.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh13611043189782328720.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-134/workspace@libs/lf-pipelines # timeout=10 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/PR-134/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17583652489903712940.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 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 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1843’ is offline ‘prd-centos7-docker-4c-2g-1847’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1844’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1856 in /w/workspace/gexfoundry_device-snmp-go_PR-134 [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/gexfoundry_device-snmp-go_PR-134 # 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/gexfoundry_device-snmp-go_PR-134@tmp/jenkins-gitclient-ssh1893287699672736900.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 into PR head commit c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc Merge succeeded, producing c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc Checking out Revision c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc (PR-134) > 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 remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 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/gexfoundry_device-snmp-go_PR-134@tmp/jenkins-gitclient-ssh6521229945946696843.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-snmp-go_PR-134@tmp/jenkins-gitclient-ssh6573318606388808241.key > git merge 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc # timeout=10 Commit message: "ci: Go 1.17 related changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:53:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:53:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:53:21 ========================================================= 19:53:21 EdgeX Global Pipelines Version Info 19:53:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:53:22 ------------------- 19:53:22 stable info: 19:53:22 ------------------- 19:53:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:53:22 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 19:53:22 Message: update stable to v1.0.219 19:53:23 ------------------- 19:53:23 experimental info: 19:53:23 ------------------- 19:53:23 Commited By: **** collab-it+edgex@linuxfoundation.org 19:53:23 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 19:53:23 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:53:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-134 [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-134 [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-134 [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9558d6 [Pipeline] echo 19:53:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:53:24 provisioning config files... 19:53:24 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-134@tmp/config6596864896190649216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:25 ---> docker-login.sh 19:53:25 nexus3.edgexfoundry.org:10001 19:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:25 Configure a credential helper to remove this warning. See 19:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:25 19:53:25 Login Succeeded 19:53:25 nexus3.edgexfoundry.org:10002 19:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:25 Configure a credential helper to remove this warning. See 19:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:25 19:53:25 Login Succeeded 19:53:25 nexus3.edgexfoundry.org:10003 19:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:25 Configure a credential helper to remove this warning. See 19:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:25 19:53:25 Login Succeeded 19:53:25 nexus3.edgexfoundry.org:10004 19:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:25 Configure a credential helper to remove this warning. See 19:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:25 19:53:25 Login Succeeded 19:53:25 docker.io 19:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:25 Configure a credential helper to remove this warning. See 19:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:25 19:53:25 Login Succeeded 19:53:25 ---> docker-login.sh ends [Pipeline] } 19:53:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:53:26 + git rev-list -1 --merges c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc~1..c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc [Pipeline] echo 19:53:26 -----------> git rev-list -1 --merges c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc~1..c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc [false] [Pipeline] sh 19:53:27 + git log --format=format:%s -1 c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc [Pipeline] echo 19:53:27 ========================================================= 19:53:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:53:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:53:27 + git log --format=format:%s -1 c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc [Pipeline] echo 19:53:27 [semverPrep] GIT_COMMIT: c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc, Commit Message: ci: Go 1.17 related changes [Pipeline] echo 19:53:27 [semverPrep] This is not a build commit. [Pipeline] sh 19:53:28 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 19:53:28 + grep -v github /etc/ssh/ssh_known_hosts 19:53:28 + '[' -e /tmp/ssh_known_hosts ']' 19:53:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:53:28 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 19:53:28 + sudo tee -a /etc/ssh/ssh_known_hosts 19:53:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:53:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:53:28 19:53:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:53:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:53:28 latest: Pulling from edgex-devops/git-semver 19:53:28 a0d0a0d46f8b: Pulling fs layer 19:53:28 3e5f54012d9b: Pulling fs layer 19:53:28 4c7163046ea9: Pulling fs layer 19:53:28 0c2d73faf560: Pulling fs layer 19:53:28 0c2d73faf560: Waiting 19:53:28 3e5f54012d9b: Verifying Checksum 19:53:28 3e5f54012d9b: Download complete 19:53:28 a0d0a0d46f8b: Verifying Checksum 19:53:28 a0d0a0d46f8b: Download complete 19:53:28 4c7163046ea9: Verifying Checksum 19:53:28 4c7163046ea9: Download complete 19:53:28 0c2d73faf560: Verifying Checksum 19:53:28 0c2d73faf560: Download complete 19:53:29 a0d0a0d46f8b: Pull complete 19:53:29 3e5f54012d9b: Pull complete 19:53:29 4c7163046ea9: Pull complete 19:53:29 0c2d73faf560: Pull complete 19:53:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 19:53:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:53:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:53:29 prd-centos7-docker-4c-2g-1856 does not seem to be running inside a container 19:53:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-134 -v /w/workspace/gexfoundry_device-snmp-go_PR-134:/w/workspace/gexfoundry_device-snmp-go_PR-134:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-134@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-134@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:53:30 $ docker top fe181aaee5f18647063ce29fd89c5fa6b6e90db2db82501c96034f24bfcfa3aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:53:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:53:30 [ssh-agent] Looking for ssh-agent implementation... 19:53:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:53:30 $ docker exec fe181aaee5f18647063ce29fd89c5fa6b6e90db2db82501c96034f24bfcfa3aa ssh-agent 19:53:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfnFDEi/agent.14 19:53:30 SSH_AGENT_PID=20 19:53:30 Running ssh-add (command line suppressed) 19:53:30 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-134@tmp/private_key_5829885260304918488.key (/w/workspace/gexfoundry_device-snmp-go_PR-134@tmp/private_key_5829885260304918488.key) 19:53:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:53:31 + git tag --points-at HEAD [Pipeline] } 19:53:31 $ docker exec --env ******** --env ******** fe181aaee5f18647063ce29fd89c5fa6b6e90db2db82501c96034f24bfcfa3aa ssh-agent -k 19:53:31 unset SSH_AUTH_SOCK; 19:53:31 unset SSH_AGENT_PID; 19:53:31 echo Agent pid 20 killed; 19:53:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:53:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:53:31 [ssh-agent] Looking for ssh-agent implementation... 19:53:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:53:31 $ docker exec fe181aaee5f18647063ce29fd89c5fa6b6e90db2db82501c96034f24bfcfa3aa ssh-agent 19:53:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXogaFlj/agent.54 19:53:31 SSH_AGENT_PID=60 19:53:31 Running ssh-add (command line suppressed) 19:53:31 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-134@tmp/private_key_590998648784459531.key (/w/workspace/gexfoundry_device-snmp-go_PR-134@tmp/private_key_590998648784459531.key) 19:53:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:53:32 + git semver init 19:53:32 # -> Open(): unable to determine branch for HEAD 19:53:32 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-134/.git 19:53:32 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-134 19:53:32 # $SEMVER_REMOTE_NAME = origin 19:53:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:53:32 # $SEMVER_USER_NAME = edgex-jenkins 19:53:32 # $SEMVER_BRANCH = PR-134 19:53:32 # $SEMVER_TEMP = /tmp/semver-051787207 19:53:32 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 19:53:33 # '/tmp/semver-051787207' -> '/w/workspace/gexfoundry_device-snmp-go_PR-134/.semver' 19:53:33 # -> Force: false 19:53:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-134/.semver [Pipeline] } 19:53:33 $ docker exec --env ******** --env ******** fe181aaee5f18647063ce29fd89c5fa6b6e90db2db82501c96034f24bfcfa3aa ssh-agent -k 19:53:33 unset SSH_AUTH_SOCK; 19:53:33 unset SSH_AGENT_PID; 19:53:33 echo Agent pid 60 killed; 19:53:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:53:33 + git semver [Pipeline] } 19:53:33 $ docker stop --time=1 fe181aaee5f18647063ce29fd89c5fa6b6e90db2db82501c96034f24bfcfa3aa 19:53:34 $ docker rm -f fe181aaee5f18647063ce29fd89c5fa6b6e90db2db82501c96034f24bfcfa3aa [Pipeline] // withDockerContainer [Pipeline] sh 19:53:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:53:35 Stashed 1 file(s) [Pipeline] echo 19:53:35 [edgeXSemver]: initialized semver on version 0.0.0 [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 19:53:36 provisioning config files... 19:53:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-134@tmp/config3698483468195643788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:36 ---> docker-login.sh 19:53:36 nexus3.edgexfoundry.org:10001 19:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:36 Configure a credential helper to remove this warning. See 19:53:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:36 19:53:36 Login Succeeded 19:53:36 nexus3.edgexfoundry.org:10002 19:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:36 Configure a credential helper to remove this warning. See 19:53:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:36 19:53:36 Login Succeeded 19:53:36 nexus3.edgexfoundry.org:10003 19:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:36 Configure a credential helper to remove this warning. See 19:53:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:36 19:53:36 Login Succeeded 19:53:36 nexus3.edgexfoundry.org:10004 19:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:36 Configure a credential helper to remove this warning. See 19:53:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:36 19:53:36 Login Succeeded 19:53:36 docker.io 19:53:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:37 Configure a credential helper to remove this warning. See 19:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:37 19:53:37 Login Succeeded 19:53:37 ---> docker-login.sh ends [Pipeline] } 19:53:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:53:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:53:37 ========================================================= 19:53:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:53:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:53:38 + 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 . 19:53:38 Sending build context to Docker daemon 5.183MB 19:53:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:53:38 Step 2/12 : FROM ${BASE} AS builder 19:53:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:53:38 59bf1c3509f3: Pulling fs layer 19:53:38 666ba61612fd: Pulling fs layer 19:53:38 8ed8ca486205: Pulling fs layer 19:53:38 4fe6c5a15a65: Pulling fs layer 19:53:38 22a0e8bec74d: Pulling fs layer 19:53:38 f965cba54748: Pulling fs layer 19:53:38 861ffc35075e: Pulling fs layer 19:53:38 4b385c91608e: Pulling fs layer 19:53:38 560528eb2ebb: Pulling fs layer 19:53:38 4fe6c5a15a65: Waiting 19:53:38 22a0e8bec74d: Waiting 19:53:38 4b385c91608e: Waiting 19:53:38 f965cba54748: Waiting 19:53:38 861ffc35075e: Waiting 19:53:38 560528eb2ebb: Waiting 19:53:38 8ed8ca486205: Verifying Checksum 19:53:38 8ed8ca486205: Download complete 19:53:38 666ba61612fd: Verifying Checksum 19:53:38 666ba61612fd: Download complete 19:53:38 22a0e8bec74d: Verifying Checksum 19:53:38 22a0e8bec74d: Download complete 19:53:38 f965cba54748: Verifying Checksum 19:53:38 f965cba54748: Download complete 19:53:38 59bf1c3509f3: Verifying Checksum 19:53:38 59bf1c3509f3: Download complete 19:53:38 861ffc35075e: Verifying Checksum 19:53:38 861ffc35075e: Download complete 19:53:38 4b385c91608e: Verifying Checksum 19:53:38 4b385c91608e: Download complete 19:53:38 59bf1c3509f3: Pull complete 19:53:38 666ba61612fd: Pull complete 19:53:38 8ed8ca486205: Pull complete 19:53:38 560528eb2ebb: Verifying Checksum 19:53:38 560528eb2ebb: Download complete 19:53:39 4fe6c5a15a65: Verifying Checksum 19:53:39 4fe6c5a15a65: Download complete 19:53:42 4fe6c5a15a65: Pull complete 19:53:42 22a0e8bec74d: Pull complete 19:53:42 f965cba54748: Pull complete 19:53:42 861ffc35075e: Pull complete 19:53:43 4b385c91608e: Pull complete 19:53:45 560528eb2ebb: Pull complete 19:53:45 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 19:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:53:45 ---> dd4a08f94e63 19:53:45 Step 3/12 : ARG MAKE='make build' 19:53:48 ---> Running in 521a8e771b8c 19:53:48 Removing intermediate container 521a8e771b8c 19:53:48 ---> 3186c1c01636 19:53:48 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:53:48 ---> Running in 3138c0cce0fd 19:53:48 Removing intermediate container 3138c0cce0fd 19:53:48 ---> 32e2f1d05cab 19:53:48 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:53:48 ---> Running in 100e8a9e9bed 19:53:48 Removing intermediate container 100e8a9e9bed 19:53:48 ---> e58b254bb4ba 19:53:48 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:53:48 ---> Running in cdd91f9c68f8 19:53:49 Removing intermediate container cdd91f9c68f8 19:53:49 ---> 4319412477e8 19:53:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:53:49 ---> Running in 808770e679f5 19:53:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:53:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:53:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:53:50 Still waiting to schedule task 19:53:50 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 19:53:50 ‘prd-centos7-docker-4c-2g-1857’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 19:53:50 ‘prd-centos7-docker-4c-2g-1859’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 19:53:50 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1858’ is offline 19:53:51 (2/4) Installing libedit (20210910.3.1-r0) 19:53:51 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:53:51 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:53:51 Executing busybox-1.34.1-r3.trigger 19:53:51 OK: 224 MiB in 56 packages 19:53:51 Removing intermediate container 808770e679f5 19:53:51 ---> dd1a0f17fa8e 19:53:51 Step 8/12 : WORKDIR /device-snmp-go 19:53:51 ---> Running in d4460107eeb5 19:53:51 Removing intermediate container d4460107eeb5 19:53:51 ---> cb73ff055995 19:53:51 Step 9/12 : COPY go.mod vendor* ./ 19:53:51 ---> 48c9903debcf 19:53:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:53:51 ---> Running in ae190eeead87 19:54:23 Removing intermediate container ae190eeead87 19:54:23 ---> 83d2e82bad03 19:54:23 Step 11/12 : COPY . . 19:54:23 ---> 174b7d8bb388 19:54:23 Step 12/12 : RUN ${MAKE} 19:54:23 ---> Running in 048e76690579 19:54:23 noop 19:54:23 Removing intermediate container 048e76690579 19:54:23 ---> e6449c92009b 19:54:23 Successfully built e6449c92009b 19:54:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:54:24 + docker inspect -f . ci-base-image-x86_64 19:54:24 . [Pipeline] withDockerContainer 19:54:24 prd-centos7-docker-4c-2g-1856 does not seem to be running inside a container 19:54:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-134 -v /w/workspace/gexfoundry_device-snmp-go_PR-134:/w/workspace/gexfoundry_device-snmp-go_PR-134:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-134@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-134@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:54:24 $ docker top f99e5bd169f63bf5b3529fe6ffeaf3bc80b4839b8df31c8ad0c47e5da5a8f5f8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:54:25 + go version 19:54:25 go version go1.17.6 linux/amd64 [Pipeline] } 19:54:25 $ docker stop --time=1 f99e5bd169f63bf5b3529fe6ffeaf3bc80b4839b8df31c8ad0c47e5da5a8f5f8 19:54:26 $ docker rm -f f99e5bd169f63bf5b3529fe6ffeaf3bc80b4839b8df31c8ad0c47e5da5a8f5f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:54:27 + docker inspect -f . ci-base-image-x86_64 19:54:27 . [Pipeline] withDockerContainer 19:54:27 prd-centos7-docker-4c-2g-1856 does not seem to be running inside a container 19:54:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-134 -v /w/workspace/gexfoundry_device-snmp-go_PR-134:/w/workspace/gexfoundry_device-snmp-go_PR-134:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-134@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-134@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:54:27 $ docker top 33bc69f04f1c6173166f711f98395b8a6ab53ab710f6122ceeb47a4616eb68cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:54:28 + make test 19:54:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:54:28 ? github.com/edgexfoundry/device-snmp-go [no test files] 19:54:43 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 19:54:43 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 19:54:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:54:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:54:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:54:47 ./bin/test-attribution-txt.sh [Pipeline] echo 19:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:54:48 $ docker stop --time=1 33bc69f04f1c6173166f711f98395b8a6ab53ab710f6122ceeb47a4616eb68cb 19:54:49 $ docker rm -f 33bc69f04f1c6173166f711f98395b8a6ab53ab710f6122ceeb47a4616eb68cb [Pipeline] // withDockerContainer [Pipeline] sh 19:54:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:54:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:54:51 + ls -al . 19:54:51 total 144 19:54:51 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 19:54 . 19:54:51 drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 19:53 .. 19:54:51 -rw-rw-r--. 1 jenkins jenkins 6926 Jan 19 19:53 Attribution.txt 19:54:51 drwxrwxr-x. 2 jenkins jenkins 60 Jan 19 19:53 bin 19:54:51 -rw-rw-r--. 1 jenkins jenkins 4401 Jan 19 19:53 CHANGELOG.md 19:54:51 drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 19:53 cmd 19:54:51 -rw-r--r--. 1 jenkins jenkins 7631 Jan 19 19:54 coverage.out 19:54:51 -rw-rw-r--. 1 jenkins jenkins 1516 Jan 19 19:53 Dockerfile 19:54:51 -rw-rw-r--. 1 jenkins jenkins 6 Jan 19 19:53 .dockerignore 19:54:51 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 19:53 .git 19:54:51 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 19:53 .github 19:54:51 -rw-rw-r--. 1 jenkins jenkins 262 Jan 19 19:53 .gitignore 19:54:51 -rw-rw-r--. 1 jenkins jenkins 214 Jan 19 19:53 go.mod 19:54:51 -rw-rw-r--. 1 jenkins jenkins 49501 Jan 19 19:53 go.sum 19:54:51 -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 19:53 GOVERNANCE.md 19:54:51 drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 19:53 internal 19:54:51 -rw-rw-r--. 1 jenkins jenkins 656 Jan 19 19:53 Jenkinsfile 19:54:51 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 19:53 LICENSE 19:54:51 -rw-rw-r--. 1 jenkins jenkins 1057 Jan 19 19:53 Makefile 19:54:51 -rw-rw-r--. 1 jenkins jenkins 620 Jan 19 19:53 OWNERS.md 19:54:51 -rw-rw-r--. 1 jenkins jenkins 9073 Jan 19 19:53 README.md 19:54:51 drwx------. 3 jenkins jenkins 88 Jan 19 19:53 .semver 19:54:51 drwxrwxr-x. 3 jenkins jenkins 58 Jan 19 19:53 snap 19:54:51 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 19:53 VERSION 19:54:51 -rw-rw-r--. 1 jenkins jenkins 209 Jan 19 19:53 version.go [Pipeline] isUnix [Pipeline] sh 19:54:51 + 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=c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc --label arch=amd64 --label version=0.0.0 . 19:54:51 Sending build context to Docker daemon 5.191MB 19:54:51 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 19:54:51 Step 2/24 : FROM ${BASE} AS builder 19:54:51 ---> e6449c92009b 19:54:51 Step 3/24 : ARG MAKE='make build' 19:54:51 ---> Running in 060e6003a8e1 19:54:51 Removing intermediate container 060e6003a8e1 19:54:51 ---> de6e7a663cf0 19:54:51 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:54:51 ---> Running in 4ab0c0abed2b 19:54:51 Removing intermediate container 4ab0c0abed2b 19:54:51 ---> 4e76cd4da652 19:54:51 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 19:54:51 ---> Running in 63c58f06269f 19:54:51 Removing intermediate container 63c58f06269f 19:54:51 ---> 128de24b8b57 19:54:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:54:51 ---> Running in c0dab6b7f0dd 19:54:52 Removing intermediate container c0dab6b7f0dd 19:54:52 ---> 16b3c650d409 19:54:52 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:54:52 ---> Running in c8a9ac589a75 19:54:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:54:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:54:53 OK: 224 MiB in 56 packages 19:54:53 Removing intermediate container c8a9ac589a75 19:54:53 ---> f9d0952d859f 19:54:53 Step 8/24 : WORKDIR /device-snmp-go 19:54:53 ---> Running in 2423869758da 19:54:53 Removing intermediate container 2423869758da 19:54:53 ---> 5f9fb682abd4 19:54:53 Step 9/24 : COPY go.mod vendor* ./ 19:54:54 ---> 9cf3f9ceae01 19:54:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:54:54 ---> Running in 132dc5896767 19:54:54 Removing intermediate container 132dc5896767 19:54:54 ---> eaeeca358312 19:54:54 Step 11/24 : COPY . . 19:54:55 ---> ed2507897f61 19:54:55 Step 12/24 : RUN ${MAKE} 19:54:55 ---> Running in 1c6a5a809d0f 19:54:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 19:55:07 Removing intermediate container 1c6a5a809d0f 19:55:07 ---> 0bc0a63d147f 19:55:07 Step 13/24 : FROM alpine:3.14 19:55:08 3.14: Pulling from library/alpine 19:55:08 97518928ae5f: Pulling fs layer 19:55:08 97518928ae5f: Verifying Checksum 19:55:08 97518928ae5f: Download complete 19:55:08 97518928ae5f: Pull complete 19:55:09 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 19:55:09 Status: Downloaded newer image for alpine:3.14 19:55:09 ---> 0a97eee8041e 19:55:09 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 19:55:09 ---> Running in 71fdfeef6a16 19:55:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:55:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:55:09 (1/6) Installing dumb-init (1.2.5-r1) 19:55:09 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:55:09 (3/6) Installing libsodium (1.0.18-r0) 19:55:09 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:55:09 (5/6) Installing libzmq (4.3.4-r0) 19:55:09 (6/6) Installing zeromq (4.3.4-r0) 19:55:09 Executing busybox-1.33.1-r6.trigger 19:55:09 OK: 8 MiB in 20 packages 19:55:09 Removing intermediate container 71fdfeef6a16 19:55:09 ---> 44e605fbd3b7 19:55:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 19:55:10 ---> 776ccf8f75e7 19:55:10 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 19:55:10 ---> aaf09492042b 19:55:10 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 19:55:10 ---> a571baffd432 19:55:10 Step 18/24 : EXPOSE 59993 19:55:10 ---> Running in 082a5080473b 19:55:10 Removing intermediate container 082a5080473b 19:55:10 ---> 0fd7dcfdee32 19:55:10 Step 19/24 : EXPOSE 161 19:55:10 ---> Running in b8066ef92c63 19:55:10 Removing intermediate container b8066ef92c63 19:55:10 ---> 3449cba76078 19:55:10 Step 20/24 : ENTRYPOINT ["/device-snmp"] 19:55:10 ---> Running in 626fd55f2f1d 19:55:10 Removing intermediate container 626fd55f2f1d 19:55:10 ---> 705cc91f4a6f 19:55:10 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:55:10 ---> Running in f759e2563b02 19:55:10 Removing intermediate container f759e2563b02 19:55:10 ---> 34a7fac95fbc 19:55:10 Step 22/24 : LABEL arch=amd64 19:55:10 ---> Running in 99ac87908b0e 19:55:11 Removing intermediate container 99ac87908b0e 19:55:11 ---> 6d5145e7ad4e 19:55:11 Step 23/24 : LABEL git_sha=c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc 19:55:11 ---> Running in 77f9ace56a12 19:55:11 Removing intermediate container 77f9ace56a12 19:55:11 ---> 8783522d4fdd 19:55:11 Step 24/24 : LABEL version=0.0.0 19:55:11 ---> Running in 4ef7c759b611 19:55:11 Removing intermediate container 4ef7c759b611 19:55:11 ---> 4662dd231906 19:55:11 [Warning] One or more build-args [ARCH] were not consumed 19:55:11 Successfully built 4662dd231906 19:55:11 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 19:55:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:55:11 19:55:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:55:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:55:12 latest: Pulling from edgex-lftools-log-publisher 19:55:12 b4d181a07f80: Pulling fs layer 19:55:12 a1111a8f2ec3: Pulling fs layer 19:55:12 ed53099fbce6: Pulling fs layer 19:55:12 dc539afda2c1: Pulling fs layer 19:55:12 77bc0d833cb6: Pulling fs layer 19:55:12 9065ff56babe: Pulling fs layer 19:55:12 d287ab97295c: Pulling fs layer 19:55:12 77bc0d833cb6: Waiting 19:55:12 9065ff56babe: Waiting 19:55:12 d287ab97295c: Waiting 19:55:12 dc539afda2c1: Waiting 19:55:12 a1111a8f2ec3: Verifying Checksum 19:55:12 a1111a8f2ec3: Download complete 19:55:12 dc539afda2c1: Verifying Checksum 19:55:12 dc539afda2c1: Download complete 19:55:12 ed53099fbce6: Verifying Checksum 19:55:12 ed53099fbce6: Download complete 19:55:12 9065ff56babe: Verifying Checksum 19:55:12 9065ff56babe: Download complete 19:55:12 77bc0d833cb6: Verifying Checksum 19:55:12 77bc0d833cb6: Download complete 19:55:12 b4d181a07f80: Verifying Checksum 19:55:12 b4d181a07f80: Download complete 19:55:13 d287ab97295c: Verifying Checksum 19:55:13 d287ab97295c: Download complete 19:55:14 b4d181a07f80: Pull complete 19:55:14 a1111a8f2ec3: Pull complete 19:55:14 ed53099fbce6: Pull complete 19:55:14 dc539afda2c1: Pull complete 19:55:14 77bc0d833cb6: Pull complete 19:55:15 9065ff56babe: Pull complete 19:55:20 d287ab97295c: Pull complete 19:55:20 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:55:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:55:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:55:20 prd-centos7-docker-4c-2g-1856 does not seem to be running inside a container 19:55:20 $ 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/gexfoundry_device-snmp-go_PR-134 -v /w/workspace/gexfoundry_device-snmp-go_PR-134:/w/workspace/gexfoundry_device-snmp-go_PR-134:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-134@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-134@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:55:23 $ docker top e2e9a9f8b158bc1334c75a5198713e72a3154920e7e6125243bf1471acbe7295 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:55:23 ---> job-cost.sh 19:55:23 lf-activate-venv: SKIPPING 19:55:23 INFO: No Stack... 19:55:24 INFO: Retrieving Pricing Info for: v3-standard-2 19:55:24 INFO: Archiving Costs [Pipeline] sh 19:55:24 + cat /w/workspace/gexfoundry_device-snmp-go_PR-134/archives/cost.csv 19:55:24 + cut -d, -f6 [Pipeline] lock 19:55:24 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-134-1-stack-cost] 19:55:24 Resource [jenkins-edgexfoundry-device-snmp-go-PR-134-1-stack-cost] did not exist. Created. 19:55:24 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-134-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:55:25 + echo total: 0.05999999865889549 [Pipeline] stash 19:55:25 Stashed 1 file(s) [Pipeline] } 19:55:25 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-134-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:55:25 $ docker stop --time=1 e2e9a9f8b158bc1334c75a5198713e72a3154920e7e6125243bf1471acbe7295 19:55:26 $ docker rm -f e2e9a9f8b158bc1334c75a5198713e72a3154920e7e6125243bf1471acbe7295 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:56:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1869 in /w/workspace/gexfoundry_device-snmp-go_PR-134 [Pipeline] { [Pipeline] ws 19:56:44 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 19:56:44 Selected Git installation does not exist. Using Default 19:56:44 The recommended git tool is: NONE 19:56:50 using credential edgex-jenkins-ssh 19:56:50 Cloning the remote Git repository 19:56:50 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 19:56:50 > git init /w/workspace/device-snmp-go/1 # timeout=10 19:56:50 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:56:50 > git --version # timeout=10 19:56:51 > git --version # 'git version 2.17.1' 19:56:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:56:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:56:53 Merging remotes/origin/main commit 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 into PR head commit c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc 19:56:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:56:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:56:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:56:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:56:52 using GIT_SSH to set credentials SSH Credentials for GitHub 19:56:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/134/head:refs/remotes/origin/PR-134 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:56:53 > git config core.sparsecheckout # timeout=10 19:56:53 > git checkout -f c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc # timeout=10 19:56:53 Merge succeeded, producing c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc 19:56:53 Checking out Revision c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc (PR-134) 19:56:53 > git remote # timeout=10 19:56:53 > git config --get remote.origin.url # timeout=10 19:56:53 using GIT_SSH to set credentials SSH Credentials for GitHub 19:56:53 > git merge 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 # timeout=10 19:56:53 > git rev-parse HEAD^{commit} # timeout=10 19:56:53 > git config core.sparsecheckout # timeout=10 19:56:53 > git checkout -f c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc # timeout=10 19:56:58 Commit message: "ci: Go 1.17 related changes" 19:56:58 > git --version # timeout=10 19:56:58 > git --version # 'git version 2.17.1' 19:56:58 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:56:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:56:59 % Total % Received % Xferd Average Speed Time Time Time Current 19:56:59 Dload Upload Total Spent Left Speed 19:56:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 19:57:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:57:00 + sudo tee /etc/docker/daemon.new 19:57:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:57:00 { 19:57:00 "registry-mirrors": [ 19:57:00 "https://nexus3.edgexfoundry.org:10001" 19:57:00 ], 19:57:00 "bip": "10.250.0.254/24", 19:57:00 "hosts": [ 19:57:00 "tcp://0.0.0.0:5555", 19:57:00 "unix:///var/run/docker.sock" 19:57:00 ], 19:57:00 "mtu": 1458, 19:57:00 "selinux-enabled": true, 19:57:00 "seccomp-profile": "/etc/docker/seccomp.json" 19:57:00 } [Pipeline] sh 19:57:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:57:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:57:19 provisioning config files... 19:57:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6867010748785369146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:20 ---> docker-login.sh 19:57:20 nexus3.edgexfoundry.org:10001 19:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:21 Configure a credential helper to remove this warning. See 19:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:21 19:57:21 Login Succeeded 19:57:21 nexus3.edgexfoundry.org:10002 19:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:22 Configure a credential helper to remove this warning. See 19:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:22 19:57:22 Login Succeeded 19:57:22 nexus3.edgexfoundry.org:10003 19:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:22 Configure a credential helper to remove this warning. See 19:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:22 19:57:22 Login Succeeded 19:57:22 nexus3.edgexfoundry.org:10004 19:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:23 Configure a credential helper to remove this warning. See 19:57:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:23 19:57:23 Login Succeeded 19:57:23 docker.io 19:57:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:24 Configure a credential helper to remove this warning. See 19:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:24 19:57:24 Login Succeeded 19:57:24 ---> docker-login.sh ends [Pipeline] } 19:57:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:57:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:57:24 ========================================================= 19:57:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:57:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:57:25 + 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 . 19:57:25 Sending build context to Docker daemon 2.696MB 19:57:25 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:57:25 Step 2/12 : FROM ${BASE} AS builder 19:57:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:57:26 9b3977197b4f: Pulling fs layer 19:57:26 1a89e8eeedd5: Pulling fs layer 19:57:26 94645a83ff95: Pulling fs layer 19:57:26 3f3a8bcf1eab: Pulling fs layer 19:57:26 0c92f367c5e7: Pulling fs layer 19:57:26 4b8299f9d1f4: Pulling fs layer 19:57:26 9a6b49a46696: Pulling fs layer 19:57:26 cf05db05a679: Pulling fs layer 19:57:26 0c92f367c5e7: Waiting 19:57:26 4b8299f9d1f4: Waiting 19:57:26 9a6b49a46696: Waiting 19:57:26 cf05db05a679: Waiting 19:57:26 3f3a8bcf1eab: Waiting 19:57:26 94645a83ff95: Verifying Checksum 19:57:26 94645a83ff95: Download complete 19:57:26 1a89e8eeedd5: Download complete 19:57:26 0c92f367c5e7: Verifying Checksum 19:57:26 0c92f367c5e7: Download complete 19:57:26 4b8299f9d1f4: Download complete 19:57:26 9b3977197b4f: Download complete 19:57:26 9a6b49a46696: Verifying Checksum 19:57:26 9a6b49a46696: Download complete 19:57:27 9b3977197b4f: Pull complete 19:57:27 1a89e8eeedd5: Pull complete 19:57:28 94645a83ff95: Pull complete 19:57:28 cf05db05a679: Verifying Checksum 19:57:28 cf05db05a679: Download complete 19:57:29 3f3a8bcf1eab: Verifying Checksum 19:57:29 3f3a8bcf1eab: Download complete 19:57:44 3f3a8bcf1eab: Pull complete 19:57:44 0c92f367c5e7: Pull complete 19:57:44 4b8299f9d1f4: Pull complete 19:57:44 9a6b49a46696: Pull complete 19:57:49 cf05db05a679: Pull complete 19:57:49 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 19:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:57:49 ---> 0ccda1f7e2ee 19:57:49 Step 3/12 : ARG MAKE='make build' 19:57:51 ---> Running in eb9bf6de4fbd 19:57:51 Removing intermediate container eb9bf6de4fbd 19:57:51 ---> 7010e45b6eb5 19:57:51 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:57:51 ---> Running in 165dba212484 19:57:52 Removing intermediate container 165dba212484 19:57:52 ---> 5bd75a300781 19:57:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:57:52 ---> Running in 737bb4422373 19:57:53 Removing intermediate container 737bb4422373 19:57:53 ---> b246ceaee437 19:57:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:57:53 ---> Running in 9dc30a35fc37 19:57:55 Removing intermediate container 9dc30a35fc37 19:57:55 ---> c33829d7c36c 19:57:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:57:55 ---> Running in 39182ab5eb07 19:57:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:57:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:57:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:57:58 (2/4) Installing libedit (20210910.3.1-r0) 19:57:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:57:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:57:59 Executing busybox-1.34.1-r3.trigger 19:57:59 OK: 224 MiB in 56 packages 19:58:00 Removing intermediate container 39182ab5eb07 19:58:00 ---> a15b9fa61821 19:58:00 Step 8/12 : WORKDIR /device-snmp-go 19:58:00 ---> Running in 44494829d25d 19:58:01 Removing intermediate container 44494829d25d 19:58:01 ---> 4bdfc63754b1 19:58:01 Step 9/12 : COPY go.mod vendor* ./ 19:58:01 ---> 3ec2fef4f749 19:58:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:58:01 ---> Running in 98781aa7a0db 19:59:23 Removing intermediate container 98781aa7a0db 19:59:23 ---> f758d371d4f1 19:59:23 Step 11/12 : COPY . . 19:59:23 ---> af6c7b8c1b07 19:59:23 Step 12/12 : RUN ${MAKE} 19:59:23 ---> Running in 04141fd21085 19:59:23 noop 19:59:23 Removing intermediate container 04141fd21085 19:59:23 ---> 8e4d54dc877a 19:59:23 Successfully built 8e4d54dc877a 19:59:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:59:24 + docker inspect -f . ci-base-image-arm64 19:59:24 . [Pipeline] withDockerContainer 19:59:24 prd-ubuntu18.04-docker-arm64-4c-16g-1869 does not seem to be running inside a container 19:59:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:59:26 $ docker top cfcb0a3ae5b4f9deb17241c81d852135e1c2cea764f2902df82f2069709866c5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:27 + go version 19:59:27 go version go1.17.6 linux/arm64 [Pipeline] } 19:59:27 $ docker stop --time=1 cfcb0a3ae5b4f9deb17241c81d852135e1c2cea764f2902df82f2069709866c5 19:59:29 $ docker rm -f cfcb0a3ae5b4f9deb17241c81d852135e1c2cea764f2902df82f2069709866c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:59:30 + docker inspect -f . ci-base-image-arm64 19:59:30 . [Pipeline] withDockerContainer 19:59:30 prd-ubuntu18.04-docker-arm64-4c-16g-1869 does not seem to be running inside a container 19:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:59:31 $ docker top 25a86dd34120bc23ecf31598ff9f443532da712711868d4734d8ea19b967b683 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:59:33 + make test 19:59:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:59:34 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:00:42 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:00:42 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 20:00:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:00:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:00:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:00:57 ./bin/test-attribution-txt.sh [Pipeline] echo 20:00:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:00:58 $ docker stop --time=1 25a86dd34120bc23ecf31598ff9f443532da712711868d4734d8ea19b967b683 20:01:00 $ docker rm -f 25a86dd34120bc23ecf31598ff9f443532da712711868d4734d8ea19b967b683 [Pipeline] // withDockerContainer [Pipeline] sh 20:01:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:01:01 Warning: overwriting stash ‘coverage-report’ 20:01:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:01:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:01:02 + ls -al . 20:01:02 total 172 20:01:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:00 . 20:01:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 19:56 .. 20:01:02 -rw-rw-r-- 1 jenkins jenkins 6 Jan 19 19:56 .dockerignore 20:01:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 19:56 .git 20:01:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 19:56 .github 20:01:02 -rw-rw-r-- 1 jenkins jenkins 262 Jan 19 19:56 .gitignore 20:01:02 -rw-rw-r-- 1 jenkins jenkins 6926 Jan 19 19:56 Attribution.txt 20:01:02 -rw-rw-r-- 1 jenkins jenkins 4401 Jan 19 19:56 CHANGELOG.md 20:01:02 -rw-rw-r-- 1 jenkins jenkins 1516 Jan 19 19:56 Dockerfile 20:01:02 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 19:56 GOVERNANCE.md 20:01:02 -rw-rw-r-- 1 jenkins jenkins 656 Jan 19 19:56 Jenkinsfile 20:01:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 19:56 LICENSE 20:01:02 -rw-rw-r-- 1 jenkins jenkins 1057 Jan 19 19:56 Makefile 20:01:02 -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 19:56 OWNERS.md 20:01:02 -rw-rw-r-- 1 jenkins jenkins 9073 Jan 19 19:56 README.md 20:01:02 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 19:53 VERSION 20:01:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 19:56 bin 20:01:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 19:56 cmd 20:01:02 -rw-r--r-- 1 jenkins jenkins 7631 Jan 19 20:00 coverage.out 20:01:02 -rw-rw-r-- 1 jenkins jenkins 214 Jan 19 19:56 go.mod 20:01:02 -rw-rw-r-- 1 jenkins jenkins 49501 Jan 19 19:56 go.sum 20:01:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 19:56 internal 20:01:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 19:56 snap 20:01:02 -rw-rw-r-- 1 jenkins jenkins 209 Jan 19 19:56 version.go [Pipeline] isUnix [Pipeline] sh 20:01:03 + 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=c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc --label arch=arm64 --label version=0.0.0 . 20:01:03 Sending build context to Docker daemon 2.704MB 20:01:03 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:01:03 Step 2/24 : FROM ${BASE} AS builder 20:01:03 ---> 8e4d54dc877a 20:01:03 Step 3/24 : ARG MAKE='make build' 20:01:03 ---> Running in 4a03a3001695 20:01:04 Removing intermediate container 4a03a3001695 20:01:04 ---> 0eb4543f3028 20:01:04 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:01:04 ---> Running in 548a94f247c7 20:01:05 Removing intermediate container 548a94f247c7 20:01:05 ---> a1fc339c4529 20:01:05 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:01:05 ---> Running in 0ba5e56b8d26 20:01:05 Removing intermediate container 0ba5e56b8d26 20:01:05 ---> 606c004bba1e 20:01:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:01:05 ---> Running in b6bb082817c6 20:01:07 Removing intermediate container b6bb082817c6 20:01:07 ---> d72658d00c25 20:01:07 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:01:07 ---> Running in f3489e617628 20:01:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:01:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:01:10 OK: 224 MiB in 56 packages 20:01:11 Removing intermediate container f3489e617628 20:01:11 ---> 177cf8f40cbd 20:01:11 Step 8/24 : WORKDIR /device-snmp-go 20:01:11 ---> Running in 0d79feddbf00 20:01:11 Removing intermediate container 0d79feddbf00 20:01:11 ---> d54eb54d5c3c 20:01:11 Step 9/24 : COPY go.mod vendor* ./ 20:01:12 ---> 69f20b5b25bb 20:01:12 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:01:12 ---> Running in 7acc1522561d 20:01:14 Removing intermediate container 7acc1522561d 20:01:14 ---> 72b5a91ffdf7 20:01:14 Step 11/24 : COPY . . 20:01:15 ---> 3c0097ba3eb2 20:01:15 Step 12/24 : RUN ${MAKE} 20:01:16 ---> Running in 42bc7c3e3d9c 20:01:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 20:02:13 Removing intermediate container 42bc7c3e3d9c 20:02:13 ---> 413f31698570 20:02:13 Step 13/24 : FROM alpine:3.14 20:02:13 3.14: Pulling from library/alpine 20:02:13 be307f383ecc: Pulling fs layer 20:02:13 be307f383ecc: Verifying Checksum 20:02:13 be307f383ecc: Download complete 20:02:13 be307f383ecc: Pull complete 20:02:13 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:02:13 Status: Downloaded newer image for alpine:3.14 20:02:13 ---> 5b8b7b635229 20:02:13 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 20:02:13 ---> Running in e940ab1d9c3c 20:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:02:13 (1/6) Installing dumb-init (1.2.5-r1) 20:02:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:02:13 (3/6) Installing libsodium (1.0.18-r0) 20:02:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:02:13 (5/6) Installing libzmq (4.3.4-r0) 20:02:13 (6/6) Installing zeromq (4.3.4-r0) 20:02:13 Executing busybox-1.33.1-r6.trigger 20:02:13 OK: 8 MiB in 20 packages 20:02:13 Removing intermediate container e940ab1d9c3c 20:02:13 ---> b7c899c6e828 20:02:13 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:02:13 ---> 5997dd774c26 20:02:13 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:02:13 ---> 177c7d02895c 20:02:13 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:02:13 ---> ad72998d802a 20:02:13 Step 18/24 : EXPOSE 59993 20:02:13 ---> Running in 9a74a0aeeeea 20:02:13 Removing intermediate container 9a74a0aeeeea 20:02:13 ---> 2dbb0b5501bf 20:02:13 Step 19/24 : EXPOSE 161 20:02:13 ---> Running in d987b1b52192 20:02:13 Removing intermediate container d987b1b52192 20:02:13 ---> 454ebbd9f065 20:02:13 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:02:13 ---> Running in c4dda23fbcf0 20:02:14 Removing intermediate container c4dda23fbcf0 20:02:14 ---> f986219f8078 20:02:14 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:02:14 ---> Running in 6bf7f23e4063 20:02:14 Removing intermediate container 6bf7f23e4063 20:02:14 ---> 76857e3a9b85 20:02:14 Step 22/24 : LABEL arch=arm64 20:02:14 ---> Running in 3df921eb3f00 20:02:15 Removing intermediate container 3df921eb3f00 20:02:15 ---> 5edc80529f65 20:02:15 Step 23/24 : LABEL git_sha=c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc 20:02:15 ---> Running in 14a0a3937892 20:02:15 Removing intermediate container 14a0a3937892 20:02:15 ---> 2eb13112361e 20:02:15 Step 24/24 : LABEL version=0.0.0 20:02:15 ---> Running in ae592c6d8a4d 20:02:16 Removing intermediate container ae592c6d8a4d 20:02:16 ---> 82113be2b61e 20:02:16 [Warning] One or more build-args [ARCH] were not consumed 20:02:16 Successfully built 82113be2b61e 20:02:16 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:02:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:02:16 20:02:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:02:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:02:17 arm64: Pulling from edgex-lftools-log-publisher 20:02:17 448f6bf000e3: Pulling fs layer 20:02:17 f757da607395: Pulling fs layer 20:02:17 05883995daec: Pulling fs layer 20:02:17 8603b9c90790: Pulling fs layer 20:02:17 1560dd03e051: Pulling fs layer 20:02:17 27f5ce0e4adf: Pulling fs layer 20:02:17 c2d8d7efcc4b: Pulling fs layer 20:02:17 8603b9c90790: Waiting 20:02:17 1560dd03e051: Waiting 20:02:17 27f5ce0e4adf: Waiting 20:02:17 c2d8d7efcc4b: Waiting 20:02:17 f757da607395: Verifying Checksum 20:02:17 f757da607395: Download complete 20:02:17 8603b9c90790: Verifying Checksum 20:02:17 8603b9c90790: Download complete 20:02:17 1560dd03e051: Download complete 20:02:17 05883995daec: Verifying Checksum 20:02:17 05883995daec: Download complete 20:02:17 27f5ce0e4adf: Verifying Checksum 20:02:17 27f5ce0e4adf: Download complete 20:02:18 448f6bf000e3: Verifying Checksum 20:02:18 448f6bf000e3: Download complete 20:02:21 c2d8d7efcc4b: Verifying Checksum 20:02:21 c2d8d7efcc4b: Download complete 20:02:22 448f6bf000e3: Pull complete 20:02:22 f757da607395: Pull complete 20:02:24 05883995daec: Pull complete 20:02:24 8603b9c90790: Pull complete 20:02:25 1560dd03e051: Pull complete 20:02:26 27f5ce0e4adf: Pull complete 20:02:41 c2d8d7efcc4b: Pull complete 20:02:41 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:02:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:02:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:02:41 prd-ubuntu18.04-docker-arm64-4c-16g-1869 does not seem to be running inside a container 20:02:41 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:02:44 $ docker top bd06151cfea8d6478f3fdd88a83a96874d2194b5f598cf5c85d9a5b144a3e3d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:45 ---> job-cost.sh 20:02:45 lf-activate-venv: SKIPPING 20:02:45 INFO: No Stack... 20:02:45 INFO: Retrieving Pricing Info for: v3-standard-4 20:02:46 INFO: Archiving Costs [Pipeline] sh 20:02:47 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 20:02:47 + cut -d, -f6 [Pipeline] lock 20:02:47 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-134-1-stack-cost] 20:02:47 Resource [jenkins-edgexfoundry-device-snmp-go-PR-134-1-stack-cost] did not exist. Created. 20:02:47 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-134-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:02:47 /w/workspace/device-snmp-go/1@tmp/durable-c77cb3f6/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-c77cb3f6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:02:48 + echo total: 0.10999999940395355 [Pipeline] stash 20:02:48 Warning: overwriting stash ‘stack-cost’ 20:02:48 Stashed 1 file(s) [Pipeline] } 20:02:48 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-134-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:02:48 $ docker stop --time=1 bd06151cfea8d6478f3fdd88a83a96874d2194b5f598cf5c85d9a5b144a3e3d0 20:02:50 $ docker rm -f bd06151cfea8d6478f3fdd88a83a96874d2194b5f598cf5c85d9a5b144a3e3d0 [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 20:02:51 provisioning config files... 20:02:51 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-134@tmp/config4858241944928876971tmp [Pipeline] { [Pipeline] sh 20:02:51 + set +x 20:02:51 + curl -s https://codecov.io/bash 20:02:51 + bash -s -- 20:02:51 20:02:51 _____ _ 20:02:51 / ____| | | 20:02:51 | | ___ __| | ___ ___ _____ __ 20:02:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:02:51 | |___| (_) | (_| | __/ (_| (_) \ V / 20:02:51 \_____\___/ \__,_|\___|\___\___/ \_/ 20:02:51 Bash-1.0.6 20:02:51 20:02:51 20:02:51 ==> git version 2.24.4 found 20:02:51 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:02:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:02:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:02:51 ==> Jenkins CI detected. 20:02:51 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-134 20:02:51 project root: . 20:02:51 --> token set from env 20:02:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:02:51 ==> Running gcov in . (disable via -X gcov) 20:02:51 ==> Python coveragepy not found 20:02:51 ==> Searching for coverage reports in: 20:02:51 + . 20:02:51 -> Found 1 reports 20:02:51 ==> Detecting git/mercurial file structure 20:02:51 ==> Reading reports 20:02:51 + ./coverage.out bytes=7631 20:02:51 ==> Appending adjustments 20:02:51 https://docs.codecov.io/docs/fixing-reports 20:02:52 + Found adjustments 20:02:52 ==> Gzipping contents 20:02:52 4.0K /tmp/codecov.quJsIc.gz 20:02:52 ==> Uploading reports 20:02:52 url: https://codecov.io 20:02:52 query: branch=PR-134&commit=c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-134%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=134&job=&cmd_args= 20:02:52 -> Pinging Codecov 20:02:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-134&commit=c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-134%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=134&job=&cmd_args= 20:02:52 -> Uploading to 20:02:52 https://storage.googleapis.com/codecov/v4/raw/2022-01-19/6C56EA5C29638FB4528AC87E60AF5AE0/c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc/bca89428-6020-4da6-a095-ee0bb0457337.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T200252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=406a8eca6bf9a3b135babff36520707accff2be4f60aeec24237afd0d347e122 20:02:52 % Total % Received % Xferd Average Speed Time Time Time Current 20:02:52 Dload Upload Total Spent Left Speed 20:02:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 5391 --:--:-- --:--:-- --:--:-- 5385 100 1578 0 0 100 1578 0 5389 --:--:-- --:--:-- --:--:-- 5385 20:02:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c9558d6a8d2ebf7db07ce25f83bd6fdaf928eedc [Pipeline] } 20:02:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 20:02:54 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-134/archives ']' 20:02:54 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-134/archives 20:02:54 total 8 20:02:54 drwxr-xr-x. 3 root root 34 Jan 19 19:55 . 20:02:54 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 19:55 .. 20:02:54 drwxr-xr-x. 2 root root 6 Jan 19 19:55 cost 20:02:54 -rw-r--r--. 1 root root 85 Jan 19 19:55 cost.csv 20:02:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-134/archives 20:02:54 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-134/archives 20:02:54 total 8 20:02:54 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 19:55 . 20:02:54 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 19:55 .. 20:02:54 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 19:55 cost 20:02:54 -rw-r--r--. 1 jenkins jenkins 85 Jan 19 19:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:02:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:02:55 ---> package-listing.sh 20:02:55 ++ facter osfamily 20:02:55 ++ tr '[:upper:]' '[:lower:]' 20:02:55 + OS_FAMILY=redhat 20:02:55 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-134 20:02:55 + START_PACKAGES=/tmp/packages_start.txt 20:02:55 + END_PACKAGES=/tmp/packages_end.txt 20:02:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:02:55 + PACKAGES=/tmp/packages_start.txt 20:02:55 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-134 ']' 20:02:55 + PACKAGES=/tmp/packages_end.txt 20:02:55 + case "${OS_FAMILY}" in 20:02:55 + rpm -qa 20:02:55 + sort 20:02:56 + '[' -f /tmp/packages_start.txt ']' 20:02:56 + '[' -f /tmp/packages_end.txt ']' 20:02:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:02:56 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-134 ']' 20:02:56 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-134/archives/ 20:02:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-134/archives/ [Pipeline] echo 20:02:56 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/gexfoundry_device-snmp-go_PR-134/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:02:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:02:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:02:57 . [Pipeline] withDockerContainer 20:02:57 prd-centos7-docker-4c-2g-1856 does not seem to be running inside a container 20:02:57 $ 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/gexfoundry_device-snmp-go_PR-134/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-134 -v /w/workspace/gexfoundry_device-snmp-go_PR-134:/w/workspace/gexfoundry_device-snmp-go_PR-134:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-134@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-134@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:02:57 $ docker top 2d735f3119da25d78ca62a45f1cf33212e03eec517124533b4fa95731d8dda8f -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:57 + touch /tmp/pre-build-complete [Pipeline] sh 20:02:58 + mkdir -p /var/log/sysstat [Pipeline] sh 20:02:58 + ls /var/log/sa-host 20:02:58 + sadf -c /var/log/sa-host/sa17 20:02:58 file_magic: OK 20:02:58 HZ: Using current value: 100 20:02:58 file_header: OK 20:02:58 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:02:58 Statistics: 20:02:58 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:02:58 File successfully converted to sysstat format version 12.0.3 20:02:58 + sadf -c /var/log/sa-host/sa19 20:02:58 file_magic: OK 20:02:58 HZ: Using current value: 100 20:02:58 file_header: OK 20:02:58 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:02:58 Statistics: 20:02:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:02:58 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:58 provisioning config files... 20:02:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-134@tmp/config7698215687494968223tmp [Pipeline] { [Pipeline] echo 20:02:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:02:59 ---> create-netrc.sh [Pipeline] } 20:02:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:02:59 ---> python-tools-install.sh [Pipeline] echo 20:02:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:02:59 ---> sudo-logs.sh 20:02:59 Archiving 'sudo' log.. 20:02:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-1856.novalocal: Name or service not known 20:02:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-1856.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:02:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:03:00 ---> job-cost.sh 20:03:00 lf-activate-venv: SKIPPING 20:03:00 DEBUG: total: 0.05999999865889549 20:03:00 INFO: Retrieving Stack Cost... 20:03:00 INFO: Retrieving Pricing Info for: v3-standard-2 20:03:01 INFO: Archiving Costs [Pipeline] echo 20:03:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:03:01 ---> logs-deploy.sh 20:03:01 lf-activate-venv: SKIPPING 20:03:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-134/1 20:03:01 INFO: archiving workspace using pattern(s): 20:03:02 Archives upload complete. 20:03:02 INFO: archiving logs to Nexus