Pull request #114 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8a33c642f29299a5f317dfea40a57097f5e7e2d9+828c04b1f0eb937037ce2076f410b90c0d25fe4c (dd5122714ec9ca15f7e189aed5f0ae3d3cd2f4ae) 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-ssh1132713893977646117.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh2514729895401467758.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 6a41506d72e8e131afc862d141935157bee59f41 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-114/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-114/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4556172321273987769.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-114/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2881026200361765762.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh7450179954582893140.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-114/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-114/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9082600536678834560.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 d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 6a41506d72e8e131afc862d141935157bee59f41 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-1825’ is offline Running on prd-centos7-docker-4c-2g-474 in /w/workspace/gexfoundry_device-snmp-go_PR-114 [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-114 # 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-114@tmp/jenkins-gitclient-ssh1416715847480503883.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 8a33c642f29299a5f317dfea40a57097f5e7e2d9 > 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-114@tmp/jenkins-gitclient-ssh6370604589943222112.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # 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-114@tmp/jenkins-gitclient-ssh5751672518968005231.key > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 Merge succeeded, producing 8a33c642f29299a5f317dfea40a57097f5e7e2d9 Checking out Revision 8a33c642f29299a5f317dfea40a57097f5e7e2d9 (PR-114) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:05:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:05:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:05:39 ========================================================= 05:05:39 EdgeX Global Pipelines Version Info 05:05:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:05:41 ------------------- 05:05:41 stable info: 05:05:41 ------------------- 05:05:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:05:41 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 05:05:41 Message: update stable to v1.0.195 05:05:42 ------------------- 05:05:42 experimental info: 05:05:42 ------------------- 05:05:42 Commited By: **** collab-it+edgex@linuxfoundation.org 05:05:42 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 05:05:42 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:05:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:05:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:05:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:05:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-114 [Pipeline] echo 05:05:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-114 [Pipeline] echo 05:05:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-114 [Pipeline] echo 05:05:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a33c642f29299a5f317dfea40a57097f5e7e2d9 [Pipeline] echo 05:05:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a33c64 [Pipeline] echo 05:05:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:44 provisioning config files... 05:05:44 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/config3768768891239118140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:45 ---> docker-login.sh 05:05:45 nexus3.edgexfoundry.org:10001 05:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:45 Configure a credential helper to remove this warning. See 05:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:45 05:05:45 Login Succeeded 05:05:45 nexus3.edgexfoundry.org:10002 05:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:45 Configure a credential helper to remove this warning. See 05:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:45 05:05:45 Login Succeeded 05:05:45 nexus3.edgexfoundry.org:10003 05:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:45 Configure a credential helper to remove this warning. See 05:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:45 05:05:45 Login Succeeded 05:05:45 nexus3.edgexfoundry.org:10004 05:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:45 Configure a credential helper to remove this warning. See 05:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:45 05:05:45 Login Succeeded 05:05:45 docker.io 05:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:45 Configure a credential helper to remove this warning. See 05:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:45 05:05:45 Login Succeeded 05:05:45 ---> docker-login.sh ends [Pipeline] } 05:05:45 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 05:05:46 + git log --format=format:%s -1 8a33c642f29299a5f317dfea40a57097f5e7e2d9 [Pipeline] echo 05:05:46 GIT_COMMIT: 8a33c642f29299a5f317dfea40a57097f5e7e2d9, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:05:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:05:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:47 05:05:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:05:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:47 latest: Pulling from edgex-devops/git-semver 05:05:47 31603596830f: Pulling fs layer 05:05:47 54011a49482f: Pulling fs layer 05:05:47 a6820b24f6d8: Pulling fs layer 05:05:47 f581987b2513: Pulling fs layer 05:05:47 f581987b2513: Waiting 05:05:47 54011a49482f: Verifying Checksum 05:05:47 54011a49482f: Download complete 05:05:48 31603596830f: Verifying Checksum 05:05:48 31603596830f: Download complete 05:05:48 f581987b2513: Verifying Checksum 05:05:48 f581987b2513: Download complete 05:05:48 a6820b24f6d8: Verifying Checksum 05:05:48 a6820b24f6d8: Download complete 05:05:48 31603596830f: Pull complete 05:05:48 54011a49482f: Pull complete 05:05:49 a6820b24f6d8: Pull complete 05:05:49 f581987b2513: Pull complete 05:05:49 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:05:49 prd-centos7-docker-4c-2g-474 does not seem to be running inside a container 05:05:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-114 -v /w/workspace/gexfoundry_device-snmp-go_PR-114:/w/workspace/gexfoundry_device-snmp-go_PR-114:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-114@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 05:05:50 $ docker top 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:50 [ssh-agent] Looking for ssh-agent implementation... 05:05:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:50 $ docker exec 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 ssh-agent 05:05:50 SSH_AUTH_SOCK=/tmp/ssh-34QBgl31qCTb/agent.14 05:05:50 SSH_AGENT_PID=20 05:05:50 Running ssh-add (command line suppressed) 05:05:50 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/private_key_7470746843999555415.key (/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/private_key_7470746843999555415.key) 05:05:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:51 + git tag --points-at HEAD [Pipeline] } 05:05:51 $ docker exec --env ******** --env ******** 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 ssh-agent -k 05:05:51 unset SSH_AUTH_SOCK; 05:05:51 unset SSH_AGENT_PID; 05:05:51 echo Agent pid 20 killed; 05:05:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:51 [ssh-agent] Looking for ssh-agent implementation... 05:05:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:51 $ docker exec 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 ssh-agent 05:05:51 SSH_AUTH_SOCK=/tmp/ssh-t5kJej6FnCDV/agent.53 05:05:51 SSH_AGENT_PID=59 05:05:51 Running ssh-add (command line suppressed) 05:05:51 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/private_key_3585654844166022696.key (/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/private_key_3585654844166022696.key) 05:05:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:52 + git semver init 05:05:52 # -> Open(): unable to determine branch for HEAD 05:05:52 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-114/.git 05:05:52 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-114 05:05:52 # $SEMVER_REMOTE_NAME = origin 05:05:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:05:52 # $SEMVER_USER_NAME = edgex-jenkins 05:05:52 # $SEMVER_BRANCH = PR-114 05:05:52 # $SEMVER_TEMP = /tmp/semver-514323764 05:05:52 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:05:52 # '/tmp/semver-514323764' -> '/w/workspace/gexfoundry_device-snmp-go_PR-114/.semver' 05:05:52 # -> Force: false 05:05:52 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-114/.semver [Pipeline] } 05:05:52 $ docker exec --env ******** --env ******** 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 ssh-agent -k 05:05:52 unset SSH_AUTH_SOCK; 05:05:52 unset SSH_AGENT_PID; 05:05:52 echo Agent pid 59 killed; 05:05:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:53 + git semver [Pipeline] } 05:05:53 $ docker stop --time=1 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 05:05:54 $ docker rm -f 7510c8a99f42e9e3c8f12ef9d4c9e2a1ede4f25ad72a9b1cc64c786ebd2577a0 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:55 Stashed 1 file(s) [Pipeline] echo 05:05:55 [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 05:06:12 Still waiting to schedule task 05:06:12 ‘prd-centos7-blackbox-4c-2g-315’ doesn’t have label ‘centos7-docker-4c-2g’ 05:06:12 ‘prd-centos7-docker-4c-2g-1825’ is offline 05:06:12 ‘prd-centos7-docker-4c-2g-476’ is offline 05:06:12 ‘prd-ubuntu18.04-docker-arm64-4c-16g-473’ doesn’t have label ‘centos7-docker-4c-2g’ 05:06:12 Still waiting to schedule task 05:06:12 ‘prd-ubuntu18.04-docker-arm64-4c-16g-473’ is offline 05:07:02 Running on prd-centos7-docker-4c-2g-477 in /w/workspace/gexfoundry_device-snmp-go_PR-114 [Pipeline] { [Pipeline] ws 05:07:02 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:02 Selected Git installation does not exist. Using Default 05:07:02 The recommended git tool is: NONE 05:07:05 using credential edgex-jenkins-ssh 05:07:05 Cloning the remote Git repository 05:07:05 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:05 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:05 > git --version # timeout=10 05:07:05 > git --version # 'git version 2.24.4' 05:07:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:05 [INFO] Currently running in a labeled security context 05:07:05 [INFO] Currently SELinux is 'enforcing' on the host 05:07:05 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh8690778098570223318.key 05:07:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:05 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:05 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:05 [INFO] Currently running in a labeled security context 05:07:05 [INFO] Currently SELinux is 'enforcing' on the host 05:07:05 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh8610073182571575656.key 05:07:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:07:06 Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 8a33c642f29299a5f317dfea40a57097f5e7e2d9 05:07:06 Merge succeeded, producing 8a33c642f29299a5f317dfea40a57097f5e7e2d9 05:07:06 Checking out Revision 8a33c642f29299a5f317dfea40a57097f5e7e2d9 (PR-114) 05:07:06 > git config core.sparsecheckout # timeout=10 05:07:06 > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 05:07:06 > git remote # timeout=10 05:07:06 > git config --get remote.origin.url # timeout=10 05:07:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:06 [INFO] Currently running in a labeled security context 05:07:06 [INFO] Currently SELinux is 'enforcing' on the host 05:07:06 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh4493013946503232455.key 05:07:06 > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 05:07:06 > git rev-parse HEAD^{commit} # timeout=10 05:07:06 > git config core.sparsecheckout # timeout=10 05:07:06 > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 05:07:10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:07:10 > git --version # timeout=10 05:07:10 > git --version # 'git version 2.24.4' 05:07:10 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:07:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:07:11 + sudo service docker restart 05:07:11 + true 05:07:11 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:30 provisioning config files... 05:07:30 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6339484494163652676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:30 ---> docker-login.sh 05:07:30 nexus3.edgexfoundry.org:10001 05:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:31 Configure a credential helper to remove this warning. See 05:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:31 05:07:31 Login Succeeded 05:07:31 nexus3.edgexfoundry.org:10002 05:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:31 Configure a credential helper to remove this warning. See 05:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:31 05:07:31 Login Succeeded 05:07:31 nexus3.edgexfoundry.org:10003 05:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:31 Configure a credential helper to remove this warning. See 05:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:31 05:07:31 Login Succeeded 05:07:31 nexus3.edgexfoundry.org:10004 05:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:31 Configure a credential helper to remove this warning. See 05:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:31 05:07:31 Login Succeeded 05:07:31 docker.io 05:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:31 Configure a credential helper to remove this warning. See 05:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:31 05:07:31 Login Succeeded 05:07:31 ---> docker-login.sh ends [Pipeline] } 05:07:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:32 ========================================================= 05:07:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:07:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:07:32 + 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 . 05:07:32 Sending build context to Docker daemon 372.2kB 05:07:32 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 05:07:32 Step 2/10 : FROM ${BASE} 05:07:32 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:07:32 540db60ca938: Pulling fs layer 05:07:32 adcc1eea9eea: Pulling fs layer 05:07:32 4c4ab2625f07: Pulling fs layer 05:07:32 0510c868ecb4: Pulling fs layer 05:07:32 afea3b2eda06: Pulling fs layer 05:07:32 7809a108b3ef: Pulling fs layer 05:07:32 f706445af74f: Pulling fs layer 05:07:32 0510c868ecb4: Waiting 05:07:32 afea3b2eda06: Waiting 05:07:32 7809a108b3ef: Waiting 05:07:32 f706445af74f: Waiting 05:07:32 4c4ab2625f07: Verifying Checksum 05:07:32 4c4ab2625f07: Download complete 05:07:32 adcc1eea9eea: Verifying Checksum 05:07:32 adcc1eea9eea: Download complete 05:07:32 afea3b2eda06: Verifying Checksum 05:07:32 afea3b2eda06: Download complete 05:07:32 540db60ca938: Verifying Checksum 05:07:32 540db60ca938: Download complete 05:07:32 7809a108b3ef: Verifying Checksum 05:07:32 7809a108b3ef: Download complete 05:07:33 540db60ca938: Pull complete 05:07:33 adcc1eea9eea: Pull complete 05:07:33 4c4ab2625f07: Pull complete 05:07:34 f706445af74f: Verifying Checksum 05:07:34 f706445af74f: Download complete 05:07:35 0510c868ecb4: Verifying Checksum 05:07:35 0510c868ecb4: Download complete 05:07:39 0510c868ecb4: Pull complete 05:07:39 afea3b2eda06: Pull complete 05:07:39 7809a108b3ef: Pull complete 05:07:40 f706445af74f: Pull complete 05:07:40 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:07:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:07:40 ---> b068be0155e3 05:07:40 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 05:07:45 ---> Running in 5c1414911e0f 05:07:45 Removing intermediate container 5c1414911e0f 05:07:45 ---> 8ad4ed8f109a 05:07:45 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:07:45 ---> Running in a16cce1e4aba 05:07:45 Removing intermediate container a16cce1e4aba 05:07:45 ---> cab1623a8278 05:07:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 05:07:45 ---> Running in a33c5e7a9b98 05:07:45 Removing intermediate container a33c5e7a9b98 05:07:45 ---> e20caa4fe805 05:07:45 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:45 ---> Running in 27064bcba77c 05:07:46 Removing intermediate container 27064bcba77c 05:07:46 ---> d03432b9e7c4 05:07:46 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:46 ---> Running in fbdcc535d68f 05:07:47 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:07:47 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:07:48 (1/13) Installing libc-dev (0.7.2-r3) 05:07:48 (2/13) Installing libsodium (1.0.18-r0) 05:07:48 (3/13) Installing pkgconf (1.7.3-r0) 05:07:48 (4/13) Installing libsodium-dev (1.0.18-r0) 05:07:48 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:07:48 (6/13) Installing libedit (20191231.3.1-r1) 05:07:49 (7/13) Installing openssh-client (8.4_p1-r3) 05:07:49 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:07:49 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:07:49 (10/13) Installing openssh-server (8.4_p1-r3) 05:07:49 (11/13) Installing openssh (8.4_p1-r3) 05:07:49 (12/13) Installing libzmq (4.3.3-r1) 05:07:50 (13/13) Installing zeromq-dev (4.3.3-r1) 05:07:50 Executing busybox-1.32.1-r6.trigger 05:07:50 OK: 156 MiB in 53 packages 05:07:50 Removing intermediate container fbdcc535d68f 05:07:50 ---> 48ec5b5af485 05:07:50 Step 8/10 : WORKDIR /device-snmp-go 05:07:50 ---> Running in d43b88692b46 05:07:50 Removing intermediate container d43b88692b46 05:07:50 ---> 5a719fa5093f 05:07:50 Step 9/10 : COPY . . 05:07:51 ---> 5caf4803e2b4 05:07:51 Step 10/10 : RUN go mod download 05:07:51 ---> Running in d777834abc4c 05:08:17 Removing intermediate container d777834abc4c 05:08:17 ---> 53ccc4052f4c 05:08:17 Successfully built 53ccc4052f4c 05:08:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:08:18 + docker inspect -f . ci-base-image-x86_64 05:08:18 . [Pipeline] withDockerContainer 05:08:18 prd-centos7-docker-4c-2g-477 does not seem to be running inside a container 05:08:18 $ 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 05:08:18 $ docker top 940aca282ba6533d47d8e9173d6eeec7b7cd6c865a7c75c49fc354f655e5a48d -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:19 + go version 05:08:19 go version go1.16.3 linux/amd64 [Pipeline] } 05:08:19 $ docker stop --time=1 940aca282ba6533d47d8e9173d6eeec7b7cd6c865a7c75c49fc354f655e5a48d 05:08:20 $ docker rm -f 940aca282ba6533d47d8e9173d6eeec7b7cd6c865a7c75c49fc354f655e5a48d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:21 + docker inspect -f . ci-base-image-x86_64 05:08:21 . [Pipeline] withDockerContainer 05:08:21 prd-centos7-docker-4c-2g-477 does not seem to be running inside a container 05:08:21 $ 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 05:08:22 $ docker top be6417e1f17f006a9c91681d8b1ecf61f718fed4a79efac9895731d57b806271 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:22 + go mod tidy [Pipeline] sh 05:08:23 + make test 05:08:23 go mod tidy 05:08:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:23 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:08:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:08:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 05:08:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:08:46 gofmt -l . 05:08:46 [ "`gofmt -l .`" = "" ] 05:08:46 ./bin/test-attribution-txt.sh [Pipeline] } 05:08:46 $ docker stop --time=1 be6417e1f17f006a9c91681d8b1ecf61f718fed4a79efac9895731d57b806271 05:08:47 $ docker rm -f be6417e1f17f006a9c91681d8b1ecf61f718fed4a79efac9895731d57b806271 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:08:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:50 + ls -al . 05:08:50 total 104 05:08:50 drwxrwxr-x. 7 jenkins jenkins 4096 Jun 21 05:08 . 05:08:50 drwxrwxr-x. 4 jenkins jenkins 28 Jun 21 05:07 .. 05:08:50 -rw-rw-r--. 1 jenkins jenkins 6520 Jun 21 05:07 Attribution.txt 05:08:50 drwxrwxr-x. 2 jenkins jenkins 60 Jun 21 05:07 bin 05:08:50 drwxrwxr-x. 3 jenkins jenkins 32 Jun 21 05:07 cmd 05:08:50 -rw-r--r--. 1 jenkins jenkins 7631 Jun 21 05:08 coverage.out 05:08:50 -rw-rw-r--. 1 jenkins jenkins 1459 Jun 21 05:07 Dockerfile 05:08:50 -rw-rw-r--. 1 jenkins jenkins 1057 Jun 21 05:07 Dockerfile.build 05:08:50 -rw-rw-r--. 1 jenkins jenkins 6 Jun 21 05:07 .dockerignore 05:08:50 drwxrwxr-x. 8 jenkins jenkins 179 Jun 21 05:07 .git 05:08:50 drwxrwxr-x. 2 jenkins jenkins 103 Jun 21 05:07 .github 05:08:50 -rw-rw-r--. 1 jenkins jenkins 269 Jun 21 05:07 .gitignore 05:08:50 -rw-rw-r--. 1 jenkins jenkins 223 Jun 21 05:07 go.mod 05:08:50 -rw-r--r--. 1 jenkins jenkins 20929 Jun 21 05:08 go.sum 05:08:50 drwxrwxr-x. 3 jenkins jenkins 20 Jun 21 05:07 internal 05:08:50 -rw-rw-r--. 1 jenkins jenkins 656 Jun 21 05:07 Jenkinsfile 05:08:50 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 21 05:07 LICENSE 05:08:50 -rw-rw-r--. 1 jenkins jenkins 936 Jun 21 05:07 Makefile 05:08:50 -rw-rw-r--. 1 jenkins jenkins 9079 Jun 21 05:07 README.md 05:08:50 -rw-rw-r--. 1 jenkins jenkins 5 Jun 21 05:05 VERSION 05:08:50 -rw-rw-r--. 1 jenkins jenkins 209 Jun 21 05:07 version.go [Pipeline] isUnix [Pipeline] sh 05:08:50 + 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=8a33c642f29299a5f317dfea40a57097f5e7e2d9 --label arch=amd64 --label version=0.0.0 . 05:08:50 Sending build context to Docker daemon 380.4kB 05:08:50 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 05:08:50 Step 2/24 : FROM ${BASE} AS builder 05:08:50 ---> 53ccc4052f4c 05:08:50 Step 3/24 : ARG MAKE='make build' 05:08:50 ---> Running in 0b90a0005774 05:08:50 Removing intermediate container 0b90a0005774 05:08:50 ---> dcabacb638ff 05:08:50 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:50 ---> Running in 02e3a8369888 05:08:50 Removing intermediate container 02e3a8369888 05:08:50 ---> a371c17d0691 05:08:50 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:08:50 ---> Running in 6a78ed82c045 05:08:50 Removing intermediate container 6a78ed82c045 05:08:50 ---> e1a502505fd8 05:08:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:50 ---> Running in ace6171a8727 05:08:51 Removing intermediate container ace6171a8727 05:08:51 ---> 1e3bffb4698a 05:08:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:51 ---> Running in 6b9c47b54fe7 05:08:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:08:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:08:53 OK: 156 MiB in 53 packages 05:08:53 Removing intermediate container 6b9c47b54fe7 05:08:53 ---> b3e733b4adc1 05:08:53 Step 8/24 : WORKDIR /device-snmp-go 05:08:53 ---> Running in 2d798f5e13b1 05:08:53 Removing intermediate container 2d798f5e13b1 05:08:53 ---> a8a25fc67ab7 05:08:53 Step 9/24 : COPY . . 05:08:53 ---> 19034849b1e3 05:08:53 Step 10/24 : RUN go mod tidy 05:08:53 ---> Running in 37d5e477f7d3 05:08:54 Removing intermediate container 37d5e477f7d3 05:08:54 ---> 46ca049ee9d2 05:08:54 Step 11/24 : RUN make update 05:08:54 ---> Running in 48c9ae6f610a 05:08:54 CGO_ENABLED=0 GO111MODULE=on go mod download 05:08:54 Removing intermediate container 48c9ae6f610a 05:08:54 ---> f1d36a8584ba 05:08:54 Step 12/24 : RUN ${MAKE} 05:08:54 ---> Running in 752e11f0719e 05:08:55 go mod tidy 05:08: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 05:09:07 Removing intermediate container 752e11f0719e 05:09:07 ---> e00c9f95c7c7 05:09:07 Step 13/24 : FROM alpine:3.12 05:09:08 3.12: Pulling from library/alpine 05:09:08 339de151aab4: Pulling fs layer 05:09:08 339de151aab4: Download complete 05:09:08 339de151aab4: Pull complete 05:09:08 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 05:09:08 Status: Downloaded newer image for alpine:3.12 05:09:08 ---> 13621d1b12d4 05:09:08 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:09:08 ---> Running in d492154d801e 05:09:08 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:09:08 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:09:08 (1/6) Installing dumb-init (1.2.2-r1) 05:09:08 (2/6) Installing libgcc (9.3.0-r2) 05:09:08 (3/6) Installing libsodium (1.0.18-r0) 05:09:08 (4/6) Installing libstdc++ (9.3.0-r2) 05:09:08 (5/6) Installing libzmq (4.3.3-r0) 05:09:08 (6/6) Installing zeromq (4.3.3-r0) 05:09:08 Executing busybox-1.31.1-r20.trigger 05:09:08 OK: 8 MiB in 20 packages 05:09:09 Removing intermediate container d492154d801e 05:09:09 ---> e2945ced73ff 05:09:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:09:09 ---> 824cf8544300 05:09:09 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:09:09 ---> 19d84538c391 05:09:09 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:09:09 ---> a50568447523 05:09:09 Step 18/24 : EXPOSE 59993 05:09:09 ---> Running in 00368c2f29e6 05:09:09 Removing intermediate container 00368c2f29e6 05:09:09 ---> 5222b656c766 05:09:09 Step 19/24 : EXPOSE 161 05:09:09 ---> Running in e59ef2a0e3a4 05:09:10 Removing intermediate container e59ef2a0e3a4 05:09:10 ---> 849e001fc396 05:09:10 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:09:10 ---> Running in 278a13c060d4 05:09:10 Removing intermediate container 278a13c060d4 05:09:10 ---> 9597e12e44ca 05:09:10 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:09:10 ---> Running in 5b01cc27d26c 05:09:10 Removing intermediate container 5b01cc27d26c 05:09:10 ---> 026562e6c49b 05:09:10 Step 22/24 : LABEL arch=amd64 05:09:10 ---> Running in 4ac5e12b19f1 05:09:10 Removing intermediate container 4ac5e12b19f1 05:09:10 ---> 74d074c1fad1 05:09:10 Step 23/24 : LABEL git_sha=8a33c642f29299a5f317dfea40a57097f5e7e2d9 05:09:10 ---> Running in 8b25280f4ca3 05:09:10 Removing intermediate container 8b25280f4ca3 05:09:10 ---> 6636b595efb1 05:09:10 Step 24/24 : LABEL version=0.0.0 05:09:10 ---> Running in d2727b4c65f1 05:09:10 Removing intermediate container d2727b4c65f1 05:09:10 ---> c6fcbff99963 05:09:10 [Warning] One or more build-args [ARCH] were not consumed 05:09:10 Successfully built c6fcbff99963 05:09:10 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 05:09:11 ---> job-cost.sh 05:09:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bIzK 05:09:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:09:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-479 in /w/workspace/gexfoundry_device-snmp-go_PR-114 [Pipeline] { [Pipeline] ws 05:09:23 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:09:23 Selected Git installation does not exist. Using Default 05:09:23 The recommended git tool is: NONE 05:09:28 using credential edgex-jenkins-ssh 05:09:28 Cloning the remote Git repository 05:09:28 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:09:28 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:09:28 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:09:28 > git --version # timeout=10 05:09:28 > git --version # 'git version 2.17.1' 05:09:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:30 Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 8a33c642f29299a5f317dfea40a57097f5e7e2d9 05:09:30 Merge succeeded, producing 8a33c642f29299a5f317dfea40a57097f5e7e2d9 05:09:30 Checking out Revision 8a33c642f29299a5f317dfea40a57097f5e7e2d9 (PR-114) 05:09:29 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:09:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:29 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:09:29 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:09:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:09:30 > git config core.sparsecheckout # timeout=10 05:09:30 > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 05:09:30 > git remote # timeout=10 05:09:30 > git config --get remote.origin.url # timeout=10 05:09:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:30 > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 05:09:30 > git rev-parse HEAD^{commit} # timeout=10 05:09:30 > git config core.sparsecheckout # timeout=10 05:09:30 > git checkout -f 8a33c642f29299a5f317dfea40a57097f5e7e2d9 # timeout=10 05:09:34 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:09:34 > git --version # timeout=10 05:09:34 > git --version # 'git version 2.17.1' 05:09:34 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 05:09:35 05:09:35 GitHub has been notified of this commit’s build result 05:09:35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:36 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:09:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:09:36 lf-activate-venv(): INFO: Adding /tmp/venv-bIzK/bin to PATH 05:09:36 INFO: No Stack... 05:09:36 INFO: Retrieving Pricing Info for: v3-standard-2 05:09:36 INFO: Archiving Costs [Pipeline] sh 05:09:37 + + true 05:09:37 sudo service docker restart 05:09:37 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:09:37 + cut -d, -f6 [Pipeline] lock 05:09:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] 05:09:37 Resource [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] did not exist. Created. 05:09:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:37 + echo total: 0.05999999865889549 [Pipeline] stash 05:09:38 Stashed 1 file(s) [Pipeline] } 05:09:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:55 provisioning config files... 05:09:55 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8203021362835027601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:56 ---> docker-login.sh 05:09:56 nexus3.edgexfoundry.org:10001 05:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:57 Configure a credential helper to remove this warning. See 05:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:57 05:09:57 Login Succeeded 05:09:57 nexus3.edgexfoundry.org:10002 05:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:58 Configure a credential helper to remove this warning. See 05:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:58 05:09:58 Login Succeeded 05:09:58 nexus3.edgexfoundry.org:10003 05:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:58 Configure a credential helper to remove this warning. See 05:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:58 05:09:58 Login Succeeded 05:09:58 nexus3.edgexfoundry.org:10004 05:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:59 Configure a credential helper to remove this warning. See 05:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:59 05:09:59 Login Succeeded 05:09:59 docker.io 05:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:00 Configure a credential helper to remove this warning. See 05:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:00 05:10:00 Login Succeeded 05:10:00 ---> docker-login.sh ends [Pipeline] } 05:10:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:00 ========================================================= 05:10:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:10:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:10:01 + 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 . 05:10:01 Sending build context to Docker daemon 371.2kB 05:10:01 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 05:10:01 Step 2/10 : FROM ${BASE} 05:10:01 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:10:01 595b0fe564bb: Pulling fs layer 05:10:01 3088b5b3c5c0: Pulling fs layer 05:10:01 5b7225fbf94c: Pulling fs layer 05:10:01 ba82ee9f976e: Pulling fs layer 05:10:01 506bd15cee9f: Pulling fs layer 05:10:01 75a0a4a0db45: Pulling fs layer 05:10:01 618dc40b7e24: Pulling fs layer 05:10:01 ba82ee9f976e: Waiting 05:10:01 506bd15cee9f: Waiting 05:10:01 618dc40b7e24: Waiting 05:10:01 75a0a4a0db45: Waiting 05:10:01 5b7225fbf94c: Verifying Checksum 05:10:01 5b7225fbf94c: Download complete 05:10:01 3088b5b3c5c0: Download complete 05:10:01 506bd15cee9f: Verifying Checksum 05:10:01 506bd15cee9f: Download complete 05:10:01 595b0fe564bb: Download complete 05:10:01 75a0a4a0db45: Verifying Checksum 05:10:01 75a0a4a0db45: Download complete 05:10:02 595b0fe564bb: Pull complete 05:10:03 3088b5b3c5c0: Pull complete 05:10:03 5b7225fbf94c: Pull complete 05:10:04 618dc40b7e24: Download complete 05:10:05 ba82ee9f976e: Verifying Checksum 05:10:05 ba82ee9f976e: Download complete 05:10:15 ba82ee9f976e: Pull complete 05:10:15 506bd15cee9f: Pull complete 05:10:15 75a0a4a0db45: Pull complete 05:10:19 618dc40b7e24: Pull complete 05:10:19 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 05:10:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:10:19 ---> a36622ca3599 05:10:19 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 05:10:21 ---> Running in ea9ac777833f 05:10:21 Removing intermediate container ea9ac777833f 05:10:21 ---> afdda227d3ff 05:10:21 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 05:10:22 ---> Running in 2b0834b25d06 05:10:22 Removing intermediate container 2b0834b25d06 05:10:22 ---> 8e73abb26bbf 05:10:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 05:10:22 ---> Running in 2a4128929166 05:10:23 Removing intermediate container 2a4128929166 05:10:23 ---> 48fa9622ea01 05:10:23 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:23 ---> Running in edd6523bc051 05:10:25 Removing intermediate container edd6523bc051 05:10:25 ---> bcbfaf2bfd3a 05:10:25 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:25 ---> Running in f4e1d6fdeee8 05:10:27 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:10:28 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:10:28 (1/13) Installing libc-dev (0.7.2-r3) 05:10:28 (2/13) Installing libsodium (1.0.18-r0) 05:10:28 (3/13) Installing pkgconf (1.7.3-r0) 05:10:29 (4/13) Installing libsodium-dev (1.0.18-r0) 05:10:29 (5/13) Installing openssh-keygen (8.4_p1-r3) 05:10:29 (6/13) Installing libedit (20191231.3.1-r1) 05:10:29 (7/13) Installing openssh-client (8.4_p1-r3) 05:10:29 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 05:10:30 (9/13) Installing openssh-server-common (8.4_p1-r3) 05:10:30 (10/13) Installing openssh-server (8.4_p1-r3) 05:10:30 (11/13) Installing openssh (8.4_p1-r3) 05:10:30 (12/13) Installing libzmq (4.3.3-r1) 05:10:30 (13/13) Installing zeromq-dev (4.3.3-r1) 05:10:30 Executing busybox-1.32.1-r6.trigger 05:10:30 OK: 145 MiB in 53 packages 05:10:32 Removing intermediate container f4e1d6fdeee8 05:10:32 ---> 3d29c1978ffe 05:10:32 Step 8/10 : WORKDIR /device-snmp-go 05:10:32 ---> Running in b6108345862a 05:10:32 Removing intermediate container b6108345862a 05:10:32 ---> 76f2f295dfb6 05:10:32 Step 9/10 : COPY . . 05:10:33 ---> 4a2ce0521baa 05:10:33 Step 10/10 : RUN go mod download 05:10:33 ---> Running in 6e90dbe234cd 05:11:00 Removing intermediate container 6e90dbe234cd 05:11:00 ---> 8a057bbd1027 05:11:00 Successfully built 8a057bbd1027 05:11:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:11:01 + docker inspect -f . ci-base-image-arm64 05:11:01 . [Pipeline] withDockerContainer 05:11:01 prd-ubuntu18.04-docker-arm64-4c-16g-479 does not seem to be running inside a container 05:11:01 $ 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 05:11:03 $ docker top 28da0091684511afaa3e0cbd763d724f04389f1510a88d8ce4b9c013755024df -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:04 + go version 05:11:04 go version go1.16.5 linux/arm64 [Pipeline] } 05:11:04 $ docker stop --time=1 28da0091684511afaa3e0cbd763d724f04389f1510a88d8ce4b9c013755024df 05:11:05 $ docker rm -f 28da0091684511afaa3e0cbd763d724f04389f1510a88d8ce4b9c013755024df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:11:06 + docker inspect -f . ci-base-image-arm64 05:11:06 . [Pipeline] withDockerContainer 05:11:07 prd-ubuntu18.04-docker-arm64-4c-16g-479 does not seem to be running inside a container 05:11:07 $ 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 05:11:08 $ docker top ac796d57dc47768ca94719388abf5718b04cbf81893878878b3b27058b9281eb -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:09 + go mod tidy [Pipeline] sh 05:11:11 + make test 05:11:11 go mod tidy 05:11:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:11:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:11:59 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:12:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.031s coverage: 0.0% of statements 05:12:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:12:27 gofmt -l . 05:12:27 [ "`gofmt -l .`" = "" ] 05:12:27 ./bin/test-attribution-txt.sh [Pipeline] } 05:12:27 $ docker stop --time=1 ac796d57dc47768ca94719388abf5718b04cbf81893878878b3b27058b9281eb 05:12:29 $ docker rm -f ac796d57dc47768ca94719388abf5718b04cbf81893878878b3b27058b9281eb [Pipeline] // withDockerContainer [Pipeline] sh 05:12:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:30 Warning: overwriting stash ‘coverage-report’ 05:12:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:32 + ls -al . 05:12:32 total 128 05:12:32 drwxrwxr-x 7 jenkins jenkins 4096 Jun 21 05:12 . 05:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 05:09 .. 05:12:32 -rw-rw-r-- 1 jenkins jenkins 6 Jun 21 05:09 .dockerignore 05:12:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 05:09 .git 05:12:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 05:09 .github 05:12:32 -rw-rw-r-- 1 jenkins jenkins 269 Jun 21 05:09 .gitignore 05:12:32 -rw-rw-r-- 1 jenkins jenkins 6520 Jun 21 05:09 Attribution.txt 05:12:32 -rw-rw-r-- 1 jenkins jenkins 1459 Jun 21 05:09 Dockerfile 05:12:32 -rw-rw-r-- 1 jenkins jenkins 1057 Jun 21 05:09 Dockerfile.build 05:12:32 -rw-rw-r-- 1 jenkins jenkins 656 Jun 21 05:09 Jenkinsfile 05:12:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 21 05:09 LICENSE 05:12:32 -rw-rw-r-- 1 jenkins jenkins 936 Jun 21 05:09 Makefile 05:12:32 -rw-rw-r-- 1 jenkins jenkins 9079 Jun 21 05:09 README.md 05:12:32 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 05:05 VERSION 05:12:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 05:09 bin 05:12:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 05:09 cmd 05:12:32 -rw-r--r-- 1 jenkins jenkins 7631 Jun 21 05:11 coverage.out 05:12:32 -rw-rw-r-- 1 jenkins jenkins 223 Jun 21 05:09 go.mod 05:12:32 -rw-r--r-- 1 jenkins jenkins 20929 Jun 21 05:11 go.sum 05:12:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 05:09 internal 05:12:32 -rw-rw-r-- 1 jenkins jenkins 209 Jun 21 05:09 version.go [Pipeline] isUnix [Pipeline] sh 05:12:32 + 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=8a33c642f29299a5f317dfea40a57097f5e7e2d9 --label arch=arm64 --label version=0.0.0 . 05:12:33 Sending build context to Docker daemon 379.4kB 05:12:33 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 05:12:33 Step 2/24 : FROM ${BASE} AS builder 05:12:33 ---> 8a057bbd1027 05:12:33 Step 3/24 : ARG MAKE='make build' 05:12:33 ---> Running in ca478676df25 05:12:34 Removing intermediate container ca478676df25 05:12:34 ---> e12238c26b26 05:12:34 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:12:34 ---> Running in ed8b40d145dd 05:12:34 Removing intermediate container ed8b40d145dd 05:12:34 ---> 6c2560c7d497 05:12:34 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:12:34 ---> Running in c9a72fd4c00b 05:12:35 Removing intermediate container c9a72fd4c00b 05:12:35 ---> 83c734413580 05:12:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:35 ---> Running in d5e620d83b7d 05:12:37 Removing intermediate container d5e620d83b7d 05:12:37 ---> a00428856efc 05:12:37 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:12:37 ---> Running in 82e6b00f156d 05:12:38 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:12:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:12:40 OK: 145 MiB in 53 packages 05:12:41 Removing intermediate container 82e6b00f156d 05:12:41 ---> 8ab270fb3eea 05:12:41 Step 8/24 : WORKDIR /device-snmp-go 05:12:41 ---> Running in 32635a663c22 05:12:42 Removing intermediate container 32635a663c22 05:12:42 ---> 31f1826d1b75 05:12:42 Step 9/24 : COPY . . 05:12:43 ---> 3e4a655cc5b3 05:12:43 Step 10/24 : RUN go mod tidy 05:12:43 ---> Running in 00ee1788d7ed 05:12:46 Removing intermediate container 00ee1788d7ed 05:12:46 ---> 71d30f1c4c1a 05:12:46 Step 11/24 : RUN make update 05:12:46 ---> Running in ccf3152e6d54 05:12:47 CGO_ENABLED=0 GO111MODULE=on go mod download 05:12:48 Removing intermediate container ccf3152e6d54 05:12:48 ---> 19b0fe6f24b1 05:12:48 Step 12/24 : RUN ${MAKE} 05:12:48 ---> Running in 1cb4d750c6d5 05:12:49 go mod tidy 05:12:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 05:13:29 Removing intermediate container 1cb4d750c6d5 05:13:29 ---> 347af34d8d49 05:13:29 Step 13/24 : FROM alpine:3.12 05:13:29 3.12: Pulling from library/alpine 05:13:29 d2f70382dc9a: Pulling fs layer 05:13:29 d2f70382dc9a: Verifying Checksum 05:13:29 d2f70382dc9a: Download complete 05:13:29 d2f70382dc9a: Pull complete 05:13:29 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 05:13:29 Status: Downloaded newer image for alpine:3.12 05:13:29 ---> c4fd0aeabfcf 05:13:29 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:13:29 ---> Running in 4ec85cfb16d3 05:13:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:13:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:13:29 (1/6) Installing dumb-init (1.2.2-r1) 05:13:29 (2/6) Installing libgcc (9.3.0-r2) 05:13:29 (3/6) Installing libsodium (1.0.18-r0) 05:13:29 (4/6) Installing libstdc++ (9.3.0-r2) 05:13:29 (5/6) Installing libzmq (4.3.3-r0) 05:13:29 (6/6) Installing zeromq (4.3.3-r0) 05:13:29 Executing busybox-1.31.1-r20.trigger 05:13:29 OK: 8 MiB in 20 packages 05:13:29 Removing intermediate container 4ec85cfb16d3 05:13:29 ---> 5741fe0c8b3f 05:13:29 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:13:31 ---> d442cba1df5f 05:13:31 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:13:31 ---> 24b4d194f2b6 05:13:31 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:13:32 ---> 00248ba4b73d 05:13:32 Step 18/24 : EXPOSE 59993 05:13:32 ---> Running in 55915dd66ee2 05:13:33 Removing intermediate container 55915dd66ee2 05:13:33 ---> 72e36d662f1f 05:13:33 Step 19/24 : EXPOSE 161 05:13:33 ---> Running in af8cfa344d09 05:13:34 Removing intermediate container af8cfa344d09 05:13:34 ---> 1e34178bdc5d 05:13:34 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:13:34 ---> Running in 34e3827712ad 05:13:34 Removing intermediate container 34e3827712ad 05:13:34 ---> 43d6dd7a3641 05:13:34 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:13:34 ---> Running in 8185f2fd74f2 05:13:35 Removing intermediate container 8185f2fd74f2 05:13:35 ---> 8b78383d043d 05:13:35 Step 22/24 : LABEL arch=arm64 05:13:35 ---> Running in 53fd61d42337 05:13:35 Removing intermediate container 53fd61d42337 05:13:35 ---> 1f27ab4e7a68 05:13:35 Step 23/24 : LABEL git_sha=8a33c642f29299a5f317dfea40a57097f5e7e2d9 05:13:35 ---> Running in b25189d18a0b 05:13:36 Removing intermediate container b25189d18a0b 05:13:36 ---> a4fc6493edce 05:13:36 Step 24/24 : LABEL version=0.0.0 05:13:36 ---> Running in 9a5ffc3f5467 05:13:37 Removing intermediate container 9a5ffc3f5467 05:13:37 ---> a38fa4a42cf2 05:13:37 [Warning] One or more build-args [ARCH] were not consumed 05:13:37 Successfully built a38fa4a42cf2 05:13:37 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 05:13:37 ---> job-cost.sh 05:13:37 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5f3s 05:14:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:15:38 lf-activate-venv(): INFO: Adding /tmp/venv-5f3s/bin to PATH 05:15:38 INFO: No Stack... 05:15:38 INFO: Retrieving Pricing Info for: v2-standard-4 05:15:38 INFO: Archiving Costs [Pipeline] sh 05:15:39 + cut+ -d, -f6 05:15:39 cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 05:15:39 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] 05:15:39 Resource [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] did not exist. Created. 05:15:39 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:39 /w/workspace/device-snmp-go/1@tmp/durable-e24f66a9/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-e24f66a9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:15:40 + echo total: 0.18000000715255737 [Pipeline] stash 05:15:40 Warning: overwriting stash ‘stack-cost’ 05:15:40 Stashed 1 file(s) [Pipeline] } 05:15:40 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-114-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 05:15:41 provisioning config files... 05:15:41 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/config121449219429745372tmp [Pipeline] { [Pipeline] sh 05:15:41 + set +x 05:15:41 + curl -s https://codecov.io/bash 05:15:41 + bash -s -- 05:15:41 05:15:41 _____ _ 05:15:41 / ____| | | 05:15:41 | | ___ __| | ___ ___ _____ __ 05:15:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:15:41 | |___| (_) | (_| | __/ (_| (_) \ V / 05:15:41 \_____\___/ \__,_|\___|\___\___/ \_/ 05:15:41 Bash-1.0.3 05:15:41 05:15:41 05:15:41 ==> git version 2.24.4 found 05:15:41 ==> 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 05:15:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:15:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:15:41 ==> Jenkins CI detected. 05:15:41 project root: . 05:15:41 --> token set from env 05:15:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:15:41 ==> Running gcov in . (disable via -X gcov) 05:15:41 ==> Python coveragepy not found 05:15:41 ==> Searching for coverage reports in: 05:15:41 + . 05:15:41 -> Found 1 reports 05:15:41 ==> Detecting git/mercurial file structure 05:15:41 ==> Reading reports 05:15:41 + ./coverage.out bytes=7631 05:15:41 ==> Appending adjustments 05:15:41 https://docs.codecov.io/docs/fixing-reports 05:15:42 + Found adjustments 05:15:42 ==> Gzipping contents 05:15:42 4.0K /tmp/codecov.UpeGvf.gz 05:15:42 ==> Uploading reports 05:15:42 url: https://codecov.io 05:15:42 query: branch=PR-114&commit=8a33c642f29299a5f317dfea40a57097f5e7e2d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=114&job=&cmd_args= 05:15:42 -> Pinging Codecov 05:15:42 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-114&commit=8a33c642f29299a5f317dfea40a57097f5e7e2d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=114&job=&cmd_args= 05:15:42 -> Uploading to 05:15:42 https://storage.googleapis.com/codecov/v4/raw/2021-06-21/6C56EA5C29638FB4528AC87E60AF5AE0/8a33c642f29299a5f317dfea40a57097f5e7e2d9/80f40bb9-789d-42e6-9cfa-e8701a140761.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210621T051542Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=52634666ecdb4e0cce05c223a504aa809b5b37aaf3c8744adb3aa3a00978531b 05:15:42 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:42 Dload Upload Total Spent Left Speed 05:15:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3863 --:--:-- --:--:-- --:--:-- 3870 05:15:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/8a33c642f29299a5f317dfea40a57097f5e7e2d9 [Pipeline] } 05:15:43 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 05:15:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:15:46 ---> package-listing.sh 05:15:46 ++ tr '[:upper:]' '[:lower:]' 05:15:46 ++ facter osfamily 05:15:46 + OS_FAMILY=redhat 05:15:46 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-114 05:15:46 + START_PACKAGES=/tmp/packages_start.txt 05:15:46 + END_PACKAGES=/tmp/packages_end.txt 05:15:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:15:46 + PACKAGES=/tmp/packages_start.txt 05:15:46 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-114 ']' 05:15:46 + PACKAGES=/tmp/packages_end.txt 05:15:46 + case "${OS_FAMILY}" in 05:15:46 + rpm -qa 05:15:46 + sort 05:15:47 + '[' -f /tmp/packages_start.txt ']' 05:15:47 + '[' -f /tmp/packages_end.txt ']' 05:15:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:15:47 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-114 ']' 05:15:47 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-114/archives/ 05:15:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-114/archives/ [Pipeline] echo 05:15:47 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-114/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:15:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:15:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:15:48 05:15:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:15:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:15:48 alpine: Pulling from edgex-lftools-log-publisher 05:15:48 df20fa9351a1: Pulling fs layer 05:15:48 36b3adc4ff6f: Pulling fs layer 05:15:48 8ad3a11d3b57: Pulling fs layer 05:15:48 46f8f816bc3b: Pulling fs layer 05:15:48 93b61091891f: Pulling fs layer 05:15:48 93b9cdb0e59b: Pulling fs layer 05:15:48 5e14af77c1be: Pulling fs layer 05:15:48 01666e4c0597: Pulling fs layer 05:15:48 aa168da1d23b: Pulling fs layer 05:15:48 93b9cdb0e59b: Waiting 05:15:48 46f8f816bc3b: Waiting 05:15:48 93b61091891f: Waiting 05:15:48 5e14af77c1be: Waiting 05:15:48 01666e4c0597: Waiting 05:15:48 aa168da1d23b: Waiting 05:15:48 36b3adc4ff6f: Verifying Checksum 05:15:48 36b3adc4ff6f: Download complete 05:15:48 46f8f816bc3b: Verifying Checksum 05:15:48 46f8f816bc3b: Download complete 05:15:48 df20fa9351a1: Verifying Checksum 05:15:48 df20fa9351a1: Download complete 05:15:48 93b9cdb0e59b: Verifying Checksum 05:15:48 93b9cdb0e59b: Download complete 05:15:48 5e14af77c1be: Verifying Checksum 05:15:48 5e14af77c1be: Download complete 05:15:48 93b61091891f: Verifying Checksum 05:15:48 93b61091891f: Download complete 05:15:48 01666e4c0597: Verifying Checksum 05:15:48 01666e4c0597: Download complete 05:15:48 8ad3a11d3b57: Verifying Checksum 05:15:48 8ad3a11d3b57: Download complete 05:15:48 df20fa9351a1: Pull complete 05:15:49 36b3adc4ff6f: Pull complete 05:15:49 8ad3a11d3b57: Pull complete 05:15:49 46f8f816bc3b: Pull complete 05:15:50 93b61091891f: Pull complete 05:15:50 93b9cdb0e59b: Pull complete 05:15:50 5e14af77c1be: Pull complete 05:15:50 01666e4c0597: Pull complete 05:15:50 aa168da1d23b: Verifying Checksum 05:15:50 aa168da1d23b: Download complete 05:15:55 aa168da1d23b: Pull complete 05:15:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:15:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:15:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:15:55 prd-centos7-docker-4c-2g-474 does not seem to be running inside a container 05:15:55 $ 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-114/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-114 -v /w/workspace/gexfoundry_device-snmp-go_PR-114:/w/workspace/gexfoundry_device-snmp-go_PR-114:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-114@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-114@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 05:15:57 $ docker top 426eca404a8b86a26fb29db9845943dc438b568f5357b607de5e6a500cd24069 -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:57 + touch /tmp/pre-build-complete [Pipeline] sh 05:15:58 + mkdir -p /var/log/sa [Pipeline] sh 05:15:58 + ls /var/log/sa-host 05:15:58 + sadf -c /var/log/sa-host/sa05 05:15:58 file_magic: OK 05:15:58 HZ: Using current value: 100 05:15:58 file_header: OK 05:15: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 05:15:58 Statistics: 05:15:58 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:15:58 File successfully converted to sysstat format version 12.2.1 05:15:58 + sadf -c /var/log/sa-host/sa21 05:15:58 file_magic: OK 05:15:58 HZ: Using current value: 100 05:15:58 file_header: OK 05:15: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 05:15:58 Statistics: 05:15:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:15:58 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:58 provisioning config files... 05:15:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-114@tmp/config8428900631376391147tmp [Pipeline] { [Pipeline] echo 05:15:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:15:59 ---> create-netrc.sh [Pipeline] } 05:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:15:59 ---> python-tools-install.sh [Pipeline] echo 05:15:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:15:59 ---> sudo-logs.sh 05:15:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:16:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:16:00 ---> job-cost.sh 05:16:00 lf-activate-venv: SKIPPING 05:16:00 DEBUG: total: 0.18000000715255737 05:16:00 INFO: Retrieving Stack Cost... 05:16:01 INFO: Retrieving Pricing Info for: v3-standard-2 05:16:01 INFO: Archiving Costs [Pipeline] echo 05:16:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:16:02 ---> logs-deploy.sh 05:16:02 lf-activate-venv: SKIPPING 05:16:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-114/1 05:16:02 INFO: archiving workspace using pattern(s): 05:16:03 Archives upload complete. 05:16:03 INFO: archiving logs to Nexus