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 66018360564ba4aba179fe2ee10e2365c1c77a99+828c04b1f0eb937037ce2076f410b90c0d25fe4c (5da1b7884832c9a99bf36a8d123d6005066bc69b) 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-ssh939773075243252597.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-ssh6497938794708695178.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-ssh3109902306795980476.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-ssh8327216413372249284.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-ssh1580413591856414961.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-340 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-ssh8616846324720134131.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-ssh6167601560454510504.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 66018360564ba4aba179fe2ee10e2365c1c77a99 Merge succeeded, producing 66018360564ba4aba179fe2ee10e2365c1c77a99 Checking out Revision 66018360564ba4aba179fe2ee10e2365c1c77a99 (PR-116) > git config core.sparsecheckout # timeout=10 > git checkout -f 66018360564ba4aba179fe2ee10e2365c1c77a99 # 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-ssh3838991561529147112.key > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 Commit message: "docs: Remove dev churn and add dependency refs" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-27T07:39:49.360Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-27T07:39:49.457Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-27T07:39:49.486Z] ========================================================= [2021-06-27T07:39:49.486Z] EdgeX Global Pipelines Version Info [2021-06-27T07:39:49.486Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e5219133750b379a1257bf2430fb2eeceabfc390 # timeout=10 [2021-06-27T07:39:50.950Z] ------------------- [2021-06-27T07:39:50.950Z] stable info: [2021-06-27T07:39:50.950Z] ------------------- [2021-06-27T07:39:50.950Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-27T07:39:50.950Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:39:50.950Z] Message: update stable to v1.0.195 [2021-06-27T07:39:51.524Z] ------------------- [2021-06-27T07:39:51.524Z] experimental info: [2021-06-27T07:39:51.524Z] ------------------- [2021-06-27T07:39:51.524Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-27T07:39:51.524Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:39:51.524Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-27T07:39:51.653Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-27T07:39:51.681Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-27T07:39:51.733Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-27T07:39:51.761Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-27T07:39:51.784Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-27T07:39:51.807Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-27T07:39:51.829Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-27T07:39:51.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-27T07:39:51.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-27T07:39:51.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-27T07:39:51.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-27T07:39:51.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-27T07:39:51.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-27T07:39:51.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-27T07:39:52.015Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:39:52.038Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:39:52.062Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:39:52.085Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:39:52.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-27T07:39:52.133Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-27T07:39:52.157Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-27T07:39:52.181Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-27T07:39:52.238Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-27T07:39:52.269Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-27T07:39:52.298Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-27T07:39:52.344Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-27T07:39:52.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo [2021-06-27T07:39:52.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo [2021-06-27T07:39:52.421Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo [2021-06-27T07:39:52.447Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 66018360564ba4aba179fe2ee10e2365c1c77a99 [Pipeline] echo [2021-06-27T07:39:52.471Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6601836 [Pipeline] echo [2021-06-27T07:39:52.494Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:39:52.588Z] provisioning config files... [2021-06-27T07:39:52.603Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config8064262238936890630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:39:52.987Z] ---> docker-login.sh [2021-06-27T07:39:52.987Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:39:52.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:53.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:53.249Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:53.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:53.249Z] [2021-06-27T07:39:53.249Z] Login Succeeded [2021-06-27T07:39:53.249Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:39:53.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:53.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:53.249Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:53.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:53.249Z] [2021-06-27T07:39:53.249Z] Login Succeeded [2021-06-27T07:39:53.249Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:39:53.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:53.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:53.512Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:53.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:53.512Z] [2021-06-27T07:39:53.512Z] Login Succeeded [2021-06-27T07:39:53.512Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:39:53.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:53.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:53.512Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:53.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:53.512Z] [2021-06-27T07:39:53.512Z] Login Succeeded [2021-06-27T07:39:53.512Z] docker.io [2021-06-27T07:39:53.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:39:54.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:39:54.038Z] Configure a credential helper to remove this warning. See [2021-06-27T07:39:54.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:39:54.038Z] [2021-06-27T07:39:54.038Z] Login Succeeded [2021-06-27T07:39:54.038Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:39:54.047Z] 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-27T07:39:54.561Z] + git log --format=format:%s -1 66018360564ba4aba179fe2ee10e2365c1c77a99 [Pipeline] echo [2021-06-27T07:39:54.618Z] GIT_COMMIT: 66018360564ba4aba179fe2ee10e2365c1c77a99, Commit Message: docs: Remove dev churn and add dependency refs [Pipeline] echo [2021-06-27T07:39:54.632Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:39:55.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:39:55.209Z] [2021-06-27T07:39:55.209Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:39:55.543Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:39:56.121Z] latest: Pulling from edgex-devops/git-semver [2021-06-27T07:39:56.121Z] 31603596830f: Pulling fs layer [2021-06-27T07:39:56.121Z] 54011a49482f: Pulling fs layer [2021-06-27T07:39:56.121Z] a6820b24f6d8: Pulling fs layer [2021-06-27T07:39:56.121Z] f581987b2513: Pulling fs layer [2021-06-27T07:39:56.121Z] f581987b2513: Waiting [2021-06-27T07:39:56.121Z] 54011a49482f: Verifying Checksum [2021-06-27T07:39:56.121Z] 54011a49482f: Download complete [2021-06-27T07:39:56.121Z] 31603596830f: Verifying Checksum [2021-06-27T07:39:56.121Z] 31603596830f: Download complete [2021-06-27T07:39:56.121Z] f581987b2513: Verifying Checksum [2021-06-27T07:39:56.121Z] f581987b2513: Download complete [2021-06-27T07:39:56.385Z] a6820b24f6d8: Verifying Checksum [2021-06-27T07:39:56.385Z] a6820b24f6d8: Download complete [2021-06-27T07:39:56.385Z] 31603596830f: Pull complete [2021-06-27T07:39:56.647Z] 54011a49482f: Pull complete [2021-06-27T07:39:57.595Z] a6820b24f6d8: Pull complete [2021-06-27T07:39:57.595Z] f581987b2513: Pull complete [2021-06-27T07:39:57.855Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-27T07:39:57.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:39:57.855Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-27T07:39:57.932Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2021-06-27T07:39:57.984Z] $ 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-27T07:39:58.909Z] $ docker top db1394b5cf5e90765493a0acc25f282cad53f69d7e116a0bf923fd51c47b179e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-27T07:39:59.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:39:59.039Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:39:59.158Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:39:59.160Z] $ docker exec db1394b5cf5e90765493a0acc25f282cad53f69d7e116a0bf923fd51c47b179e ssh-agent [2021-06-27T07:39:59.278Z] SSH_AUTH_SOCK=/tmp/ssh-AKQSMYM9wOcK/agent.14 [2021-06-27T07:39:59.278Z] SSH_AGENT_PID=20 [2021-06-27T07:39:59.287Z] Running ssh-add (command line suppressed) [2021-06-27T07:39:59.384Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_8424600208227489013.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_8424600208227489013.key) [2021-06-27T07:39:59.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:39:59.725Z] + git tag --points-at HEAD [Pipeline] } [2021-06-27T07:39:59.740Z] $ docker exec --env ******** --env ******** db1394b5cf5e90765493a0acc25f282cad53f69d7e116a0bf923fd51c47b179e ssh-agent -k [2021-06-27T07:39:59.832Z] unset SSH_AUTH_SOCK; [2021-06-27T07:39:59.832Z] unset SSH_AGENT_PID; [2021-06-27T07:39:59.832Z] echo Agent pid 20 killed; [2021-06-27T07:39:59.843Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-27T07:39:59.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:39:59.890Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:39:59.997Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:39:59.999Z] $ docker exec db1394b5cf5e90765493a0acc25f282cad53f69d7e116a0bf923fd51c47b179e ssh-agent [2021-06-27T07:40:00.100Z] SSH_AUTH_SOCK=/tmp/ssh-Ow4nRIsOPc1f/agent.54 [2021-06-27T07:40:00.100Z] SSH_AGENT_PID=61 [2021-06-27T07:40:00.108Z] Running ssh-add (command line suppressed) [2021-06-27T07:40:00.199Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_2221757265989903946.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_2221757265989903946.key) [2021-06-27T07:40:00.215Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:40:00.523Z] + git semver init [2021-06-27T07:40:00.524Z] # -> Open(): unable to determine branch for HEAD [2021-06-27T07:40:00.524Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.git [2021-06-27T07:40:00.524Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-27T07:40:00.524Z] # $SEMVER_REMOTE_NAME = origin [2021-06-27T07:40:00.524Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-27T07:40:00.524Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-27T07:40:00.524Z] # $SEMVER_BRANCH = PR-116 [2021-06-27T07:40:00.524Z] # $SEMVER_TEMP = /tmp/semver-115645717 [2021-06-27T07:40:00.524Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-27T07:40:00.787Z] # '/tmp/semver-115645717' -> '/w/workspace/gexfoundry_device-snmp-go_PR-116/.semver' [2021-06-27T07:40:00.787Z] # -> Force: false [2021-06-27T07:40:00.787Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.semver [Pipeline] } [2021-06-27T07:40:00.798Z] $ docker exec --env ******** --env ******** db1394b5cf5e90765493a0acc25f282cad53f69d7e116a0bf923fd51c47b179e ssh-agent -k [2021-06-27T07:40:00.903Z] unset SSH_AUTH_SOCK; [2021-06-27T07:40:00.903Z] unset SSH_AGENT_PID; [2021-06-27T07:40:00.903Z] echo Agent pid 61 killed; [2021-06-27T07:40:00.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-27T07:40:01.246Z] + git semver [Pipeline] } [2021-06-27T07:40:01.261Z] $ docker stop --time=1 db1394b5cf5e90765493a0acc25f282cad53f69d7e116a0bf923fd51c47b179e [2021-06-27T07:40:02.712Z] $ docker rm -f db1394b5cf5e90765493a0acc25f282cad53f69d7e116a0bf923fd51c47b179e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:40:03.093Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-27T07:40:03.366Z] Stashed 1 file(s) [Pipeline] echo [2021-06-27T07:40:03.370Z] [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-27T07:40:18.604Z] Still waiting to schedule task [2021-06-27T07:40:18.605Z] ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:40:18.605Z] ‘prd-centos7-docker-4c-2g-329’ is offline [2021-06-27T07:40:18.605Z] ‘prd-centos7-docker-4c-2g-333’ is offline [2021-06-27T07:40:18.605Z] ‘prd-centos7-docker-4c-2g-343’ is offline [2021-06-27T07:40:18.606Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-27T07:40:18.606Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:40:18.606Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-330’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:40:18.606Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-341’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:40:18.607Z] Still waiting to schedule task [2021-06-27T07:40:18.607Z] ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:40:18.607Z] ‘prd-centos7-docker-4c-2g-329’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:40:18.607Z] ‘prd-centos7-docker-4c-2g-333’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:40:18.607Z] ‘prd-centos7-docker-4c-2g-343’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:40:18.607Z] ‘prd-centos7-docker-4c-2g-915’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:40:18.608Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-27T07:40:18.608Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-330’ is offline [2021-06-27T07:40:18.608Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-341’ is offline [2021-06-27T07:41:40.791Z] Running on prd-centos7-docker-4c-2g-348 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-27T07:41:40.811Z] Running in /w/workspace/device-snmp-go/5 [Pipeline] { [Pipeline] checkout [2021-06-27T07:41:40.904Z] Selected Git installation does not exist. Using Default [2021-06-27T07:41:40.904Z] The recommended git tool is: NONE [2021-06-27T07:41:43.098Z] using credential edgex-jenkins-ssh [2021-06-27T07:41:43.111Z] Cloning the remote Git repository [2021-06-27T07:41:43.149Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:41:44.310Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 66018360564ba4aba179fe2ee10e2365c1c77a99 [2021-06-27T07:41:43.262Z] > git init /w/workspace/device-snmp-go/5 # timeout=10 [2021-06-27T07:41:43.295Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:41:43.296Z] > git --version # timeout=10 [2021-06-27T07:41:43.308Z] > git --version # 'git version 2.24.4' [2021-06-27T07:41:43.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:41:43.331Z] [INFO] Currently running in a labeled security context [2021-06-27T07:41:43.331Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:41:43.331Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/5@tmp/jenkins-gitclient-ssh584268081327651506.key [2021-06-27T07:41:43.347Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:41:43.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-27T07:41:43.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:41:43.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-27T07:41:43.886Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:41:43.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:41:43.887Z] [INFO] Currently running in a labeled security context [2021-06-27T07:41:43.887Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:41:43.888Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/5@tmp/jenkins-gitclient-ssh8142975309265663612.key [2021-06-27T07:41:43.896Z] > 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-27T07:41:44.318Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:41:44.325Z] > git checkout -f 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 [2021-06-27T07:41:44.407Z] Merge succeeded, producing 66018360564ba4aba179fe2ee10e2365c1c77a99 [2021-06-27T07:41:44.407Z] Checking out Revision 66018360564ba4aba179fe2ee10e2365c1c77a99 (PR-116) [2021-06-27T07:41:44.357Z] > git remote # timeout=10 [2021-06-27T07:41:44.372Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:41:44.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:41:44.385Z] [INFO] Currently running in a labeled security context [2021-06-27T07:41:44.385Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:41:44.385Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/5@tmp/jenkins-gitclient-ssh993715254325511765.key [2021-06-27T07:41:44.390Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-27T07:41:44.398Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:41:44.406Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:41:44.419Z] > git checkout -f 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 [2021-06-27T07:41:47.982Z] Commit message: "docs: Remove dev churn and add dependency refs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:41:49.286Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:41:49.616Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:41:49.918Z] + sudo service docker restart [2021-06-27T07:41:49.919Z] + true [2021-06-27T07:41:49.919Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:42:08.098Z] provisioning config files... [2021-06-27T07:42:08.113Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/5@tmp/config6930343318075137109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:42:08.457Z] ---> docker-login.sh [2021-06-27T07:42:08.457Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:42:09.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:42:09.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:42:09.466Z] Configure a credential helper to remove this warning. See [2021-06-27T07:42:09.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:42:09.466Z] [2021-06-27T07:42:09.466Z] Login Succeeded [2021-06-27T07:42:09.466Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:42:09.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:42:09.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:42:09.466Z] Configure a credential helper to remove this warning. See [2021-06-27T07:42:09.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:42:09.466Z] [2021-06-27T07:42:09.466Z] Login Succeeded [2021-06-27T07:42:09.466Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:42:09.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:42:09.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:42:09.731Z] Configure a credential helper to remove this warning. See [2021-06-27T07:42:09.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:42:09.731Z] [2021-06-27T07:42:09.731Z] Login Succeeded [2021-06-27T07:42:09.731Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:42:09.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:42:09.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:42:09.731Z] Configure a credential helper to remove this warning. See [2021-06-27T07:42:09.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:42:09.731Z] [2021-06-27T07:42:09.731Z] Login Succeeded [2021-06-27T07:42:09.731Z] docker.io [2021-06-27T07:42:09.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:42:10.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:42:10.255Z] Configure a credential helper to remove this warning. See [2021-06-27T07:42:10.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:42:10.255Z] [2021-06-27T07:42:10.255Z] Login Succeeded [2021-06-27T07:42:10.255Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:42:10.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:42:10.433Z] ========================================================= [2021-06-27T07:42:10.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-27T07:42:10.433Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:42:10.750Z] + 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-27T07:42:10.750Z] Sending build context to Docker daemon 391.2kB [2021-06-27T07:42:10.750Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:42:10.750Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:42:11.016Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-27T07:42:11.016Z] 540db60ca938: Pulling fs layer [2021-06-27T07:42:11.016Z] adcc1eea9eea: Pulling fs layer [2021-06-27T07:42:11.016Z] 4c4ab2625f07: Pulling fs layer [2021-06-27T07:42:11.016Z] 0510c868ecb4: Pulling fs layer [2021-06-27T07:42:11.016Z] afea3b2eda06: Pulling fs layer [2021-06-27T07:42:11.016Z] 7809a108b3ef: Pulling fs layer [2021-06-27T07:42:11.016Z] f706445af74f: Pulling fs layer [2021-06-27T07:42:11.016Z] 0510c868ecb4: Waiting [2021-06-27T07:42:11.016Z] afea3b2eda06: Waiting [2021-06-27T07:42:11.016Z] 7809a108b3ef: Waiting [2021-06-27T07:42:11.016Z] f706445af74f: Waiting [2021-06-27T07:42:11.016Z] 4c4ab2625f07: Verifying Checksum [2021-06-27T07:42:11.016Z] 4c4ab2625f07: Download complete [2021-06-27T07:42:11.016Z] adcc1eea9eea: Verifying Checksum [2021-06-27T07:42:11.016Z] adcc1eea9eea: Download complete [2021-06-27T07:42:11.016Z] afea3b2eda06: Verifying Checksum [2021-06-27T07:42:11.016Z] afea3b2eda06: Download complete [2021-06-27T07:42:11.016Z] 7809a108b3ef: Verifying Checksum [2021-06-27T07:42:11.016Z] 7809a108b3ef: Download complete [2021-06-27T07:42:11.016Z] 540db60ca938: Verifying Checksum [2021-06-27T07:42:11.016Z] 540db60ca938: Download complete [2021-06-27T07:42:11.285Z] 540db60ca938: Pull complete [2021-06-27T07:42:11.285Z] adcc1eea9eea: Pull complete [2021-06-27T07:42:11.546Z] 4c4ab2625f07: Pull complete [2021-06-27T07:42:12.489Z] f706445af74f: Verifying Checksum [2021-06-27T07:42:12.489Z] f706445af74f: Download complete [2021-06-27T07:42:12.751Z] 0510c868ecb4: Verifying Checksum [2021-06-27T07:42:12.751Z] 0510c868ecb4: Download complete [2021-06-27T07:42:16.065Z] 0510c868ecb4: Pull complete [2021-06-27T07:42:16.327Z] afea3b2eda06: Pull complete [2021-06-27T07:42:16.327Z] 7809a108b3ef: Pull complete [2021-06-27T07:42:17.719Z] f706445af74f: Pull complete [2021-06-27T07:42:17.719Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-27T07:42:17.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-27T07:42:17.719Z] ---> b068be0155e3 [2021-06-27T07:42:17.719Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:42:24.339Z] ---> Running in 6a0b50a2d282 [2021-06-27T07:42:24.339Z] Removing intermediate container 6a0b50a2d282 [2021-06-27T07:42:24.339Z] ---> c8cc82b588d5 [2021-06-27T07:42:24.339Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:42:24.339Z] ---> Running in 64d9da7bb720 [2021-06-27T07:42:24.339Z] Removing intermediate container 64d9da7bb720 [2021-06-27T07:42:24.339Z] ---> 316e765df72a [2021-06-27T07:42:24.339Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-27T07:42:24.339Z] ---> Running in b904d722bee2 [2021-06-27T07:42:24.339Z] Removing intermediate container b904d722bee2 [2021-06-27T07:42:24.339Z] ---> bf5fdbfca1fa [2021-06-27T07:42:24.339Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:42:24.339Z] ---> Running in 597f628126c0 [2021-06-27T07:42:24.916Z] Removing intermediate container 597f628126c0 [2021-06-27T07:42:24.916Z] ---> 251fde629903 [2021-06-27T07:42:24.916Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:42:25.189Z] ---> Running in eb01a2ac29c7 [2021-06-27T07:42:25.451Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:42:26.407Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:42:26.668Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-27T07:42:26.931Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-27T07:42:26.931Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-27T07:42:26.931Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:42:27.194Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:42:27.194Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-27T07:42:27.194Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:42:27.765Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-27T07:42:27.765Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-27T07:42:27.765Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-27T07:42:27.765Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-27T07:42:28.027Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-27T07:42:28.027Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:42:28.297Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:42:28.297Z] OK: 156 MiB in 53 packages [2021-06-27T07:42:28.566Z] Removing intermediate container eb01a2ac29c7 [2021-06-27T07:42:28.566Z] ---> 0a7821b4104b [2021-06-27T07:42:28.566Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-27T07:42:28.566Z] ---> Running in 3a3e31f0cc26 [2021-06-27T07:42:28.829Z] Removing intermediate container 3a3e31f0cc26 [2021-06-27T07:42:28.829Z] ---> 2f510979435d [2021-06-27T07:42:28.829Z] Step 9/10 : COPY . . [2021-06-27T07:42:29.098Z] ---> 60d69124266d [2021-06-27T07:42:29.098Z] Step 10/10 : RUN go mod download [2021-06-27T07:42:29.098Z] ---> Running in 3bb543b3fdea [2021-06-27T07:42:41.371Z] Removing intermediate container 3bb543b3fdea [2021-06-27T07:42:41.371Z] ---> 08f652fb884a [2021-06-27T07:42:41.371Z] Successfully built 08f652fb884a [2021-06-27T07:42:41.371Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:42:41.688Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:42:41.688Z] . [Pipeline] withDockerContainer [2021-06-27T07:42:41.772Z] prd-centos7-docker-4c-2g-348 does not seem to be running inside a container [2021-06-27T07:42:41.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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-27T07:42:42.176Z] $ docker top bb32285532b22c5196634284c88942656cce767fa607e9e87f66a1a526d57161 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:42:42.557Z] + go version [2021-06-27T07:42:42.557Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-27T07:42:42.567Z] $ docker stop --time=1 bb32285532b22c5196634284c88942656cce767fa607e9e87f66a1a526d57161 [2021-06-27T07:42:43.768Z] $ docker rm -f bb32285532b22c5196634284c88942656cce767fa607e9e87f66a1a526d57161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:42:44.317Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:42:44.317Z] . [Pipeline] withDockerContainer [2021-06-27T07:42:44.390Z] prd-centos7-docker-4c-2g-348 does not seem to be running inside a container [2021-06-27T07:42:44.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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-27T07:42:45.116Z] $ docker top 473208dca5e2fc4d16c9abf4e59af2ab701b4da4ce85d17f8217c54b6114c069 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:42:45.502Z] + go mod tidy [Pipeline] sh [2021-06-27T07:42:46.068Z] + make test [2021-06-27T07:42:46.068Z] go mod tidy [2021-06-27T07:42:46.068Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-27T07:42:46.645Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-27T07:43:01.645Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-27T07:43:01.645Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-06-27T07:43:01.645Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:43:02.973Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-350 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-27T07:43:02.993Z] Running in /w/workspace/device-snmp-go/5 [Pipeline] { [Pipeline] checkout [2021-06-27T07:43:03.249Z] Selected Git installation does not exist. Using Default [2021-06-27T07:43:03.249Z] The recommended git tool is: NONE [2021-06-27T07:43:08.295Z] gofmt -l . [2021-06-27T07:43:08.295Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:43:08.295Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:43:08.303Z] $ docker stop --time=1 473208dca5e2fc4d16c9abf4e59af2ab701b4da4ce85d17f8217c54b6114c069 [2021-06-27T07:43:08.732Z] using credential edgex-jenkins-ssh [2021-06-27T07:43:08.761Z] Cloning the remote Git repository [2021-06-27T07:43:08.850Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:43:09.074Z] > git init /w/workspace/device-snmp-go/5 # timeout=10 [2021-06-27T07:43:09.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:43:09.168Z] > git --version # timeout=10 [2021-06-27T07:43:09.198Z] > git --version # 'git version 2.17.1' [2021-06-27T07:43:09.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:43:09.281Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:43:09.974Z] $ docker rm -f 473208dca5e2fc4d16c9abf4e59af2ab701b4da4ce85d17f8217c54b6114c069 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:43:10.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:43:10.566Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-06-27T07:43:09.997Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-27T07:43:10.021Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:43:10.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-27T07:43:10.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-27T07:43:10.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:43:10.092Z] > 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-27T07:43:10.642Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit 66018360564ba4aba179fe2ee10e2365c1c77a99 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-27T07:43:10.842Z] Merge succeeded, producing 66018360564ba4aba179fe2ee10e2365c1c77a99 [2021-06-27T07:43:10.843Z] Checking out Revision 66018360564ba4aba179fe2ee10e2365c1c77a99 (PR-116) [Pipeline] sh [2021-06-27T07:43:11.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:43:10.654Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:43:10.666Z] > git checkout -f 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 [2021-06-27T07:43:10.738Z] > git remote # timeout=10 [2021-06-27T07:43:10.760Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:43:10.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:43:10.795Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-27T07:43:10.817Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:43:10.844Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:43:10.859Z] > git checkout -f 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 [2021-06-27T07:43:12.055Z] + ls -al . [2021-06-27T07:43:12.055Z] total 112 [2021-06-27T07:43:12.055Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 27 07:43 . [2021-06-27T07:43:12.055Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 27 07:41 .. [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 27 07:41 Attribution.txt [2021-06-27T07:43:12.055Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 27 07:41 bin [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 4401 Jun 27 07:41 CHANGELOG.md [2021-06-27T07:43:12.055Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 27 07:41 cmd [2021-06-27T07:43:12.055Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 27 07:43 coverage.out [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 27 07:41 Dockerfile [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 27 07:41 Dockerfile.build [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 27 07:41 .dockerignore [2021-06-27T07:43:12.055Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 27 07:41 .git [2021-06-27T07:43:12.055Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 27 07:41 .github [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 27 07:41 .gitignore [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 223 Jun 27 07:41 go.mod [2021-06-27T07:43:12.055Z] -rw-r--r--. 1 jenkins jenkins 21038 Jun 27 07:42 go.sum [2021-06-27T07:43:12.055Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 27 07:41 internal [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 27 07:41 Jenkinsfile [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 27 07:41 LICENSE [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 27 07:41 Makefile [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 27 07:41 README.md [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 27 07:40 VERSION [2021-06-27T07:43:12.055Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 27 07:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:43:12.367Z] + 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=66018360564ba4aba179fe2ee10e2365c1c77a99 --label arch=amd64 --label version=0.0.0 . [2021-06-27T07:43:12.367Z] Sending build context to Docker daemon 399.4kB [2021-06-27T07:43:12.367Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:43:12.367Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-27T07:43:12.367Z] ---> 08f652fb884a [2021-06-27T07:43:12.367Z] Step 3/24 : ARG MAKE='make build' [2021-06-27T07:43:12.367Z] ---> Running in b2ce8a3eda08 [2021-06-27T07:43:12.367Z] Removing intermediate container b2ce8a3eda08 [2021-06-27T07:43:12.367Z] ---> 620b2138aa1b [2021-06-27T07:43:12.367Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:43:12.367Z] ---> Running in d7b81a2d00e9 [2021-06-27T07:43:12.635Z] Removing intermediate container d7b81a2d00e9 [2021-06-27T07:43:12.635Z] ---> 1e44bf2ed090 [2021-06-27T07:43:12.635Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:43:12.635Z] ---> Running in 3f397a199959 [2021-06-27T07:43:12.635Z] Removing intermediate container 3f397a199959 [2021-06-27T07:43:12.635Z] ---> bd771f841336 [2021-06-27T07:43:12.635Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:43:12.635Z] ---> Running in 4d26b49da125 [2021-06-27T07:43:13.214Z] Removing intermediate container 4d26b49da125 [2021-06-27T07:43:13.214Z] ---> 90da36083450 [2021-06-27T07:43:13.214Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:43:13.214Z] ---> Running in 577c39cfca56 [2021-06-27T07:43:13.488Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:43:14.431Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:43:15.004Z] OK: 156 MiB in 53 packages [2021-06-27T07:43:15.269Z] Removing intermediate container 577c39cfca56 [2021-06-27T07:43:15.269Z] ---> 2472d356160c [2021-06-27T07:43:15.269Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-27T07:43:15.269Z] ---> Running in bbea1f9c2039 [2021-06-27T07:43:15.361Z] Commit message: "docs: Remove dev churn and add dependency refs" [2021-06-27T07:43:15.529Z] Removing intermediate container bbea1f9c2039 [2021-06-27T07:43:15.530Z] ---> aa24c6505841 [2021-06-27T07:43:15.530Z] Step 9/24 : COPY . . [2021-06-27T07:43:15.530Z] ---> 328a82ed5695 [2021-06-27T07:43:15.530Z] Step 10/24 : RUN go mod tidy [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-06-27T07:43:15.795Z] ---> Running in dcfbc517a5a1 [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:43:16.367Z] Removing intermediate container dcfbc517a5a1 [2021-06-27T07:43:16.367Z] ---> 26c281a8fac6 [2021-06-27T07:43:16.367Z] Step 11/24 : RUN make update [2021-06-27T07:43:16.367Z] ---> Running in 954ed43901c7 [2021-06-27T07:43:16.628Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:43:16.732Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:43:16.889Z] Removing intermediate container 954ed43901c7 [2021-06-27T07:43:16.889Z] ---> f3185ca2d51b [2021-06-27T07:43:16.889Z] Step 12/24 : RUN ${MAKE} [2021-06-27T07:43:16.889Z] ---> Running in ad5ce5d8dccb [2021-06-27T07:43:17.149Z] go mod tidy [2021-06-27T07:43:17.167Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:43:17.415Z] 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-27T07:43:17.522Z] + true [2021-06-27T07:43:17.523Z] + sudo service docker restart [2021-06-27T07:43:29.693Z] Removing intermediate container ad5ce5d8dccb [2021-06-27T07:43:29.693Z] ---> 05ecc4d0035d [2021-06-27T07:43:29.693Z] Step 13/24 : FROM alpine:3.12 [2021-06-27T07:43:29.693Z] 3.12: Pulling from library/alpine [2021-06-27T07:43:29.693Z] 339de151aab4: Pulling fs layer [2021-06-27T07:43:29.694Z] 339de151aab4: Download complete [2021-06-27T07:43:29.953Z] 339de151aab4: Pull complete [2021-06-27T07:43:29.953Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:43:29.953Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:43:29.953Z] ---> 13621d1b12d4 [2021-06-27T07:43:29.953Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:43:29.953Z] ---> Running in c906df291270 [2021-06-27T07:43:30.217Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:43:30.217Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:43:30.479Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:43:30.479Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:43:30.479Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:43:30.479Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:43:30.479Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:43:30.479Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:43:30.479Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:43:30.479Z] OK: 8 MiB in 20 packages [2021-06-27T07:43:30.751Z] Removing intermediate container c906df291270 [2021-06-27T07:43:30.751Z] ---> 31bd2f1a70e1 [2021-06-27T07:43:30.751Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-27T07:43:31.330Z] ---> 56b91b402776 [2021-06-27T07:43:31.330Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-27T07:43:31.595Z] ---> 3745acdd2955 [2021-06-27T07:43:31.595Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-27T07:43:31.595Z] ---> f5967bd06ac6 [2021-06-27T07:43:31.595Z] Step 18/24 : EXPOSE 59993 [2021-06-27T07:43:31.595Z] ---> Running in c00895b77d68 [2021-06-27T07:43:31.864Z] Removing intermediate container c00895b77d68 [2021-06-27T07:43:31.864Z] ---> 79c92cb16422 [2021-06-27T07:43:31.864Z] Step 19/24 : EXPOSE 161 [2021-06-27T07:43:31.864Z] ---> Running in b346037e47b4 [2021-06-27T07:43:31.864Z] Removing intermediate container b346037e47b4 [2021-06-27T07:43:31.864Z] ---> 19e15ede5bd6 [2021-06-27T07:43:31.864Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-27T07:43:31.864Z] ---> Running in 0a613da54691 [2021-06-27T07:43:31.864Z] Removing intermediate container 0a613da54691 [2021-06-27T07:43:31.864Z] ---> f59d108f9446 [2021-06-27T07:43:31.864Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:43:32.128Z] ---> Running in 37c6527e9ebf [2021-06-27T07:43:32.128Z] Removing intermediate container 37c6527e9ebf [2021-06-27T07:43:32.128Z] ---> 6512acb8e7b1 [2021-06-27T07:43:32.128Z] Step 22/24 : LABEL arch=amd64 [2021-06-27T07:43:32.128Z] ---> Running in abdea765da69 [2021-06-27T07:43:32.128Z] Removing intermediate container abdea765da69 [2021-06-27T07:43:32.128Z] ---> 5ac461e49ee2 [2021-06-27T07:43:32.128Z] Step 23/24 : LABEL git_sha=66018360564ba4aba179fe2ee10e2365c1c77a99 [2021-06-27T07:43:32.128Z] ---> Running in e052406e9428 [2021-06-27T07:43:32.395Z] Removing intermediate container e052406e9428 [2021-06-27T07:43:32.395Z] ---> 526d26ada7cd [2021-06-27T07:43:32.395Z] Step 24/24 : LABEL version=0.0.0 [2021-06-27T07:43:32.395Z] ---> Running in 338fc0cb61d6 [2021-06-27T07:43:32.395Z] Removing intermediate container 338fc0cb61d6 [2021-06-27T07:43:32.395Z] ---> 58b883659fb9 [2021-06-27T07:43:32.395Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:43:32.395Z] Successfully built 58b883659fb9 [2021-06-27T07:43:32.395Z] 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-27T07:43:33.171Z] ---> job-cost.sh [2021-06-27T07:43:33.171Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tERi [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:43:35.876Z] provisioning config files... [2021-06-27T07:43:35.905Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/5@tmp/config530404681131729349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:43:36.290Z] ---> docker-login.sh [2021-06-27T07:43:36.290Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:43:37.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:37.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:37.549Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:37.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:37.549Z] [2021-06-27T07:43:37.549Z] Login Succeeded [2021-06-27T07:43:37.549Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:43:37.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:38.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:38.116Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:38.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:38.116Z] [2021-06-27T07:43:38.116Z] Login Succeeded [2021-06-27T07:43:38.116Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:43:38.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:38.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:38.667Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:38.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:38.667Z] [2021-06-27T07:43:38.667Z] Login Succeeded [2021-06-27T07:43:38.667Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:43:38.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:39.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:39.215Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:39.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:39.215Z] [2021-06-27T07:43:39.215Z] Login Succeeded [2021-06-27T07:43:39.215Z] docker.io [2021-06-27T07:43:39.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:43:39.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:43:39.761Z] Configure a credential helper to remove this warning. See [2021-06-27T07:43:39.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:43:39.761Z] [2021-06-27T07:43:39.761Z] Login Succeeded [2021-06-27T07:43:39.761Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:43:39.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:43:40.121Z] ========================================================= [2021-06-27T07:43:40.121Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-27T07:43:40.121Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:43:40.479Z] + 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-27T07:43:40.754Z] Sending build context to Docker daemon 390.1kB [2021-06-27T07:43:40.754Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:43:40.754Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:43:41.032Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-27T07:43:41.032Z] 595b0fe564bb: Pulling fs layer [2021-06-27T07:43:41.032Z] 3088b5b3c5c0: Pulling fs layer [2021-06-27T07:43:41.032Z] 5b7225fbf94c: Pulling fs layer [2021-06-27T07:43:41.032Z] ba82ee9f976e: Pulling fs layer [2021-06-27T07:43:41.032Z] 506bd15cee9f: Pulling fs layer [2021-06-27T07:43:41.032Z] 75a0a4a0db45: Pulling fs layer [2021-06-27T07:43:41.032Z] 618dc40b7e24: Pulling fs layer [2021-06-27T07:43:41.032Z] ba82ee9f976e: Waiting [2021-06-27T07:43:41.032Z] 506bd15cee9f: Waiting [2021-06-27T07:43:41.032Z] 75a0a4a0db45: Waiting [2021-06-27T07:43:41.032Z] 618dc40b7e24: Waiting [2021-06-27T07:43:41.032Z] 5b7225fbf94c: Verifying Checksum [2021-06-27T07:43:41.032Z] 5b7225fbf94c: Download complete [2021-06-27T07:43:41.032Z] 3088b5b3c5c0: Verifying Checksum [2021-06-27T07:43:41.032Z] 3088b5b3c5c0: Download complete [2021-06-27T07:43:41.032Z] 506bd15cee9f: Download complete [2021-06-27T07:43:41.310Z] 75a0a4a0db45: Verifying Checksum [2021-06-27T07:43:41.310Z] 75a0a4a0db45: Download complete [2021-06-27T07:43:41.310Z] 595b0fe564bb: Verifying Checksum [2021-06-27T07:43:41.310Z] 595b0fe564bb: Download complete [2021-06-27T07:43:41.342Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:43:41.914Z] 595b0fe564bb: Pull complete [2021-06-27T07:43:42.534Z] 3088b5b3c5c0: Pull complete [2021-06-27T07:43:43.133Z] 5b7225fbf94c: Pull complete [2021-06-27T07:43:44.135Z] 618dc40b7e24: Verifying Checksum [2021-06-27T07:43:44.135Z] 618dc40b7e24: Download complete [2021-06-27T07:43:45.117Z] ba82ee9f976e: Download complete [2021-06-27T07:43:55.308Z] ba82ee9f976e: Pull complete [2021-06-27T07:43:55.308Z] 506bd15cee9f: Pull complete [2021-06-27T07:43:55.586Z] 75a0a4a0db45: Pull complete [2021-06-27T07:43:56.317Z] lf-activate-venv(): INFO: Adding /tmp/venv-tERi/bin to PATH [2021-06-27T07:43:56.317Z] INFO: No Stack... [2021-06-27T07:43:56.317Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:43:56.317Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:43:56.619Z] + cat /w/workspace/device-snmp-go/5/archives/cost.csv [2021-06-27T07:43:56.619Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:43:56.658Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-5-stack-cost] [2021-06-27T07:43:56.667Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-5-stack-cost] did not exist. Created. [2021-06-27T07:43:56.668Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:43:57.005Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-27T07:43:57.079Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:43:57.094Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-27T07:43:58.988Z] 618dc40b7e24: Pull complete [2021-06-27T07:43:58.989Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-27T07:43:58.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-27T07:43:58.989Z] ---> a36622ca3599 [2021-06-27T07:43:58.989Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:44:01.630Z] ---> Running in afe4c27123d2 [2021-06-27T07:44:01.910Z] Removing intermediate container afe4c27123d2 [2021-06-27T07:44:01.910Z] ---> 2e25974e42b2 [2021-06-27T07:44:01.910Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:44:02.206Z] ---> Running in 17d2dcb1cb7d [2021-06-27T07:44:02.808Z] Removing intermediate container 17d2dcb1cb7d [2021-06-27T07:44:02.808Z] ---> 5e3464d8ce7b [2021-06-27T07:44:02.808Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-27T07:44:02.808Z] ---> Running in c385917a2bdd [2021-06-27T07:44:03.414Z] Removing intermediate container c385917a2bdd [2021-06-27T07:44:03.414Z] ---> 0b90c7e49eb8 [2021-06-27T07:44:03.414Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:44:03.414Z] ---> Running in b15727b8f332 [2021-06-27T07:44:06.046Z] Removing intermediate container b15727b8f332 [2021-06-27T07:44:06.046Z] ---> 42eea163700c [2021-06-27T07:44:06.046Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:44:06.046Z] ---> Running in e528a0731dc2 [2021-06-27T07:44:07.491Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:44:08.472Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:44:09.070Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-27T07:44:09.344Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-27T07:44:09.344Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-27T07:44:09.344Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:44:09.617Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:44:09.617Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-27T07:44:09.617Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:44:10.220Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-27T07:44:10.220Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-27T07:44:10.492Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-27T07:44:10.492Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-27T07:44:10.492Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-27T07:44:10.770Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:44:10.771Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:44:10.771Z] OK: 145 MiB in 53 packages [2021-06-27T07:44:12.238Z] Removing intermediate container e528a0731dc2 [2021-06-27T07:44:12.238Z] ---> c60b15d3e765 [2021-06-27T07:44:12.238Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-27T07:44:12.512Z] ---> Running in 433795e7306e [2021-06-27T07:44:13.112Z] Removing intermediate container 433795e7306e [2021-06-27T07:44:13.112Z] ---> 8fdab91e6e54 [2021-06-27T07:44:13.112Z] Step 9/10 : COPY . . [2021-06-27T07:44:14.099Z] ---> 3515496c9e75 [2021-06-27T07:44:14.099Z] Step 10/10 : RUN go mod download [2021-06-27T07:44:14.373Z] ---> Running in dd073834eec4 [2021-06-27T07:44:41.210Z] Removing intermediate container dd073834eec4 [2021-06-27T07:44:41.210Z] ---> ef732656d33c [2021-06-27T07:44:41.210Z] Successfully built ef732656d33c [2021-06-27T07:44:41.210Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:44:41.579Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:44:41.579Z] . [Pipeline] withDockerContainer [2021-06-27T07:44:42.127Z] prd-ubuntu18.04-docker-arm64-4c-16g-350 does not seem to be running inside a container [2021-06-27T07:44:42.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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-27T07:44:44.147Z] $ docker top 7730d8be303357001b7d5545a92597da0be24779547fc625e5fe43fb0fdd4e5d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:44:45.241Z] + go version [2021-06-27T07:44:45.241Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-27T07:44:45.288Z] $ docker stop --time=1 7730d8be303357001b7d5545a92597da0be24779547fc625e5fe43fb0fdd4e5d [2021-06-27T07:44:47.273Z] $ docker rm -f 7730d8be303357001b7d5545a92597da0be24779547fc625e5fe43fb0fdd4e5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:44:48.240Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:44:48.240Z] . [Pipeline] withDockerContainer [2021-06-27T07:44:48.539Z] prd-ubuntu18.04-docker-arm64-4c-16g-350 does not seem to be running inside a container [2021-06-27T07:44:48.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/5 -v /w/workspace/device-snmp-go/5:/w/workspace/device-snmp-go/5:rw,z -v /w/workspace/device-snmp-go/5@tmp:/w/workspace/device-snmp-go/5@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-27T07:44:50.426Z] $ docker top d1b9316204502d2b01f3def6999dd06cc9a5b0e876e1cf53e58de7d562f60183 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:44:51.459Z] + go mod tidy [Pipeline] sh [2021-06-27T07:44:52.743Z] + make test [2021-06-27T07:44:52.743Z] go mod tidy [2021-06-27T07:44:53.348Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-27T07:44:54.803Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-27T07:45:51.496Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-27T07:45:51.496Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.034s coverage: 0.0% of statements [2021-06-27T07:45:51.496Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:46:18.359Z] gofmt -l . [2021-06-27T07:46:18.359Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:46:18.359Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:46:18.374Z] $ docker stop --time=1 d1b9316204502d2b01f3def6999dd06cc9a5b0e876e1cf53e58de7d562f60183 [2021-06-27T07:46:20.405Z] $ docker rm -f d1b9316204502d2b01f3def6999dd06cc9a5b0e876e1cf53e58de7d562f60183 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:46:21.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:46:21.338Z] Warning: overwriting stash ‘coverage-report’ [2021-06-27T07:46:21.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:46:22.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:46:22.708Z] + ls -al . [2021-06-27T07:46:22.708Z] total 136 [2021-06-27T07:46:22.708Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 27 07:46 . [2021-06-27T07:46:22.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:43 .. [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 27 07:43 .dockerignore [2021-06-27T07:46:22.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:43 .git [2021-06-27T07:46:22.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:43 .github [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 27 07:43 .gitignore [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 27 07:43 Attribution.txt [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 4401 Jun 27 07:43 CHANGELOG.md [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 27 07:43 Dockerfile [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 27 07:43 Dockerfile.build [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 27 07:43 Jenkinsfile [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 07:43 LICENSE [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 27 07:43 Makefile [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 27 07:43 README.md [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 07:40 VERSION [2021-06-27T07:46:22.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:43 bin [2021-06-27T07:46:22.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:43 cmd [2021-06-27T07:46:22.708Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 27 07:45 coverage.out [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 223 Jun 27 07:43 go.mod [2021-06-27T07:46:22.708Z] -rw-r--r-- 1 jenkins jenkins 21038 Jun 27 07:44 go.sum [2021-06-27T07:46:22.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:43 internal [2021-06-27T07:46:22.708Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 27 07:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:46:23.052Z] + 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=66018360564ba4aba179fe2ee10e2365c1c77a99 --label arch=arm64 --label version=0.0.0 . [2021-06-27T07:46:23.330Z] Sending build context to Docker daemon 398.3kB [2021-06-27T07:46:23.330Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:46:23.330Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-27T07:46:23.330Z] ---> ef732656d33c [2021-06-27T07:46:23.330Z] Step 3/24 : ARG MAKE='make build' [2021-06-27T07:46:23.934Z] ---> Running in 7680d79e8d9b [2021-06-27T07:46:24.210Z] Removing intermediate container 7680d79e8d9b [2021-06-27T07:46:24.210Z] ---> de66fc5bcd0f [2021-06-27T07:46:24.210Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:46:24.486Z] ---> Running in e4eb4758059c [2021-06-27T07:46:24.762Z] Removing intermediate container e4eb4758059c [2021-06-27T07:46:24.762Z] ---> 750bdac22480 [2021-06-27T07:46:24.762Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:46:25.039Z] ---> Running in d6dd202ee250 [2021-06-27T07:46:25.641Z] Removing intermediate container d6dd202ee250 [2021-06-27T07:46:25.641Z] ---> 33589d1da1ad [2021-06-27T07:46:25.641Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:46:25.641Z] ---> Running in 9863b542c5f4 [2021-06-27T07:46:27.615Z] Removing intermediate container 9863b542c5f4 [2021-06-27T07:46:27.615Z] ---> 5a02d979a28a [2021-06-27T07:46:27.615Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:46:27.893Z] ---> Running in 1fa863aebf7d [2021-06-27T07:46:28.867Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:46:29.840Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:46:30.837Z] OK: 145 MiB in 53 packages [2021-06-27T07:46:31.813Z] Removing intermediate container 1fa863aebf7d [2021-06-27T07:46:31.813Z] ---> e19c251af78f [2021-06-27T07:46:31.813Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-27T07:46:32.088Z] ---> Running in 96170c83ff5b [2021-06-27T07:46:32.684Z] Removing intermediate container 96170c83ff5b [2021-06-27T07:46:32.684Z] ---> b1b5141dda5c [2021-06-27T07:46:32.684Z] Step 9/24 : COPY . . [2021-06-27T07:46:33.673Z] ---> 14abb948de8e [2021-06-27T07:46:33.673Z] Step 10/24 : RUN go mod tidy [2021-06-27T07:46:33.673Z] ---> Running in cbba552f5beb [2021-06-27T07:46:37.066Z] Removing intermediate container cbba552f5beb [2021-06-27T07:46:37.066Z] ---> 671336e94d50 [2021-06-27T07:46:37.066Z] Step 11/24 : RUN make update [2021-06-27T07:46:37.066Z] ---> Running in d7275accad57 [2021-06-27T07:46:38.049Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:46:39.030Z] Removing intermediate container d7275accad57 [2021-06-27T07:46:39.030Z] ---> d98f53b7c23e [2021-06-27T07:46:39.030Z] Step 12/24 : RUN ${MAKE} [2021-06-27T07:46:39.306Z] ---> Running in 2714a0fa5691 [2021-06-27T07:46:40.745Z] go mod tidy [2021-06-27T07:46:41.018Z] 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-27T07:47:20.062Z] Removing intermediate container 2714a0fa5691 [2021-06-27T07:47:20.062Z] ---> 1592629b35e4 [2021-06-27T07:47:20.062Z] Step 13/24 : FROM alpine:3.12 [2021-06-27T07:47:20.062Z] 3.12: Pulling from library/alpine [2021-06-27T07:47:20.062Z] d2f70382dc9a: Pulling fs layer [2021-06-27T07:47:20.062Z] d2f70382dc9a: Download complete [2021-06-27T07:47:20.062Z] d2f70382dc9a: Pull complete [2021-06-27T07:47:20.062Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:47:20.062Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:47:20.062Z] ---> c4fd0aeabfcf [2021-06-27T07:47:20.062Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:47:20.062Z] ---> Running in b127a15a9af1 [2021-06-27T07:47:20.062Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:47:20.334Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:47:20.606Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:47:20.606Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:47:20.606Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:47:20.606Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:47:20.878Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:47:20.878Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:47:20.878Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:47:20.878Z] OK: 8 MiB in 20 packages [2021-06-27T07:47:21.854Z] Removing intermediate container b127a15a9af1 [2021-06-27T07:47:21.854Z] ---> 1ebedc9a2819 [2021-06-27T07:47:21.854Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-27T07:47:23.282Z] ---> 104ff8d4657f [2021-06-27T07:47:23.282Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-27T07:47:23.878Z] ---> 5f9955d39576 [2021-06-27T07:47:23.878Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-27T07:47:24.475Z] ---> edd494259606 [2021-06-27T07:47:24.475Z] Step 18/24 : EXPOSE 59993 [2021-06-27T07:47:24.752Z] ---> Running in 02c35aa85151 [2021-06-27T07:47:25.026Z] Removing intermediate container 02c35aa85151 [2021-06-27T07:47:25.026Z] ---> fbbf08245b57 [2021-06-27T07:47:25.026Z] Step 19/24 : EXPOSE 161 [2021-06-27T07:47:25.301Z] ---> Running in 999ec46effe5 [2021-06-27T07:47:25.904Z] Removing intermediate container 999ec46effe5 [2021-06-27T07:47:25.904Z] ---> 0df84dd611ff [2021-06-27T07:47:25.904Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-27T07:47:25.904Z] ---> Running in ab621703644a [2021-06-27T07:47:26.509Z] Removing intermediate container ab621703644a [2021-06-27T07:47:26.509Z] ---> 3052dd180e57 [2021-06-27T07:47:26.509Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:47:26.509Z] ---> Running in 741484e448ec [2021-06-27T07:47:27.122Z] Removing intermediate container 741484e448ec [2021-06-27T07:47:27.122Z] ---> e6fac47a0145 [2021-06-27T07:47:27.122Z] Step 22/24 : LABEL arch=arm64 [2021-06-27T07:47:27.122Z] ---> Running in eea635b71e31 [2021-06-27T07:47:27.719Z] Removing intermediate container eea635b71e31 [2021-06-27T07:47:27.719Z] ---> c5b52c5565e5 [2021-06-27T07:47:27.719Z] Step 23/24 : LABEL git_sha=66018360564ba4aba179fe2ee10e2365c1c77a99 [2021-06-27T07:47:27.719Z] ---> Running in 67d23251597c [2021-06-27T07:47:28.316Z] Removing intermediate container 67d23251597c [2021-06-27T07:47:28.316Z] ---> fb5d4d12f7fc [2021-06-27T07:47:28.316Z] Step 24/24 : LABEL version=0.0.0 [2021-06-27T07:47:28.316Z] ---> Running in bb99ce921a9d [2021-06-27T07:47:28.912Z] Removing intermediate container bb99ce921a9d [2021-06-27T07:47:28.912Z] ---> 4f6d3f21365d [2021-06-27T07:47:28.912Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:47:28.912Z] Successfully built 4f6d3f21365d [2021-06-27T07:47:28.912Z] 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-27T07:47:29.578Z] ---> job-cost.sh [2021-06-27T07:47:29.578Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nNbd [2021-06-27T07:48:16.562Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:49:53.377Z] lf-activate-venv(): INFO: Adding /tmp/venv-nNbd/bin to PATH [2021-06-27T07:49:53.377Z] INFO: No Stack... [2021-06-27T07:49:53.377Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-27T07:49:53.377Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:49:53.720Z] + cat /w/workspace/device-snmp-go/5/archives/cost.csv [2021-06-27T07:49:53.720Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:49:53.785Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-5-stack-cost] [2021-06-27T07:49:53.820Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-5-stack-cost] did not exist. Created. [2021-06-27T07:49:53.821Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:49:54.189Z] /w/workspace/device-snmp-go/5@tmp/durable-88f73dfd/script.sh: 1: /w/workspace/device-snmp-go/5@tmp/durable-88f73dfd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-27T07:49:54.536Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-27T07:49:54.567Z] Warning: overwriting stash ‘stack-cost’ [2021-06-27T07:49:54.722Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:49:54.737Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-5-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-27T07:49:55.294Z] provisioning config files... [2021-06-27T07:49:55.302Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config2211884327175549772tmp [Pipeline] { [Pipeline] sh [2021-06-27T07:49:55.625Z] + set +x [2021-06-27T07:49:55.625Z] + curl -s https://codecov.io/bash [2021-06-27T07:49:55.625Z] + bash -s -- [2021-06-27T07:49:55.625Z] [2021-06-27T07:49:55.625Z] _____ _ [2021-06-27T07:49:55.625Z] / ____| | | [2021-06-27T07:49:55.625Z] | | ___ __| | ___ ___ _____ __ [2021-06-27T07:49:55.625Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-27T07:49:55.625Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-27T07:49:55.625Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-27T07:49:55.625Z] Bash-1.0.3 [2021-06-27T07:49:55.625Z] [2021-06-27T07:49:55.625Z] [2021-06-27T07:49:55.625Z] ==> git version 2.24.4 found [2021-06-27T07:49:55.625Z] ==> 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-27T07:49:55.625Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-27T07:49:55.625Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-27T07:49:55.625Z] ==> Jenkins CI detected. [2021-06-27T07:49:55.625Z] project root: . [2021-06-27T07:49:55.625Z] --> token set from env [2021-06-27T07:49:55.625Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-27T07:49:55.625Z] ==> Running gcov in . (disable via -X gcov) [2021-06-27T07:49:55.625Z] ==> Python coveragepy not found [2021-06-27T07:49:55.625Z] ==> Searching for coverage reports in: [2021-06-27T07:49:55.625Z] + . [2021-06-27T07:49:55.625Z] -> Found 1 reports [2021-06-27T07:49:55.625Z] ==> Detecting git/mercurial file structure [2021-06-27T07:49:55.625Z] ==> Reading reports [2021-06-27T07:49:55.625Z] + ./coverage.out bytes=7631 [2021-06-27T07:49:55.625Z] ==> Appending adjustments [2021-06-27T07:49:55.625Z] https://docs.codecov.io/docs/fixing-reports [2021-06-27T07:49:55.892Z] + Found adjustments [2021-06-27T07:49:55.892Z] ==> Gzipping contents [2021-06-27T07:49:55.892Z] 4.0K /tmp/codecov.mB5owk.gz [2021-06-27T07:49:55.892Z] ==> Uploading reports [2021-06-27T07:49:55.892Z] url: https://codecov.io [2021-06-27T07:49:55.892Z] query: branch=PR-116&commit=66018360564ba4aba179fe2ee10e2365c1c77a99&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-27T07:49:55.892Z] -> Pinging Codecov [2021-06-27T07:49:55.892Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-116&commit=66018360564ba4aba179fe2ee10e2365c1c77a99&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-27T07:49:56.153Z] -> Uploading to [2021-06-27T07:49:56.153Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-27/6C56EA5C29638FB4528AC87E60AF5AE0/66018360564ba4aba179fe2ee10e2365c1c77a99/09ef7b43-b559-462c-8c93-12e733fe282a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210627T074956Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7becc37daaae2f83ed8bb19c0d7939cb8309e1bcbec89cd6ab78a966ad9b824 [2021-06-27T07:49:56.153Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-27T07:49:56.153Z] Dload Upload Total Spent Left Speed [2021-06-27T07:49:56.725Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3170 --:--:-- --:--:-- --:--:-- 3167 100 1378 0 0 100 1378 0 3169 --:--:-- --:--:-- --:--:-- 3167 [2021-06-27T07:49:56.725Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/66018360564ba4aba179fe2ee10e2365c1c77a99 [Pipeline] } [2021-06-27T07:49:56.733Z] 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-27T07:49:58.163Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:49:58.736Z] ---> package-listing.sh [2021-06-27T07:49:58.736Z] ++ facter osfamily [2021-06-27T07:49:58.736Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-27T07:49:59.001Z] + OS_FAMILY=redhat [2021-06-27T07:49:59.001Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-27T07:49:59.001Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-27T07:49:59.001Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-27T07:49:59.001Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-27T07:49:59.001Z] + PACKAGES=/tmp/packages_start.txt [2021-06-27T07:49:59.001Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-27T07:49:59.001Z] + PACKAGES=/tmp/packages_end.txt [2021-06-27T07:49:59.001Z] + case "${OS_FAMILY}" in [2021-06-27T07:49:59.001Z] + sort [2021-06-27T07:49:59.001Z] + rpm -qa [2021-06-27T07:49:59.585Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-27T07:49:59.585Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-27T07:49:59.585Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-27T07:49:59.585Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-27T07:49:59.585Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-116/archives/ [2021-06-27T07:49:59.585Z] + 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-27T07:49:59.598Z] 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-27T07:49:59.883Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:50:00.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:50:00.452Z] [2021-06-27T07:50:00.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:50:00.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:50:00.771Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-27T07:50:00.771Z] df20fa9351a1: Pulling fs layer [2021-06-27T07:50:00.771Z] 36b3adc4ff6f: Pulling fs layer [2021-06-27T07:50:00.771Z] 8ad3a11d3b57: Pulling fs layer [2021-06-27T07:50:00.771Z] 46f8f816bc3b: Pulling fs layer [2021-06-27T07:50:00.771Z] 93b61091891f: Pulling fs layer [2021-06-27T07:50:00.771Z] 93b9cdb0e59b: Pulling fs layer [2021-06-27T07:50:00.771Z] 5e14af77c1be: Pulling fs layer [2021-06-27T07:50:00.771Z] 01666e4c0597: Pulling fs layer [2021-06-27T07:50:00.771Z] aa168da1d23b: Pulling fs layer [2021-06-27T07:50:00.771Z] 46f8f816bc3b: Waiting [2021-06-27T07:50:00.771Z] 93b61091891f: Waiting [2021-06-27T07:50:00.771Z] 93b9cdb0e59b: Waiting [2021-06-27T07:50:00.771Z] 5e14af77c1be: Waiting [2021-06-27T07:50:00.771Z] 01666e4c0597: Waiting [2021-06-27T07:50:00.771Z] aa168da1d23b: Waiting [2021-06-27T07:50:00.771Z] 36b3adc4ff6f: Verifying Checksum [2021-06-27T07:50:00.771Z] 36b3adc4ff6f: Download complete [2021-06-27T07:50:00.771Z] 46f8f816bc3b: Verifying Checksum [2021-06-27T07:50:00.771Z] 46f8f816bc3b: Download complete [2021-06-27T07:50:01.031Z] df20fa9351a1: Verifying Checksum [2021-06-27T07:50:01.031Z] df20fa9351a1: Download complete [2021-06-27T07:50:01.031Z] 93b61091891f: Verifying Checksum [2021-06-27T07:50:01.031Z] 93b61091891f: Download complete [2021-06-27T07:50:01.031Z] 93b9cdb0e59b: Verifying Checksum [2021-06-27T07:50:01.031Z] 93b9cdb0e59b: Download complete [2021-06-27T07:50:01.031Z] 5e14af77c1be: Verifying Checksum [2021-06-27T07:50:01.031Z] 5e14af77c1be: Download complete [2021-06-27T07:50:01.031Z] 01666e4c0597: Verifying Checksum [2021-06-27T07:50:01.031Z] 01666e4c0597: Download complete [2021-06-27T07:50:01.031Z] 8ad3a11d3b57: Verifying Checksum [2021-06-27T07:50:01.031Z] 8ad3a11d3b57: Download complete [2021-06-27T07:50:01.031Z] df20fa9351a1: Pull complete [2021-06-27T07:50:01.300Z] 36b3adc4ff6f: Pull complete [2021-06-27T07:50:01.885Z] 8ad3a11d3b57: Pull complete [2021-06-27T07:50:02.162Z] 46f8f816bc3b: Pull complete [2021-06-27T07:50:02.425Z] 93b61091891f: Pull complete [2021-06-27T07:50:02.425Z] 93b9cdb0e59b: Pull complete [2021-06-27T07:50:02.687Z] 5e14af77c1be: Pull complete [2021-06-27T07:50:02.687Z] 01666e4c0597: Pull complete [2021-06-27T07:50:03.261Z] aa168da1d23b: Verifying Checksum [2021-06-27T07:50:03.261Z] aa168da1d23b: Download complete [2021-06-27T07:50:07.494Z] aa168da1d23b: Pull complete [2021-06-27T07:50:07.494Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-27T07:50:07.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:50:07.494Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-27T07:50:07.579Z] prd-centos7-docker-4c-2g-340 does not seem to be running inside a container [2021-06-27T07:50:07.617Z] $ 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-27T07:50:09.686Z] $ docker top d097cb30b8b5f33d931dc468317c9773b21affd839d2545b6eb9b5d714091c30 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:50:10.070Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-27T07:50:10.366Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-27T07:50:10.664Z] + ls /var/log/sa-host [2021-06-27T07:50:10.664Z] + sadf -c /var/log/sa-host/sa05 [2021-06-27T07:50:10.664Z] file_magic: OK [2021-06-27T07:50:10.664Z] HZ: Using current value: 100 [2021-06-27T07:50:10.664Z] file_header: OK [2021-06-27T07:50:10.664Z] 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-27T07:50:10.664Z] Statistics: [2021-06-27T07:50:10.664Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:50:10.664Z] File successfully converted to sysstat format version 12.2.1 [2021-06-27T07:50:10.664Z] + sadf -c /var/log/sa-host/sa27 [2021-06-27T07:50:10.664Z] file_magic: OK [2021-06-27T07:50:10.664Z] HZ: Using current value: 100 [2021-06-27T07:50:10.664Z] file_header: OK [2021-06-27T07:50:10.664Z] 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-27T07:50:10.664Z] Statistics: [2021-06-27T07:50:10.664Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:50:10.664Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:50:10.850Z] provisioning config files... [2021-06-27T07:50:10.867Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config8305720198520157613tmp [Pipeline] { [Pipeline] echo [2021-06-27T07:50:10.891Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:11.211Z] ---> create-netrc.sh [Pipeline] } [2021-06-27T07:50:11.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:11.600Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-27T07:50:11.611Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:11.917Z] ---> sudo-logs.sh [2021-06-27T07:50:11.917Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-27T07:50:11.952Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:12.253Z] ---> job-cost.sh [2021-06-27T07:50:12.253Z] lf-activate-venv: SKIPPING [2021-06-27T07:50:12.253Z] DEBUG: total: 0.18000000715255737 [2021-06-27T07:50:12.253Z] INFO: Retrieving Stack Cost... [2021-06-27T07:50:13.639Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:50:13.899Z] INFO: Archiving Costs [Pipeline] echo [2021-06-27T07:50:13.915Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:50:14.216Z] ---> logs-deploy.sh [2021-06-27T07:50:14.216Z] lf-activate-venv: SKIPPING [2021-06-27T07:50:14.216Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-116/5 [2021-06-27T07:50:14.216Z] INFO: archiving workspace using pattern(s): [2021-06-27T07:50:15.159Z] Archives upload complete. [2021-06-27T07:50:15.159Z] INFO: archiving logs to Nexus