Pull request #116 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-snmp-go Obtained Jenkinsfile from d8626894defcb2c2b52710bcc5fb3763afdac6b6+828c04b1f0eb937037ce2076f410b90c0d25fe4c (e81a4e04c890af53aa34c46e27ed607f542c8405) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh2195464648069877528.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-ssh17523015708084129.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3955589001143194308.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 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-ssh4626235039530102735.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2994064388886799366.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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-75’ is offline ‘prd-centos7-docker-4c-2g-915’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-73’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-79 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [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-116 # 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-116@tmp/jenkins-gitclient-ssh8117952250075028541.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-116@tmp/jenkins-gitclient-ssh351784833051587055.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit d8626894defcb2c2b52710bcc5fb3763afdac6b6 Merge succeeded, producing d8626894defcb2c2b52710bcc5fb3763afdac6b6 Checking out Revision d8626894defcb2c2b52710bcc5fb3763afdac6b6 (PR-116) > git config core.sparsecheckout # timeout=10 > git checkout -f d8626894defcb2c2b52710bcc5fb3763afdac6b6 # 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-116@tmp/jenkins-gitclient-ssh5948848822247328367.key > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8626894defcb2c2b52710bcc5fb3763afdac6b6 # timeout=10 Commit message: "docs: add Changelog for Ireland release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-25T12:29:11.164Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-25T12:29:11.280Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-25T12:29:11.315Z] ========================================================= [2021-06-25T12:29:11.315Z] EdgeX Global Pipelines Version Info [2021-06-25T12:29:11.315Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:29:12.824Z] ------------------- [2021-06-25T12:29:12.824Z] stable info: [2021-06-25T12:29:12.824Z] ------------------- [2021-06-25T12:29:12.824Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-25T12:29:12.824Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T12:29:12.824Z] Message: update stable to v1.0.195 [2021-06-25T12:29:13.425Z] ------------------- [2021-06-25T12:29:13.425Z] experimental info: [2021-06-25T12:29:13.425Z] ------------------- [2021-06-25T12:29:13.425Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-25T12:29:13.425Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T12:29:13.425Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-25T12:29:13.543Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-25T12:29:13.566Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-25T12:29:13.597Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-25T12:29:13.622Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-25T12:29:13.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-25T12:29:13.670Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-25T12:29:13.694Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-25T12:29:13.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-25T12:29:13.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-25T12:29:13.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-25T12:29:13.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-25T12:29:13.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-25T12:29:13.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-25T12:29:13.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-25T12:29:13.908Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T12:29:13.943Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T12:29:13.970Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T12:29:13.994Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T12:29:14.017Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-25T12:29:14.041Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-25T12:29:14.068Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-25T12:29:14.094Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-25T12:29:14.121Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-25T12:29:14.144Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-25T12:29:14.167Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-25T12:29:14.191Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-25T12:29:14.215Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo [2021-06-25T12:29:14.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo [2021-06-25T12:29:14.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo [2021-06-25T12:29:14.287Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8626894defcb2c2b52710bcc5fb3763afdac6b6 [Pipeline] echo [2021-06-25T12:29:14.311Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d862689 [Pipeline] echo [2021-06-25T12:29:14.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T12:29:14.415Z] provisioning config files... [2021-06-25T12:29:14.431Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config9039162134897996713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:29:14.755Z] ---> docker-login.sh [2021-06-25T12:29:14.755Z] nexus3.edgexfoundry.org:10001 [2021-06-25T12:29:14.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:29:15.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:29:15.017Z] Configure a credential helper to remove this warning. See [2021-06-25T12:29:15.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:29:15.017Z] [2021-06-25T12:29:15.017Z] Login Succeeded [2021-06-25T12:29:15.017Z] nexus3.edgexfoundry.org:10002 [2021-06-25T12:29:15.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:29:15.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:29:15.017Z] Configure a credential helper to remove this warning. See [2021-06-25T12:29:15.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:29:15.017Z] [2021-06-25T12:29:15.017Z] Login Succeeded [2021-06-25T12:29:15.017Z] nexus3.edgexfoundry.org:10003 [2021-06-25T12:29:15.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:29:15.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:29:15.278Z] Configure a credential helper to remove this warning. See [2021-06-25T12:29:15.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:29:15.278Z] [2021-06-25T12:29:15.278Z] Login Succeeded [2021-06-25T12:29:15.278Z] nexus3.edgexfoundry.org:10004 [2021-06-25T12:29:15.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:29:15.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:29:15.278Z] Configure a credential helper to remove this warning. See [2021-06-25T12:29:15.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:29:15.278Z] [2021-06-25T12:29:15.278Z] Login Succeeded [2021-06-25T12:29:15.278Z] docker.io [2021-06-25T12:29:15.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:29:15.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:29:15.801Z] Configure a credential helper to remove this warning. See [2021-06-25T12:29:15.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:29:15.801Z] [2021-06-25T12:29:15.801Z] Login Succeeded [2021-06-25T12:29:15.801Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T12:29:15.809Z] 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 [2021-06-25T12:29:16.332Z] + git log --format=format:%s -1 d8626894defcb2c2b52710bcc5fb3763afdac6b6 [Pipeline] echo [2021-06-25T12:29:16.395Z] GIT_COMMIT: d8626894defcb2c2b52710bcc5fb3763afdac6b6, Commit Message: docs: add Changelog for Ireland release [Pipeline] echo [2021-06-25T12:29:16.409Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:29:16.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T12:29:16.988Z] [2021-06-25T12:29:16.988Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:29:17.303Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T12:29:17.303Z] latest: Pulling from edgex-devops/git-semver [2021-06-25T12:29:17.303Z] 31603596830f: Pulling fs layer [2021-06-25T12:29:17.303Z] 54011a49482f: Pulling fs layer [2021-06-25T12:29:17.303Z] a6820b24f6d8: Pulling fs layer [2021-06-25T12:29:17.303Z] f581987b2513: Pulling fs layer [2021-06-25T12:29:17.303Z] f581987b2513: Waiting [2021-06-25T12:29:17.303Z] 54011a49482f: Verifying Checksum [2021-06-25T12:29:17.303Z] 54011a49482f: Download complete [2021-06-25T12:29:17.303Z] 31603596830f: Verifying Checksum [2021-06-25T12:29:17.303Z] 31603596830f: Download complete [2021-06-25T12:29:17.566Z] f581987b2513: Verifying Checksum [2021-06-25T12:29:17.566Z] f581987b2513: Download complete [2021-06-25T12:29:17.566Z] a6820b24f6d8: Verifying Checksum [2021-06-25T12:29:17.566Z] a6820b24f6d8: Download complete [2021-06-25T12:29:17.566Z] 31603596830f: Pull complete [2021-06-25T12:29:17.831Z] 54011a49482f: Pull complete [2021-06-25T12:29:18.408Z] a6820b24f6d8: Pull complete [2021-06-25T12:29:18.408Z] f581987b2513: Pull complete [2021-06-25T12:29:18.408Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-25T12:29:18.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T12:29:18.669Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-25T12:29:18.751Z] prd-centos7-docker-4c-2g-79 does not seem to be running inside a container [2021-06-25T12:29:18.790Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-116 -v /w/workspace/gexfoundry_device-snmp-go_PR-116:/w/workspace/gexfoundry_device-snmp-go_PR-116:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-25T12:29:19.782Z] $ docker top fb8bb820367bf8e78e183b032d40ea87a486475d4d688fae052901c9c61406f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-25T12:29:19.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T12:29:19.911Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T12:29:20.021Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T12:29:20.018Z] $ docker exec fb8bb820367bf8e78e183b032d40ea87a486475d4d688fae052901c9c61406f0 ssh-agent [2021-06-25T12:29:20.133Z] SSH_AUTH_SOCK=/tmp/ssh-GRK8sMwo8zMd/agent.14 [2021-06-25T12:29:20.133Z] SSH_AGENT_PID=21 [2021-06-25T12:29:20.141Z] Running ssh-add (command line suppressed) [2021-06-25T12:29:20.239Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_5629806543969857857.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_5629806543969857857.key) [2021-06-25T12:29:20.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T12:29:20.572Z] + git tag --points-at HEAD [Pipeline] } [2021-06-25T12:29:20.580Z] $ docker exec --env ******** --env ******** fb8bb820367bf8e78e183b032d40ea87a486475d4d688fae052901c9c61406f0 ssh-agent -k [2021-06-25T12:29:20.684Z] unset SSH_AUTH_SOCK; [2021-06-25T12:29:20.684Z] unset SSH_AGENT_PID; [2021-06-25T12:29:20.684Z] echo Agent pid 21 killed; [2021-06-25T12:29:20.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-25T12:29:20.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T12:29:20.744Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T12:29:20.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T12:29:20.850Z] $ docker exec fb8bb820367bf8e78e183b032d40ea87a486475d4d688fae052901c9c61406f0 ssh-agent [2021-06-25T12:29:20.948Z] SSH_AUTH_SOCK=/tmp/ssh-c0zVYNRYbcBA/agent.55 [2021-06-25T12:29:20.948Z] SSH_AGENT_PID=61 [2021-06-25T12:29:20.954Z] Running ssh-add (command line suppressed) [2021-06-25T12:29:21.030Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_594104224843176347.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_594104224843176347.key) [2021-06-25T12:29:21.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T12:29:21.359Z] + git semver init [2021-06-25T12:29:21.359Z] # -> Open(): unable to determine branch for HEAD [2021-06-25T12:29:21.359Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.git [2021-06-25T12:29:21.359Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-25T12:29:21.359Z] # $SEMVER_REMOTE_NAME = origin [2021-06-25T12:29:21.359Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-25T12:29:21.359Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-25T12:29:21.359Z] # $SEMVER_BRANCH = PR-116 [2021-06-25T12:29:21.359Z] # $SEMVER_TEMP = /tmp/semver-259744275 [2021-06-25T12:29:21.359Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-25T12:29:21.941Z] # '/tmp/semver-259744275' -> '/w/workspace/gexfoundry_device-snmp-go_PR-116/.semver' [2021-06-25T12:29:21.941Z] # -> Force: false [2021-06-25T12:29:21.941Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.semver [Pipeline] } [2021-06-25T12:29:21.947Z] $ docker exec --env ******** --env ******** fb8bb820367bf8e78e183b032d40ea87a486475d4d688fae052901c9c61406f0 ssh-agent -k [2021-06-25T12:29:22.042Z] unset SSH_AUTH_SOCK; [2021-06-25T12:29:22.042Z] unset SSH_AGENT_PID; [2021-06-25T12:29:22.042Z] echo Agent pid 61 killed; [2021-06-25T12:29:22.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-25T12:29:22.398Z] + git semver [Pipeline] } [2021-06-25T12:29:22.408Z] $ docker stop --time=1 fb8bb820367bf8e78e183b032d40ea87a486475d4d688fae052901c9c61406f0 [2021-06-25T12:29:23.648Z] $ docker rm -f fb8bb820367bf8e78e183b032d40ea87a486475d4d688fae052901c9c61406f0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T12:29:24.018Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-25T12:29:24.278Z] Stashed 1 file(s) [Pipeline] echo [2021-06-25T12:29:24.282Z] [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 [2021-06-25T12:29:39.505Z] Still waiting to schedule task [2021-06-25T12:29:39.505Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-25T12:29:39.508Z] Still waiting to schedule task [2021-06-25T12:29:39.508Z] ‘prd-centos7-docker-4c-2g-915’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-25T12:29:39.509Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-25T12:29:39.509Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-77’ is offline [2021-06-25T12:30:54.167Z] Running on prd-centos7-docker-4c-2g-81 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-25T12:30:54.185Z] Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout [2021-06-25T12:30:54.295Z] Selected Git installation does not exist. Using Default [2021-06-25T12:30:54.295Z] The recommended git tool is: NONE [2021-06-25T12:30:56.536Z] using credential edgex-jenkins-ssh [2021-06-25T12:30:56.549Z] Cloning the remote Git repository [2021-06-25T12:30:56.512Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:30:56.583Z] > git init /w/workspace/device-snmp-go/3 # timeout=10 [2021-06-25T12:30:56.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:30:56.699Z] > git --version # timeout=10 [2021-06-25T12:30:56.709Z] > git --version # 'git version 2.24.4' [2021-06-25T12:30:56.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:30:56.737Z] [INFO] Currently running in a labeled security context [2021-06-25T12:30:56.737Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T12:30:56.737Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/3@tmp/jenkins-gitclient-ssh9192281856761346711.key [2021-06-25T12:30:56.769Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T12:30:57.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-25T12:30:57.348Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T12:30:57.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-25T12:30:57.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:30:57.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:30:57.379Z] [INFO] Currently running in a labeled security context [2021-06-25T12:30:57.379Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T12:30:57.379Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/3@tmp/jenkins-gitclient-ssh5518929323405725949.key [2021-06-25T12:30:57.388Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T12:30:57.825Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit d8626894defcb2c2b52710bcc5fb3763afdac6b6 [2021-06-25T12:30:57.919Z] Merge succeeded, producing d8626894defcb2c2b52710bcc5fb3763afdac6b6 [2021-06-25T12:30:57.919Z] Checking out Revision d8626894defcb2c2b52710bcc5fb3763afdac6b6 (PR-116) [2021-06-25T12:30:57.819Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T12:30:57.826Z] > git checkout -f d8626894defcb2c2b52710bcc5fb3763afdac6b6 # timeout=10 [2021-06-25T12:30:57.859Z] > git remote # timeout=10 [2021-06-25T12:30:57.870Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T12:30:57.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:30:57.882Z] [INFO] Currently running in a labeled security context [2021-06-25T12:30:57.882Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T12:30:57.882Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/3@tmp/jenkins-gitclient-ssh1175658053946559607.key [2021-06-25T12:30:57.889Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-25T12:30:57.897Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T12:30:57.909Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T12:30:57.916Z] > git checkout -f d8626894defcb2c2b52710bcc5fb3763afdac6b6 # timeout=10 [2021-06-25T12:31:01.625Z] Commit message: "docs: add Changelog for Ireland release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T12:31:02.848Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-25T12:31:03.191Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T12:31:03.489Z] + sudo service docker restart [2021-06-25T12:31:03.489Z] + true [2021-06-25T12:31:03.489Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T12:31:21.690Z] provisioning config files... [2021-06-25T12:31:21.705Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config7951207163607418303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:31:22.036Z] ---> docker-login.sh [2021-06-25T12:31:22.036Z] nexus3.edgexfoundry.org:10001 [2021-06-25T12:31:22.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:31:22.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:31:22.302Z] Configure a credential helper to remove this warning. See [2021-06-25T12:31:22.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:31:22.302Z] [2021-06-25T12:31:22.302Z] Login Succeeded [2021-06-25T12:31:22.302Z] nexus3.edgexfoundry.org:10002 [2021-06-25T12:31:22.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:31:22.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:31:22.302Z] Configure a credential helper to remove this warning. See [2021-06-25T12:31:22.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:31:22.302Z] [2021-06-25T12:31:22.302Z] Login Succeeded [2021-06-25T12:31:22.302Z] nexus3.edgexfoundry.org:10003 [2021-06-25T12:31:22.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:31:22.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:31:22.566Z] Configure a credential helper to remove this warning. See [2021-06-25T12:31:22.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:31:22.566Z] [2021-06-25T12:31:22.566Z] Login Succeeded [2021-06-25T12:31:22.566Z] nexus3.edgexfoundry.org:10004 [2021-06-25T12:31:22.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:31:22.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:31:22.566Z] Configure a credential helper to remove this warning. See [2021-06-25T12:31:22.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:31:22.566Z] [2021-06-25T12:31:22.566Z] Login Succeeded [2021-06-25T12:31:22.566Z] docker.io [2021-06-25T12:31:22.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:31:23.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:31:23.094Z] Configure a credential helper to remove this warning. See [2021-06-25T12:31:23.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:31:23.094Z] [2021-06-25T12:31:23.094Z] Login Succeeded [2021-06-25T12:31:23.094Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T12:31:23.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T12:31:23.299Z] ========================================================= [2021-06-25T12:31:23.299Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-25T12:31:23.299Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:31:23.609Z] + 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 . [2021-06-25T12:31:23.609Z] Sending build context to Docker daemon 385kB [2021-06-25T12:31:23.609Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T12:31:23.609Z] Step 2/10 : FROM ${BASE} [2021-06-25T12:31:23.609Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-25T12:31:23.609Z] 540db60ca938: Pulling fs layer [2021-06-25T12:31:23.609Z] adcc1eea9eea: Pulling fs layer [2021-06-25T12:31:23.609Z] 4c4ab2625f07: Pulling fs layer [2021-06-25T12:31:23.609Z] 0510c868ecb4: Pulling fs layer [2021-06-25T12:31:23.609Z] afea3b2eda06: Pulling fs layer [2021-06-25T12:31:23.609Z] 7809a108b3ef: Pulling fs layer [2021-06-25T12:31:23.609Z] f706445af74f: Pulling fs layer [2021-06-25T12:31:23.609Z] 0510c868ecb4: Waiting [2021-06-25T12:31:23.609Z] afea3b2eda06: Waiting [2021-06-25T12:31:23.609Z] 7809a108b3ef: Waiting [2021-06-25T12:31:23.609Z] f706445af74f: Waiting [2021-06-25T12:31:23.873Z] 4c4ab2625f07: Verifying Checksum [2021-06-25T12:31:23.873Z] 4c4ab2625f07: Download complete [2021-06-25T12:31:23.873Z] adcc1eea9eea: Verifying Checksum [2021-06-25T12:31:23.873Z] adcc1eea9eea: Download complete [2021-06-25T12:31:23.873Z] afea3b2eda06: Verifying Checksum [2021-06-25T12:31:23.873Z] afea3b2eda06: Download complete [2021-06-25T12:31:23.873Z] 7809a108b3ef: Verifying Checksum [2021-06-25T12:31:23.873Z] 7809a108b3ef: Download complete [2021-06-25T12:31:23.873Z] 540db60ca938: Verifying Checksum [2021-06-25T12:31:23.873Z] 540db60ca938: Download complete [2021-06-25T12:31:24.134Z] 540db60ca938: Pull complete [2021-06-25T12:31:24.134Z] adcc1eea9eea: Pull complete [2021-06-25T12:31:24.395Z] 4c4ab2625f07: Pull complete [2021-06-25T12:31:25.777Z] f706445af74f: Verifying Checksum [2021-06-25T12:31:25.777Z] f706445af74f: Download complete [2021-06-25T12:31:26.042Z] 0510c868ecb4: Verifying Checksum [2021-06-25T12:31:26.042Z] 0510c868ecb4: Download complete [2021-06-25T12:31:29.405Z] 0510c868ecb4: Pull complete [2021-06-25T12:31:29.405Z] afea3b2eda06: Pull complete [2021-06-25T12:31:29.405Z] 7809a108b3ef: Pull complete [2021-06-25T12:31:30.821Z] f706445af74f: Pull complete [2021-06-25T12:31:30.821Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-25T12:31:30.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-25T12:31:30.821Z] ---> b068be0155e3 [2021-06-25T12:31:30.821Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T12:31:35.061Z] ---> Running in c686e69e251a [2021-06-25T12:31:35.061Z] Removing intermediate container c686e69e251a [2021-06-25T12:31:35.061Z] ---> 1a3899f25b54 [2021-06-25T12:31:35.061Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T12:31:35.061Z] ---> Running in d5aae10d25c6 [2021-06-25T12:31:35.061Z] Removing intermediate container d5aae10d25c6 [2021-06-25T12:31:35.061Z] ---> d9d7d9757e0e [2021-06-25T12:31:35.061Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-25T12:31:35.061Z] ---> Running in fabbb7bf9655 [2021-06-25T12:31:35.061Z] Removing intermediate container fabbb7bf9655 [2021-06-25T12:31:35.061Z] ---> f6f0ad60d05c [2021-06-25T12:31:35.061Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T12:31:35.061Z] ---> Running in d66da383b41b [2021-06-25T12:31:35.325Z] Removing intermediate container d66da383b41b [2021-06-25T12:31:35.325Z] ---> 1e89f766cea2 [2021-06-25T12:31:35.325Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T12:31:35.325Z] ---> Running in 41a54f8f7b1f [2021-06-25T12:31:35.584Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T12:31:36.527Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T12:31:37.472Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-25T12:31:37.472Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-25T12:31:37.472Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-25T12:31:37.734Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-25T12:31:37.734Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-25T12:31:37.995Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-25T12:31:37.995Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-25T12:31:38.256Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-25T12:31:38.256Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-25T12:31:38.516Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-25T12:31:38.516Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-25T12:31:38.516Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-25T12:31:38.778Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-25T12:31:38.778Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T12:31:38.778Z] OK: 156 MiB in 53 packages [2021-06-25T12:31:39.350Z] Removing intermediate container 41a54f8f7b1f [2021-06-25T12:31:39.350Z] ---> 0f84f31be763 [2021-06-25T12:31:39.350Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-25T12:31:39.350Z] ---> Running in 41c66b423748 [2021-06-25T12:31:39.350Z] Removing intermediate container 41c66b423748 [2021-06-25T12:31:39.350Z] ---> 5367bff31d59 [2021-06-25T12:31:39.350Z] Step 9/10 : COPY . . [2021-06-25T12:31:39.610Z] ---> 732a9af3106c [2021-06-25T12:31:39.610Z] Step 10/10 : RUN go mod download [2021-06-25T12:31:39.610Z] ---> Running in 63da1b49d4e7 [2021-06-25T12:31:51.860Z] Removing intermediate container 63da1b49d4e7 [2021-06-25T12:31:51.860Z] ---> 8cc7707a4c2a [2021-06-25T12:31:51.860Z] Successfully built 8cc7707a4c2a [2021-06-25T12:31:51.860Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:31:52.167Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T12:31:52.167Z] . [Pipeline] withDockerContainer [2021-06-25T12:31:52.251Z] prd-centos7-docker-4c-2g-81 does not seem to be running inside a container [2021-06-25T12:31:52.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T12:31:52.614Z] $ docker top 891fbd35a7b30d403c5256c8957eb8391d1eb07909fc4f979e5429ec6f348509 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T12:31:53.011Z] + go version [2021-06-25T12:31:53.011Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-25T12:31:53.010Z] $ docker stop --time=1 891fbd35a7b30d403c5256c8957eb8391d1eb07909fc4f979e5429ec6f348509 [2021-06-25T12:31:54.204Z] $ docker rm -f 891fbd35a7b30d403c5256c8957eb8391d1eb07909fc4f979e5429ec6f348509 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:31:54.803Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T12:31:54.803Z] . [Pipeline] withDockerContainer [2021-06-25T12:31:54.879Z] prd-centos7-docker-4c-2g-81 does not seem to be running inside a container [2021-06-25T12:31:54.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T12:31:55.265Z] $ docker top 2678abdd3af802b2f2d6e00f7138d68603a2630ee88f4ba1d176d6c65edc1e0b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T12:31:55.682Z] + go mod tidy [Pipeline] sh [2021-06-25T12:31:56.250Z] + make test [2021-06-25T12:31:56.250Z] go mod tidy [2021-06-25T12:31:56.250Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-25T12:31:56.830Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-25T12:32:11.843Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-25T12:32:11.843Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-06-25T12:32:11.843Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-25T12:32:18.553Z] gofmt -l . [2021-06-25T12:32:18.553Z] [ "`gofmt -l .`" = "" ] [2021-06-25T12:32:18.553Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-25T12:32:18.554Z] $ docker stop --time=1 2678abdd3af802b2f2d6e00f7138d68603a2630ee88f4ba1d176d6c65edc1e0b [2021-06-25T12:32:19.989Z] $ docker rm -f 2678abdd3af802b2f2d6e00f7138d68603a2630ee88f4ba1d176d6c65edc1e0b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T12:32:20.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T12:32:20.621Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-25T12:32:22.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T12:32:22.334Z] + ls -al . [2021-06-25T12:32:22.334Z] total 112 [2021-06-25T12:32:22.334Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 25 12:32 . [2021-06-25T12:32:22.334Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 12:30 .. [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 25 12:30 Attribution.txt [2021-06-25T12:32:22.334Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 25 12:30 bin [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 4658 Jun 25 12:30 CHANGELOG.md [2021-06-25T12:32:22.334Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 25 12:30 cmd [2021-06-25T12:32:22.334Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 25 12:32 coverage.out [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 25 12:30 Dockerfile [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 25 12:30 Dockerfile.build [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 25 12:30 .dockerignore [2021-06-25T12:32:22.334Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 12:31 .git [2021-06-25T12:32:22.334Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 12:30 .github [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 25 12:30 .gitignore [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 223 Jun 25 12:30 go.mod [2021-06-25T12:32:22.334Z] -rw-r--r--. 1 jenkins jenkins 21038 Jun 25 12:31 go.sum [2021-06-25T12:32:22.334Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 25 12:30 internal [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 25 12:30 Jenkinsfile [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 25 12:30 LICENSE [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 25 12:30 Makefile [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 25 12:30 README.md [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 12:29 VERSION [2021-06-25T12:32:22.334Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 25 12:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:32:22.645Z] + 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=d8626894defcb2c2b52710bcc5fb3763afdac6b6 --label arch=amd64 --label version=0.0.0 . [2021-06-25T12:32:22.646Z] Sending build context to Docker daemon 393.2kB [2021-06-25T12:32:22.646Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T12:32:22.646Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-25T12:32:22.646Z] ---> 8cc7707a4c2a [2021-06-25T12:32:22.646Z] Step 3/24 : ARG MAKE='make build' [2021-06-25T12:32:22.646Z] ---> Running in 7ff1344a0e44 [2021-06-25T12:32:22.646Z] Removing intermediate container 7ff1344a0e44 [2021-06-25T12:32:22.646Z] ---> 2b4c4f550080 [2021-06-25T12:32:22.646Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T12:32:22.646Z] ---> Running in ce1c46d9beb1 [2021-06-25T12:32:22.922Z] Removing intermediate container ce1c46d9beb1 [2021-06-25T12:32:22.922Z] ---> 1821eb1c552d [2021-06-25T12:32:22.922Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T12:32:22.922Z] ---> Running in 97aa48833d87 [2021-06-25T12:32:22.922Z] Removing intermediate container 97aa48833d87 [2021-06-25T12:32:22.922Z] ---> bb56b9ffd004 [2021-06-25T12:32:22.922Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T12:32:22.922Z] ---> Running in 85c9b19d6461 [2021-06-25T12:32:23.494Z] Removing intermediate container 85c9b19d6461 [2021-06-25T12:32:23.494Z] ---> f0ef4864f1b9 [2021-06-25T12:32:23.494Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T12:32:23.494Z] ---> Running in 9b4b14ce347e [2021-06-25T12:32:23.754Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T12:32:24.706Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T12:32:24.968Z] OK: 156 MiB in 53 packages [2021-06-25T12:32:25.236Z] Removing intermediate container 9b4b14ce347e [2021-06-25T12:32:25.236Z] ---> 75a16aa73e42 [2021-06-25T12:32:25.236Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-25T12:32:25.236Z] ---> Running in 9915e3f06392 [2021-06-25T12:32:25.236Z] Removing intermediate container 9915e3f06392 [2021-06-25T12:32:25.236Z] ---> bd1c152d1e85 [2021-06-25T12:32:25.236Z] Step 9/24 : COPY . . [2021-06-25T12:32:25.500Z] ---> 6e4a3c4f7f5e [2021-06-25T12:32:25.500Z] Step 10/24 : RUN go mod tidy [2021-06-25T12:32:25.500Z] ---> Running in 5b14b495763b [2021-06-25T12:32:26.090Z] Removing intermediate container 5b14b495763b [2021-06-25T12:32:26.090Z] ---> 0b1cb02b4dfb [2021-06-25T12:32:26.090Z] Step 11/24 : RUN make update [2021-06-25T12:32:26.090Z] ---> Running in b7349b3e7fc1 [2021-06-25T12:32:26.354Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-25T12:32:26.615Z] Removing intermediate container b7349b3e7fc1 [2021-06-25T12:32:26.615Z] ---> b473461e8526 [2021-06-25T12:32:26.615Z] Step 12/24 : RUN ${MAKE} [2021-06-25T12:32:26.615Z] ---> Running in b6832c9189cc [2021-06-25T12:32:26.882Z] go mod tidy [2021-06-25T12:32:27.150Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-25T12:32:39.498Z] Removing intermediate container b6832c9189cc [2021-06-25T12:32:39.498Z] ---> eb7bba945934 [2021-06-25T12:32:39.498Z] Step 13/24 : FROM alpine:3.12 [2021-06-25T12:32:39.498Z] 3.12: Pulling from library/alpine [2021-06-25T12:32:39.498Z] 339de151aab4: Pulling fs layer [2021-06-25T12:32:39.498Z] 339de151aab4: Verifying Checksum [2021-06-25T12:32:39.498Z] 339de151aab4: Download complete [2021-06-25T12:32:39.498Z] 339de151aab4: Pull complete [2021-06-25T12:32:39.498Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T12:32:39.498Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T12:32:39.498Z] ---> 13621d1b12d4 [2021-06-25T12:32:39.498Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-25T12:32:39.498Z] ---> Running in 59ce629792be [2021-06-25T12:32:39.762Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-25T12:32:40.029Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-25T12:32:40.029Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-25T12:32:40.029Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-25T12:32:40.029Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-25T12:32:40.029Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-25T12:32:40.029Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-25T12:32:40.029Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-25T12:32:40.029Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T12:32:40.029Z] OK: 8 MiB in 20 packages [2021-06-25T12:32:40.305Z] Removing intermediate container 59ce629792be [2021-06-25T12:32:40.305Z] ---> de0195c5f730 [2021-06-25T12:32:40.305Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-25T12:32:40.882Z] ---> 5e5a46723aa1 [2021-06-25T12:32:40.882Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-25T12:32:40.882Z] ---> d168256d57b9 [2021-06-25T12:32:40.882Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-25T12:32:41.152Z] ---> 3d68248faadc [2021-06-25T12:32:41.152Z] Step 18/24 : EXPOSE 59993 [2021-06-25T12:32:41.152Z] ---> Running in b6253e8ec0df [2021-06-25T12:32:41.152Z] Removing intermediate container b6253e8ec0df [2021-06-25T12:32:41.152Z] ---> af869b36e475 [2021-06-25T12:32:41.152Z] Step 19/24 : EXPOSE 161 [2021-06-25T12:32:41.152Z] ---> Running in e904636120ed [2021-06-25T12:32:41.414Z] Removing intermediate container e904636120ed [2021-06-25T12:32:41.414Z] ---> 7a78ab5a1303 [2021-06-25T12:32:41.414Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-25T12:32:41.414Z] ---> Running in 43c048040fdc [2021-06-25T12:32:41.414Z] Removing intermediate container 43c048040fdc [2021-06-25T12:32:41.414Z] ---> f7739bac8faf [2021-06-25T12:32:41.414Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-25T12:32:41.414Z] ---> Running in e52fe03a9c1c [2021-06-25T12:32:41.676Z] Removing intermediate container e52fe03a9c1c [2021-06-25T12:32:41.676Z] ---> 3b68047b821a [2021-06-25T12:32:41.676Z] Step 22/24 : LABEL arch=amd64 [2021-06-25T12:32:41.676Z] ---> Running in 5d70e65e644b [2021-06-25T12:32:41.676Z] Removing intermediate container 5d70e65e644b [2021-06-25T12:32:41.676Z] ---> 7bd108c63231 [2021-06-25T12:32:41.676Z] Step 23/24 : LABEL git_sha=d8626894defcb2c2b52710bcc5fb3763afdac6b6 [2021-06-25T12:32:41.676Z] ---> Running in a9a9fe19bd03 [2021-06-25T12:32:41.938Z] Removing intermediate container a9a9fe19bd03 [2021-06-25T12:32:41.938Z] ---> 0591dc8d6185 [2021-06-25T12:32:41.938Z] Step 24/24 : LABEL version=0.0.0 [2021-06-25T12:32:41.938Z] ---> Running in a2c35fcffea8 [2021-06-25T12:32:41.938Z] Removing intermediate container a2c35fcffea8 [2021-06-25T12:32:41.938Z] ---> 4a20c3fc6aeb [2021-06-25T12:32:41.938Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-25T12:32:41.938Z] Successfully built 4a20c3fc6aeb [2021-06-25T12:32:41.938Z] 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 [2021-06-25T12:32:42.703Z] ---> job-cost.sh [2021-06-25T12:32:42.703Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7yXq [2021-06-25T12:32:52.738Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T12:33:04.997Z] lf-activate-venv(): INFO: Adding /tmp/venv-7yXq/bin to PATH [2021-06-25T12:33:04.997Z] INFO: No Stack... [2021-06-25T12:33:04.997Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T12:33:05.569Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T12:33:05.891Z] + cat /w/workspace/device-snmp-go/3/archives/cost.csv [2021-06-25T12:33:05.891Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T12:33:05.921Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-3-stack-cost] [2021-06-25T12:33:05.929Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-3-stack-cost] did not exist. Created. [2021-06-25T12:33:05.929Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T12:33:06.268Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-25T12:33:06.328Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T12:33:06.341Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-25T12:33:18.816Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-83 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-25T12:33:18.842Z] Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout [2021-06-25T12:33:19.167Z] Selected Git installation does not exist. Using Default [2021-06-25T12:33:19.168Z] The recommended git tool is: NONE [2021-06-25T12:33:24.478Z] using credential edgex-jenkins-ssh [2021-06-25T12:33:24.497Z] Cloning the remote Git repository [2021-06-25T12:33:24.520Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:33:24.622Z] > git init /w/workspace/device-snmp-go/3 # timeout=10 [2021-06-25T12:33:24.783Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:33:24.784Z] > git --version # timeout=10 [2021-06-25T12:33:24.804Z] > git --version # 'git version 2.17.1' [2021-06-25T12:33:24.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:33:24.910Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T12:33:26.265Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit d8626894defcb2c2b52710bcc5fb3763afdac6b6 [2021-06-25T12:33:26.458Z] Merge succeeded, producing d8626894defcb2c2b52710bcc5fb3763afdac6b6 [2021-06-25T12:33:26.458Z] Checking out Revision d8626894defcb2c2b52710bcc5fb3763afdac6b6 (PR-116) [2021-06-25T12:33:25.602Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-25T12:33:25.628Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T12:33:25.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-25T12:33:25.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:33:25.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:33:25.693Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T12:33:26.254Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T12:33:26.271Z] > git checkout -f d8626894defcb2c2b52710bcc5fb3763afdac6b6 # timeout=10 [2021-06-25T12:33:26.347Z] > git remote # timeout=10 [2021-06-25T12:33:26.364Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T12:33:26.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:33:26.388Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-25T12:33:26.412Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T12:33:26.435Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T12:33:26.450Z] > git checkout -f d8626894defcb2c2b52710bcc5fb3763afdac6b6 # timeout=10 [2021-06-25T12:33:30.765Z] Commit message: "docs: add Changelog for Ireland release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T12:33:32.037Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-25T12:33:32.455Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T12:33:32.797Z] + sudo service docker restart [2021-06-25T12:33:32.797Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T12:33:51.131Z] provisioning config files... [2021-06-25T12:33:51.160Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config7702048489601081048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:33:51.534Z] ---> docker-login.sh [2021-06-25T12:33:51.534Z] nexus3.edgexfoundry.org:10001 [2021-06-25T12:33:52.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:33:52.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:33:52.732Z] Configure a credential helper to remove this warning. See [2021-06-25T12:33:52.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:33:52.732Z] [2021-06-25T12:33:52.732Z] Login Succeeded [2021-06-25T12:33:52.732Z] nexus3.edgexfoundry.org:10002 [2021-06-25T12:33:53.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:33:53.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:33:53.287Z] Configure a credential helper to remove this warning. See [2021-06-25T12:33:53.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:33:53.287Z] [2021-06-25T12:33:53.287Z] Login Succeeded [2021-06-25T12:33:53.287Z] nexus3.edgexfoundry.org:10003 [2021-06-25T12:33:53.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:33:53.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:33:53.848Z] Configure a credential helper to remove this warning. See [2021-06-25T12:33:53.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:33:53.848Z] [2021-06-25T12:33:53.848Z] Login Succeeded [2021-06-25T12:33:53.848Z] nexus3.edgexfoundry.org:10004 [2021-06-25T12:33:54.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:33:54.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:33:54.444Z] Configure a credential helper to remove this warning. See [2021-06-25T12:33:54.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:33:54.444Z] [2021-06-25T12:33:54.444Z] Login Succeeded [2021-06-25T12:33:54.444Z] docker.io [2021-06-25T12:33:54.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:33:55.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:33:55.318Z] Configure a credential helper to remove this warning. See [2021-06-25T12:33:55.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:33:55.318Z] [2021-06-25T12:33:55.318Z] Login Succeeded [2021-06-25T12:33:55.318Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T12:33:55.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T12:33:55.698Z] ========================================================= [2021-06-25T12:33:55.699Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-25T12:33:55.699Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:33:56.043Z] + 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 . [2021-06-25T12:33:56.319Z] Sending build context to Docker daemon 384kB [2021-06-25T12:33:56.593Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T12:33:56.593Z] Step 2/10 : FROM ${BASE} [2021-06-25T12:33:56.593Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-25T12:33:56.593Z] 595b0fe564bb: Pulling fs layer [2021-06-25T12:33:56.593Z] 3088b5b3c5c0: Pulling fs layer [2021-06-25T12:33:56.593Z] 5b7225fbf94c: Pulling fs layer [2021-06-25T12:33:56.593Z] ba82ee9f976e: Pulling fs layer [2021-06-25T12:33:56.593Z] 506bd15cee9f: Pulling fs layer [2021-06-25T12:33:56.593Z] 75a0a4a0db45: Pulling fs layer [2021-06-25T12:33:56.593Z] 618dc40b7e24: Pulling fs layer [2021-06-25T12:33:56.593Z] ba82ee9f976e: Waiting [2021-06-25T12:33:56.593Z] 506bd15cee9f: Waiting [2021-06-25T12:33:56.593Z] 75a0a4a0db45: Waiting [2021-06-25T12:33:56.593Z] 618dc40b7e24: Waiting [2021-06-25T12:33:56.868Z] 5b7225fbf94c: Download complete [2021-06-25T12:33:56.868Z] 3088b5b3c5c0: Download complete [2021-06-25T12:33:56.868Z] 506bd15cee9f: Download complete [2021-06-25T12:33:56.868Z] 75a0a4a0db45: Verifying Checksum [2021-06-25T12:33:56.868Z] 75a0a4a0db45: Download complete [2021-06-25T12:33:56.868Z] 595b0fe564bb: Verifying Checksum [2021-06-25T12:33:56.868Z] 595b0fe564bb: Download complete [2021-06-25T12:33:57.469Z] 595b0fe564bb: Pull complete [2021-06-25T12:33:58.460Z] 3088b5b3c5c0: Pull complete [2021-06-25T12:33:58.735Z] 5b7225fbf94c: Pull complete [2021-06-25T12:33:59.009Z] 618dc40b7e24: Verifying Checksum [2021-06-25T12:33:59.009Z] 618dc40b7e24: Download complete [2021-06-25T12:34:00.991Z] ba82ee9f976e: Verifying Checksum [2021-06-25T12:34:00.991Z] ba82ee9f976e: Download complete [2021-06-25T12:34:11.160Z] ba82ee9f976e: Pull complete [2021-06-25T12:34:11.160Z] 506bd15cee9f: Pull complete [2021-06-25T12:34:11.439Z] 75a0a4a0db45: Pull complete [2021-06-25T12:34:15.753Z] 618dc40b7e24: Pull complete [2021-06-25T12:34:15.753Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-25T12:34:15.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-25T12:34:15.753Z] ---> a36622ca3599 [2021-06-25T12:34:15.753Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T12:34:17.269Z] ---> Running in 6c9ec1248858 [2021-06-25T12:34:17.871Z] Removing intermediate container 6c9ec1248858 [2021-06-25T12:34:17.871Z] ---> 4c25e491ddcc [2021-06-25T12:34:17.871Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T12:34:18.149Z] ---> Running in f7e770567c6b [2021-06-25T12:34:18.421Z] Removing intermediate container f7e770567c6b [2021-06-25T12:34:18.421Z] ---> f69682181ce3 [2021-06-25T12:34:18.421Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-25T12:34:18.706Z] ---> Running in 1b54e851de3a [2021-06-25T12:34:19.306Z] Removing intermediate container 1b54e851de3a [2021-06-25T12:34:19.307Z] ---> 8f43221c6719 [2021-06-25T12:34:19.307Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T12:34:19.307Z] ---> Running in b44e23d60c7c [2021-06-25T12:34:21.941Z] Removing intermediate container b44e23d60c7c [2021-06-25T12:34:21.941Z] ---> 12f818d536b5 [2021-06-25T12:34:21.941Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T12:34:21.941Z] ---> Running in fa2c92360107 [2021-06-25T12:34:22.925Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T12:34:24.351Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T12:34:26.323Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-25T12:34:26.323Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-25T12:34:26.323Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-25T12:34:26.597Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-25T12:34:26.597Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-25T12:34:26.869Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-25T12:34:26.869Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-25T12:34:30.252Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-25T12:34:30.252Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-25T12:34:30.252Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-25T12:34:30.845Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-25T12:34:31.438Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-25T12:34:31.714Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-25T12:34:31.714Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T12:34:31.987Z] OK: 145 MiB in 53 packages [2021-06-25T12:34:33.422Z] Removing intermediate container fa2c92360107 [2021-06-25T12:34:33.422Z] ---> c2ab18427ec6 [2021-06-25T12:34:33.422Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-25T12:34:33.422Z] ---> Running in c97ac0541394 [2021-06-25T12:34:34.016Z] Removing intermediate container c97ac0541394 [2021-06-25T12:34:34.016Z] ---> df7ba21d4a51 [2021-06-25T12:34:34.016Z] Step 9/10 : COPY . . [2021-06-25T12:34:34.998Z] ---> 8eb61627095c [2021-06-25T12:34:34.998Z] Step 10/10 : RUN go mod download [2021-06-25T12:34:34.998Z] ---> Running in 153b6fa6f24b [2021-06-25T12:35:01.806Z] Removing intermediate container 153b6fa6f24b [2021-06-25T12:35:01.806Z] ---> 8e6ee7202cde [2021-06-25T12:35:01.806Z] Successfully built 8e6ee7202cde [2021-06-25T12:35:01.806Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:35:02.150Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T12:35:02.150Z] . [Pipeline] withDockerContainer [2021-06-25T12:35:02.382Z] prd-ubuntu18.04-docker-arm64-4c-16g-83 does not seem to be running inside a container [2021-06-25T12:35:02.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T12:35:03.913Z] $ docker top 042fb8eeb9dea34da39842be27b524d9f7be1e231d83f3184198252fd58df74c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T12:35:04.914Z] + go version [2021-06-25T12:35:04.914Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-25T12:35:04.909Z] $ docker stop --time=1 042fb8eeb9dea34da39842be27b524d9f7be1e231d83f3184198252fd58df74c [2021-06-25T12:35:06.673Z] $ docker rm -f 042fb8eeb9dea34da39842be27b524d9f7be1e231d83f3184198252fd58df74c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:35:07.413Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T12:35:07.413Z] . [Pipeline] withDockerContainer [2021-06-25T12:35:07.645Z] prd-ubuntu18.04-docker-arm64-4c-16g-83 does not seem to be running inside a container [2021-06-25T12:35:07.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T12:35:09.203Z] $ docker top 02d793f147ddba863f8376b8b9fc2a26ab8d36f6e090fa9dd0939e442b168aed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T12:35:10.221Z] + go mod tidy [Pipeline] sh [2021-06-25T12:35:11.496Z] + make test [2021-06-25T12:35:11.496Z] go mod tidy [2021-06-25T12:35:11.774Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-25T12:35:12.761Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-25T12:36:09.344Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-25T12:36:09.344Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.031s coverage: 0.0% of statements [2021-06-25T12:36:09.344Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-25T12:36:27.705Z] gofmt -l . [2021-06-25T12:36:27.705Z] [ "`gofmt -l .`" = "" ] [2021-06-25T12:36:27.705Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-25T12:36:27.701Z] $ docker stop --time=1 02d793f147ddba863f8376b8b9fc2a26ab8d36f6e090fa9dd0939e442b168aed [2021-06-25T12:36:29.776Z] $ docker rm -f 02d793f147ddba863f8376b8b9fc2a26ab8d36f6e090fa9dd0939e442b168aed [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T12:36:30.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T12:36:30.680Z] Warning: overwriting stash ‘coverage-report’ [2021-06-25T12:36:31.141Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T12:36:31.635Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T12:36:31.973Z] + ls -al . [2021-06-25T12:36:31.974Z] total 136 [2021-06-25T12:36:31.974Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 25 12:36 . [2021-06-25T12:36:31.974Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 12:33 .. [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 25 12:33 .dockerignore [2021-06-25T12:36:31.974Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 12:33 .git [2021-06-25T12:36:31.974Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 12:33 .github [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 25 12:33 .gitignore [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 25 12:33 Attribution.txt [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 4658 Jun 25 12:33 CHANGELOG.md [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 25 12:33 Dockerfile [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 25 12:33 Dockerfile.build [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 25 12:33 Jenkinsfile [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 12:33 LICENSE [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 25 12:33 Makefile [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 25 12:33 README.md [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 12:29 VERSION [2021-06-25T12:36:31.974Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 12:33 bin [2021-06-25T12:36:31.974Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 12:33 cmd [2021-06-25T12:36:31.974Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 25 12:36 coverage.out [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 223 Jun 25 12:33 go.mod [2021-06-25T12:36:31.974Z] -rw-r--r-- 1 jenkins jenkins 21038 Jun 25 12:35 go.sum [2021-06-25T12:36:31.974Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 12:33 internal [2021-06-25T12:36:31.974Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 25 12:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:36:32.319Z] + 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=d8626894defcb2c2b52710bcc5fb3763afdac6b6 --label arch=arm64 --label version=0.0.0 . [2021-06-25T12:36:32.592Z] Sending build context to Docker daemon 392.2kB [2021-06-25T12:36:32.871Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T12:36:32.871Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-25T12:36:32.871Z] ---> 8e6ee7202cde [2021-06-25T12:36:32.872Z] Step 3/24 : ARG MAKE='make build' [2021-06-25T12:36:32.872Z] ---> Running in e2ad8696e827 [2021-06-25T12:36:33.490Z] Removing intermediate container e2ad8696e827 [2021-06-25T12:36:33.490Z] ---> 14d0daca3ad8 [2021-06-25T12:36:33.490Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T12:36:33.490Z] ---> Running in 2db17d28f11c [2021-06-25T12:36:34.115Z] Removing intermediate container 2db17d28f11c [2021-06-25T12:36:34.115Z] ---> acf791e0f811 [2021-06-25T12:36:34.115Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T12:36:34.403Z] ---> Running in 115a676c1c56 [2021-06-25T12:36:35.024Z] Removing intermediate container 115a676c1c56 [2021-06-25T12:36:35.024Z] ---> 336f6a091397 [2021-06-25T12:36:35.024Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T12:36:35.024Z] ---> Running in 8277375ef904 [2021-06-25T12:36:37.026Z] Removing intermediate container 8277375ef904 [2021-06-25T12:36:37.026Z] ---> 56f26c7f241d [2021-06-25T12:36:37.026Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T12:36:37.301Z] ---> Running in 4601efd23d1c [2021-06-25T12:36:38.333Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T12:36:39.313Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T12:36:40.768Z] OK: 145 MiB in 53 packages [2021-06-25T12:36:41.364Z] Removing intermediate container 4601efd23d1c [2021-06-25T12:36:41.364Z] ---> 3865f8532d36 [2021-06-25T12:36:41.364Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-25T12:36:41.638Z] ---> Running in dd508f57fefd [2021-06-25T12:36:42.240Z] Removing intermediate container dd508f57fefd [2021-06-25T12:36:42.240Z] ---> e5d9e8fa619b [2021-06-25T12:36:42.240Z] Step 9/24 : COPY . . [2021-06-25T12:36:43.227Z] ---> 273cac2fc64b [2021-06-25T12:36:43.227Z] Step 10/24 : RUN go mod tidy [2021-06-25T12:36:43.227Z] ---> Running in 638c2b179206 [2021-06-25T12:36:45.846Z] Removing intermediate container 638c2b179206 [2021-06-25T12:36:45.846Z] ---> a27a661ea970 [2021-06-25T12:36:45.846Z] Step 11/24 : RUN make update [2021-06-25T12:36:46.121Z] ---> Running in cb5963a07a17 [2021-06-25T12:36:47.101Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-25T12:36:48.532Z] Removing intermediate container cb5963a07a17 [2021-06-25T12:36:48.532Z] ---> 3c99aad61300 [2021-06-25T12:36:48.532Z] Step 12/24 : RUN ${MAKE} [2021-06-25T12:36:48.532Z] ---> Running in aede745859a2 [2021-06-25T12:36:49.526Z] go mod tidy [2021-06-25T12:36:50.127Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-25T12:37:29.171Z] Removing intermediate container aede745859a2 [2021-06-25T12:37:29.171Z] ---> b2b595775002 [2021-06-25T12:37:29.171Z] Step 13/24 : FROM alpine:3.12 [2021-06-25T12:37:29.171Z] 3.12: Pulling from library/alpine [2021-06-25T12:37:29.171Z] d2f70382dc9a: Pulling fs layer [2021-06-25T12:37:29.171Z] d2f70382dc9a: Download complete [2021-06-25T12:37:29.171Z] d2f70382dc9a: Pull complete [2021-06-25T12:37:29.171Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T12:37:29.171Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T12:37:29.171Z] ---> c4fd0aeabfcf [2021-06-25T12:37:29.171Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-25T12:37:29.171Z] ---> Running in df7ce75fb850 [2021-06-25T12:37:29.171Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-25T12:37:29.171Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-25T12:37:29.171Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-25T12:37:29.171Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-25T12:37:29.171Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-25T12:37:29.171Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-25T12:37:29.171Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-25T12:37:29.171Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-25T12:37:29.171Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T12:37:29.171Z] OK: 8 MiB in 20 packages [2021-06-25T12:37:30.149Z] Removing intermediate container df7ce75fb850 [2021-06-25T12:37:30.149Z] ---> 2725c4ebd31b [2021-06-25T12:37:30.149Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-25T12:37:31.587Z] ---> 74da05475d53 [2021-06-25T12:37:31.587Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-25T12:37:32.182Z] ---> 4507bf244acd [2021-06-25T12:37:32.183Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-25T12:37:32.778Z] ---> c5d8827b9a60 [2021-06-25T12:37:32.778Z] Step 18/24 : EXPOSE 59993 [2021-06-25T12:37:33.051Z] ---> Running in 7e064178b62a [2021-06-25T12:37:33.327Z] Removing intermediate container 7e064178b62a [2021-06-25T12:37:33.327Z] ---> 61a0d9fbc2f8 [2021-06-25T12:37:33.327Z] Step 19/24 : EXPOSE 161 [2021-06-25T12:37:33.600Z] ---> Running in f24b958b4433 [2021-06-25T12:37:34.193Z] Removing intermediate container f24b958b4433 [2021-06-25T12:37:34.193Z] ---> dcc5b30a14db [2021-06-25T12:37:34.194Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-25T12:37:34.194Z] ---> Running in 1f43f4a077dd [2021-06-25T12:37:34.470Z] Removing intermediate container 1f43f4a077dd [2021-06-25T12:37:34.470Z] ---> 1c374e90a905 [2021-06-25T12:37:34.470Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-25T12:37:34.743Z] ---> Running in f01ca9d28685 [2021-06-25T12:37:35.017Z] Removing intermediate container f01ca9d28685 [2021-06-25T12:37:35.017Z] ---> 9a6ee9433052 [2021-06-25T12:37:35.017Z] Step 22/24 : LABEL arch=arm64 [2021-06-25T12:37:35.288Z] ---> Running in 3f2b281a7477 [2021-06-25T12:37:35.896Z] Removing intermediate container 3f2b281a7477 [2021-06-25T12:37:35.896Z] ---> eb8926370ba3 [2021-06-25T12:37:35.896Z] Step 23/24 : LABEL git_sha=d8626894defcb2c2b52710bcc5fb3763afdac6b6 [2021-06-25T12:37:35.896Z] ---> Running in 82c098e9dff0 [2021-06-25T12:37:36.167Z] Removing intermediate container 82c098e9dff0 [2021-06-25T12:37:36.167Z] ---> 8b1db7ef9731 [2021-06-25T12:37:36.167Z] Step 24/24 : LABEL version=0.0.0 [2021-06-25T12:37:36.440Z] ---> Running in bfe782b27a13 [2021-06-25T12:37:36.711Z] Removing intermediate container bfe782b27a13 [2021-06-25T12:37:36.711Z] ---> 5ed804826f2c [2021-06-25T12:37:36.711Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-25T12:37:36.980Z] Successfully built 5ed804826f2c [2021-06-25T12:37:36.980Z] 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 [2021-06-25T12:37:37.592Z] ---> job-cost.sh [2021-06-25T12:37:37.592Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tue0 [2021-06-25T12:38:16.552Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T12:39:38.306Z] lf-activate-venv(): INFO: Adding /tmp/venv-tue0/bin to PATH [2021-06-25T12:39:38.306Z] INFO: No Stack... [2021-06-25T12:39:39.280Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-25T12:39:39.551Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T12:39:39.889Z] + cat /w/workspace/device-snmp-go/3/archives/cost.csv [2021-06-25T12:39:39.889Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T12:39:39.948Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-3-stack-cost] [2021-06-25T12:39:39.957Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-3-stack-cost] did not exist. Created. [2021-06-25T12:39:39.957Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T12:39:40.323Z] /w/workspace/device-snmp-go/3@tmp/durable-88cb214a/script.sh: 1: /w/workspace/device-snmp-go/3@tmp/durable-88cb214a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-25T12:39:40.664Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-25T12:39:40.688Z] Warning: overwriting stash ‘stack-cost’ [2021-06-25T12:39:40.829Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T12:39:40.842Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-3-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 [2021-06-25T12:39:41.378Z] provisioning config files... [2021-06-25T12:39:41.387Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config2827214143977058207tmp [Pipeline] { [Pipeline] sh [2021-06-25T12:39:41.713Z] + set +x [2021-06-25T12:39:41.713Z] + curl -s https://codecov.io/bash [2021-06-25T12:39:41.713Z] + bash -s -- [2021-06-25T12:39:41.713Z] [2021-06-25T12:39:41.713Z] _____ _ [2021-06-25T12:39:41.713Z] / ____| | | [2021-06-25T12:39:41.713Z] | | ___ __| | ___ ___ _____ __ [2021-06-25T12:39:41.713Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-25T12:39:41.713Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-25T12:39:41.713Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-25T12:39:41.713Z] Bash-1.0.3 [2021-06-25T12:39:41.713Z] [2021-06-25T12:39:41.713Z] [2021-06-25T12:39:41.713Z] ==> git version 2.24.4 found [2021-06-25T12:39:41.713Z] ==> 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 [2021-06-25T12:39:41.713Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-25T12:39:41.713Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-25T12:39:41.713Z] ==> Jenkins CI detected. [2021-06-25T12:39:41.713Z] project root: . [2021-06-25T12:39:41.713Z] --> token set from env [2021-06-25T12:39:41.713Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-25T12:39:41.713Z] ==> Running gcov in . (disable via -X gcov) [2021-06-25T12:39:41.713Z] ==> Python coveragepy not found [2021-06-25T12:39:41.713Z] ==> Searching for coverage reports in: [2021-06-25T12:39:41.713Z] + . [2021-06-25T12:39:41.713Z] -> Found 1 reports [2021-06-25T12:39:41.713Z] ==> Detecting git/mercurial file structure [2021-06-25T12:39:41.713Z] ==> Reading reports [2021-06-25T12:39:41.713Z] + ./coverage.out bytes=7631 [2021-06-25T12:39:41.713Z] ==> Appending adjustments [2021-06-25T12:39:41.713Z] https://docs.codecov.io/docs/fixing-reports [2021-06-25T12:39:41.975Z] + Found adjustments [2021-06-25T12:39:41.975Z] ==> Gzipping contents [2021-06-25T12:39:41.975Z] 4.0K /tmp/codecov.wnTtph.gz [2021-06-25T12:39:41.975Z] ==> Uploading reports [2021-06-25T12:39:41.975Z] url: https://codecov.io [2021-06-25T12:39:41.975Z] query: branch=PR-116&commit=d8626894defcb2c2b52710bcc5fb3763afdac6b6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-25T12:39:41.975Z] -> Pinging Codecov [2021-06-25T12:39:41.975Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-116&commit=d8626894defcb2c2b52710bcc5fb3763afdac6b6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-25T12:39:42.239Z] -> Uploading to [2021-06-25T12:39:42.239Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-25/6C56EA5C29638FB4528AC87E60AF5AE0/d8626894defcb2c2b52710bcc5fb3763afdac6b6/1fc24d08-42b7-43d1-84a6-8de84fbca062.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210625%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210625T123942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a28d331845b66be845840d13b89ec9bca787c8e3eefb2cbd12d7233d95046359 [2021-06-25T12:39:42.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-25T12:39:42.503Z] Dload Upload Total Spent Left Speed [2021-06-25T12:39:42.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 4173 --:--:-- --:--:-- --:--:-- 4163 100 1378 0 0 100 1378 0 4171 --:--:-- --:--:-- --:--:-- 4163 [2021-06-25T12:39:42.766Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/d8626894defcb2c2b52710bcc5fb3763afdac6b6 [Pipeline] } [2021-06-25T12:39:42.786Z] 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 [2021-06-25T12:39:44.207Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:39:44.792Z] ---> package-listing.sh [2021-06-25T12:39:44.792Z] ++ facter osfamily [2021-06-25T12:39:44.792Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-25T12:39:45.057Z] + OS_FAMILY=redhat [2021-06-25T12:39:45.057Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-25T12:39:45.057Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-25T12:39:45.057Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-25T12:39:45.057Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-25T12:39:45.057Z] + PACKAGES=/tmp/packages_start.txt [2021-06-25T12:39:45.057Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-25T12:39:45.057Z] + PACKAGES=/tmp/packages_end.txt [2021-06-25T12:39:45.057Z] + case "${OS_FAMILY}" in [2021-06-25T12:39:45.057Z] + rpm -qa [2021-06-25T12:39:45.057Z] + sort [2021-06-25T12:39:45.631Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-25T12:39:45.631Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-25T12:39:45.631Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-25T12:39:45.631Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-25T12:39:45.631Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-116/archives/ [2021-06-25T12:39:45.631Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-116/archives/ [Pipeline] echo [2021-06-25T12:39:45.648Z] 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-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-25T12:39:45.944Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:39:46.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T12:39:46.525Z] [2021-06-25T12:39:46.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:39:46.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T12:39:46.852Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-25T12:39:46.852Z] df20fa9351a1: Pulling fs layer [2021-06-25T12:39:46.852Z] 36b3adc4ff6f: Pulling fs layer [2021-06-25T12:39:46.852Z] 8ad3a11d3b57: Pulling fs layer [2021-06-25T12:39:46.852Z] 46f8f816bc3b: Pulling fs layer [2021-06-25T12:39:46.852Z] 93b61091891f: Pulling fs layer [2021-06-25T12:39:46.852Z] 93b9cdb0e59b: Pulling fs layer [2021-06-25T12:39:46.852Z] 5e14af77c1be: Pulling fs layer [2021-06-25T12:39:46.852Z] 01666e4c0597: Pulling fs layer [2021-06-25T12:39:46.852Z] aa168da1d23b: Pulling fs layer [2021-06-25T12:39:46.852Z] 46f8f816bc3b: Waiting [2021-06-25T12:39:46.852Z] 93b61091891f: Waiting [2021-06-25T12:39:46.852Z] 93b9cdb0e59b: Waiting [2021-06-25T12:39:46.852Z] 5e14af77c1be: Waiting [2021-06-25T12:39:46.852Z] 01666e4c0597: Waiting [2021-06-25T12:39:46.852Z] aa168da1d23b: Waiting [2021-06-25T12:39:46.852Z] 36b3adc4ff6f: Verifying Checksum [2021-06-25T12:39:46.852Z] 36b3adc4ff6f: Download complete [2021-06-25T12:39:46.852Z] 46f8f816bc3b: Verifying Checksum [2021-06-25T12:39:46.852Z] 46f8f816bc3b: Download complete [2021-06-25T12:39:46.852Z] df20fa9351a1: Verifying Checksum [2021-06-25T12:39:46.852Z] df20fa9351a1: Download complete [2021-06-25T12:39:46.852Z] 93b9cdb0e59b: Verifying Checksum [2021-06-25T12:39:46.852Z] 93b9cdb0e59b: Download complete [2021-06-25T12:39:47.122Z] 5e14af77c1be: Verifying Checksum [2021-06-25T12:39:47.122Z] 5e14af77c1be: Download complete [2021-06-25T12:39:47.122Z] 93b61091891f: Verifying Checksum [2021-06-25T12:39:47.122Z] 93b61091891f: Download complete [2021-06-25T12:39:47.122Z] 01666e4c0597: Verifying Checksum [2021-06-25T12:39:47.122Z] 01666e4c0597: Download complete [2021-06-25T12:39:47.122Z] df20fa9351a1: Pull complete [2021-06-25T12:39:47.122Z] 8ad3a11d3b57: Verifying Checksum [2021-06-25T12:39:47.122Z] 8ad3a11d3b57: Download complete [2021-06-25T12:39:47.391Z] 36b3adc4ff6f: Pull complete [2021-06-25T12:39:47.966Z] 8ad3a11d3b57: Pull complete [2021-06-25T12:39:47.966Z] 46f8f816bc3b: Pull complete [2021-06-25T12:39:48.228Z] 93b61091891f: Pull complete [2021-06-25T12:39:48.228Z] 93b9cdb0e59b: Pull complete [2021-06-25T12:39:48.487Z] 5e14af77c1be: Pull complete [2021-06-25T12:39:48.487Z] 01666e4c0597: Pull complete [2021-06-25T12:39:49.069Z] aa168da1d23b: Verifying Checksum [2021-06-25T12:39:49.069Z] aa168da1d23b: Download complete [2021-06-25T12:39:53.304Z] aa168da1d23b: Pull complete [2021-06-25T12:39:53.304Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-25T12:39:53.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T12:39:53.304Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-25T12:39:53.370Z] prd-centos7-docker-4c-2g-79 does not seem to be running inside a container [2021-06-25T12:39:53.403Z] $ 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-116/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-116 -v /w/workspace/gexfoundry_device-snmp-go_PR-116:/w/workspace/gexfoundry_device-snmp-go_PR-116:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-25T12:39:55.383Z] $ docker top b02e240dc8272d84bcf4db4e78469dc93a1b7bab5be0bd9816963a71619f7f55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T12:39:55.759Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-25T12:39:56.056Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-25T12:39:56.354Z] + ls /var/log/sa-host [2021-06-25T12:39:56.354Z] + sadf -c /var/log/sa-host/sa05 [2021-06-25T12:39:56.354Z] file_magic: OK [2021-06-25T12:39:56.354Z] HZ: Using current value: 100 [2021-06-25T12:39:56.354Z] file_header: OK [2021-06-25T12:39:56.354Z] 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 [2021-06-25T12:39:56.354Z] Statistics: [2021-06-25T12:39:56.354Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T12:39:56.354Z] File successfully converted to sysstat format version 12.2.1 [2021-06-25T12:39:56.354Z] + sadf -c /var/log/sa-host/sa25 [2021-06-25T12:39:56.354Z] file_magic: OK [2021-06-25T12:39:56.354Z] HZ: Using current value: 100 [2021-06-25T12:39:56.354Z] file_header: OK [2021-06-25T12:39:56.354Z] 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 [2021-06-25T12:39:56.354Z] Statistics: [2021-06-25T12:39:56.354Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T12:39:56.354Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T12:39:56.554Z] provisioning config files... [2021-06-25T12:39:56.571Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config5823830322733623799tmp [Pipeline] { [Pipeline] echo [2021-06-25T12:39:56.593Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:39:56.888Z] ---> create-netrc.sh [Pipeline] } [2021-06-25T12:39:56.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:39:57.286Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-25T12:39:57.298Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:39:57.596Z] ---> sudo-logs.sh [2021-06-25T12:39:57.596Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-25T12:39:57.642Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:39:57.949Z] ---> job-cost.sh [2021-06-25T12:39:57.950Z] lf-activate-venv: SKIPPING [2021-06-25T12:39:57.950Z] DEBUG: total: 0.18000000715255737 [2021-06-25T12:39:57.950Z] INFO: Retrieving Stack Cost... [2021-06-25T12:39:59.338Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T12:39:59.599Z] INFO: Archiving Costs [Pipeline] echo [2021-06-25T12:39:59.614Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:39:59.926Z] ---> logs-deploy.sh [2021-06-25T12:39:59.926Z] lf-activate-venv: SKIPPING [2021-06-25T12:39:59.926Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-116/3 [2021-06-25T12:39:59.926Z] INFO: archiving workspace using pattern(s): [2021-06-25T12:40:00.873Z] Archives upload complete. [2021-06-25T12:40:00.873Z] INFO: archiving logs to Nexus