Pull request #106 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1408b212ea7820d3ded43e67898db6b40362390e+5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 (bbcd56c4381b81a14bb121be323dc79307b91e44) Running in Durability level: MAX_SURVIVABILITY 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4904473678825707101.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6025278938822979859.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-106/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-106/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh655858718755370228.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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-106/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6174310030105733332.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8762997506758761153.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-106/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-106/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh730091853849559779.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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . 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-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-286 in /w/workspace/gexfoundry_device-snmp-go_PR-106 [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-106 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/jenkins-gitclient-ssh5297817858192673711.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/jenkins-gitclient-ssh1443980553912138833.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/106/head:refs/remotes/origin/PR-106 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 into PR head commit 1408b212ea7820d3ded43e67898db6b40362390e Merge succeeded, producing 1408b212ea7820d3ded43e67898db6b40362390e Checking out Revision 1408b212ea7820d3ded43e67898db6b40362390e (PR-106) > git config core.sparsecheckout # timeout=10 > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/jenkins-gitclient-ssh5272288096472600525.key > git merge 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:41:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:41:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:41:20 ========================================================= 07:41:20 EdgeX Global Pipelines Version Info 07:41:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:41:22 ------------------- 07:41:22 stable info: 07:41:22 ------------------- 07:41:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:41:22 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 07:41:22 Message: update stable to v1.0.193 07:41:22 ------------------- 07:41:22 experimental info: 07:41:22 ------------------- 07:41:22 Commited By: **** collab-it+edgex@linuxfoundation.org 07:41:22 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 07:41:22 Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:41:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-106 [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-106 [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-106 [Pipeline] echo 07:41:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1408b212ea7820d3ded43e67898db6b40362390e [Pipeline] echo 07:41:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1408b21 [Pipeline] echo 07:41:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:41:25 provisioning config files... 07:41:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/config6252801159565116052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:25 ---> docker-login.sh 07:41:25 nexus3.edgexfoundry.org:10001 07:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:25 Configure a credential helper to remove this warning. See 07:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:25 07:41:25 Login Succeeded 07:41:25 nexus3.edgexfoundry.org:10002 07:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:25 Configure a credential helper to remove this warning. See 07:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:25 07:41:25 Login Succeeded 07:41:25 nexus3.edgexfoundry.org:10003 07:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:26 Configure a credential helper to remove this warning. See 07:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:26 07:41:26 Login Succeeded 07:41:26 nexus3.edgexfoundry.org:10004 07:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:26 Configure a credential helper to remove this warning. See 07:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:26 07:41:26 Login Succeeded 07:41:26 docker.io 07:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:26 Configure a credential helper to remove this warning. See 07:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:26 07:41:26 Login Succeeded 07:41:26 ---> docker-login.sh ends [Pipeline] } 07:41:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:41:27 + git log --format=format:%s -1 1408b212ea7820d3ded43e67898db6b40362390e [Pipeline] echo 07:41:27 GIT_COMMIT: 1408b212ea7820d3ded43e67898db6b40362390e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 07:41:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:41:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:41:28 07:41:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:41:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:41:28 latest: Pulling from edgex-devops/git-semver 07:41:28 31603596830f: Pulling fs layer 07:41:28 54011a49482f: Pulling fs layer 07:41:28 a6820b24f6d8: Pulling fs layer 07:41:28 f581987b2513: Pulling fs layer 07:41:28 f581987b2513: Waiting 07:41:28 54011a49482f: Verifying Checksum 07:41:28 54011a49482f: Download complete 07:41:29 31603596830f: Verifying Checksum 07:41:29 31603596830f: Download complete 07:41:29 a6820b24f6d8: Verifying Checksum 07:41:29 a6820b24f6d8: Download complete 07:41:29 f581987b2513: Verifying Checksum 07:41:29 f581987b2513: Download complete 07:41:29 31603596830f: Pull complete 07:41:29 54011a49482f: Pull complete 07:41:29 a6820b24f6d8: Pull complete 07:41:30 f581987b2513: Pull complete 07:41:30 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 07:41:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:41:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:41:30 prd-centos7-docker-4c-2g-286 does not seem to be running inside a container 07:41:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-106 -v /w/workspace/gexfoundry_device-snmp-go_PR-106:/w/workspace/gexfoundry_device-snmp-go_PR-106:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:41:31 $ docker top b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:41:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:31 [ssh-agent] Looking for ssh-agent implementation... 07:41:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:32 $ docker exec b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 ssh-agent 07:41:32 SSH_AUTH_SOCK=/tmp/ssh-jQZAdiUodusz/agent.13 07:41:32 SSH_AGENT_PID=19 07:41:32 Running ssh-add (command line suppressed) 07:41:32 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/private_key_2904837570603964997.key (/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/private_key_2904837570603964997.key) 07:41:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:32 + git tag --points-at HEAD [Pipeline] } 07:41:32 $ docker exec --env ******** --env ******** b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 ssh-agent -k 07:41:32 unset SSH_AUTH_SOCK; 07:41:32 unset SSH_AGENT_PID; 07:41:32 echo Agent pid 19 killed; 07:41:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:41:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:33 [ssh-agent] Looking for ssh-agent implementation... 07:41:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:33 $ docker exec b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 ssh-agent 07:41:33 SSH_AUTH_SOCK=/tmp/ssh-CLk3PeLQIWQM/agent.51 07:41:33 SSH_AGENT_PID=57 07:41:33 Running ssh-add (command line suppressed) 07:41:33 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/private_key_4188034031687289569.key (/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/private_key_4188034031687289569.key) 07:41:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:33 + git semver init 07:41:33 # -> Open(): unable to determine branch for HEAD 07:41:33 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-106/.git 07:41:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-106 07:41:33 # $SEMVER_REMOTE_NAME = origin 07:41:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:41:33 # $SEMVER_USER_NAME = edgex-jenkins 07:41:33 # $SEMVER_BRANCH = PR-106 07:41:33 # $SEMVER_TEMP = /tmp/semver-459326403 07:41:33 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 07:41:34 # '/tmp/semver-459326403' -> '/w/workspace/gexfoundry_device-snmp-go_PR-106/.semver' 07:41:34 # -> Force: false 07:41:34 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-106/.semver [Pipeline] } 07:41:34 $ docker exec --env ******** --env ******** b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 ssh-agent -k 07:41:34 unset SSH_AUTH_SOCK; 07:41:34 unset SSH_AGENT_PID; 07:41:34 echo Agent pid 57 killed; 07:41:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:35 + git semver [Pipeline] } 07:41:35 $ docker stop --time=1 b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 07:41:36 $ docker rm -f b9d3bb3d85b2a69d7ed465e794a6eeae5f37a86d093d6caab1cb1159bd712023 [Pipeline] // withDockerContainer [Pipeline] sh 07:41:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:41:37 Stashed 1 file(s) [Pipeline] echo 07:41:37 [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] node [Pipeline] node 07:41:52 Still waiting to schedule task 07:41:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:41:52 Still waiting to schedule task 07:41:52 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:43:19 Running on prd-centos7-docker-4c-2g-291 in /w/workspace/gexfoundry_device-snmp-go_PR-106 [Pipeline] { [Pipeline] ws 07:43:19 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 07:43:19 Selected Git installation does not exist. Using Default 07:43:19 The recommended git tool is: NONE 07:43:22 using credential edgex-jenkins-ssh 07:43:22 Cloning the remote Git repository 07:43:22 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:43:22 > git init /w/workspace/device-snmp-go/1 # timeout=10 07:43:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:43:22 > git --version # timeout=10 07:43:22 > git --version # 'git version 2.24.4' 07:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:43:22 [INFO] Currently running in a labeled security context 07:43:22 [INFO] Currently SELinux is 'enforcing' on the host 07:43:22 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh5588740422220835608.key 07:43:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:43:22 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:43:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:43:22 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:43:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:43:22 [INFO] Currently running in a labeled security context 07:43:22 [INFO] Currently SELinux is 'enforcing' on the host 07:43:22 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh9131100048853186388.key 07:43:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/106/head:refs/remotes/origin/PR-106 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:43:23 Merging remotes/origin/master commit 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 into PR head commit 1408b212ea7820d3ded43e67898db6b40362390e 07:43:23 Merge succeeded, producing 1408b212ea7820d3ded43e67898db6b40362390e 07:43:23 Checking out Revision 1408b212ea7820d3ded43e67898db6b40362390e (PR-106) 07:43:23 > git config core.sparsecheckout # timeout=10 07:43:23 > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 07:43:23 > git remote # timeout=10 07:43:23 > git config --get remote.origin.url # timeout=10 07:43:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:43:23 [INFO] Currently running in a labeled security context 07:43:23 [INFO] Currently SELinux is 'enforcing' on the host 07:43:23 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh2967039288922543304.key 07:43:23 > git merge 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 07:43:23 > git rev-parse HEAD^{commit} # timeout=10 07:43:23 > git config core.sparsecheckout # timeout=10 07:43:23 > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 07:43:27 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 07:43:27 > git --version # timeout=10 07:43:27 > git --version # 'git version 2.24.4' 07:43:27 fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:43:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:43:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:43:28 + true 07:43:28 + sudo service docker restart 07:43:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:43:47 provisioning config files... 07:43:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5648297730224959338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:43:47 ---> docker-login.sh 07:43:47 nexus3.edgexfoundry.org:10001 07:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:47 Configure a credential helper to remove this warning. See 07:43:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:47 07:43:47 Login Succeeded 07:43:47 nexus3.edgexfoundry.org:10002 07:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:48 Configure a credential helper to remove this warning. See 07:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:48 07:43:48 Login Succeeded 07:43:48 nexus3.edgexfoundry.org:10003 07:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:48 Configure a credential helper to remove this warning. See 07:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:48 07:43:48 Login Succeeded 07:43:48 nexus3.edgexfoundry.org:10004 07:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:48 Configure a credential helper to remove this warning. See 07:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:48 07:43:48 Login Succeeded 07:43:48 docker.io 07:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:48 Configure a credential helper to remove this warning. See 07:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:48 07:43:48 Login Succeeded 07:43:48 ---> docker-login.sh ends [Pipeline] } 07:43:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:43:49 ========================================================= 07:43:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:43:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:43:49 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 07:43:49 Sending build context to Docker daemon 361.5kB 07:43:49 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 07:43:49 Step 2/10 : FROM ${BASE} 07:43:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:43:49 540db60ca938: Pulling fs layer 07:43:49 adcc1eea9eea: Pulling fs layer 07:43:49 4c4ab2625f07: Pulling fs layer 07:43:49 0510c868ecb4: Pulling fs layer 07:43:49 afea3b2eda06: Pulling fs layer 07:43:49 7809a108b3ef: Pulling fs layer 07:43:49 f706445af74f: Pulling fs layer 07:43:49 0510c868ecb4: Waiting 07:43:49 afea3b2eda06: Waiting 07:43:49 7809a108b3ef: Waiting 07:43:49 f706445af74f: Waiting 07:43:49 4c4ab2625f07: Verifying Checksum 07:43:49 4c4ab2625f07: Download complete 07:43:49 adcc1eea9eea: Verifying Checksum 07:43:49 adcc1eea9eea: Download complete 07:43:49 afea3b2eda06: Verifying Checksum 07:43:49 afea3b2eda06: Download complete 07:43:49 7809a108b3ef: Verifying Checksum 07:43:49 7809a108b3ef: Download complete 07:43:49 540db60ca938: Verifying Checksum 07:43:49 540db60ca938: Download complete 07:43:49 540db60ca938: Pull complete 07:43:49 adcc1eea9eea: Pull complete 07:43:50 4c4ab2625f07: Pull complete 07:43:51 f706445af74f: Verifying Checksum 07:43:51 f706445af74f: Download complete 07:43:51 0510c868ecb4: Verifying Checksum 07:43:51 0510c868ecb4: Download complete 07:43:56 0510c868ecb4: Pull complete 07:43:56 afea3b2eda06: Pull complete 07:43:56 7809a108b3ef: Pull complete 07:43:57 f706445af74f: Pull complete 07:43:57 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 07:43:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:43:57 ---> b068be0155e3 07:43:57 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 07:44:01 ---> Running in 8451fcf6d019 07:44:01 Removing intermediate container 8451fcf6d019 07:44:01 ---> 126580a9b9f7 07:44:01 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 07:44:01 ---> Running in 538073874d72 07:44:01 Removing intermediate container 538073874d72 07:44:01 ---> 16712d6c82f6 07:44:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 07:44:01 ---> Running in 6d9240a635da 07:44:01 Removing intermediate container 6d9240a635da 07:44:01 ---> 9cba902eea57 07:44:01 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:44:01 ---> Running in 871168daf3d5 07:44:02 Removing intermediate container 871168daf3d5 07:44:02 ---> 9f62db1d58e5 07:44:02 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:44:02 ---> Running in a582bb5fa278 07:44:02 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:44:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:44:04 (1/13) Installing libc-dev (0.7.2-r3) 07:44:04 (2/13) Installing libsodium (1.0.18-r0) 07:44:04 (3/13) Installing pkgconf (1.7.3-r0) 07:44:04 (4/13) Installing libsodium-dev (1.0.18-r0) 07:44:04 (5/13) Installing openssh-keygen (8.4_p1-r3) 07:44:04 (6/13) Installing libedit (20191231.3.1-r1) 07:44:04 (7/13) Installing openssh-client (8.4_p1-r3) 07:44:04 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 07:44:05 (9/13) Installing openssh-server-common (8.4_p1-r3) 07:44:05 (10/13) Installing openssh-server (8.4_p1-r3) 07:44:05 (11/13) Installing openssh (8.4_p1-r3) 07:44:05 (12/13) Installing libzmq (4.3.3-r1) 07:44:05 (13/13) Installing zeromq-dev (4.3.3-r1) 07:44:05 Executing busybox-1.32.1-r6.trigger 07:44:05 OK: 156 MiB in 53 packages 07:44:06 Removing intermediate container a582bb5fa278 07:44:06 ---> 18a8cf585b29 07:44:06 Step 8/10 : WORKDIR /device-snmp-go 07:44:06 ---> Running in 48ab86be673b 07:44:06 Removing intermediate container 48ab86be673b 07:44:06 ---> 10142b1b0386 07:44:06 Step 9/10 : COPY . . 07:44:06 ---> 6446564cc12c 07:44:06 Step 10/10 : RUN go mod download 07:44:06 ---> Running in 5fa535695e32 07:44:19 Removing intermediate container 5fa535695e32 07:44:19 ---> 72f1e23dfce5 07:44:19 Successfully built 72f1e23dfce5 07:44:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:44:19 + docker inspect -f . ci-base-image-x86_64 07:44:19 . [Pipeline] withDockerContainer 07:44:19 prd-centos7-docker-4c-2g-291 does not seem to be running inside a container 07:44:19 $ 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 ******** ci-base-image-x86_64 cat 07:44:19 $ docker top 0826fac1762ccc0080cee062879eca1d85b441fb00148b9e929ffdd23c086d32 -eo pid,comm [Pipeline] { [Pipeline] sh 07:44:20 + go version 07:44:20 go version go1.16.3 linux/amd64 [Pipeline] } 07:44:20 $ docker stop --time=1 0826fac1762ccc0080cee062879eca1d85b441fb00148b9e929ffdd23c086d32 07:44:21 $ docker rm -f 0826fac1762ccc0080cee062879eca1d85b441fb00148b9e929ffdd23c086d32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:44:22 + docker inspect -f . ci-base-image-x86_64 07:44:22 . [Pipeline] withDockerContainer 07:44:22 prd-centos7-docker-4c-2g-291 does not seem to be running inside a container 07:44:22 $ 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 ******** ci-base-image-x86_64 cat 07:44:22 $ docker top 15548c0c5fb5af27e5518d43bf9bacf19ad1c03ac91e436446ecab0781dad54b -eo pid,comm [Pipeline] { [Pipeline] sh 07:44:23 + go mod tidy [Pipeline] sh 07:44:23 + make test 07:44:23 go mod tidy 07:44:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:44:24 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:44:42 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:44:42 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 07:44:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:44:49 gofmt -l . 07:44:49 [ "`gofmt -l .`" = "" ] 07:44:49 ./bin/test-attribution-txt.sh [Pipeline] } 07:44:49 $ docker stop --time=1 15548c0c5fb5af27e5518d43bf9bacf19ad1c03ac91e436446ecab0781dad54b 07:44:50 $ docker rm -f 15548c0c5fb5af27e5518d43bf9bacf19ad1c03ac91e436446ecab0781dad54b [Pipeline] // withDockerContainer [Pipeline] sh 07:44:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:44:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:44:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:44:53 + ls -al . 07:44:53 total 104 07:44:53 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 3 07:44 . 07:44:53 drwxrwxr-x. 4 jenkins jenkins 28 Jun 3 07:43 .. 07:44:53 -rw-rw-r--. 1 jenkins jenkins 6520 Jun 3 07:43 Attribution.txt 07:44:53 drwxrwxr-x. 2 jenkins jenkins 60 Jun 3 07:43 bin 07:44:53 drwxrwxr-x. 3 jenkins jenkins 32 Jun 3 07:43 cmd 07:44:53 -rw-r--r--. 1 jenkins jenkins 7631 Jun 3 07:44 coverage.out 07:44:53 -rw-rw-r--. 1 jenkins jenkins 1459 Jun 3 07:43 Dockerfile 07:44:53 -rw-rw-r--. 1 jenkins jenkins 1057 Jun 3 07:43 Dockerfile.build 07:44:53 -rw-rw-r--. 1 jenkins jenkins 6 Jun 3 07:43 .dockerignore 07:44:53 drwxrwxr-x. 8 jenkins jenkins 179 Jun 3 07:43 .git 07:44:53 drwxrwxr-x. 2 jenkins jenkins 103 Jun 3 07:43 .github 07:44:53 -rw-rw-r--. 1 jenkins jenkins 269 Jun 3 07:43 .gitignore 07:44:53 -rw-rw-r--. 1 jenkins jenkins 222 Jun 3 07:43 go.mod 07:44:53 -rw-r--r--. 1 jenkins jenkins 21134 Jun 3 07:44 go.sum 07:44:53 drwxrwxr-x. 3 jenkins jenkins 20 Jun 3 07:43 internal 07:44:53 -rw-rw-r--. 1 jenkins jenkins 656 Jun 3 07:43 Jenkinsfile 07:44:53 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 3 07:43 LICENSE 07:44:53 -rw-rw-r--. 1 jenkins jenkins 936 Jun 3 07:43 Makefile 07:44:53 -rw-rw-r--. 1 jenkins jenkins 9079 Jun 3 07:43 README.md 07:44:53 -rw-rw-r--. 1 jenkins jenkins 5 Jun 3 07:41 VERSION 07:44:53 -rw-rw-r--. 1 jenkins jenkins 209 Jun 3 07:43 version.go [Pipeline] isUnix [Pipeline] sh 07:44:53 + 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=1408b212ea7820d3ded43e67898db6b40362390e --label arch=amd64 --label version=0.0.0 . 07:44:53 Sending build context to Docker daemon 369.7kB 07:44:53 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 07:44:53 Step 2/24 : FROM ${BASE} AS builder 07:44:53 ---> 72f1e23dfce5 07:44:53 Step 3/24 : ARG MAKE='make build' 07:44:53 ---> Running in 331999533b0b 07:44:53 Removing intermediate container 331999533b0b 07:44:53 ---> 39f3e664b40d 07:44:53 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:44:53 ---> Running in 95a26eaab436 07:44:53 Removing intermediate container 95a26eaab436 07:44:53 ---> 03ad20f6c230 07:44:53 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 07:44:53 ---> Running in 9a185b00a388 07:44:53 Removing intermediate container 9a185b00a388 07:44:53 ---> b6dbf33ba04d 07:44:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:44:53 ---> Running in e92b21a2bd7b 07:44:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-292 in /w/workspace/gexfoundry_device-snmp-go_PR-106 [Pipeline] { [Pipeline] ws 07:44:54 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 07:44:54 Removing intermediate container e92b21a2bd7b 07:44:54 ---> 680c100ac387 07:44:54 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:44:54 ---> Running in 6f1e59d9385b 07:44:54 Selected Git installation does not exist. Using Default 07:44:54 The recommended git tool is: NONE 07:44:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:44:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:44:56 OK: 156 MiB in 53 packages 07:44:56 Removing intermediate container 6f1e59d9385b 07:44:56 ---> 6872d742bc1e 07:44:56 Step 8/24 : WORKDIR /device-snmp-go 07:44:56 ---> Running in fdb6eae7dcf1 07:44:56 Removing intermediate container fdb6eae7dcf1 07:44:56 ---> fff73b650e0a 07:44:56 Step 9/24 : COPY . . 07:44:56 ---> 69b8f2a66073 07:44:56 Step 10/24 : RUN go mod tidy 07:44:56 ---> Running in 008c80ec5e64 07:44:57 Removing intermediate container 008c80ec5e64 07:44:57 ---> 644f2288a9d3 07:44:57 Step 11/24 : RUN make update 07:44:57 ---> Running in 4e023baf6380 07:44:57 CGO_ENABLED=0 GO111MODULE=on go mod download 07:44:57 Removing intermediate container 4e023baf6380 07:44:57 ---> d3dfbdecef75 07:44:57 Step 12/24 : RUN ${MAKE} 07:44:57 ---> Running in 8b46f8ca7f78 07:44:57 go mod tidy 07:44:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 07:45:00 using credential edgex-jenkins-ssh 07:45:00 Cloning the remote Git repository 07:45:00 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:45:00 > git init /w/workspace/device-snmp-go/1 # timeout=10 07:45:00 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:45:00 > git --version # timeout=10 07:45:00 > git --version # 'git version 2.17.1' 07:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 07:45:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:45:01 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:45:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:45:01 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:45:01 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:45:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:45:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/106/head:refs/remotes/origin/PR-106 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:45:04 Merging remotes/origin/master commit 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 into PR head commit 1408b212ea7820d3ded43e67898db6b40362390e 07:45:04 > git config core.sparsecheckout # timeout=10 07:45:04 > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 07:45:04 > git remote # timeout=10 07:45:04 > git config --get remote.origin.url # timeout=10 07:45:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:45:04 > git merge 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 07:45:04 Merge succeeded, producing 1408b212ea7820d3ded43e67898db6b40362390e 07:45:04 Checking out Revision 1408b212ea7820d3ded43e67898db6b40362390e (PR-106) 07:45:04 > git rev-parse HEAD^{commit} # timeout=10 07:45:04 > git config core.sparsecheckout # timeout=10 07:45:04 > git checkout -f 1408b212ea7820d3ded43e67898db6b40362390e # timeout=10 07:45:08 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 07:45:08 > git --version # timeout=10 07:45:08 > git --version # 'git version 2.17.1' 07:45:08 fatal: bad object c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:45:10 Removing intermediate container 8b46f8ca7f78 07:45:10 ---> 2a37efd14160 07:45:10 Step 13/24 : FROM alpine:3.12 07:45:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:45:10 3.12: Pulling from library/alpine 07:45:10 339de151aab4: Pulling fs layer 07:45:10 339de151aab4: Verifying Checksum 07:45:10 339de151aab4: Download complete 07:45:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:45:11 339de151aab4: Pull complete 07:45:11 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:45:11 Status: Downloaded newer image for alpine:3.12 07:45:11 ---> 13621d1b12d4 07:45:11 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 07:45:11 ---> Running in e6dd5566160a 07:45:11 + sudo service+ docker restart 07:45:11 true 07:45:11 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:45:11 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:45:11 (1/6) Installing dumb-init (1.2.2-r1) 07:45:11 (2/6) Installing libgcc (9.3.0-r2) 07:45:11 (3/6) Installing libsodium (1.0.18-r0) 07:45:11 (4/6) Installing libstdc++ (9.3.0-r2) 07:45:11 (5/6) Installing libzmq (4.3.3-r0) 07:45:11 (6/6) Installing zeromq (4.3.3-r0) 07:45:11 Executing busybox-1.31.1-r20.trigger 07:45:11 OK: 8 MiB in 20 packages 07:45:11 Removing intermediate container e6dd5566160a 07:45:11 ---> 87273bf646d2 07:45:11 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:45:12 ---> 1ef8f473b435 07:45:12 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:45:12 ---> ac4463a6e27b 07:45:12 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:45:12 ---> c978aef6147a 07:45:12 Step 18/24 : EXPOSE 59993 07:45:12 ---> Running in c5759797c0d0 07:45:12 Removing intermediate container c5759797c0d0 07:45:12 ---> 26b29f6d9363 07:45:12 Step 19/24 : EXPOSE 161 07:45:12 ---> Running in ae4c3d9df543 07:45:12 Removing intermediate container ae4c3d9df543 07:45:12 ---> 9c77125897d7 07:45:12 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:45:12 ---> Running in 76b06514980c 07:45:12 Removing intermediate container 76b06514980c 07:45:12 ---> 5a7d537bacfd 07:45:12 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:45:12 ---> Running in e783acd9113f 07:45:12 Removing intermediate container e783acd9113f 07:45:12 ---> f45e049aa25c 07:45:12 Step 22/24 : LABEL arch=amd64 07:45:13 ---> Running in 13da49013a73 07:45:13 Removing intermediate container 13da49013a73 07:45:13 ---> 8d1dfd0618ae 07:45:13 Step 23/24 : LABEL git_sha=1408b212ea7820d3ded43e67898db6b40362390e 07:45:13 ---> Running in 7da473d6aebf 07:45:13 Removing intermediate container 7da473d6aebf 07:45:13 ---> 28027c605507 07:45:13 Step 24/24 : LABEL version=0.0.0 07:45:13 ---> Running in 40e98b43ecc9 07:45:13 Removing intermediate container 40e98b43ecc9 07:45:13 ---> 9b358947cca5 07:45:13 [Warning] One or more build-args [ARCH] were not consumed 07:45:13 Successfully built 9b358947cca5 07:45:13 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] libraryResource [Pipeline] sh 07:45:14 ---> job-cost.sh 07:45:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ssnc 07:45:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:45:29 provisioning config files... 07:45:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config659571213492883593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:45:30 ---> docker-login.sh 07:45:30 nexus3.edgexfoundry.org:10001 07:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:31 Configure a credential helper to remove this warning. See 07:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:31 07:45:31 Login Succeeded 07:45:31 nexus3.edgexfoundry.org:10002 07:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:31 Configure a credential helper to remove this warning. See 07:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:31 07:45:31 Login Succeeded 07:45:31 nexus3.edgexfoundry.org:10003 07:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:32 Configure a credential helper to remove this warning. See 07:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:32 07:45:32 Login Succeeded 07:45:32 nexus3.edgexfoundry.org:10004 07:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:33 Configure a credential helper to remove this warning. See 07:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:33 07:45:33 Login Succeeded 07:45:33 docker.io 07:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:33 Configure a credential helper to remove this warning. See 07:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:33 07:45:33 Login Succeeded 07:45:33 ---> docker-login.sh ends [Pipeline] } 07:45:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:45:34 ========================================================= 07:45:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:45:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:45:34 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 07:45:35 Sending build context to Docker daemon 360.4kB 07:45:35 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 07:45:35 Step 2/10 : FROM ${BASE} 07:45:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:45:35 595b0fe564bb: Pulling fs layer 07:45:35 7186ed65a4f7: Pulling fs layer 07:45:35 316046926c0a: Pulling fs layer 07:45:35 4ebd0625c992: Pulling fs layer 07:45:35 207e8628e3a3: Pulling fs layer 07:45:35 c791037a9be2: Pulling fs layer 07:45:35 ffd874e62e21: Pulling fs layer 07:45:35 207e8628e3a3: Waiting 07:45:35 c791037a9be2: Waiting 07:45:35 ffd874e62e21: Waiting 07:45:35 4ebd0625c992: Waiting 07:45:35 316046926c0a: Verifying Checksum 07:45:35 316046926c0a: Download complete 07:45:35 7186ed65a4f7: Verifying Checksum 07:45:35 7186ed65a4f7: Download complete 07:45:35 207e8628e3a3: Download complete 07:45:35 c791037a9be2: Verifying Checksum 07:45:35 c791037a9be2: Download complete 07:45:35 595b0fe564bb: Verifying Checksum 07:45:35 595b0fe564bb: Download complete 07:45:36 595b0fe564bb: Pull complete 07:45:36 7186ed65a4f7: Pull complete 07:45:37 316046926c0a: Pull complete 07:45:38 ffd874e62e21: Download complete 07:45:39 lf-activate-venv(): INFO: Adding /tmp/venv-ssnc/bin to PATH 07:45:39 INFO: No Stack... 07:45:39 INFO: Retrieving Pricing Info for: v3-standard-2 07:45:39 4ebd0625c992: Verifying Checksum 07:45:39 4ebd0625c992: Download complete 07:45:39 INFO: Archiving Costs [Pipeline] sh 07:45:40 + cut -d, -f6 07:45:40 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 07:45:40 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] 07:45:40 Resource [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] did not exist. Created. 07:45:40 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:45:40 + echo total: 0.05999999865889549 [Pipeline] stash 07:45:40 Stashed 1 file(s) [Pipeline] } 07:45:40 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:45:49 4ebd0625c992: Pull complete 07:45:49 207e8628e3a3: Pull complete 07:45:50 c791037a9be2: Pull complete 07:45:54 ffd874e62e21: Pull complete 07:45:54 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 07:45:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:45:54 ---> cfc18b08335c 07:45:54 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 07:45:56 ---> Running in 4f5aec0acf39 07:45:56 Removing intermediate container 4f5aec0acf39 07:45:56 ---> 1ac3f8263ec7 07:45:56 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 07:45:56 ---> Running in 05c7af8509bf 07:45:57 Removing intermediate container 05c7af8509bf 07:45:57 ---> 8478d841b601 07:45:57 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 07:45:57 ---> Running in 3008119003bb 07:45:57 Removing intermediate container 3008119003bb 07:45:57 ---> 79482501eb7e 07:45:57 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:45:57 ---> Running in 304f88c5496d 07:46:01 Removing intermediate container 304f88c5496d 07:46:01 ---> a6eec4bdfb7d 07:46:01 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:01 ---> Running in a5fdb83ebc53 07:46:02 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:46:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:46:04 (1/13) Installing libc-dev (0.7.2-r3) 07:46:04 (2/13) Installing libsodium (1.0.18-r0) 07:46:04 (3/13) Installing pkgconf (1.7.3-r0) 07:46:04 (4/13) Installing libsodium-dev (1.0.18-r0) 07:46:05 (5/13) Installing openssh-keygen (8.4_p1-r3) 07:46:05 (6/13) Installing libedit (20191231.3.1-r1) 07:46:05 (7/13) Installing openssh-client (8.4_p1-r3) 07:46:06 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 07:46:06 (9/13) Installing openssh-server-common (8.4_p1-r3) 07:46:06 (10/13) Installing openssh-server (8.4_p1-r3) 07:46:06 (11/13) Installing openssh (8.4_p1-r3) 07:46:07 (12/13) Installing libzmq (4.3.3-r1) 07:46:07 (13/13) Installing zeromq-dev (4.3.3-r1) 07:46:07 Executing busybox-1.32.1-r6.trigger 07:46:07 OK: 145 MiB in 53 packages 07:46:08 Removing intermediate container a5fdb83ebc53 07:46:08 ---> e8413c60d257 07:46:08 Step 8/10 : WORKDIR /device-snmp-go 07:46:09 ---> Running in 5b633315f0e4 07:46:09 Removing intermediate container 5b633315f0e4 07:46:09 ---> 54ef4aae6578 07:46:09 Step 9/10 : COPY . . 07:46:10 ---> 4f63dbf157a5 07:46:10 Step 10/10 : RUN go mod download 07:46:10 ---> Running in b40d0eaa300c 07:46:37 Removing intermediate container b40d0eaa300c 07:46:37 ---> c99047957f78 07:46:37 Successfully built c99047957f78 07:46:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:46:37 + docker inspect -f . ci-base-image-arm64 07:46:37 . [Pipeline] withDockerContainer 07:46:38 prd-ubuntu18.04-docker-arm64-4c-16g-292 does not seem to be running inside a container 07:46:38 $ 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 ******** ci-base-image-arm64 cat 07:46:39 $ docker top 7755e86b048802c5da59e78f6828f489031d0e1d49cb39fe7770f84567fb8a50 -eo pid,comm [Pipeline] { [Pipeline] sh 07:46:40 + go version 07:46:40 go version go1.16.3 linux/arm64 [Pipeline] } 07:46:40 $ docker stop --time=1 7755e86b048802c5da59e78f6828f489031d0e1d49cb39fe7770f84567fb8a50 07:46:42 $ docker rm -f 7755e86b048802c5da59e78f6828f489031d0e1d49cb39fe7770f84567fb8a50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:46:43 + docker inspect -f . ci-base-image-arm64 07:46:43 . [Pipeline] withDockerContainer 07:46:44 prd-ubuntu18.04-docker-arm64-4c-16g-292 does not seem to be running inside a container 07:46:44 $ 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 ******** ci-base-image-arm64 cat 07:46:45 $ docker top 1c5c25f8944abee799d097c3a1a00d730d716cc16b31ab575f4f4d5e1f4c0672 -eo pid,comm [Pipeline] { [Pipeline] sh 07:46:46 + go mod tidy [Pipeline] sh 07:46:48 + make test 07:46:48 go mod tidy 07:46:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:46:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:47:37 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:47:37 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements 07:47:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:48:03 gofmt -l . 07:48:03 [ "`gofmt -l .`" = "" ] 07:48:03 ./bin/test-attribution-txt.sh [Pipeline] } 07:48:05 $ docker stop --time=1 1c5c25f8944abee799d097c3a1a00d730d716cc16b31ab575f4f4d5e1f4c0672 07:48:07 $ docker rm -f 1c5c25f8944abee799d097c3a1a00d730d716cc16b31ab575f4f4d5e1f4c0672 [Pipeline] // withDockerContainer [Pipeline] sh 07:48:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:48:08 Warning: overwriting stash ‘coverage-report’ 07:48:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:48:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:48:09 + ls -al . 07:48:09 total 128 07:48:09 drwxrwxr-x 7 jenkins jenkins 4096 Jun 3 07:48 . 07:48:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 07:45 .. 07:48:09 -rw-rw-r-- 1 jenkins jenkins 6 Jun 3 07:45 .dockerignore 07:48:09 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 07:45 .git 07:48:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:45 .github 07:48:09 -rw-rw-r-- 1 jenkins jenkins 269 Jun 3 07:45 .gitignore 07:48:09 -rw-rw-r-- 1 jenkins jenkins 6520 Jun 3 07:45 Attribution.txt 07:48:09 -rw-rw-r-- 1 jenkins jenkins 1459 Jun 3 07:45 Dockerfile 07:48:09 -rw-rw-r-- 1 jenkins jenkins 1057 Jun 3 07:45 Dockerfile.build 07:48:09 -rw-rw-r-- 1 jenkins jenkins 656 Jun 3 07:45 Jenkinsfile 07:48:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 07:45 LICENSE 07:48:09 -rw-rw-r-- 1 jenkins jenkins 936 Jun 3 07:45 Makefile 07:48:09 -rw-rw-r-- 1 jenkins jenkins 9079 Jun 3 07:45 README.md 07:48:09 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 07:41 VERSION 07:48:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 07:45 bin 07:48:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:45 cmd 07:48:09 -rw-r--r-- 1 jenkins jenkins 7631 Jun 3 07:47 coverage.out 07:48:09 -rw-rw-r-- 1 jenkins jenkins 222 Jun 3 07:45 go.mod 07:48:09 -rw-r--r-- 1 jenkins jenkins 21134 Jun 3 07:46 go.sum 07:48:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 07:45 internal 07:48:09 -rw-rw-r-- 1 jenkins jenkins 209 Jun 3 07:45 version.go [Pipeline] isUnix [Pipeline] sh 07:48:10 + 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=1408b212ea7820d3ded43e67898db6b40362390e --label arch=arm64 --label version=0.0.0 . 07:48:10 Sending build context to Docker daemon 368.6kB 07:48:10 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 07:48:10 Step 2/24 : FROM ${BASE} AS builder 07:48:10 ---> c99047957f78 07:48:10 Step 3/24 : ARG MAKE='make build' 07:48:10 ---> Running in 298395d78479 07:48:11 Removing intermediate container 298395d78479 07:48:11 ---> 36984809d6c3 07:48:11 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:48:11 ---> Running in c8b7ca3111c9 07:48:11 Removing intermediate container c8b7ca3111c9 07:48:11 ---> 1e31df57a777 07:48:11 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 07:48:11 ---> Running in 2c1a7863e526 07:48:12 Removing intermediate container 2c1a7863e526 07:48:12 ---> 31ebd47c725e 07:48:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:48:12 ---> Running in b92152675a21 07:48:15 Removing intermediate container b92152675a21 07:48:15 ---> 50885b782911 07:48:15 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:15 ---> Running in 7c9b55287b27 07:48:16 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:48:17 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:48:17 OK: 145 MiB in 53 packages 07:48:18 Removing intermediate container 7c9b55287b27 07:48:18 ---> be627e77e742 07:48:18 Step 8/24 : WORKDIR /device-snmp-go 07:48:19 ---> Running in 9ad1c6407bc5 07:48:19 Removing intermediate container 9ad1c6407bc5 07:48:19 ---> 42f57b9b75c6 07:48:19 Step 9/24 : COPY . . 07:48:20 ---> c2ca0910dc80 07:48:20 Step 10/24 : RUN go mod tidy 07:48:20 ---> Running in 038a73bdee62 07:48:23 Removing intermediate container 038a73bdee62 07:48:23 ---> 41a40c101dcd 07:48:23 Step 11/24 : RUN make update 07:48:23 ---> Running in 623b2fc43c6c 07:48:24 CGO_ENABLED=0 GO111MODULE=on go mod download 07:48:25 Removing intermediate container 623b2fc43c6c 07:48:25 ---> ffe0e544569a 07:48:25 Step 12/24 : RUN ${MAKE} 07:48:25 ---> Running in 68b191a52481 07:48:27 go mod tidy 07:48:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 07:49:06 Removing intermediate container 68b191a52481 07:49:06 ---> 5ec9cc1d43cf 07:49:06 Step 13/24 : FROM alpine:3.12 07:49:06 3.12: Pulling from library/alpine 07:49:06 d2f70382dc9a: Pulling fs layer 07:49:06 d2f70382dc9a: Verifying Checksum 07:49:06 d2f70382dc9a: Download complete 07:49:06 d2f70382dc9a: Pull complete 07:49:06 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:49:06 Status: Downloaded newer image for alpine:3.12 07:49:06 ---> 9852663dfa18 07:49:06 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 07:49:06 ---> Running in 42c9f7b3ab48 07:49:06 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:49:06 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:49:06 (1/6) Installing dumb-init (1.2.2-r1) 07:49:06 (2/6) Installing libgcc (9.3.0-r2) 07:49:06 (3/6) Installing libsodium (1.0.18-r0) 07:49:06 (4/6) Installing libstdc++ (9.3.0-r2) 07:49:06 (5/6) Installing libzmq (4.3.3-r0) 07:49:06 (6/6) Installing zeromq (4.3.3-r0) 07:49:06 Executing busybox-1.31.1-r20.trigger 07:49:06 OK: 8 MiB in 20 packages 07:49:08 Removing intermediate container 42c9f7b3ab48 07:49:08 ---> 701e1acc4653 07:49:08 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 07:49:09 ---> 7c0cb10db461 07:49:09 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:49:09 ---> 4166d3b6c290 07:49:09 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 07:49:10 ---> 0acb2be7b023 07:49:10 Step 18/24 : EXPOSE 59993 07:49:10 ---> Running in 4472fc627554 07:49:11 Removing intermediate container 4472fc627554 07:49:11 ---> f903c97e478b 07:49:11 Step 19/24 : EXPOSE 161 07:49:11 ---> Running in 2ed29a7b4086 07:49:11 Removing intermediate container 2ed29a7b4086 07:49:11 ---> ffacf6af1510 07:49:11 Step 20/24 : ENTRYPOINT ["/device-snmp"] 07:49:11 ---> Running in 8d8e571d9f7e 07:49:12 Removing intermediate container 8d8e571d9f7e 07:49:12 ---> a582f5ce4c63 07:49:12 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:49:12 ---> Running in a7d1f8815ef4 07:49:13 Removing intermediate container a7d1f8815ef4 07:49:13 ---> 351e741a8368 07:49:13 Step 22/24 : LABEL arch=arm64 07:49:13 ---> Running in ed38f7335dd9 07:49:13 Removing intermediate container ed38f7335dd9 07:49:13 ---> f91097f59352 07:49:13 Step 23/24 : LABEL git_sha=1408b212ea7820d3ded43e67898db6b40362390e 07:49:13 ---> Running in 3f4b8d6dedb3 07:49:14 Removing intermediate container 3f4b8d6dedb3 07:49:14 ---> 7c7362728994 07:49:14 Step 24/24 : LABEL version=0.0.0 07:49:14 ---> Running in 8de6c2fa6ae3 07:49:14 Removing intermediate container 8de6c2fa6ae3 07:49:14 ---> 5e7079664235 07:49:14 [Warning] One or more build-args [ARCH] were not consumed 07:49:14 Successfully built 5e7079664235 07:49:14 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] libraryResource [Pipeline] sh 07:49:15 ---> job-cost.sh 07:49:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cxvD 07:49:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:51:16 lf-activate-venv(): INFO: Adding /tmp/venv-cxvD/bin to PATH 07:51:16 INFO: No Stack... 07:51:16 INFO: Retrieving Pricing Info for: v2-standard-4 07:51:17 INFO: Archiving Costs [Pipeline] sh 07:51:18 + cut -d, -f6 07:51:18 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 07:51:18 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] 07:51:18 Resource [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] did not exist. Created. 07:51:18 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:51:19 /w/workspace/device-snmp-go/1@tmp/durable-cad12cdd/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-cad12cdd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:51:19 + echo total: 0.18000000715255737 [Pipeline] stash 07:51:19 Warning: overwriting stash ‘stack-cost’ 07:51:19 Stashed 1 file(s) [Pipeline] } 07:51:19 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-106-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:51:20 provisioning config files... 07:51:20 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/config1091174489358939558tmp [Pipeline] { [Pipeline] sh 07:51:20 + set +x 07:51:20 + curl -s https://codecov.io/bash 07:51:20 + bash -s -- 07:51:20 07:51:20 _____ _ 07:51:20 / ____| | | 07:51:20 | | ___ __| | ___ ___ _____ __ 07:51:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:51:20 | |___| (_) | (_| | __/ (_| (_) \ V / 07:51:20 \_____\___/ \__,_|\___|\___\___/ \_/ 07:51:20 Bash-1.0.3 07:51:20 07:51:20 07:51:20 ==> git version 2.24.4 found 07:51:20 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:51:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:51:20 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:51:20 ==> Jenkins CI detected. 07:51:20 project root: . 07:51:20 --> token set from env 07:51:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:51:20 ==> Running gcov in . (disable via -X gcov) 07:51:20 ==> Python coveragepy not found 07:51:20 ==> Searching for coverage reports in: 07:51:20 + . 07:51:20 -> Found 1 reports 07:51:20 ==> Detecting git/mercurial file structure 07:51:20 ==> Reading reports 07:51:20 + ./coverage.out bytes=7631 07:51:21 ==> Appending adjustments 07:51:21 https://docs.codecov.io/docs/fixing-reports 07:51:21 + Found adjustments 07:51:21 ==> Gzipping contents 07:51:21 4.0K /tmp/codecov.i1OzVY.gz 07:51:21 ==> Uploading reports 07:51:21 url: https://codecov.io 07:51:21 query: branch=PR-106&commit=1408b212ea7820d3ded43e67898db6b40362390e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-106%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=106&job=&cmd_args= 07:51:21 -> Pinging Codecov 07:51:21 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-106&commit=1408b212ea7820d3ded43e67898db6b40362390e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-106%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=106&job=&cmd_args= 07:51:21 -> Uploading to 07:51:21 https://storage.googleapis.com/codecov/v4/raw/2021-06-03/6C56EA5C29638FB4528AC87E60AF5AE0/1408b212ea7820d3ded43e67898db6b40362390e/ad54d75d-70a0-4440-82e1-779198844707.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210603T075121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d551d683bdd521a7fc52d76fc6c210a73b20c3510cd16b61043c57482a56f1b8 07:51:22 % Total % Received % Xferd Average Speed Time Time Time Current 07:51:22 Dload Upload Total Spent Left Speed 07:51:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 2681 --:--:-- --:--:-- --:--:-- 2686 07:51:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/1408b212ea7820d3ded43e67898db6b40362390e [Pipeline] } 07:51:22 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 07:51:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:51:25 ---> package-listing.sh 07:51:25 ++ tr '[:upper:]' '[:lower:]' 07:51:25 ++ facter osfamily 07:51:25 + OS_FAMILY=redhat 07:51:25 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-106 07:51:25 + START_PACKAGES=/tmp/packages_start.txt 07:51:25 + END_PACKAGES=/tmp/packages_end.txt 07:51:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:51:25 + PACKAGES=/tmp/packages_start.txt 07:51:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-106 ']' 07:51:25 + PACKAGES=/tmp/packages_end.txt 07:51:25 + case "${OS_FAMILY}" in 07:51:25 + rpm -qa 07:51:25 + sort 07:51:26 + '[' -f /tmp/packages_start.txt ']' 07:51:26 + '[' -f /tmp/packages_end.txt ']' 07:51:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:51:26 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-106 ']' 07:51:26 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-106/archives/ 07:51:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-106/archives/ [Pipeline] echo 07:51:26 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-106/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:51:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:51:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:51:27 07:51:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:51:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:51:27 alpine: Pulling from edgex-lftools-log-publisher 07:51:27 df20fa9351a1: Pulling fs layer 07:51:27 36b3adc4ff6f: Pulling fs layer 07:51:27 8ad3a11d3b57: Pulling fs layer 07:51:27 46f8f816bc3b: Pulling fs layer 07:51:27 93b61091891f: Pulling fs layer 07:51:27 93b9cdb0e59b: Pulling fs layer 07:51:27 5e14af77c1be: Pulling fs layer 07:51:27 01666e4c0597: Pulling fs layer 07:51:27 aa168da1d23b: Pulling fs layer 07:51:27 93b9cdb0e59b: Waiting 07:51:27 5e14af77c1be: Waiting 07:51:27 01666e4c0597: Waiting 07:51:27 aa168da1d23b: Waiting 07:51:27 46f8f816bc3b: Waiting 07:51:27 93b61091891f: Waiting 07:51:27 36b3adc4ff6f: Verifying Checksum 07:51:27 36b3adc4ff6f: Download complete 07:51:27 46f8f816bc3b: Verifying Checksum 07:51:27 46f8f816bc3b: Download complete 07:51:27 df20fa9351a1: Verifying Checksum 07:51:27 df20fa9351a1: Download complete 07:51:27 93b9cdb0e59b: Verifying Checksum 07:51:27 93b9cdb0e59b: Download complete 07:51:27 5e14af77c1be: Verifying Checksum 07:51:27 5e14af77c1be: Download complete 07:51:27 93b61091891f: Verifying Checksum 07:51:27 93b61091891f: Download complete 07:51:27 01666e4c0597: Verifying Checksum 07:51:27 01666e4c0597: Download complete 07:51:27 df20fa9351a1: Pull complete 07:51:27 36b3adc4ff6f: Pull complete 07:51:28 8ad3a11d3b57: Verifying Checksum 07:51:28 8ad3a11d3b57: Download complete 07:51:28 8ad3a11d3b57: Pull complete 07:51:28 46f8f816bc3b: Pull complete 07:51:28 93b61091891f: Pull complete 07:51:28 93b9cdb0e59b: Pull complete 07:51:29 5e14af77c1be: Pull complete 07:51:29 01666e4c0597: Pull complete 07:51:29 aa168da1d23b: Verifying Checksum 07:51:29 aa168da1d23b: Download complete 07:51:34 aa168da1d23b: Pull complete 07:51:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:51:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:51:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:51:34 prd-centos7-docker-4c-2g-286 does not seem to be running inside a container 07:51:34 $ 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-106/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-106 -v /w/workspace/gexfoundry_device-snmp-go_PR-106:/w/workspace/gexfoundry_device-snmp-go_PR-106:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-106@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:51:36 $ docker top de18cb9f6086f7d237226be1382f2064b946dcedcc8a005717a221ab00873556 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:37 + touch /tmp/pre-build-complete [Pipeline] sh 07:51:37 + mkdir -p /var/log/sa [Pipeline] sh 07:51:37 + ls /var/log/sa-host 07:51:37 + sadf -c /var/log/sa-host/sa03 07:51:37 file_magic: OK 07:51:37 HZ: Using current value: 100 07:51:37 file_header: OK 07:51:37 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:51:37 Statistics: 07:51:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:51:37 File successfully converted to sysstat format version 12.2.1 07:51:37 + sadf -c /var/log/sa-host/sa05 07:51:37 file_magic: OK 07:51:37 HZ: Using current value: 100 07:51:37 file_header: OK 07:51:37 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:51:37 Statistics: 07:51:37 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:51:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:38 provisioning config files... 07:51:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-106@tmp/config3922140439325491398tmp [Pipeline] { [Pipeline] echo 07:51:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:51:38 ---> create-netrc.sh [Pipeline] } 07:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:51:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:51:39 ---> python-tools-install.sh [Pipeline] echo 07:51:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:51:39 ---> sudo-logs.sh 07:51:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:51:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:51:39 ---> job-cost.sh 07:51:39 lf-activate-venv: SKIPPING 07:51:39 DEBUG: total: 0.18000000715255737 07:51:39 INFO: Retrieving Stack Cost... 07:51:41 INFO: Retrieving Pricing Info for: v3-standard-2 07:51:41 INFO: Archiving Costs [Pipeline] echo 07:51:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:51:41 ---> logs-deploy.sh 07:51:41 lf-activate-venv: SKIPPING 07:51:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-106/1 07:51:41 INFO: archiving workspace using pattern(s): 07:51:42 Archives upload complete. 07:51:42 INFO: archiving logs to Nexus