Pull request #113 opened 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 37e47363dd77b62312584f608dd2a6bdabc79b94+11d8369584318023b9540bc2f4ed2887017df2a8 (ee805c80e963b8f94bf6cdbf1ff21ecd89fb92a8) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1598774496969976975.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-ssh9175112903421927722.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-113/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-113/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8721144915307120018.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-113/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2943251870515549893.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6572334699496890678.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-113/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-113/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5182458125053687830.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23 in /w/workspace/gexfoundry_device-snmp-go_PR-113 [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-113 # 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-113@tmp/jenkins-gitclient-ssh7120598667466385745.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-113@tmp/jenkins-gitclient-ssh2696518783921342370.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 11d8369584318023b9540bc2f4ed2887017df2a8 into PR head commit 37e47363dd77b62312584f608dd2a6bdabc79b94 Merge succeeded, producing 37e47363dd77b62312584f608dd2a6bdabc79b94 Checking out Revision 37e47363dd77b62312584f608dd2a6bdabc79b94 (PR-113) > git config core.sparsecheckout # timeout=10 > git checkout -f 37e47363dd77b62312584f608dd2a6bdabc79b94 # 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-113@tmp/jenkins-gitclient-ssh4554402176029042543.key > git merge 11d8369584318023b9540bc2f4ed2887017df2a8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37e47363dd77b62312584f608dd2a6bdabc79b94 # timeout=10 Commit message: "feat: Enable using MessageBus as the default" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-17T18:05:26.714Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-17T18:05:26.918Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-17T18:05:27.033Z] ========================================================= [2021-06-17T18:05:27.033Z] EdgeX Global Pipelines Version Info [2021-06-17T18:05:27.033Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:05:28.488Z] ------------------- [2021-06-17T18:05:28.489Z] stable info: [2021-06-17T18:05:28.489Z] ------------------- [2021-06-17T18:05:28.489Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-17T18:05:28.489Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:05:28.489Z] Message: update stable to v1.0.195 [2021-06-17T18:05:29.067Z] ------------------- [2021-06-17T18:05:29.067Z] experimental info: [2021-06-17T18:05:29.067Z] ------------------- [2021-06-17T18:05:29.067Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-17T18:05:29.067Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:05:29.067Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-17T18:05:29.341Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-17T18:05:29.409Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-17T18:05:29.467Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-17T18:05:29.525Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-17T18:05:29.592Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-17T18:05:29.662Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-17T18:05:29.728Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-17T18:05:29.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-17T18:05:29.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-17T18:05:29.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-17T18:05:30.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-17T18:05:30.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-17T18:05:30.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-17T18:05:30.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-17T18:05:30.309Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:05:30.381Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:05:30.459Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:05:30.518Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:05:30.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-17T18:05:30.643Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-17T18:05:30.726Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-17T18:05:30.785Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-17T18:05:30.846Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-17T18:05:30.929Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-17T18:05:31.000Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-17T18:05:31.061Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-17T18:05:31.119Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-113 [Pipeline] echo [2021-06-17T18:05:31.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-113 [Pipeline] echo [2021-06-17T18:05:31.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-113 [Pipeline] echo [2021-06-17T18:05:31.314Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37e47363dd77b62312584f608dd2a6bdabc79b94 [Pipeline] echo [2021-06-17T18:05:31.377Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37e4736 [Pipeline] echo [2021-06-17T18:05:31.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:05:31.608Z] provisioning config files... [2021-06-17T18:05:31.636Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-113@tmp/config3048798920371590379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:05:32.039Z] ---> docker-login.sh [2021-06-17T18:05:32.039Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:05:32.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:05:32.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:05:32.304Z] Configure a credential helper to remove this warning. See [2021-06-17T18:05:32.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:05:32.304Z] [2021-06-17T18:05:32.304Z] Login Succeeded [2021-06-17T18:05:32.304Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:05:32.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:05:32.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:05:32.569Z] Configure a credential helper to remove this warning. See [2021-06-17T18:05:32.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:05:32.569Z] [2021-06-17T18:05:32.569Z] Login Succeeded [2021-06-17T18:05:32.569Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:05:32.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:05:32.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:05:32.569Z] Configure a credential helper to remove this warning. See [2021-06-17T18:05:32.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:05:32.569Z] [2021-06-17T18:05:32.569Z] Login Succeeded [2021-06-17T18:05:32.569Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:05:32.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:05:32.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:05:32.830Z] Configure a credential helper to remove this warning. See [2021-06-17T18:05:32.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:05:32.830Z] [2021-06-17T18:05:32.830Z] Login Succeeded [2021-06-17T18:05:32.830Z] docker.io [2021-06-17T18:05:32.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:05:33.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:05:33.090Z] Configure a credential helper to remove this warning. See [2021-06-17T18:05:33.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:05:33.090Z] [2021-06-17T18:05:33.090Z] Login Succeeded [2021-06-17T18:05:33.090Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:05:33.114Z] 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-17T18:05:33.999Z] + git log --format=format:%s -1 37e47363dd77b62312584f608dd2a6bdabc79b94 [Pipeline] echo [2021-06-17T18:05:34.064Z] GIT_COMMIT: 37e47363dd77b62312584f608dd2a6bdabc79b94, Commit Message: feat: Enable using MessageBus as the default [Pipeline] echo [2021-06-17T18:05:34.104Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:05:34.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:05:34.877Z] [2021-06-17T18:05:34.877Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:05:35.250Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:05:35.250Z] latest: Pulling from edgex-devops/git-semver [2021-06-17T18:05:35.250Z] 31603596830f: Pulling fs layer [2021-06-17T18:05:35.250Z] 54011a49482f: Pulling fs layer [2021-06-17T18:05:35.250Z] a6820b24f6d8: Pulling fs layer [2021-06-17T18:05:35.250Z] f581987b2513: Pulling fs layer [2021-06-17T18:05:35.250Z] f581987b2513: Waiting [2021-06-17T18:05:35.250Z] 54011a49482f: Verifying Checksum [2021-06-17T18:05:35.250Z] 54011a49482f: Download complete [2021-06-17T18:05:35.250Z] 31603596830f: Verifying Checksum [2021-06-17T18:05:35.250Z] 31603596830f: Download complete [2021-06-17T18:05:35.519Z] f581987b2513: Verifying Checksum [2021-06-17T18:05:35.519Z] f581987b2513: Download complete [2021-06-17T18:05:35.519Z] a6820b24f6d8: Verifying Checksum [2021-06-17T18:05:35.519Z] a6820b24f6d8: Download complete [2021-06-17T18:05:35.519Z] 31603596830f: Pull complete [2021-06-17T18:05:35.519Z] 54011a49482f: Pull complete [2021-06-17T18:05:36.467Z] a6820b24f6d8: Pull complete [2021-06-17T18:05:36.467Z] f581987b2513: Pull complete [2021-06-17T18:05:36.467Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-17T18:05:36.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:05:36.467Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-17T18:05:36.571Z] prd-centos7-docker-4c-2g-23 does not seem to be running inside a container [2021-06-17T18:05:36.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-113 -v /w/workspace/gexfoundry_device-snmp-go_PR-113:/w/workspace/gexfoundry_device-snmp-go_PR-113:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-113@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-113@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T18:05:37.774Z] $ docker top 4cf1a16c549cac8f6737210360e75114617042b383506e7b9f76e6ac611c8871 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:05:38.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:05:38.008Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:05:38.114Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:05:38.113Z] $ docker exec 4cf1a16c549cac8f6737210360e75114617042b383506e7b9f76e6ac611c8871 ssh-agent [2021-06-17T18:05:38.228Z] SSH_AUTH_SOCK=/tmp/ssh-IUAI43fsUm0z/agent.13 [2021-06-17T18:05:38.228Z] SSH_AGENT_PID=20 [2021-06-17T18:05:38.236Z] Running ssh-add (command line suppressed) [2021-06-17T18:05:38.325Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-113@tmp/private_key_3929481041751465028.key (/w/workspace/gexfoundry_device-snmp-go_PR-113@tmp/private_key_3929481041751465028.key) [2021-06-17T18:05:38.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:05:38.714Z] + git tag --points-at HEAD [Pipeline] } [2021-06-17T18:05:38.735Z] $ docker exec --env ******** --env ******** 4cf1a16c549cac8f6737210360e75114617042b383506e7b9f76e6ac611c8871 ssh-agent -k [2021-06-17T18:05:38.833Z] unset SSH_AUTH_SOCK; [2021-06-17T18:05:38.834Z] unset SSH_AGENT_PID; [2021-06-17T18:05:38.834Z] echo Agent pid 20 killed; [2021-06-17T18:05:38.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-17T18:05:38.954Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:05:38.955Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:05:39.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:05:39.065Z] $ docker exec 4cf1a16c549cac8f6737210360e75114617042b383506e7b9f76e6ac611c8871 ssh-agent [2021-06-17T18:05:39.177Z] SSH_AUTH_SOCK=/tmp/ssh-5sw1JO9RGYr3/agent.52 [2021-06-17T18:05:39.177Z] SSH_AGENT_PID=58 [2021-06-17T18:05:39.183Z] Running ssh-add (command line suppressed) [2021-06-17T18:05:39.279Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-113@tmp/private_key_819718644179687320.key (/w/workspace/gexfoundry_device-snmp-go_PR-113@tmp/private_key_819718644179687320.key) [2021-06-17T18:05:39.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:05:39.641Z] + git semver init [2021-06-17T18:05:39.641Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:05:39.641Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-113/.git [2021-06-17T18:05:39.641Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-113 [2021-06-17T18:05:39.641Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:05:39.641Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:05:39.641Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:05:39.641Z] # $SEMVER_BRANCH = PR-113 [2021-06-17T18:05:39.641Z] # $SEMVER_TEMP = /tmp/semver-917616698 [2021-06-17T18:05:39.641Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-17T18:05:39.906Z] # '/tmp/semver-917616698' -> '/w/workspace/gexfoundry_device-snmp-go_PR-113/.semver' [2021-06-17T18:05:39.906Z] # -> Force: false [2021-06-17T18:05:39.906Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-113/.semver [Pipeline] } [2021-06-17T18:05:39.934Z] $ docker exec --env ******** --env ******** 4cf1a16c549cac8f6737210360e75114617042b383506e7b9f76e6ac611c8871 ssh-agent -k [2021-06-17T18:05:40.028Z] unset SSH_AUTH_SOCK; [2021-06-17T18:05:40.028Z] unset SSH_AGENT_PID; [2021-06-17T18:05:40.028Z] echo Agent pid 58 killed; [2021-06-17T18:05:40.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:05:40.557Z] + git semver [Pipeline] } [2021-06-17T18:05:40.585Z] $ docker stop --time=1 4cf1a16c549cac8f6737210360e75114617042b383506e7b9f76e6ac611c8871 [2021-06-17T18:05:41.800Z] $ docker rm -f 4cf1a16c549cac8f6737210360e75114617042b383506e7b9f76e6ac611c8871 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:05:42.238Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-17T18:05:42.612Z] Stashed 1 file(s) [Pipeline] echo [2021-06-17T18:05:42.634Z] [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-17T18:05:58.220Z] Still waiting to schedule task [2021-06-17T18:05:58.220Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-17T18:05:58.271Z] Still waiting to schedule task [2021-06-17T18:05:58.272Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-17T18:07:28.439Z] Running on prd-centos7-docker-4c-2g-24 in /w/workspace/gexfoundry_device-snmp-go_PR-113 [Pipeline] { [Pipeline] ws [2021-06-17T18:07:28.497Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-17T18:07:28.660Z] Selected Git installation does not exist. Using Default [2021-06-17T18:07:28.660Z] The recommended git tool is: NONE [2021-06-17T18:07:31.114Z] using credential edgex-jenkins-ssh [2021-06-17T18:07:31.126Z] Cloning the remote Git repository [2021-06-17T18:07:31.146Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-17T18:07:31.222Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-17T18:07:31.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-17T18:07:31.250Z] > git --version # timeout=10 [2021-06-17T18:07:31.258Z] > git --version # 'git version 2.24.4' [2021-06-17T18:07:31.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:07:31.279Z] [INFO] Currently running in a labeled security context [2021-06-17T18:07:31.279Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T18:07:31.279Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh5111456742709366986.key [2021-06-17T18:07:31.297Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:07:31.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-17T18:07:31.780Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:07:31.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-17T18:07:31.802Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-17T18:07:31.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:07:31.803Z] [INFO] Currently running in a labeled security context [2021-06-17T18:07:31.804Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T18:07:31.804Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh3918085407411595287.key [2021-06-17T18:07:31.826Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-17T18:07:32.217Z] Merging remotes/origin/master commit 11d8369584318023b9540bc2f4ed2887017df2a8 into PR head commit 37e47363dd77b62312584f608dd2a6bdabc79b94 [2021-06-17T18:07:32.292Z] Merge succeeded, producing 37e47363dd77b62312584f608dd2a6bdabc79b94 [2021-06-17T18:07:32.293Z] Checking out Revision 37e47363dd77b62312584f608dd2a6bdabc79b94 (PR-113) [2021-06-17T18:07:32.220Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:07:32.224Z] > git checkout -f 37e47363dd77b62312584f608dd2a6bdabc79b94 # timeout=10 [2021-06-17T18:07:32.252Z] > git remote # timeout=10 [2021-06-17T18:07:32.259Z] > git config --get remote.origin.url # timeout=10 [2021-06-17T18:07:32.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:07:32.266Z] [INFO] Currently running in a labeled security context [2021-06-17T18:07:32.267Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T18:07:32.267Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh552228706746802466.key [2021-06-17T18:07:32.273Z] > git merge 11d8369584318023b9540bc2f4ed2887017df2a8 # timeout=10 [2021-06-17T18:07:32.281Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-17T18:07:32.292Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:07:32.298Z] > git checkout -f 37e47363dd77b62312584f608dd2a6bdabc79b94 # timeout=10 [2021-06-17T18:07:35.914Z] Commit message: "feat: Enable using MessageBus as the default" [2021-06-17T18:07:35.939Z] > git --version # timeout=10 [2021-06-17T18:07:35.945Z] > git --version # 'git version 2.24.4' [2021-06-17T18:07:35.953Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:07:37.279Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:07:37.670Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:07:37.999Z] + true [2021-06-17T18:07:37.999Z] + sudo service docker restart [2021-06-17T18:07:37.999Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:07:56.257Z] provisioning config files... [2021-06-17T18:07:56.283Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3217753566338365455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:07:56.740Z] ---> docker-login.sh [2021-06-17T18:07:56.740Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:07:56.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:07:57.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:07:57.008Z] Configure a credential helper to remove this warning. See [2021-06-17T18:07:57.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:07:57.008Z] [2021-06-17T18:07:57.008Z] Login Succeeded [2021-06-17T18:07:57.008Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:07:57.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:07:57.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:07:57.008Z] Configure a credential helper to remove this warning. See [2021-06-17T18:07:57.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:07:57.008Z] [2021-06-17T18:07:57.008Z] Login Succeeded [2021-06-17T18:07:57.008Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:07:57.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:07:57.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:07:57.269Z] Configure a credential helper to remove this warning. See [2021-06-17T18:07:57.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:07:57.269Z] [2021-06-17T18:07:57.269Z] Login Succeeded [2021-06-17T18:07:57.269Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:07:57.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:07:57.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:07:57.269Z] Configure a credential helper to remove this warning. See [2021-06-17T18:07:57.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:07:57.269Z] [2021-06-17T18:07:57.269Z] Login Succeeded [2021-06-17T18:07:57.269Z] docker.io [2021-06-17T18:07:57.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:07:57.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:07:57.792Z] Configure a credential helper to remove this warning. See [2021-06-17T18:07:57.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:07:57.792Z] [2021-06-17T18:07:57.792Z] Login Succeeded [2021-06-17T18:07:57.792Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:07:57.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T18:07:58.151Z] ========================================================= [2021-06-17T18:07:58.151Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-17T18:07:58.151Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:07:58.502Z] + 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-17T18:07:58.502Z] Sending build context to Docker daemon 372.7kB [2021-06-17T18:07:58.502Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:07:58.502Z] Step 2/10 : FROM ${BASE} [2021-06-17T18:07:58.502Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-17T18:07:58.502Z] 540db60ca938: Pulling fs layer [2021-06-17T18:07:58.502Z] adcc1eea9eea: Pulling fs layer [2021-06-17T18:07:58.502Z] 4c4ab2625f07: Pulling fs layer [2021-06-17T18:07:58.502Z] 0510c868ecb4: Pulling fs layer [2021-06-17T18:07:58.502Z] afea3b2eda06: Pulling fs layer [2021-06-17T18:07:58.502Z] 7809a108b3ef: Pulling fs layer [2021-06-17T18:07:58.502Z] f706445af74f: Pulling fs layer [2021-06-17T18:07:58.502Z] 0510c868ecb4: Waiting [2021-06-17T18:07:58.502Z] afea3b2eda06: Waiting [2021-06-17T18:07:58.502Z] 7809a108b3ef: Waiting [2021-06-17T18:07:58.502Z] f706445af74f: Waiting [2021-06-17T18:07:58.502Z] 4c4ab2625f07: Verifying Checksum [2021-06-17T18:07:58.502Z] 4c4ab2625f07: Download complete [2021-06-17T18:07:58.502Z] adcc1eea9eea: Verifying Checksum [2021-06-17T18:07:58.502Z] adcc1eea9eea: Download complete [2021-06-17T18:07:58.765Z] afea3b2eda06: Verifying Checksum [2021-06-17T18:07:58.765Z] afea3b2eda06: Download complete [2021-06-17T18:07:58.765Z] 7809a108b3ef: Verifying Checksum [2021-06-17T18:07:58.765Z] 7809a108b3ef: Download complete [2021-06-17T18:07:58.765Z] 540db60ca938: Verifying Checksum [2021-06-17T18:07:58.765Z] 540db60ca938: Download complete [2021-06-17T18:07:58.765Z] 540db60ca938: Pull complete [2021-06-17T18:07:59.028Z] adcc1eea9eea: Pull complete [2021-06-17T18:07:59.028Z] 4c4ab2625f07: Pull complete [2021-06-17T18:08:00.417Z] f706445af74f: Verifying Checksum [2021-06-17T18:08:00.417Z] f706445af74f: Download complete [2021-06-17T18:08:00.990Z] 0510c868ecb4: Verifying Checksum [2021-06-17T18:08:00.990Z] 0510c868ecb4: Download complete [2021-06-17T18:08:04.344Z] 0510c868ecb4: Pull complete [2021-06-17T18:08:04.345Z] afea3b2eda06: Pull complete [2021-06-17T18:08:04.610Z] 7809a108b3ef: Pull complete [2021-06-17T18:08:05.997Z] f706445af74f: Pull complete [2021-06-17T18:08:05.997Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-17T18:08:05.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-17T18:08:05.997Z] ---> b068be0155e3 [2021-06-17T18:08:05.997Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:08:11.304Z] ---> Running in 5099235bd125 [2021-06-17T18:08:11.304Z] Removing intermediate container 5099235bd125 [2021-06-17T18:08:11.305Z] ---> c36db2bf4b2e [2021-06-17T18:08:11.305Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:08:11.305Z] ---> Running in b610764ce677 [2021-06-17T18:08:11.305Z] Removing intermediate container b610764ce677 [2021-06-17T18:08:11.305Z] ---> e45a54771457 [2021-06-17T18:08:11.305Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-17T18:08:11.305Z] ---> Running in 886841ac8823 [2021-06-17T18:08:11.305Z] Removing intermediate container 886841ac8823 [2021-06-17T18:08:11.305Z] ---> 908ca11b0eac [2021-06-17T18:08:11.305Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:08:11.305Z] ---> Running in be4ccd2833df [2021-06-17T18:08:11.574Z] Removing intermediate container be4ccd2833df [2021-06-17T18:08:11.574Z] ---> c3cf38bd54e1 [2021-06-17T18:08:11.574Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:08:11.574Z] ---> Running in c571f697ce8e [2021-06-17T18:08:11.847Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:08:12.792Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:08:13.055Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-17T18:08:13.055Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-17T18:08:13.317Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-17T18:08:13.317Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-17T18:08:13.317Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T18:08:13.579Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-17T18:08:13.579Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-17T18:08:13.840Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-17T18:08:14.108Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-17T18:08:14.108Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-17T18:08:14.108Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-17T18:08:14.379Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-17T18:08:14.379Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-17T18:08:14.379Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T18:08:14.379Z] OK: 156 MiB in 53 packages [2021-06-17T18:08:14.955Z] Removing intermediate container c571f697ce8e [2021-06-17T18:08:14.955Z] ---> 561350a73286 [2021-06-17T18:08:14.955Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-17T18:08:14.955Z] ---> Running in 5227d325bd56 [2021-06-17T18:08:15.217Z] Removing intermediate container 5227d325bd56 [2021-06-17T18:08:15.217Z] ---> 7859ec70a576 [2021-06-17T18:08:15.217Z] Step 9/10 : COPY . . [2021-06-17T18:08:15.487Z] ---> b6240b6556dd [2021-06-17T18:08:15.487Z] Step 10/10 : RUN go mod download [2021-06-17T18:08:15.487Z] ---> Running in 38064d4e2f44 [2021-06-17T18:08:30.422Z] Removing intermediate container 38064d4e2f44 [2021-06-17T18:08:30.422Z] ---> 2c4a871f0703 [2021-06-17T18:08:30.422Z] Successfully built 2c4a871f0703 [2021-06-17T18:08:30.422Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:08:30.762Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T18:08:30.762Z] . [Pipeline] withDockerContainer [2021-06-17T18:08:30.868Z] prd-centos7-docker-4c-2g-24 does not seem to be running inside a container [2021-06-17T18:08:30.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T18:08:31.331Z] $ docker top a41fe4280e718e1ac57e06bb6126f1b9ed84bf7d03551906a87e35fa864aae0f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:08:31.769Z] + go version [2021-06-17T18:08:31.769Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-17T18:08:31.795Z] $ docker stop --time=1 a41fe4280e718e1ac57e06bb6126f1b9ed84bf7d03551906a87e35fa864aae0f [2021-06-17T18:08:32.996Z] $ docker rm -f a41fe4280e718e1ac57e06bb6126f1b9ed84bf7d03551906a87e35fa864aae0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:08:33.828Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T18:08:33.829Z] . [Pipeline] withDockerContainer [2021-06-17T18:08:33.933Z] prd-centos7-docker-4c-2g-24 does not seem to be running inside a container [2021-06-17T18:08:33.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T18:08:34.388Z] $ docker top b3d0e4eeb5dcf52bd931cd0d7acdd0d775e98d8de6f70fd8edd26cdd68b3e2e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:08:34.827Z] + go mod tidy [Pipeline] sh [2021-06-17T18:08:35.409Z] + make test [2021-06-17T18:08:35.409Z] go mod tidy [2021-06-17T18:08:35.409Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-17T18:08:35.998Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-17T18:08:51.054Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-17T18:08:51.054Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-06-17T18:08:51.054Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T18:08:57.692Z] gofmt -l . [2021-06-17T18:08:57.692Z] [ "`gofmt -l .`" = "" ] [2021-06-17T18:08:57.692Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-17T18:08:57.722Z] $ docker stop --time=1 b3d0e4eeb5dcf52bd931cd0d7acdd0d775e98d8de6f70fd8edd26cdd68b3e2e3 [2021-06-17T18:08:59.265Z] $ docker rm -f b3d0e4eeb5dcf52bd931cd0d7acdd0d775e98d8de6f70fd8edd26cdd68b3e2e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:08:59.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T18:09:00.000Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-17T18:09:01.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T18:09:01.756Z] + ls -al . [2021-06-17T18:09:01.756Z] total 104 [2021-06-17T18:09:01.756Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 17 18:08 . [2021-06-17T18:09:01.756Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 18:07 .. [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 17 18:07 Attribution.txt [2021-06-17T18:09:01.756Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 17 18:07 bin [2021-06-17T18:09:01.756Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 18:07 cmd [2021-06-17T18:09:01.756Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 17 18:08 coverage.out [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 17 18:07 Dockerfile [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 17 18:07 Dockerfile.build [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 17 18:07 .dockerignore [2021-06-17T18:09:01.756Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 18:07 .git [2021-06-17T18:09:01.756Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 17 18:07 .github [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 17 18:07 .gitignore [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 223 Jun 17 18:07 go.mod [2021-06-17T18:09:01.756Z] -rw-r--r--. 1 jenkins jenkins 21038 Jun 17 18:08 go.sum [2021-06-17T18:09:01.756Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 18:07 internal [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 17 18:07 Jenkinsfile [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 18:07 LICENSE [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 17 18:07 Makefile [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 17 18:07 README.md [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 18:05 VERSION [2021-06-17T18:09:01.756Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 17 18:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:09:02.111Z] + 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=37e47363dd77b62312584f608dd2a6bdabc79b94 --label arch=amd64 --label version=0.0.0 . [2021-06-17T18:09:02.111Z] Sending build context to Docker daemon 380.9kB [2021-06-17T18:09:02.111Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:09:02.111Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-17T18:09:02.111Z] ---> 2c4a871f0703 [2021-06-17T18:09:02.111Z] Step 3/24 : ARG MAKE='make build' [2021-06-17T18:09:02.111Z] ---> Running in ff421553cff9 [2021-06-17T18:09:02.111Z] Removing intermediate container ff421553cff9 [2021-06-17T18:09:02.111Z] ---> 54cdaf412efd [2021-06-17T18:09:02.111Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:09:02.383Z] ---> Running in b08d7501bfeb [2021-06-17T18:09:02.383Z] Removing intermediate container b08d7501bfeb [2021-06-17T18:09:02.383Z] ---> 306c75e9a77a [2021-06-17T18:09:02.383Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:09:02.383Z] ---> Running in e57018b4811b [2021-06-17T18:09:02.383Z] Removing intermediate container e57018b4811b [2021-06-17T18:09:02.383Z] ---> 8a386d8eb5e0 [2021-06-17T18:09:02.383Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:09:02.383Z] ---> Running in 38231e2fdb5c [2021-06-17T18:09:02.962Z] Removing intermediate container 38231e2fdb5c [2021-06-17T18:09:02.962Z] ---> 46090a46b8ac [2021-06-17T18:09:02.962Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:09:02.962Z] ---> Running in dcf993e6db2b [2021-06-17T18:09:03.232Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:09:04.190Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:09:04.766Z] OK: 156 MiB in 53 packages [2021-06-17T18:09:05.030Z] Removing intermediate container dcf993e6db2b [2021-06-17T18:09:05.030Z] ---> ec7a56bdf2f8 [2021-06-17T18:09:05.030Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-17T18:09:05.030Z] ---> Running in e52062ec2cc3 [2021-06-17T18:09:05.030Z] Removing intermediate container e52062ec2cc3 [2021-06-17T18:09:05.030Z] ---> aaa3b3f6eb8b [2021-06-17T18:09:05.030Z] Step 9/24 : COPY . . [2021-06-17T18:09:05.292Z] ---> a847160fa62e [2021-06-17T18:09:05.292Z] Step 10/24 : RUN go mod tidy [2021-06-17T18:09:05.292Z] ---> Running in c0ba7f82c98a [2021-06-17T18:09:05.879Z] Removing intermediate container c0ba7f82c98a [2021-06-17T18:09:05.879Z] ---> 6c4f954ca8c0 [2021-06-17T18:09:05.879Z] Step 11/24 : RUN make update [2021-06-17T18:09:05.879Z] ---> Running in 7c103f8145f7 [2021-06-17T18:09:06.141Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-17T18:09:06.408Z] Removing intermediate container 7c103f8145f7 [2021-06-17T18:09:06.408Z] ---> e2932a129510 [2021-06-17T18:09:06.408Z] Step 12/24 : RUN ${MAKE} [2021-06-17T18:09:06.408Z] ---> Running in 8d866e979264 [2021-06-17T18:09:06.677Z] go mod tidy [2021-06-17T18:09:06.939Z] 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-17T18:09:19.326Z] Removing intermediate container 8d866e979264 [2021-06-17T18:09:19.326Z] ---> 56178617b7ce [2021-06-17T18:09:19.326Z] Step 13/24 : FROM alpine:3.12 [2021-06-17T18:09:19.326Z] 3.12: Pulling from library/alpine [2021-06-17T18:09:19.326Z] 339de151aab4: Pulling fs layer [2021-06-17T18:09:19.326Z] 339de151aab4: Verifying Checksum [2021-06-17T18:09:19.326Z] 339de151aab4: Download complete [2021-06-17T18:09:19.586Z] 339de151aab4: Pull complete [2021-06-17T18:09:19.586Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T18:09:19.586Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T18:09:19.586Z] ---> 13621d1b12d4 [2021-06-17T18:09:19.586Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T18:09:19.586Z] ---> Running in b8798e77def1 [2021-06-17T18:09:19.850Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:09:19.850Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:09:20.119Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T18:09:20.119Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T18:09:20.119Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T18:09:20.119Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T18:09:20.119Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T18:09:20.119Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T18:09:20.119Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T18:09:20.119Z] OK: 8 MiB in 20 packages [2021-06-17T18:09:20.383Z] Removing intermediate container b8798e77def1 [2021-06-17T18:09:20.383Z] ---> f941bad29765 [2021-06-17T18:09:20.383Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-17T18:09:20.961Z] ---> def2d0140d33 [2021-06-17T18:09:20.961Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-17T18:09:20.961Z] ---> fb3c556752a3 [2021-06-17T18:09:20.961Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-17T18:09:20.961Z] ---> b406b48f476a [2021-06-17T18:09:20.961Z] Step 18/24 : EXPOSE 59993 [2021-06-17T18:09:21.225Z] ---> Running in c44e91650bde [2021-06-17T18:09:21.225Z] Removing intermediate container c44e91650bde [2021-06-17T18:09:21.225Z] ---> 800a6f3c4071 [2021-06-17T18:09:21.225Z] Step 19/24 : EXPOSE 161 [2021-06-17T18:09:21.225Z] ---> Running in 2f824960a981 [2021-06-17T18:09:21.225Z] Removing intermediate container 2f824960a981 [2021-06-17T18:09:21.225Z] ---> b682a0e95947 [2021-06-17T18:09:21.225Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-17T18:09:21.494Z] ---> Running in 7b00eb973848 [2021-06-17T18:09:21.494Z] Removing intermediate container 7b00eb973848 [2021-06-17T18:09:21.494Z] ---> a72aae2d53ff [2021-06-17T18:09:21.494Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-17T18:09:21.494Z] ---> Running in 40594ed62c06 [2021-06-17T18:09:21.494Z] Removing intermediate container 40594ed62c06 [2021-06-17T18:09:21.494Z] ---> 25da81f9ea28 [2021-06-17T18:09:21.494Z] Step 22/24 : LABEL arch=amd64 [2021-06-17T18:09:21.494Z] ---> Running in a9df61fb80cd [2021-06-17T18:09:21.757Z] Removing intermediate container a9df61fb80cd [2021-06-17T18:09:21.757Z] ---> c3a49f264e30 [2021-06-17T18:09:21.757Z] Step 23/24 : LABEL git_sha=37e47363dd77b62312584f608dd2a6bdabc79b94 [2021-06-17T18:09:21.757Z] ---> Running in 63d347fb55d0 [2021-06-17T18:09:21.757Z] Removing intermediate container 63d347fb55d0 [2021-06-17T18:09:21.757Z] ---> cfc82d11d24c [2021-06-17T18:09:21.757Z] Step 24/24 : LABEL version=0.0.0 [2021-06-17T18:09:21.757Z] ---> Running in 0b9cc3d91114 [2021-06-17T18:09:22.025Z] Removing intermediate container 0b9cc3d91114 [2021-06-17T18:09:22.025Z] ---> 09aa224045be [2021-06-17T18:09:22.025Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T18:09:22.025Z] Successfully built 09aa224045be [2021-06-17T18:09:22.025Z] 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-17T18:09:23.087Z] ---> job-cost.sh [2021-06-17T18:09:23.087Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3I3P [2021-06-17T18:09:33.137Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T18:09:45.405Z] lf-activate-venv(): INFO: Adding /tmp/venv-3I3P/bin to PATH [2021-06-17T18:09:45.405Z] INFO: No Stack... [2021-06-17T18:09:45.405Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T18:09:45.987Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T18:09:46.310Z] + cut -d, -f6 [2021-06-17T18:09:46.310Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-06-17T18:09:46.374Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-113-1-stack-cost] [2021-06-17T18:09:46.381Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-113-1-stack-cost] did not exist. Created. [2021-06-17T18:09:46.381Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T18:09:46.795Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-17T18:09:46.881Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T18:09:46.940Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-17T18:09:52.771Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26 in /w/workspace/gexfoundry_device-snmp-go_PR-113 [Pipeline] { [Pipeline] ws [2021-06-17T18:09:52.836Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-06-17T18:09:53.093Z] Selected Git installation does not exist. Using Default [2021-06-17T18:09:53.093Z] The recommended git tool is: NONE [2021-06-17T18:09:58.882Z] using credential edgex-jenkins-ssh [2021-06-17T18:09:58.916Z] Cloning the remote Git repository [2021-06-17T18:09:59.017Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-17T18:09:59.189Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-06-17T18:09:59.278Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-17T18:09:59.279Z] > git --version # timeout=10 [2021-06-17T18:09:59.299Z] > git --version # 'git version 2.17.1' [2021-06-17T18:09:59.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:09:59.433Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:10:00.126Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-17T18:10:00.147Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:10:00.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-17T18:10:00.220Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-17T18:10:00.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:10:00.236Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-17T18:10:00.877Z] Merging remotes/origin/master commit 11d8369584318023b9540bc2f4ed2887017df2a8 into PR head commit 37e47363dd77b62312584f608dd2a6bdabc79b94 [2021-06-17T18:10:01.120Z] Merge succeeded, producing 37e47363dd77b62312584f608dd2a6bdabc79b94 [2021-06-17T18:10:01.121Z] Checking out Revision 37e47363dd77b62312584f608dd2a6bdabc79b94 (PR-113) [2021-06-17T18:10:00.902Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:10:00.925Z] > git checkout -f 37e47363dd77b62312584f608dd2a6bdabc79b94 # timeout=10 [2021-06-17T18:10:01.019Z] > git remote # timeout=10 [2021-06-17T18:10:01.040Z] > git config --get remote.origin.url # timeout=10 [2021-06-17T18:10:01.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:10:01.078Z] > git merge 11d8369584318023b9540bc2f4ed2887017df2a8 # timeout=10 [2021-06-17T18:10:01.102Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-17T18:10:01.126Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:10:01.142Z] > git checkout -f 37e47363dd77b62312584f608dd2a6bdabc79b94 # timeout=10 [2021-06-17T18:10:05.481Z] Commit message: "feat: Enable using MessageBus as the default" [2021-06-17T18:10:05.547Z] > git --version # timeout=10 [2021-06-17T18:10:05.559Z] > git --version # 'git version 2.17.1' [2021-06-17T18:10:05.577Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:10:07.271Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:10:07.742Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:10:08.118Z] + true [2021-06-17T18:10:08.118Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:10:26.552Z] provisioning config files... [2021-06-17T18:10:26.586Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8468320248957859634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:10:27.032Z] ---> docker-login.sh [2021-06-17T18:10:27.032Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:10:28.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:10:28.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:10:28.294Z] Configure a credential helper to remove this warning. See [2021-06-17T18:10:28.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:10:28.294Z] [2021-06-17T18:10:28.294Z] Login Succeeded [2021-06-17T18:10:28.294Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:10:28.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:10:28.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:10:28.846Z] Configure a credential helper to remove this warning. See [2021-06-17T18:10:28.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:10:28.846Z] [2021-06-17T18:10:28.846Z] Login Succeeded [2021-06-17T18:10:28.846Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:10:29.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:10:29.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:10:29.404Z] Configure a credential helper to remove this warning. See [2021-06-17T18:10:29.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:10:29.404Z] [2021-06-17T18:10:29.404Z] Login Succeeded [2021-06-17T18:10:29.404Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:10:29.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:10:30.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:10:30.279Z] Configure a credential helper to remove this warning. See [2021-06-17T18:10:30.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:10:30.279Z] [2021-06-17T18:10:30.279Z] Login Succeeded [2021-06-17T18:10:30.279Z] docker.io [2021-06-17T18:10:30.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:10:31.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:10:31.156Z] Configure a credential helper to remove this warning. See [2021-06-17T18:10:31.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:10:31.156Z] [2021-06-17T18:10:31.156Z] Login Succeeded [2021-06-17T18:10:31.156Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:10:31.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T18:10:31.815Z] ========================================================= [2021-06-17T18:10:31.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-17T18:10:31.815Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:10:32.257Z] + 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-17T18:10:32.535Z] Sending build context to Docker daemon 371.7kB [2021-06-17T18:10:32.535Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:10:32.535Z] Step 2/10 : FROM ${BASE} [2021-06-17T18:10:32.808Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-17T18:10:32.808Z] 595b0fe564bb: Pulling fs layer [2021-06-17T18:10:32.808Z] 3088b5b3c5c0: Pulling fs layer [2021-06-17T18:10:32.808Z] 5b7225fbf94c: Pulling fs layer [2021-06-17T18:10:32.808Z] ba82ee9f976e: Pulling fs layer [2021-06-17T18:10:32.808Z] 506bd15cee9f: Pulling fs layer [2021-06-17T18:10:32.808Z] 75a0a4a0db45: Pulling fs layer [2021-06-17T18:10:32.808Z] 618dc40b7e24: Pulling fs layer [2021-06-17T18:10:32.808Z] 506bd15cee9f: Waiting [2021-06-17T18:10:32.808Z] 75a0a4a0db45: Waiting [2021-06-17T18:10:32.808Z] ba82ee9f976e: Waiting [2021-06-17T18:10:32.808Z] 618dc40b7e24: Waiting [2021-06-17T18:10:32.808Z] 5b7225fbf94c: Verifying Checksum [2021-06-17T18:10:32.808Z] 5b7225fbf94c: Download complete [2021-06-17T18:10:32.808Z] 3088b5b3c5c0: Verifying Checksum [2021-06-17T18:10:32.808Z] 3088b5b3c5c0: Download complete [2021-06-17T18:10:33.091Z] 506bd15cee9f: Verifying Checksum [2021-06-17T18:10:33.091Z] 506bd15cee9f: Download complete [2021-06-17T18:10:33.091Z] 75a0a4a0db45: Download complete [2021-06-17T18:10:33.091Z] 595b0fe564bb: Verifying Checksum [2021-06-17T18:10:33.091Z] 595b0fe564bb: Download complete [2021-06-17T18:10:33.697Z] 595b0fe564bb: Pull complete [2021-06-17T18:10:34.303Z] 3088b5b3c5c0: Pull complete [2021-06-17T18:10:34.910Z] 5b7225fbf94c: Pull complete [2021-06-17T18:10:36.348Z] 618dc40b7e24: Verifying Checksum [2021-06-17T18:10:36.348Z] 618dc40b7e24: Download complete [2021-06-17T18:10:37.782Z] ba82ee9f976e: Verifying Checksum [2021-06-17T18:10:47.926Z] ba82ee9f976e: Pull complete [2021-06-17T18:10:47.926Z] 506bd15cee9f: Pull complete [2021-06-17T18:10:47.926Z] 75a0a4a0db45: Pull complete [2021-06-17T18:10:51.327Z] 618dc40b7e24: Pull complete [2021-06-17T18:10:51.327Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-17T18:10:51.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-17T18:10:51.327Z] ---> a36622ca3599 [2021-06-17T18:10:51.327Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:10:53.307Z] ---> Running in bdb4d2e230f5 [2021-06-17T18:10:53.580Z] Removing intermediate container bdb4d2e230f5 [2021-06-17T18:10:53.580Z] ---> 10339282960b [2021-06-17T18:10:53.580Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:10:53.853Z] ---> Running in 6c0624ced4af [2021-06-17T18:10:54.451Z] Removing intermediate container 6c0624ced4af [2021-06-17T18:10:54.451Z] ---> 00529fa1eb78 [2021-06-17T18:10:54.451Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-17T18:10:54.727Z] ---> Running in 0d728224ffb5 [2021-06-17T18:10:55.322Z] Removing intermediate container 0d728224ffb5 [2021-06-17T18:10:55.322Z] ---> 5ec372121e19 [2021-06-17T18:10:55.322Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:10:55.598Z] ---> Running in c87ae376a632 [2021-06-17T18:10:58.229Z] Removing intermediate container c87ae376a632 [2021-06-17T18:10:58.229Z] ---> 44f09dc52a66 [2021-06-17T18:10:58.229Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:10:58.229Z] ---> Running in e759ac669c62 [2021-06-17T18:10:59.662Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:11:00.269Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:11:01.264Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-17T18:11:01.264Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-17T18:11:01.264Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-17T18:11:01.264Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-17T18:11:01.536Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T18:11:01.536Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-17T18:11:01.536Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-17T18:11:02.143Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-17T18:11:02.144Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-17T18:11:02.144Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-17T18:11:02.413Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-17T18:11:02.413Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-17T18:11:02.413Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-17T18:11:02.723Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T18:11:02.723Z] OK: 145 MiB in 53 packages [2021-06-17T18:11:04.185Z] Removing intermediate container e759ac669c62 [2021-06-17T18:11:04.185Z] ---> 0a9a833b2886 [2021-06-17T18:11:04.185Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-17T18:11:04.185Z] ---> Running in 7798de8374d5 [2021-06-17T18:11:04.461Z] Removing intermediate container 7798de8374d5 [2021-06-17T18:11:04.461Z] ---> 175f3a8c957d [2021-06-17T18:11:04.461Z] Step 9/10 : COPY . . [2021-06-17T18:11:05.476Z] ---> ed4342e323f1 [2021-06-17T18:11:05.476Z] Step 10/10 : RUN go mod download [2021-06-17T18:11:05.756Z] ---> Running in 0556c8e1c0a9 [2021-06-17T18:11:32.581Z] Removing intermediate container 0556c8e1c0a9 [2021-06-17T18:11:32.581Z] ---> 15dfaa479cc8 [2021-06-17T18:11:32.581Z] Successfully built 15dfaa479cc8 [2021-06-17T18:11:32.581Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:11:32.997Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T18:11:32.997Z] . [Pipeline] withDockerContainer [2021-06-17T18:11:33.273Z] prd-ubuntu18.04-docker-arm64-4c-16g-26 does not seem to be running inside a container [2021-06-17T18:11:33.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-17T18:11:34.938Z] $ docker top bfc5c1b2c59682aa00e9c71536549b4fb81966a6670f8b8fb47651670ada2521 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:11:35.990Z] + go version [2021-06-17T18:11:35.990Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-17T18:11:36.029Z] $ docker stop --time=1 bfc5c1b2c59682aa00e9c71536549b4fb81966a6670f8b8fb47651670ada2521 [2021-06-17T18:11:37.864Z] $ docker rm -f bfc5c1b2c59682aa00e9c71536549b4fb81966a6670f8b8fb47651670ada2521 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:11:39.023Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T18:11:39.023Z] . [Pipeline] withDockerContainer [2021-06-17T18:11:39.377Z] prd-ubuntu18.04-docker-arm64-4c-16g-26 does not seem to be running inside a container [2021-06-17T18:11:39.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-17T18:11:41.185Z] $ docker top cad1e4bd5ed544b0e042416f906967243bddab72dd7b534caf13d8eeca1ac989 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:11:42.241Z] + go mod tidy [Pipeline] sh [2021-06-17T18:11:43.536Z] + make test [2021-06-17T18:11:43.536Z] go mod tidy [2021-06-17T18:11:43.813Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-17T18:11:45.258Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-17T18:12:41.887Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-17T18:12:41.887Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.081s coverage: 0.0% of statements [2021-06-17T18:12:41.887Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T18:13:00.312Z] gofmt -l . [2021-06-17T18:13:00.312Z] [ "`gofmt -l .`" = "" ] [2021-06-17T18:13:00.312Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-17T18:13:00.356Z] $ docker stop --time=1 cad1e4bd5ed544b0e042416f906967243bddab72dd7b534caf13d8eeca1ac989 [2021-06-17T18:13:02.395Z] $ docker rm -f cad1e4bd5ed544b0e042416f906967243bddab72dd7b534caf13d8eeca1ac989 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:13:03.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T18:13:03.401Z] Warning: overwriting stash ‘coverage-report’ [2021-06-17T18:13:03.975Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:13:04.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T18:13:05.144Z] + ls -al . [2021-06-17T18:13:05.144Z] total 128 [2021-06-17T18:13:05.144Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 17 18:12 . [2021-06-17T18:13:05.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:09 .. [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 17 18:10 .dockerignore [2021-06-17T18:13:05.144Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:10 .git [2021-06-17T18:13:05.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:10 .github [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 17 18:10 .gitignore [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 17 18:10 Attribution.txt [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 17 18:10 Dockerfile [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 17 18:10 Dockerfile.build [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 17 18:10 Jenkinsfile [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 18:10 LICENSE [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 17 18:10 Makefile [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 17 18:10 README.md [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 18:05 VERSION [2021-06-17T18:13:05.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:10 bin [2021-06-17T18:13:05.144Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:10 cmd [2021-06-17T18:13:05.144Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 17 18:12 coverage.out [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 223 Jun 17 18:10 go.mod [2021-06-17T18:13:05.144Z] -rw-r--r-- 1 jenkins jenkins 21038 Jun 17 18:11 go.sum [2021-06-17T18:13:05.144Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:10 internal [2021-06-17T18:13:05.144Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 17 18:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:13:05.564Z] + 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=37e47363dd77b62312584f608dd2a6bdabc79b94 --label arch=arm64 --label version=0.0.0 . [2021-06-17T18:13:05.889Z] Sending build context to Docker daemon 379.9kB [2021-06-17T18:13:06.172Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:13:06.172Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-17T18:13:06.172Z] ---> 15dfaa479cc8 [2021-06-17T18:13:06.172Z] Step 3/24 : ARG MAKE='make build' [2021-06-17T18:13:06.531Z] ---> Running in 93da07e40d38 [2021-06-17T18:13:06.808Z] Removing intermediate container 93da07e40d38 [2021-06-17T18:13:06.808Z] ---> 15139eeb1aa3 [2021-06-17T18:13:06.808Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:13:07.093Z] ---> Running in 0f2e54d5724a [2021-06-17T18:13:07.387Z] Removing intermediate container 0f2e54d5724a [2021-06-17T18:13:07.387Z] ---> 564027f9b383 [2021-06-17T18:13:07.387Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:13:07.663Z] ---> Running in ad4e777c8720 [2021-06-17T18:13:08.266Z] Removing intermediate container ad4e777c8720 [2021-06-17T18:13:08.266Z] ---> 38e12fd7783c [2021-06-17T18:13:08.266Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:13:08.266Z] ---> Running in 152d9540c92f [2021-06-17T18:13:10.884Z] Removing intermediate container 152d9540c92f [2021-06-17T18:13:10.884Z] ---> c5b40c8d82fb [2021-06-17T18:13:10.884Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:13:10.884Z] ---> Running in 949ab2b2ccef [2021-06-17T18:13:11.862Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:13:12.838Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:13:13.819Z] OK: 145 MiB in 53 packages [2021-06-17T18:13:14.798Z] Removing intermediate container 949ab2b2ccef [2021-06-17T18:13:14.798Z] ---> 3d543c0b972d [2021-06-17T18:13:14.798Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-17T18:13:15.072Z] ---> Running in f55f6729c7d7 [2021-06-17T18:13:15.670Z] Removing intermediate container f55f6729c7d7 [2021-06-17T18:13:15.670Z] ---> afdf1f3213ca [2021-06-17T18:13:15.670Z] Step 9/24 : COPY . . [2021-06-17T18:13:17.112Z] ---> f72ef4bde656 [2021-06-17T18:13:17.112Z] Step 10/24 : RUN go mod tidy [2021-06-17T18:13:17.112Z] ---> Running in fe331431d0ac [2021-06-17T18:13:19.739Z] Removing intermediate container fe331431d0ac [2021-06-17T18:13:19.739Z] ---> 41b7829867ad [2021-06-17T18:13:19.739Z] Step 11/24 : RUN make update [2021-06-17T18:13:20.011Z] ---> Running in cb5fb231cc6d [2021-06-17T18:13:20.992Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-17T18:13:22.436Z] Removing intermediate container cb5fb231cc6d [2021-06-17T18:13:22.436Z] ---> fd118e73a868 [2021-06-17T18:13:22.436Z] Step 12/24 : RUN ${MAKE} [2021-06-17T18:13:22.436Z] ---> Running in 5e93a6da8ca7 [2021-06-17T18:13:23.871Z] go mod tidy [2021-06-17T18:13:24.148Z] 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-17T18:14:03.195Z] Removing intermediate container 5e93a6da8ca7 [2021-06-17T18:14:03.195Z] ---> 909fc267e60a [2021-06-17T18:14:03.195Z] Step 13/24 : FROM alpine:3.12 [2021-06-17T18:14:03.195Z] 3.12: Pulling from library/alpine [2021-06-17T18:14:03.195Z] d2f70382dc9a: Pulling fs layer [2021-06-17T18:14:03.195Z] d2f70382dc9a: Verifying Checksum [2021-06-17T18:14:03.195Z] d2f70382dc9a: Download complete [2021-06-17T18:14:03.195Z] d2f70382dc9a: Pull complete [2021-06-17T18:14:03.195Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T18:14:03.195Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T18:14:03.195Z] ---> c4fd0aeabfcf [2021-06-17T18:14:03.195Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T18:14:03.195Z] ---> Running in 6c35e058f368 [2021-06-17T18:14:03.466Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:14:03.466Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:14:04.077Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T18:14:04.077Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T18:14:04.077Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T18:14:04.077Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T18:14:04.077Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T18:14:04.077Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T18:14:04.077Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T18:14:04.077Z] OK: 8 MiB in 20 packages [2021-06-17T18:14:05.532Z] Removing intermediate container 6c35e058f368 [2021-06-17T18:14:05.532Z] ---> b5fd6fbbf835 [2021-06-17T18:14:05.532Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-17T18:14:06.516Z] ---> db91b1c0fd0d [2021-06-17T18:14:06.516Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-17T18:14:07.498Z] ---> e31e551d0887 [2021-06-17T18:14:07.498Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-17T18:14:08.102Z] ---> 3f271f98aa4f [2021-06-17T18:14:08.102Z] Step 18/24 : EXPOSE 59993 [2021-06-17T18:14:08.379Z] ---> Running in 7dca472601c1 [2021-06-17T18:14:08.979Z] Removing intermediate container 7dca472601c1 [2021-06-17T18:14:08.979Z] ---> 96b0a6056934 [2021-06-17T18:14:08.979Z] Step 19/24 : EXPOSE 161 [2021-06-17T18:14:08.979Z] ---> Running in 7fb9c1b9205f [2021-06-17T18:14:09.577Z] Removing intermediate container 7fb9c1b9205f [2021-06-17T18:14:09.577Z] ---> 2426589b1519 [2021-06-17T18:14:09.577Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-17T18:14:09.577Z] ---> Running in fdba810edc11 [2021-06-17T18:14:10.177Z] Removing intermediate container fdba810edc11 [2021-06-17T18:14:10.177Z] ---> c3e9c46a977c [2021-06-17T18:14:10.177Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-17T18:14:10.177Z] ---> Running in be994d3385cb [2021-06-17T18:14:10.772Z] Removing intermediate container be994d3385cb [2021-06-17T18:14:10.773Z] ---> 67cd7d524c64 [2021-06-17T18:14:10.773Z] Step 22/24 : LABEL arch=arm64 [2021-06-17T18:14:11.049Z] ---> Running in 61476ef1a867 [2021-06-17T18:14:11.327Z] Removing intermediate container 61476ef1a867 [2021-06-17T18:14:11.327Z] ---> 4199fc2798b6 [2021-06-17T18:14:11.327Z] Step 23/24 : LABEL git_sha=37e47363dd77b62312584f608dd2a6bdabc79b94 [2021-06-17T18:14:11.604Z] ---> Running in 8f8b69f5e1ae [2021-06-17T18:14:11.929Z] Removing intermediate container 8f8b69f5e1ae [2021-06-17T18:14:11.929Z] ---> 75458315f08a [2021-06-17T18:14:11.929Z] Step 24/24 : LABEL version=0.0.0 [2021-06-17T18:14:12.202Z] ---> Running in b61119376fea [2021-06-17T18:14:12.800Z] Removing intermediate container b61119376fea [2021-06-17T18:14:12.800Z] ---> 3b0dfdae07c5 [2021-06-17T18:14:12.800Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T18:14:12.800Z] Successfully built 3b0dfdae07c5 [2021-06-17T18:14:12.800Z] 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-17T18:14:13.765Z] ---> job-cost.sh [2021-06-17T18:14:13.765Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-V2WT [2021-06-17T18:14:52.749Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T18:16:29.504Z] lf-activate-venv(): INFO: Adding /tmp/venv-V2WT/bin to PATH [2021-06-17T18:16:29.504Z] INFO: No Stack... [2021-06-17T18:16:29.504Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-17T18:16:29.504Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T18:16:29.875Z] + cut -d, -f6 [2021-06-17T18:16:29.875Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-06-17T18:16:29.966Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-113-1-stack-cost] [2021-06-17T18:16:29.973Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-113-1-stack-cost] did not exist. Created. [2021-06-17T18:16:29.973Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T18:16:30.403Z] /w/workspace/device-snmp-go/1@tmp/durable-b3118e24/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-b3118e24/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-17T18:16:30.793Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-17T18:16:30.839Z] Warning: overwriting stash ‘stack-cost’ [2021-06-17T18:16:31.072Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T18:16:31.093Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-17T18:16:32.263Z] provisioning config files... [2021-06-17T18:16:32.275Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-113@tmp/config5727735066835452521tmp [Pipeline] { [Pipeline] sh [2021-06-17T18:16:32.664Z] + set +x [2021-06-17T18:16:32.664Z] + curl -s https://codecov.io/bash [2021-06-17T18:16:32.664Z] + bash -s -- [2021-06-17T18:16:32.664Z] [2021-06-17T18:16:32.665Z] _____ _ [2021-06-17T18:16:32.665Z] / ____| | | [2021-06-17T18:16:32.665Z] | | ___ __| | ___ ___ _____ __ [2021-06-17T18:16:32.665Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-17T18:16:32.665Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-17T18:16:32.665Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-17T18:16:32.665Z] Bash-1.0.3 [2021-06-17T18:16:32.665Z] [2021-06-17T18:16:32.665Z] [2021-06-17T18:16:32.665Z] ==> git version 2.24.4 found [2021-06-17T18:16:32.665Z] ==> 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-17T18:16:32.665Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-17T18:16:32.665Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-17T18:16:32.665Z] ==> Jenkins CI detected. [2021-06-17T18:16:32.665Z] project root: . [2021-06-17T18:16:32.665Z] --> token set from env [2021-06-17T18:16:32.665Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-17T18:16:32.665Z] ==> Running gcov in . (disable via -X gcov) [2021-06-17T18:16:32.665Z] ==> Python coveragepy not found [2021-06-17T18:16:32.665Z] ==> Searching for coverage reports in: [2021-06-17T18:16:32.665Z] + . [2021-06-17T18:16:32.928Z] -> Found 1 reports [2021-06-17T18:16:32.928Z] ==> Detecting git/mercurial file structure [2021-06-17T18:16:32.928Z] ==> Reading reports [2021-06-17T18:16:32.928Z] + ./coverage.out bytes=7631 [2021-06-17T18:16:32.928Z] ==> Appending adjustments [2021-06-17T18:16:32.928Z] https://docs.codecov.io/docs/fixing-reports [2021-06-17T18:16:32.928Z] + Found adjustments [2021-06-17T18:16:32.928Z] ==> Gzipping contents [2021-06-17T18:16:32.928Z] 4.0K /tmp/codecov.7IYOBA.gz [2021-06-17T18:16:32.928Z] ==> Uploading reports [2021-06-17T18:16:32.928Z] url: https://codecov.io [2021-06-17T18:16:32.928Z] query: branch=PR-113&commit=37e47363dd77b62312584f608dd2a6bdabc79b94&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=113&job=&cmd_args= [2021-06-17T18:16:32.928Z] -> Pinging Codecov [2021-06-17T18:16:32.928Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-113&commit=37e47363dd77b62312584f608dd2a6bdabc79b94&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=113&job=&cmd_args= [2021-06-17T18:16:33.525Z] -> Uploading to [2021-06-17T18:16:33.525Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-17/6C56EA5C29638FB4528AC87E60AF5AE0/37e47363dd77b62312584f608dd2a6bdabc79b94/25b022ec-e782-49b3-a185-f80300a6a11f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T181633Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=98c7832ce36b7f609298a1edc65febd0a769e1c919a6b99ae6f459346ab99168 [2021-06-17T18:16:33.525Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-17T18:16:33.525Z] Dload Upload Total Spent Left Speed [2021-06-17T18:16:33.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1383 0 0 100 1383 0 3320 --:--:-- --:--:-- --:--:-- 3316 [2021-06-17T18:16:33.793Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/37e47363dd77b62312584f608dd2a6bdabc79b94 [Pipeline] } [2021-06-17T18:16:33.845Z] 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-17T18:16:36.378Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:16:37.001Z] ---> package-listing.sh [2021-06-17T18:16:37.002Z] ++ facter osfamily [2021-06-17T18:16:37.002Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-17T18:16:37.267Z] + OS_FAMILY=redhat [2021-06-17T18:16:37.267Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-113 [2021-06-17T18:16:37.267Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-17T18:16:37.267Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-17T18:16:37.267Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-17T18:16:37.267Z] + PACKAGES=/tmp/packages_start.txt [2021-06-17T18:16:37.267Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-113 ']' [2021-06-17T18:16:37.267Z] + PACKAGES=/tmp/packages_end.txt [2021-06-17T18:16:37.267Z] + case "${OS_FAMILY}" in [2021-06-17T18:16:37.267Z] + sort [2021-06-17T18:16:37.267Z] + rpm -qa [2021-06-17T18:16:37.856Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-17T18:16:37.856Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-17T18:16:37.856Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-17T18:16:37.856Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-113 ']' [2021-06-17T18:16:37.856Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-113/archives/ [2021-06-17T18:16:37.856Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-113/archives/ [Pipeline] echo [2021-06-17T18:16:37.904Z] 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-113/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-17T18:16:38.228Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:16:38.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:16:38.835Z] [2021-06-17T18:16:38.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:16:39.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:16:39.225Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-17T18:16:39.225Z] df20fa9351a1: Pulling fs layer [2021-06-17T18:16:39.225Z] 36b3adc4ff6f: Pulling fs layer [2021-06-17T18:16:39.225Z] 8ad3a11d3b57: Pulling fs layer [2021-06-17T18:16:39.225Z] 46f8f816bc3b: Pulling fs layer [2021-06-17T18:16:39.225Z] 93b61091891f: Pulling fs layer [2021-06-17T18:16:39.225Z] 93b9cdb0e59b: Pulling fs layer [2021-06-17T18:16:39.225Z] 5e14af77c1be: Pulling fs layer [2021-06-17T18:16:39.225Z] 01666e4c0597: Pulling fs layer [2021-06-17T18:16:39.225Z] aa168da1d23b: Pulling fs layer [2021-06-17T18:16:39.225Z] 93b9cdb0e59b: Waiting [2021-06-17T18:16:39.225Z] 5e14af77c1be: Waiting [2021-06-17T18:16:39.225Z] 01666e4c0597: Waiting [2021-06-17T18:16:39.225Z] aa168da1d23b: Waiting [2021-06-17T18:16:39.225Z] 93b61091891f: Waiting [2021-06-17T18:16:39.225Z] 46f8f816bc3b: Waiting [2021-06-17T18:16:39.225Z] 36b3adc4ff6f: Verifying Checksum [2021-06-17T18:16:39.225Z] 36b3adc4ff6f: Download complete [2021-06-17T18:16:39.490Z] 46f8f816bc3b: Verifying Checksum [2021-06-17T18:16:39.490Z] 46f8f816bc3b: Download complete [2021-06-17T18:16:39.490Z] df20fa9351a1: Verifying Checksum [2021-06-17T18:16:39.490Z] df20fa9351a1: Download complete [2021-06-17T18:16:39.490Z] 93b9cdb0e59b: Verifying Checksum [2021-06-17T18:16:39.490Z] 93b9cdb0e59b: Download complete [2021-06-17T18:16:39.490Z] 5e14af77c1be: Verifying Checksum [2021-06-17T18:16:39.490Z] 5e14af77c1be: Download complete [2021-06-17T18:16:39.490Z] 01666e4c0597: Verifying Checksum [2021-06-17T18:16:39.490Z] 01666e4c0597: Download complete [2021-06-17T18:16:39.490Z] 93b61091891f: Verifying Checksum [2021-06-17T18:16:39.490Z] 93b61091891f: Download complete [2021-06-17T18:16:39.490Z] 8ad3a11d3b57: Verifying Checksum [2021-06-17T18:16:39.490Z] 8ad3a11d3b57: Download complete [2021-06-17T18:16:39.753Z] df20fa9351a1: Pull complete [2021-06-17T18:16:40.018Z] 36b3adc4ff6f: Pull complete [2021-06-17T18:16:40.603Z] 8ad3a11d3b57: Pull complete [2021-06-17T18:16:40.870Z] 46f8f816bc3b: Pull complete [2021-06-17T18:16:41.447Z] 93b61091891f: Pull complete [2021-06-17T18:16:41.447Z] aa168da1d23b: Verifying Checksum [2021-06-17T18:16:41.447Z] aa168da1d23b: Download complete [2021-06-17T18:16:41.447Z] 93b9cdb0e59b: Pull complete [2021-06-17T18:16:41.749Z] 5e14af77c1be: Pull complete [2021-06-17T18:16:42.015Z] 01666e4c0597: Pull complete [2021-06-17T18:16:47.332Z] aa168da1d23b: Pull complete [2021-06-17T18:16:47.332Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-17T18:16:47.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:16:47.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-17T18:16:47.440Z] prd-centos7-docker-4c-2g-23 does not seem to be running inside a container [2021-06-17T18:16:47.475Z] $ 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-113/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-113 -v /w/workspace/gexfoundry_device-snmp-go_PR-113:/w/workspace/gexfoundry_device-snmp-go_PR-113:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-113@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-113@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:10003/edgex-lftools-log-publisher:alpine cat [2021-06-17T18:16:56.378Z] $ docker top ecfd2dd50595202c39c811e52c30aab4a4068b96eda277b37547494db1e604a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:16:56.804Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-17T18:16:57.134Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-17T18:16:57.473Z] + ls /var/log/sa-host [2021-06-17T18:16:57.474Z] + sadf -c /var/log/sa-host/sa05 [2021-06-17T18:16:57.474Z] file_magic: OK [2021-06-17T18:16:57.474Z] HZ: Using current value: 100 [2021-06-17T18:16:57.474Z] file_header: OK [2021-06-17T18:16:57.474Z] 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-17T18:16:57.474Z] Statistics: [2021-06-17T18:16:57.474Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T18:16:57.474Z] File successfully converted to sysstat format version 12.2.1 [2021-06-17T18:16:57.474Z] + sadf -c /var/log/sa-host/sa17 [2021-06-17T18:16:57.474Z] file_magic: OK [2021-06-17T18:16:57.474Z] HZ: Using current value: 100 [2021-06-17T18:16:57.474Z] file_header: OK [2021-06-17T18:16:57.474Z] 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-17T18:16:57.474Z] Statistics: [2021-06-17T18:16:57.474Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T18:16:57.474Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:16:57.733Z] provisioning config files... [2021-06-17T18:16:57.748Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-113@tmp/config4743223791684916831tmp [Pipeline] { [Pipeline] echo [2021-06-17T18:16:57.825Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:16:58.171Z] ---> create-netrc.sh [Pipeline] } [2021-06-17T18:16:58.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:16:58.641Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-17T18:16:58.673Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:16:59.011Z] ---> sudo-logs.sh [2021-06-17T18:16:59.011Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-17T18:16:59.115Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:16:59.459Z] ---> job-cost.sh [2021-06-17T18:16:59.459Z] lf-activate-venv: SKIPPING [2021-06-17T18:16:59.459Z] DEBUG: total: 0.18000000715255737 [2021-06-17T18:16:59.459Z] INFO: Retrieving Stack Cost... [2021-06-17T18:17:00.849Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T18:17:01.111Z] INFO: Archiving Costs [Pipeline] echo [2021-06-17T18:17:01.147Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:17:01.482Z] ---> logs-deploy.sh [2021-06-17T18:17:01.482Z] lf-activate-venv: SKIPPING [2021-06-17T18:17:01.482Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-113/1 [2021-06-17T18:17:01.482Z] INFO: archiving workspace using pattern(s): [2021-06-17T18:17:02.435Z] Archives upload complete. [2021-06-17T18:17:02.436Z] INFO: archiving logs to Nexus [2021-06-17T18:17:03.018Z] ---> uname -a: [2021-06-17T18:17:03.018Z] Linux prd-centos7-docker-4c-2g-23.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-17T18:17:03.018Z] [2021-06-17T18:17:03.018Z] [2021-06-17T18:17:03.018Z] ---> lscpu: [2021-06-17T18:17:03.018Z] Architecture: x86_64 [2021-06-17T18:17:03.018Z] CPU op-mode(s): 32-bit, 64-bit [2021-06-17T18:17:03.018Z] Byte Order: Little Endian [2021-06-17T18:17:03.018Z] Address sizes: 40 bits physical, 48 bits virtual [2021-06-17T18:17:03.018Z] CPU(s): 2 [2021-06-17T18:17:03.018Z] On-line CPU(s) list: 0,1 [2021-06-17T18:17:03.018Z] Thread(s) per core: 1 [2021-06-17T18:17:03.018Z] Core(s) per socket: 1 [2021-06-17T18:17:03.018Z] Socket(s): 2 [2021-06-17T18:17:03.018Z] NUMA node(s): 1 [2021-06-17T18:17:03.018Z] Vendor ID: AuthenticAMD [2021-06-17T18:17:03.018Z] CPU family: 23 [2021-06-17T18:17:03.018Z] Model: 49 [2021-06-17T18:17:03.018Z] Model name: AMD EPYC-Rome Processor [2021-06-17T18:17:03.018Z] Stepping: 0 [2021-06-17T18:17:03.018Z] CPU MHz: 2800.000 [2021-06-17T18:17:03.018Z] BogoMIPS: 5600.00 [2021-06-17T18:17:03.018Z] Virtualization: AMD-V [2021-06-17T18:17:03.018Z] Hypervisor vendor: KVM [2021-06-17T18:17:03.018Z] Virtualization type: full [2021-06-17T18:17:03.018Z] L1d cache: 64 KiB [2021-06-17T18:17:03.018Z] L1i cache: 64 KiB [2021-06-17T18:17:03.018Z] L2 cache: 1 MiB [2021-06-17T18:17:03.018Z] L3 cache: 32 MiB [2021-06-17T18:17:03.018Z] NUMA node0 CPU(s): 0,1 [2021-06-17T18:17:03.018Z] Vulnerability Itlb multihit: Not affected [2021-06-17T18:17:03.018Z] Vulnerability L1tf: Not affected [2021-06-17T18:17:03.018Z] Vulnerability Mds: Not affected [2021-06-17T18:17:03.018Z] Vulnerability Meltdown: Not affected [2021-06-17T18:17:03.018Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-06-17T18:17:03.018Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-06-17T18:17:03.018Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-06-17T18:17:03.018Z] Vulnerability Srbds: Not affected [2021-06-17T18:17:03.018Z] Vulnerability Tsx async abort: Not affected [2021-06-17T18:17:03.018Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-06-17T18:17:03.018Z] [2021-06-17T18:17:03.018Z] [2021-06-17T18:17:03.018Z] ---> nproc: [2021-06-17T18:17:03.018Z] 2 [2021-06-17T18:17:03.018Z] [2021-06-17T18:17:03.018Z] [2021-06-17T18:17:03.018Z] ---> df -h: [2021-06-17T18:17:03.018Z] Filesystem Size Used Available Use% Mounted on [2021-06-17T18:17:03.018Z] overlay 40.0G 7.6G 32.4G 19% / [2021-06-17T18:17:03.018Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-06-17T18:17:03.018Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-06-17T18:17:03.018Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-snmp-go_PR-113 [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-snmp-go_PR-113@tmp [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-06-17T18:17:03.018Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-06-17T18:17:03.018Z] [2021-06-17T18:17:03.018Z] [2021-06-17T18:17:03.018Z] ---> free -m: [2021-06-17T18:17:03.018Z] total used free shared buff/cache available [2021-06-17T18:17:03.018Z] Mem: 7821 977 4749 0 2093 6665 [2021-06-17T18:17:03.018Z] Swap: 1023 0 1023 [2021-06-17T18:17:03.018Z] [2021-06-17T18:17:03.018Z]