Pull request #122 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6+b24a0a6e9ac553b819564bd7a76aa5a4909c3321 (affa9df062e610ad538b838468fb367337bed54f) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh71449018285442775.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh281974156870372905.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-122/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-122/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8117564187425029635.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-122/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh433795401152439288.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1058032082124839952.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-122/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-122/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4453322762821851160.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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_BUILD_IMAGE_TARGET: builder 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-1067 in /w/workspace/gexfoundry_device-snmp-go_PR-122 [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-122 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/jenkins-gitclient-ssh5561746506784083122.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b24a0a6e9ac553b819564bd7a76aa5a4909c3321 into PR head commit 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 Merge succeeded, producing 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 Checking out Revision 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 (PR-122) > 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/jenkins-gitclient-ssh1951413068950863679.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/122/head:refs/remotes/origin/PR-122 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/jenkins-gitclient-ssh6172092297430539408.key > git merge b24a0a6e9ac553b819564bd7a76aa5a4909c3321 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 # timeout=10 Commit message: "ci: remove need for CI specific Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-17T18:43:28.251Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-17T18:43:28.453Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-17T18:43:28.623Z] ========================================================= [2021-08-17T18:43:28.623Z] EdgeX Global Pipelines Version Info [2021-08-17T18:43:28.623Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:43:29.907Z] ------------------- [2021-08-17T18:43:29.907Z] stable info: [2021-08-17T18:43:29.907Z] ------------------- [2021-08-17T18:43:29.907Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-17T18:43:29.907Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:43:29.907Z] Message: update stable to v1.0.205 [2021-08-17T18:43:30.493Z] ------------------- [2021-08-17T18:43:30.493Z] experimental info: [2021-08-17T18:43:30.493Z] ------------------- [2021-08-17T18:43:30.493Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-17T18:43:30.493Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:43:30.493Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-17T18:43:30.779Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-08-17T18:43:30.850Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-08-17T18:43:30.938Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-17T18:43:31.019Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-17T18:43:31.082Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-17T18:43:31.174Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-17T18:43:31.235Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-17T18:43:31.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-17T18:43:31.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-17T18:43:31.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-17T18:43:31.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-17T18:43:31.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-17T18:43:31.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-08-17T18:43:31.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-17T18:43:31.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-17T18:43:31.824Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-17T18:43:31.891Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-17T18:43:31.953Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:43:32.013Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:43:32.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-17T18:43:32.155Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-17T18:43:32.218Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-17T18:43:32.277Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-17T18:43:32.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-17T18:43:32.409Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-17T18:43:32.479Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-17T18:43:32.567Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-17T18:43:32.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-122 [Pipeline] echo [2021-08-17T18:43:32.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-122 [Pipeline] echo [2021-08-17T18:43:32.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-122 [Pipeline] echo [2021-08-17T18:43:32.845Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 [Pipeline] echo [2021-08-17T18:43:32.926Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d77ce6 [Pipeline] echo [2021-08-17T18:43:33.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T18:43:33.228Z] provisioning config files... [2021-08-17T18:43:33.252Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/config570121306782874160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:43:33.650Z] ---> docker-login.sh [2021-08-17T18:43:33.650Z] nexus3.edgexfoundry.org:10001 [2021-08-17T18:43:33.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:33.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:33.925Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:33.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:33.925Z] [2021-08-17T18:43:33.925Z] Login Succeeded [2021-08-17T18:43:33.925Z] nexus3.edgexfoundry.org:10002 [2021-08-17T18:43:33.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:34.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:34.194Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:34.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:34.194Z] [2021-08-17T18:43:34.194Z] Login Succeeded [2021-08-17T18:43:34.194Z] nexus3.edgexfoundry.org:10003 [2021-08-17T18:43:34.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:34.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:34.194Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:34.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:34.194Z] [2021-08-17T18:43:34.194Z] Login Succeeded [2021-08-17T18:43:34.194Z] nexus3.edgexfoundry.org:10004 [2021-08-17T18:43:34.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:34.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:34.460Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:34.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:34.460Z] [2021-08-17T18:43:34.460Z] Login Succeeded [2021-08-17T18:43:34.460Z] docker.io [2021-08-17T18:43:34.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:43:34.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:43:34.726Z] Configure a credential helper to remove this warning. See [2021-08-17T18:43:34.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:43:34.726Z] [2021-08-17T18:43:34.726Z] Login Succeeded [2021-08-17T18:43:34.726Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T18:43:34.758Z] 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-08-17T18:43:35.521Z] + git log --format=format:%s -1 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 [Pipeline] echo [2021-08-17T18:43:35.619Z] GIT_COMMIT: 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6, Commit Message: ci: remove need for CI specific Dockerfile [Pipeline] echo [2021-08-17T18:43:35.668Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:43:36.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:43:36.257Z] [2021-08-17T18:43:36.257Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:43:36.628Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:43:36.628Z] latest: Pulling from edgex-devops/git-semver [2021-08-17T18:43:36.628Z] 31603596830f: Pulling fs layer [2021-08-17T18:43:36.628Z] d4622e32a9a9: Pulling fs layer [2021-08-17T18:43:36.628Z] 1030fce36090: Pulling fs layer [2021-08-17T18:43:36.628Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-17T18:43:36.628Z] 6c6cb7e1b49b: Waiting [2021-08-17T18:43:36.628Z] d4622e32a9a9: Download complete [2021-08-17T18:43:36.897Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-17T18:43:36.897Z] 6c6cb7e1b49b: Download complete [2021-08-17T18:43:36.897Z] 31603596830f: Verifying Checksum [2021-08-17T18:43:36.897Z] 31603596830f: Download complete [2021-08-17T18:43:37.166Z] 31603596830f: Pull complete [2021-08-17T18:43:37.166Z] 1030fce36090: Verifying Checksum [2021-08-17T18:43:37.166Z] 1030fce36090: Download complete [2021-08-17T18:43:37.166Z] d4622e32a9a9: Pull complete [2021-08-17T18:43:37.755Z] 1030fce36090: Pull complete [2021-08-17T18:43:38.025Z] 6c6cb7e1b49b: Pull complete [2021-08-17T18:43:38.025Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-17T18:43:38.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:43:38.025Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-17T18:43:38.150Z] prd-centos7-docker-4c-2g-1067 does not seem to be running inside a container [2021-08-17T18:43:38.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-122 -v /w/workspace/gexfoundry_device-snmp-go_PR-122:/w/workspace/gexfoundry_device-snmp-go_PR-122:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-122@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-17T18:43:38.985Z] $ docker top 71fc93145948e8ba2e92cdcba25b91aa3d3f308e5cc2225a1cb8f16604bba43f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T18:43:39.212Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:43:39.213Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:43:39.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:43:39.338Z] $ docker exec 71fc93145948e8ba2e92cdcba25b91aa3d3f308e5cc2225a1cb8f16604bba43f ssh-agent [2021-08-17T18:43:39.455Z] SSH_AUTH_SOCK=/tmp/ssh-iG98CivgETMb/agent.14 [2021-08-17T18:43:39.455Z] SSH_AGENT_PID=20 [2021-08-17T18:43:39.466Z] Running ssh-add (command line suppressed) [2021-08-17T18:43:39.563Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/private_key_6033074497189221654.key (/w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/private_key_6033074497189221654.key) [2021-08-17T18:43:39.582Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:43:39.942Z] + git tag --points-at HEAD [Pipeline] } [2021-08-17T18:43:39.966Z] $ docker exec --env ******** --env ******** 71fc93145948e8ba2e92cdcba25b91aa3d3f308e5cc2225a1cb8f16604bba43f ssh-agent -k [2021-08-17T18:43:40.068Z] unset SSH_AUTH_SOCK; [2021-08-17T18:43:40.070Z] unset SSH_AGENT_PID; [2021-08-17T18:43:40.070Z] echo Agent pid 20 killed; [2021-08-17T18:43:40.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-17T18:43:40.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:43:40.178Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:43:40.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:43:40.302Z] $ docker exec 71fc93145948e8ba2e92cdcba25b91aa3d3f308e5cc2225a1cb8f16604bba43f ssh-agent [2021-08-17T18:43:40.415Z] SSH_AUTH_SOCK=/tmp/ssh-qmeKOqL3nkzJ/agent.53 [2021-08-17T18:43:40.415Z] SSH_AGENT_PID=59 [2021-08-17T18:43:40.423Z] Running ssh-add (command line suppressed) [2021-08-17T18:43:40.522Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/private_key_2169583712614821783.key (/w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/private_key_2169583712614821783.key) [2021-08-17T18:43:40.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:43:40.911Z] + git semver init [2021-08-17T18:43:40.911Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T18:43:40.911Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-122/.git [2021-08-17T18:43:40.911Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-122 [2021-08-17T18:43:40.911Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T18:43:40.911Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T18:43:40.911Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T18:43:40.911Z] # $SEMVER_BRANCH = PR-122 [2021-08-17T18:43:40.911Z] # $SEMVER_TEMP = /tmp/semver-336769935 [2021-08-17T18:43:40.911Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-08-17T18:43:41.178Z] # '/tmp/semver-336769935' -> '/w/workspace/gexfoundry_device-snmp-go_PR-122/.semver' [2021-08-17T18:43:41.178Z] # -> Force: false [2021-08-17T18:43:41.178Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-122/.semver [Pipeline] } [2021-08-17T18:43:41.206Z] $ docker exec --env ******** --env ******** 71fc93145948e8ba2e92cdcba25b91aa3d3f308e5cc2225a1cb8f16604bba43f ssh-agent -k [2021-08-17T18:43:41.306Z] unset SSH_AUTH_SOCK; [2021-08-17T18:43:41.306Z] unset SSH_AGENT_PID; [2021-08-17T18:43:41.306Z] echo Agent pid 59 killed; [2021-08-17T18:43:41.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T18:43:41.784Z] + git semver [Pipeline] } [2021-08-17T18:43:41.817Z] $ docker stop --time=1 71fc93145948e8ba2e92cdcba25b91aa3d3f308e5cc2225a1cb8f16604bba43f [2021-08-17T18:43:43.029Z] $ docker rm -f 71fc93145948e8ba2e92cdcba25b91aa3d3f308e5cc2225a1cb8f16604bba43f [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T18:43:43.469Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-17T18:43:43.887Z] Stashed 1 file(s) [Pipeline] echo [2021-08-17T18:43:43.910Z] [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-08-17T18:43:59.399Z] Still waiting to schedule task [2021-08-17T18:43:59.399Z] ‘prd-centos7-docker-4c-2g-1075’ is offline [2021-08-17T18:43:59.399Z] ‘prd-centos7-docker-4c-2g-1076’ is offline [2021-08-17T18:43:59.399Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:43:59.427Z] Still waiting to schedule task [2021-08-17T18:43:59.427Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-17T18:45:25.789Z] Running on prd-centos7-docker-4c-2g-1093 in /w/workspace/gexfoundry_device-snmp-go_PR-122 [Pipeline] { [Pipeline] ws [2021-08-17T18:45:25.855Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-08-17T18:45:26.065Z] Selected Git installation does not exist. Using Default [2021-08-17T18:45:26.065Z] The recommended git tool is: NONE [2021-08-17T18:45:29.642Z] using credential edgex-jenkins-ssh [2021-08-17T18:45:29.661Z] Cloning the remote Git repository [2021-08-17T18:45:29.686Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-08-17T18:45:29.755Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-08-17T18:45:29.789Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-08-17T18:45:29.789Z] > git --version # timeout=10 [2021-08-17T18:45:29.798Z] > git --version # 'git version 2.24.4' [2021-08-17T18:45:29.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:45:29.864Z] [INFO] Currently running in a labeled security context [2021-08-17T18:45:29.864Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T18:45:29.864Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh3238695012738117931.key [2021-08-17T18:45:29.875Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T18:45:30.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-08-17T18:45:30.432Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T18:45:30.444Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-08-17T18:45:30.458Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-08-17T18:45:30.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:45:30.459Z] [INFO] Currently running in a labeled security context [2021-08-17T18:45:30.459Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T18:45:30.459Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh4662696273639419647.key [2021-08-17T18:45:30.473Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/122/head:refs/remotes/origin/PR-122 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T18:45:30.900Z] Merging remotes/origin/main commit b24a0a6e9ac553b819564bd7a76aa5a4909c3321 into PR head commit 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 [2021-08-17T18:45:31.013Z] Merge succeeded, producing 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 [2021-08-17T18:45:31.014Z] Checking out Revision 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 (PR-122) [2021-08-17T18:45:30.914Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T18:45:30.923Z] > git checkout -f 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 # timeout=10 [2021-08-17T18:45:30.969Z] > git remote # timeout=10 [2021-08-17T18:45:30.978Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T18:45:30.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:45:30.985Z] [INFO] Currently running in a labeled security context [2021-08-17T18:45:30.985Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T18:45:30.986Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh3569435133784403435.key [2021-08-17T18:45:30.990Z] > git merge b24a0a6e9ac553b819564bd7a76aa5a4909c3321 # timeout=10 [2021-08-17T18:45:31.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T18:45:31.018Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T18:45:31.027Z] > git checkout -f 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 # timeout=10 [2021-08-17T18:45:34.878Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T18:45:34.914Z] > git --version # timeout=10 [2021-08-17T18:45:34.921Z] > git --version # 'git version 2.24.4' [2021-08-17T18:45:34.929Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T18:45:35.502Z] provisioning config files... [2021-08-17T18:45:35.523Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6669994928542418493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:45:36.050Z] ---> docker-login.sh [2021-08-17T18:45:36.051Z] nexus3.edgexfoundry.org:10001 [2021-08-17T18:45:36.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:36.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:36.319Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:36.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:36.319Z] [2021-08-17T18:45:36.319Z] Login Succeeded [2021-08-17T18:45:36.319Z] nexus3.edgexfoundry.org:10002 [2021-08-17T18:45:36.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:36.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:36.319Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:36.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:36.319Z] [2021-08-17T18:45:36.319Z] Login Succeeded [2021-08-17T18:45:36.319Z] nexus3.edgexfoundry.org:10003 [2021-08-17T18:45:36.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:36.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:36.585Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:36.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:36.585Z] [2021-08-17T18:45:36.585Z] Login Succeeded [2021-08-17T18:45:36.585Z] nexus3.edgexfoundry.org:10004 [2021-08-17T18:45:36.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:36.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:36.853Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:36.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:36.853Z] [2021-08-17T18:45:36.853Z] Login Succeeded [2021-08-17T18:45:36.853Z] docker.io [2021-08-17T18:45:36.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:45:37.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:45:37.131Z] Configure a credential helper to remove this warning. See [2021-08-17T18:45:37.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:45:37.131Z] [2021-08-17T18:45:37.131Z] Login Succeeded [2021-08-17T18:45:37.131Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T18:45:37.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-17T18:45:37.788Z] ========================================================= [2021-08-17T18:45:37.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-17T18:45:37.789Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:45:38.257Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-08-17T18:45:38.257Z] Sending build context to Docker daemon 370.7kB [2021-08-17T18:45:38.257Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T18:45:38.257Z] Step 2/12 : FROM ${BASE} AS builder [2021-08-17T18:45:43.660Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-17T18:45:43.660Z] 540db60ca938: Pulling fs layer [2021-08-17T18:45:43.660Z] adcc1eea9eea: Pulling fs layer [2021-08-17T18:45:43.660Z] 4c4ab2625f07: Pulling fs layer [2021-08-17T18:45:43.660Z] db62176df00c: Pulling fs layer [2021-08-17T18:45:43.660Z] 3b30891b0d05: Pulling fs layer [2021-08-17T18:45:43.660Z] 06b49ca38bd5: Pulling fs layer [2021-08-17T18:45:43.660Z] c788192a36de: Pulling fs layer [2021-08-17T18:45:43.660Z] a77e37c0d609: Pulling fs layer [2021-08-17T18:45:43.660Z] c3185cebc471: Pulling fs layer [2021-08-17T18:45:43.660Z] db62176df00c: Waiting [2021-08-17T18:45:43.660Z] 3b30891b0d05: Waiting [2021-08-17T18:45:43.660Z] 06b49ca38bd5: Waiting [2021-08-17T18:45:43.660Z] c788192a36de: Waiting [2021-08-17T18:45:43.660Z] a77e37c0d609: Waiting [2021-08-17T18:45:43.660Z] c3185cebc471: Waiting [2021-08-17T18:45:43.660Z] 4c4ab2625f07: Verifying Checksum [2021-08-17T18:45:43.660Z] 4c4ab2625f07: Download complete [2021-08-17T18:45:43.660Z] adcc1eea9eea: Verifying Checksum [2021-08-17T18:45:43.660Z] adcc1eea9eea: Download complete [2021-08-17T18:45:43.660Z] 3b30891b0d05: Verifying Checksum [2021-08-17T18:45:43.660Z] 3b30891b0d05: Download complete [2021-08-17T18:45:43.660Z] 06b49ca38bd5: Verifying Checksum [2021-08-17T18:45:43.660Z] 06b49ca38bd5: Download complete [2021-08-17T18:45:43.660Z] c788192a36de: Verifying Checksum [2021-08-17T18:45:43.660Z] c788192a36de: Download complete [2021-08-17T18:45:43.660Z] 540db60ca938: Verifying Checksum [2021-08-17T18:45:43.931Z] 540db60ca938: Pull complete [2021-08-17T18:45:43.931Z] adcc1eea9eea: Pull complete [2021-08-17T18:45:44.199Z] 4c4ab2625f07: Pull complete [2021-08-17T18:45:44.199Z] a77e37c0d609: Verifying Checksum [2021-08-17T18:45:44.199Z] a77e37c0d609: Download complete [2021-08-17T18:45:48.503Z] c3185cebc471: Verifying Checksum [2021-08-17T18:45:48.503Z] c3185cebc471: Download complete [2021-08-17T18:45:49.106Z] db62176df00c: Verifying Checksum [2021-08-17T18:45:49.106Z] db62176df00c: Download complete [2021-08-17T18:45:53.451Z] db62176df00c: Pull complete [2021-08-17T18:45:53.451Z] 3b30891b0d05: Pull complete [2021-08-17T18:45:53.451Z] 06b49ca38bd5: Pull complete [2021-08-17T18:45:53.451Z] c788192a36de: Pull complete [2021-08-17T18:45:53.451Z] a77e37c0d609: Pull complete [2021-08-17T18:45:55.402Z] c3185cebc471: Pull complete [2021-08-17T18:45:55.402Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-17T18:45:55.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T18:45:55.402Z] ---> 031687cdd783 [2021-08-17T18:45:55.402Z] Step 3/12 : ARG MAKE='make build' [2021-08-17T18:45:57.369Z] ---> Running in 76805b9f6f2b [2021-08-17T18:45:57.369Z] Removing intermediate container 76805b9f6f2b [2021-08-17T18:45:57.369Z] ---> 5e3e870025e2 [2021-08-17T18:45:57.369Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T18:45:57.369Z] ---> Running in 1665a6b0623b [2021-08-17T18:45:57.369Z] Removing intermediate container 1665a6b0623b [2021-08-17T18:45:57.369Z] ---> 80d6d0b73836 [2021-08-17T18:45:57.369Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T18:45:57.369Z] ---> Running in 370473da15ac [2021-08-17T18:45:57.650Z] Removing intermediate container 370473da15ac [2021-08-17T18:45:57.650Z] ---> 57b8b5c44212 [2021-08-17T18:45:57.650Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T18:45:57.650Z] ---> Running in 8cf937d31cb5 [2021-08-17T18:45:58.246Z] Removing intermediate container 8cf937d31cb5 [2021-08-17T18:45:58.246Z] ---> ae4f26802c1f [2021-08-17T18:45:58.246Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T18:45:58.246Z] ---> Running in a5cf4473761f [2021-08-17T18:45:58.517Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-17T18:45:59.945Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-17T18:46:00.909Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-17T18:46:01.182Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-17T18:46:01.456Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-17T18:46:03.408Z] Executing busybox-1.32.1-r6.trigger [2021-08-17T18:46:03.408Z] OK: 223 MiB in 55 packages [2021-08-17T18:46:03.681Z] Removing intermediate container a5cf4473761f [2021-08-17T18:46:03.681Z] ---> 9d8e9b0ea2b4 [2021-08-17T18:46:03.681Z] Step 8/12 : WORKDIR /device-snmp-go [2021-08-17T18:46:03.681Z] ---> Running in 135ebe344040 [2021-08-17T18:46:03.681Z] Removing intermediate container 135ebe344040 [2021-08-17T18:46:03.681Z] ---> e88a199c671f [2021-08-17T18:46:03.681Z] Step 9/12 : COPY . . [2021-08-17T18:46:03.950Z] ---> 261627ae1375 [2021-08-17T18:46:03.950Z] Step 10/12 : RUN go mod tidy [2021-08-17T18:46:03.951Z] ---> Running in 7022331b965e [2021-08-17T18:46:05.373Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-08-17T18:46:05.373Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-17T18:46:05.373Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2021-08-17T18:46:05.373Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-17T18:46:05.373Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-17T18:46:05.373Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-17T18:46:05.646Z] go: downloading github.com/google/uuid v1.2.0 [2021-08-17T18:46:05.646Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-17T18:46:05.646Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-17T18:46:05.646Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T18:46:05.646Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-17T18:46:05.646Z] go: downloading github.com/golang/mock v1.2.0 [2021-08-17T18:46:05.646Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-17T18:46:05.646Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-17T18:46:05.646Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-17T18:46:05.646Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-17T18:46:05.646Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-17T18:46:05.917Z] go: downloading golang.org/x/text v0.3.2 [2021-08-17T18:46:05.917Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-17T18:46:05.917Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-17T18:46:06.894Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-17T18:46:06.894Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-17T18:46:06.894Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-17T18:46:06.894Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-17T18:46:06.894Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-08-17T18:46:06.894Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-17T18:46:06.894Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-17T18:46:07.164Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-17T18:46:07.164Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-17T18:46:07.164Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-17T18:46:07.164Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-08-17T18:46:07.164Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T18:46:07.164Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-17T18:46:07.164Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-17T18:46:07.164Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-17T18:46:07.164Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-17T18:46:07.164Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-17T18:46:07.436Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-17T18:46:07.436Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-17T18:46:07.436Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-17T18:46:07.436Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-17T18:46:07.436Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-17T18:46:07.436Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-17T18:46:07.436Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-17T18:46:07.436Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-17T18:46:07.436Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-17T18:46:07.436Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-17T18:46:07.712Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-17T18:46:07.712Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-17T18:46:07.712Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-17T18:46:07.712Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-17T18:46:07.712Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-17T18:46:07.712Z] go: downloading github.com/kr/text v0.1.0 [2021-08-17T18:46:07.712Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-17T18:46:07.712Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-17T18:46:07.712Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-17T18:46:07.712Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-17T18:46:07.712Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-17T18:46:07.986Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-17T18:46:07.986Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-17T18:46:07.986Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-17T18:46:07.986Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-17T18:46:07.986Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-17T18:46:07.986Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-17T18:46:07.986Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-17T18:46:07.986Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-17T18:46:07.986Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-17T18:46:07.986Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-17T18:46:07.986Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-17T18:46:07.986Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-17T18:46:07.986Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-17T18:46:07.986Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-17T18:46:07.986Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-17T18:46:07.986Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-17T18:46:07.986Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-17T18:46:07.986Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-17T18:46:07.986Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-17T18:46:12.248Z] Removing intermediate container 7022331b965e [2021-08-17T18:46:12.248Z] ---> 5b1987adfcdb [2021-08-17T18:46:12.248Z] Step 11/12 : RUN make update [2021-08-17T18:46:12.248Z] ---> Running in 7ef57e0e36c3 [2021-08-17T18:46:12.248Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T18:46:16.516Z] Removing intermediate container 7ef57e0e36c3 [2021-08-17T18:46:16.516Z] ---> ecbefba57660 [2021-08-17T18:46:16.516Z] Step 12/12 : RUN ${MAKE} [2021-08-17T18:46:16.516Z] ---> Running in bd8d6ae911b5 [2021-08-17T18:46:16.516Z] noop [2021-08-17T18:46:16.516Z] Removing intermediate container bd8d6ae911b5 [2021-08-17T18:46:16.516Z] ---> a2b3377ce5dc [2021-08-17T18:46:16.516Z] Successfully built a2b3377ce5dc [2021-08-17T18:46:16.516Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:46:16.895Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T18:46:16.895Z] . [Pipeline] withDockerContainer [2021-08-17T18:46:17.038Z] prd-centos7-docker-4c-2g-1093 does not seem to be running inside a container [2021-08-17T18:46:17.111Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T18:46:17.480Z] $ docker top e2b64210932823522de4048e6638d54e8318e7cc40a0981704323d9bfc429703 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T18:46:17.970Z] + go version [2021-08-17T18:46:17.970Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-17T18:46:18.005Z] $ docker stop --time=1 e2b64210932823522de4048e6638d54e8318e7cc40a0981704323d9bfc429703 [2021-08-17T18:46:19.202Z] $ docker rm -f e2b64210932823522de4048e6638d54e8318e7cc40a0981704323d9bfc429703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:46:19.975Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T18:46:19.975Z] . [Pipeline] withDockerContainer [2021-08-17T18:46:20.094Z] prd-centos7-docker-4c-2g-1093 does not seem to be running inside a container [2021-08-17T18:46:20.164Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-08-17T18:46:20.511Z] $ docker top 326203061e319446bf7bcb6e0bdd6438819cd53b142ab73c164879c5593104b8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T18:46:21.032Z] + go mod tidy [Pipeline] sh [2021-08-17T18:46:21.752Z] + make test [2021-08-17T18:46:21.752Z] go mod tidy [2021-08-17T18:46:21.752Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-08-17T18:46:22.345Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-08-17T18:46:37.700Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-08-17T18:46:37.700Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-08-17T18:46:37.700Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-17T18:46:44.366Z] gofmt -l . [2021-08-17T18:46:44.366Z] [ "`gofmt -l .`" = "" ] [2021-08-17T18:46:44.366Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-17T18:46:44.398Z] $ docker stop --time=1 326203061e319446bf7bcb6e0bdd6438819cd53b142ab73c164879c5593104b8 [2021-08-17T18:46:45.896Z] $ docker rm -f 326203061e319446bf7bcb6e0bdd6438819cd53b142ab73c164879c5593104b8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T18:46:46.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T18:46:46.782Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-17T18:46:48.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-17T18:46:48.563Z] + ls -al . [2021-08-17T18:46:48.564Z] total 116 [2021-08-17T18:46:48.564Z] drwxrwxr-x. 7 jenkins jenkins 4096 Aug 17 18:46 . [2021-08-17T18:46:48.564Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 18:45 .. [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 6520 Aug 17 18:45 Attribution.txt [2021-08-17T18:46:48.564Z] drwxrwxr-x. 2 jenkins jenkins 60 Aug 17 18:45 bin [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 4401 Aug 17 18:45 CHANGELOG.md [2021-08-17T18:46:48.564Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 17 18:45 cmd [2021-08-17T18:46:48.564Z] -rw-r--r--. 1 jenkins jenkins 7631 Aug 17 18:46 coverage.out [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 1459 Aug 17 18:45 Dockerfile [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 6 Aug 17 18:45 .dockerignore [2021-08-17T18:46:48.564Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 17 18:45 .git [2021-08-17T18:46:48.564Z] drwxrwxr-x. 2 jenkins jenkins 103 Aug 17 18:45 .github [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 269 Aug 17 18:45 .gitignore [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 208 Aug 17 18:45 go.mod [2021-08-17T18:46:48.564Z] -rw-r--r--. 1 jenkins jenkins 20831 Aug 17 18:46 go.sum [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 17 18:45 GOVERNANCE.md [2021-08-17T18:46:48.564Z] drwxrwxr-x. 3 jenkins jenkins 20 Aug 17 18:45 internal [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 656 Aug 17 18:45 Jenkinsfile [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 17 18:45 LICENSE [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 936 Aug 17 18:45 Makefile [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 620 Aug 17 18:45 OWNERS.md [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 9073 Aug 17 18:45 README.md [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 17 18:43 VERSION [2021-08-17T18:46:48.564Z] -rw-rw-r--. 1 jenkins jenkins 209 Aug 17 18:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:46:48.934Z] + 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=7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 --label arch=amd64 --label version=0.0.0 . [2021-08-17T18:46:48.934Z] Sending build context to Docker daemon 378.9kB [2021-08-17T18:46:48.934Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T18:46:48.934Z] Step 2/24 : FROM ${BASE} AS builder [2021-08-17T18:46:48.934Z] ---> a2b3377ce5dc [2021-08-17T18:46:48.934Z] Step 3/24 : ARG MAKE='make build' [2021-08-17T18:46:48.934Z] ---> Running in dafa9df1448a [2021-08-17T18:46:48.934Z] Removing intermediate container dafa9df1448a [2021-08-17T18:46:48.934Z] ---> 982c1879c933 [2021-08-17T18:46:48.934Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T18:46:49.205Z] ---> Running in 258e5f2ca109 [2021-08-17T18:46:49.205Z] Removing intermediate container 258e5f2ca109 [2021-08-17T18:46:49.205Z] ---> 7917a50d5fe2 [2021-08-17T18:46:49.205Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T18:46:49.205Z] ---> Running in a91af2202595 [2021-08-17T18:46:49.205Z] Removing intermediate container a91af2202595 [2021-08-17T18:46:49.205Z] ---> 39cf3b0b17b8 [2021-08-17T18:46:49.205Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T18:46:49.205Z] ---> Running in ca3fe592de5b [2021-08-17T18:46:49.785Z] Removing intermediate container ca3fe592de5b [2021-08-17T18:46:49.786Z] ---> e0359dd398fd [2021-08-17T18:46:49.786Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T18:46:49.786Z] ---> Running in b1042d80cc08 [2021-08-17T18:46:50.050Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-17T18:46:51.009Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-17T18:46:51.276Z] OK: 223 MiB in 55 packages [2021-08-17T18:46:51.543Z] Removing intermediate container b1042d80cc08 [2021-08-17T18:46:51.543Z] ---> 2903b6fc84b3 [2021-08-17T18:46:51.543Z] Step 8/24 : WORKDIR /device-snmp-go [2021-08-17T18:46:51.543Z] ---> Running in 54982a81b3e2 [2021-08-17T18:46:51.543Z] Removing intermediate container 54982a81b3e2 [2021-08-17T18:46:51.543Z] ---> ac7cd4ef8590 [2021-08-17T18:46:51.543Z] Step 9/24 : COPY . . [2021-08-17T18:46:51.813Z] ---> 66fe4e9197fa [2021-08-17T18:46:51.813Z] Step 10/24 : RUN go mod tidy [2021-08-17T18:46:51.813Z] ---> Running in 7fb80f083e05 [2021-08-17T18:46:52.404Z] Removing intermediate container 7fb80f083e05 [2021-08-17T18:46:52.404Z] ---> 0421d642290c [2021-08-17T18:46:52.404Z] Step 11/24 : RUN make update [2021-08-17T18:46:52.404Z] ---> Running in 01d69effbbde [2021-08-17T18:46:52.676Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T18:46:52.946Z] Removing intermediate container 01d69effbbde [2021-08-17T18:46:52.946Z] ---> ed0638cc9e69 [2021-08-17T18:46:52.946Z] Step 12/24 : RUN ${MAKE} [2021-08-17T18:46:52.946Z] ---> Running in f50190806456 [2021-08-17T18:46:53.218Z] go mod tidy [2021-08-17T18:46:53.490Z] 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-08-17T18:47:05.862Z] Removing intermediate container f50190806456 [2021-08-17T18:47:05.862Z] ---> 1f226f39026b [2021-08-17T18:47:05.862Z] Step 13/24 : FROM alpine:3.12 [2021-08-17T18:47:05.862Z] 3.12: Pulling from library/alpine [2021-08-17T18:47:05.862Z] 339de151aab4: Pulling fs layer [2021-08-17T18:47:05.862Z] 339de151aab4: Verifying Checksum [2021-08-17T18:47:05.862Z] 339de151aab4: Download complete [2021-08-17T18:47:05.862Z] 339de151aab4: Pull complete [2021-08-17T18:47:05.862Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-17T18:47:05.862Z] Status: Downloaded newer image for alpine:3.12 [2021-08-17T18:47:05.862Z] ---> 13621d1b12d4 [2021-08-17T18:47:05.862Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-17T18:47:05.862Z] ---> Running in 15498129e36c [2021-08-17T18:47:05.862Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-17T18:47:05.862Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-17T18:47:06.130Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-17T18:47:06.130Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-17T18:47:06.130Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-17T18:47:06.130Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-17T18:47:06.130Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-17T18:47:06.130Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-17T18:47:06.130Z] Executing busybox-1.31.1-r20.trigger [2021-08-17T18:47:06.130Z] OK: 8 MiB in 20 packages [2021-08-17T18:47:06.397Z] Removing intermediate container 15498129e36c [2021-08-17T18:47:06.397Z] ---> ff393c3c3a6a [2021-08-17T18:47:06.397Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-08-17T18:47:06.669Z] ---> 2829455a99de [2021-08-17T18:47:06.669Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-08-17T18:47:06.935Z] ---> bae8681aa0e8 [2021-08-17T18:47:06.935Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-08-17T18:47:06.935Z] ---> a1064b70ccc0 [2021-08-17T18:47:06.935Z] Step 18/24 : EXPOSE 59993 [2021-08-17T18:47:07.205Z] ---> Running in 9c0a7118eb8d [2021-08-17T18:47:07.205Z] Removing intermediate container 9c0a7118eb8d [2021-08-17T18:47:07.205Z] ---> d911f35f3141 [2021-08-17T18:47:07.205Z] Step 19/24 : EXPOSE 161 [2021-08-17T18:47:07.205Z] ---> Running in bb73e2c8a64e [2021-08-17T18:47:07.205Z] Removing intermediate container bb73e2c8a64e [2021-08-17T18:47:07.205Z] ---> b951c8d1cce6 [2021-08-17T18:47:07.205Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-08-17T18:47:07.205Z] ---> Running in c6b941462a7a [2021-08-17T18:47:07.474Z] Removing intermediate container c6b941462a7a [2021-08-17T18:47:07.474Z] ---> 3afef6b32167 [2021-08-17T18:47:07.474Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-17T18:47:07.474Z] ---> Running in 1a99f8ef856d [2021-08-17T18:47:07.474Z] Removing intermediate container 1a99f8ef856d [2021-08-17T18:47:07.474Z] ---> 411f5a74ff47 [2021-08-17T18:47:07.474Z] Step 22/24 : LABEL arch=amd64 [2021-08-17T18:47:07.474Z] ---> Running in 74a17f4382c8 [2021-08-17T18:47:07.474Z] Removing intermediate container 74a17f4382c8 [2021-08-17T18:47:07.474Z] ---> a6e9514b1fcc [2021-08-17T18:47:07.474Z] Step 23/24 : LABEL git_sha=7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 [2021-08-17T18:47:07.742Z] ---> Running in 654c83ff5104 [2021-08-17T18:47:07.743Z] Removing intermediate container 654c83ff5104 [2021-08-17T18:47:07.743Z] ---> 91fe3df99f0a [2021-08-17T18:47:07.743Z] Step 24/24 : LABEL version=0.0.0 [2021-08-17T18:47:07.743Z] ---> Running in e43f312167be [2021-08-17T18:47:07.743Z] Removing intermediate container e43f312167be [2021-08-17T18:47:07.743Z] ---> 3078d004301b [2021-08-17T18:47:07.743Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-17T18:47:07.743Z] Successfully built 3078d004301b [2021-08-17T18:47:07.743Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:47:08.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:47:08.570Z] [2021-08-17T18:47:08.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:47:08.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:47:08.993Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T18:47:08.993Z] b4d181a07f80: Pulling fs layer [2021-08-17T18:47:08.993Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T18:47:08.993Z] ed53099fbce6: Pulling fs layer [2021-08-17T18:47:08.993Z] dc539afda2c1: Pulling fs layer [2021-08-17T18:47:08.993Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T18:47:08.993Z] 9065ff56babe: Pulling fs layer [2021-08-17T18:47:08.993Z] d287ab97295c: Pulling fs layer [2021-08-17T18:47:08.993Z] 77bc0d833cb6: Waiting [2021-08-17T18:47:08.993Z] 9065ff56babe: Waiting [2021-08-17T18:47:08.993Z] d287ab97295c: Waiting [2021-08-17T18:47:08.993Z] dc539afda2c1: Waiting [2021-08-17T18:47:09.268Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T18:47:09.268Z] a1111a8f2ec3: Download complete [2021-08-17T18:47:09.268Z] dc539afda2c1: Download complete [2021-08-17T18:47:09.540Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T18:47:09.540Z] 77bc0d833cb6: Download complete [2021-08-17T18:47:09.540Z] 9065ff56babe: Verifying Checksum [2021-08-17T18:47:09.540Z] 9065ff56babe: Download complete [2021-08-17T18:47:09.812Z] ed53099fbce6: Verifying Checksum [2021-08-17T18:47:09.812Z] ed53099fbce6: Download complete [2021-08-17T18:47:10.793Z] b4d181a07f80: Verifying Checksum [2021-08-17T18:47:10.793Z] b4d181a07f80: Download complete [2021-08-17T18:47:11.778Z] b4d181a07f80: Pull complete [2021-08-17T18:47:11.778Z] a1111a8f2ec3: Pull complete [2021-08-17T18:47:12.583Z] ed53099fbce6: Pull complete [2021-08-17T18:47:12.583Z] dc539afda2c1: Pull complete [2021-08-17T18:47:12.583Z] 77bc0d833cb6: Pull complete [2021-08-17T18:47:12.583Z] 9065ff56babe: Pull complete [2021-08-17T18:47:14.559Z] d287ab97295c: Verifying Checksum [2021-08-17T18:47:14.559Z] d287ab97295c: Download complete [2021-08-17T18:47:18.911Z] d287ab97295c: Pull complete [2021-08-17T18:47:18.911Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T18:47:18.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:47:18.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T18:47:19.297Z] prd-centos7-docker-4c-2g-1093 does not seem to be running inside a container [2021-08-17T18:47:19.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T18:47:21.759Z] $ docker top afd8838c4eeced2524e5ad6e3a49daf1802d4b237282706a538b05ba6d105a21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:47:22.323Z] ---> job-cost.sh [2021-08-17T18:47:22.323Z] lf-activate-venv: SKIPPING [2021-08-17T18:47:22.323Z] INFO: No Stack... [2021-08-17T18:47:23.736Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T18:47:23.736Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T18:47:24.094Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2021-08-17T18:47:24.094Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T18:47:24.161Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-122-1-stack-cost] [2021-08-17T18:47:24.168Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-122-1-stack-cost] did not exist. Created. [2021-08-17T18:47:24.168Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-122-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T18:47:24.625Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-17T18:47:24.681Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T18:47:24.719Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-122-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T18:47:24.801Z] $ docker stop --time=1 afd8838c4eeced2524e5ad6e3a49daf1802d4b237282706a538b05ba6d105a21 [2021-08-17T18:47:25.949Z] $ docker rm -f afd8838c4eeced2524e5ad6e3a49daf1802d4b237282706a538b05ba6d105a21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-17T19:02:20.669Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2440 in /w/workspace/gexfoundry_device-snmp-go_PR-122 [Pipeline] { [Pipeline] ws [2021-08-17T19:02:20.830Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-08-17T19:02:21.184Z] Selected Git installation does not exist. Using Default [2021-08-17T19:02:21.184Z] The recommended git tool is: NONE [2021-08-17T19:02:28.484Z] using credential edgex-jenkins-ssh [2021-08-17T19:02:28.505Z] Cloning the remote Git repository [2021-08-17T19:02:28.574Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-08-17T19:02:28.712Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-08-17T19:02:28.821Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-08-17T19:02:28.822Z] > git --version # timeout=10 [2021-08-17T19:02:28.844Z] > git --version # 'git version 2.17.1' [2021-08-17T19:02:28.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:02:28.963Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:02:29.771Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-08-17T19:02:29.798Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T19:02:29.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-08-17T19:02:29.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-08-17T19:02:29.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:02:29.907Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/122/head:refs/remotes/origin/PR-122 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-17T19:02:30.505Z] Merging remotes/origin/main commit b24a0a6e9ac553b819564bd7a76aa5a4909c3321 into PR head commit 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 [2021-08-17T19:02:30.781Z] Merge succeeded, producing 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 [2021-08-17T19:02:30.781Z] Checking out Revision 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 (PR-122) [2021-08-17T19:02:30.542Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:02:30.569Z] > git checkout -f 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 # timeout=10 [2021-08-17T19:02:30.665Z] > git remote # timeout=10 [2021-08-17T19:02:30.689Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T19:02:30.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T19:02:30.731Z] > git merge b24a0a6e9ac553b819564bd7a76aa5a4909c3321 # timeout=10 [2021-08-17T19:02:30.763Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T19:02:30.794Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T19:02:30.817Z] > git checkout -f 7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 # timeout=10 [2021-08-17T19:02:35.675Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T19:02:35.763Z] > git --version # timeout=10 [2021-08-17T19:02:35.784Z] > git --version # 'git version 2.17.1' [2021-08-17T19:02:35.807Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T19:02:36.506Z] provisioning config files... [2021-08-17T19:02:36.546Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config413410878231748924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:02:37.286Z] ---> docker-login.sh [2021-08-17T19:02:37.286Z] nexus3.edgexfoundry.org:10001 [2021-08-17T19:02:38.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:38.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:38.893Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:38.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:38.893Z] [2021-08-17T19:02:38.893Z] Login Succeeded [2021-08-17T19:02:38.893Z] nexus3.edgexfoundry.org:10002 [2021-08-17T19:02:39.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:39.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:39.464Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:39.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:39.464Z] [2021-08-17T19:02:39.464Z] Login Succeeded [2021-08-17T19:02:39.464Z] nexus3.edgexfoundry.org:10003 [2021-08-17T19:02:40.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:40.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:40.079Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:40.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:40.079Z] [2021-08-17T19:02:40.079Z] Login Succeeded [2021-08-17T19:02:40.079Z] nexus3.edgexfoundry.org:10004 [2021-08-17T19:02:40.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:40.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:40.697Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:40.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:40.697Z] [2021-08-17T19:02:40.697Z] Login Succeeded [2021-08-17T19:02:40.982Z] docker.io [2021-08-17T19:02:41.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T19:02:41.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T19:02:41.555Z] Configure a credential helper to remove this warning. See [2021-08-17T19:02:41.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T19:02:41.555Z] [2021-08-17T19:02:41.837Z] Login Succeeded [2021-08-17T19:02:41.837Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T19:02:42.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-17T19:02:42.946Z] ========================================================= [2021-08-17T19:02:42.947Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-17T19:02:42.947Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:02:43.453Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-08-17T19:02:44.070Z] Sending build context to Docker daemon 369.7kB [2021-08-17T19:02:44.070Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T19:02:44.070Z] Step 2/12 : FROM ${BASE} AS builder [2021-08-17T19:02:44.675Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-17T19:02:44.675Z] 595b0fe564bb: Pulling fs layer [2021-08-17T19:02:44.675Z] 24495759ef45: Pulling fs layer [2021-08-17T19:02:44.675Z] d148012ef14d: Pulling fs layer [2021-08-17T19:02:44.675Z] e90a11edd702: Pulling fs layer [2021-08-17T19:02:44.675Z] d77568369979: Pulling fs layer [2021-08-17T19:02:44.675Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-17T19:02:44.675Z] 170f2ba95c9a: Pulling fs layer [2021-08-17T19:02:44.675Z] 97ac5df62f85: Pulling fs layer [2021-08-17T19:02:44.675Z] e90a11edd702: Waiting [2021-08-17T19:02:44.675Z] d77568369979: Waiting [2021-08-17T19:02:44.675Z] fc1c9f9a7f3b: Waiting [2021-08-17T19:02:44.675Z] 170f2ba95c9a: Waiting [2021-08-17T19:02:44.675Z] 97ac5df62f85: Waiting [2021-08-17T19:02:44.675Z] d148012ef14d: Download complete [2021-08-17T19:02:44.955Z] 24495759ef45: Verifying Checksum [2021-08-17T19:02:44.955Z] 24495759ef45: Download complete [2021-08-17T19:02:44.955Z] d77568369979: Verifying Checksum [2021-08-17T19:02:44.955Z] d77568369979: Download complete [2021-08-17T19:02:44.955Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-17T19:02:44.955Z] 595b0fe564bb: Verifying Checksum [2021-08-17T19:02:44.955Z] 595b0fe564bb: Download complete [2021-08-17T19:02:44.955Z] 170f2ba95c9a: Download complete [2021-08-17T19:02:45.956Z] 595b0fe564bb: Pull complete [2021-08-17T19:02:46.571Z] 24495759ef45: Pull complete [2021-08-17T19:02:47.198Z] d148012ef14d: Pull complete [2021-08-17T19:02:50.632Z] 97ac5df62f85: Verifying Checksum [2021-08-17T19:02:50.632Z] 97ac5df62f85: Download complete [2021-08-17T19:02:50.632Z] e90a11edd702: Verifying Checksum [2021-08-17T19:02:50.632Z] e90a11edd702: Download complete [2021-08-17T19:03:00.829Z] e90a11edd702: Pull complete [2021-08-17T19:03:01.429Z] d77568369979: Pull complete [2021-08-17T19:03:02.043Z] fc1c9f9a7f3b: Pull complete [2021-08-17T19:03:02.322Z] 170f2ba95c9a: Pull complete [2021-08-17T19:03:07.747Z] 97ac5df62f85: Pull complete [2021-08-17T19:03:07.747Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-17T19:03:07.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T19:03:07.747Z] ---> 04bc70af865f [2021-08-17T19:03:07.747Z] Step 3/12 : ARG MAKE='make build' [2021-08-17T19:03:13.188Z] ---> Running in 3dbabfc4cf4e [2021-08-17T19:03:13.188Z] Removing intermediate container 3dbabfc4cf4e [2021-08-17T19:03:13.188Z] ---> a2312d8d178b [2021-08-17T19:03:13.188Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T19:03:13.467Z] ---> Running in dd0597a13451 [2021-08-17T19:03:14.080Z] Removing intermediate container dd0597a13451 [2021-08-17T19:03:14.080Z] ---> 0baa46c8ef7c [2021-08-17T19:03:14.080Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T19:03:14.080Z] ---> Running in b953142951a9 [2021-08-17T19:03:14.687Z] Removing intermediate container b953142951a9 [2021-08-17T19:03:14.687Z] ---> 75e35c432c0e [2021-08-17T19:03:14.687Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T19:03:15.292Z] ---> Running in 287fada5f2e1 [2021-08-17T19:03:18.725Z] Removing intermediate container 287fada5f2e1 [2021-08-17T19:03:18.725Z] ---> 96ef80dc5713 [2021-08-17T19:03:18.725Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T19:03:18.725Z] ---> Running in 10db3d02e55e [2021-08-17T19:03:20.187Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-17T19:03:21.174Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-17T19:03:22.157Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-08-17T19:03:22.157Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-08-17T19:03:22.431Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-08-17T19:03:22.704Z] Executing busybox-1.32.1-r6.trigger [2021-08-17T19:03:22.704Z] OK: 222 MiB in 55 packages [2021-08-17T19:03:24.165Z] Removing intermediate container 10db3d02e55e [2021-08-17T19:03:24.165Z] ---> a177f2fa20b7 [2021-08-17T19:03:24.165Z] Step 8/12 : WORKDIR /device-snmp-go [2021-08-17T19:03:24.442Z] ---> Running in 34449980a97f [2021-08-17T19:03:25.036Z] Removing intermediate container 34449980a97f [2021-08-17T19:03:25.036Z] ---> 73d6e540275e [2021-08-17T19:03:25.036Z] Step 9/12 : COPY . . [2021-08-17T19:03:26.026Z] ---> 6953cd1a3056 [2021-08-17T19:03:26.026Z] Step 10/12 : RUN go mod tidy [2021-08-17T19:03:26.026Z] ---> Running in 2d5171d173cf [2021-08-17T19:03:30.366Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-08-17T19:03:30.366Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-17T19:03:30.366Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2021-08-17T19:03:30.366Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-17T19:03:30.366Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-17T19:03:30.366Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-17T19:03:30.366Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-17T19:03:30.366Z] go: downloading github.com/google/uuid v1.2.0 [2021-08-17T19:03:30.650Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-17T19:03:30.650Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-17T19:03:30.650Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-17T19:03:30.650Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T19:03:30.926Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-17T19:03:30.926Z] go: downloading github.com/golang/mock v1.2.0 [2021-08-17T19:03:30.926Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-08-17T19:03:31.220Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-17T19:03:31.220Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-17T19:03:31.220Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-17T19:03:31.220Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-17T19:03:31.220Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-17T19:03:31.220Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-17T19:03:31.220Z] go: downloading golang.org/x/text v0.3.2 [2021-08-17T19:03:31.220Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-17T19:03:31.496Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-17T19:03:34.897Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-17T19:03:34.897Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-17T19:03:34.897Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-08-17T19:03:34.897Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-17T19:03:34.897Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-17T19:03:34.897Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-17T19:03:34.897Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T19:03:34.897Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-17T19:03:34.897Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-17T19:03:34.897Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-17T19:03:34.897Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-17T19:03:35.178Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-17T19:03:35.178Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-17T19:03:35.178Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-17T19:03:35.472Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-17T19:03:35.472Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-17T19:03:35.472Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-17T19:03:35.472Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-17T19:03:35.472Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-17T19:03:35.472Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-17T19:03:35.472Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-17T19:03:35.472Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-17T19:03:35.472Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-17T19:03:35.791Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-17T19:03:35.791Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-17T19:03:36.075Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-17T19:03:36.075Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-17T19:03:36.075Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-17T19:03:36.075Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-17T19:03:36.355Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-17T19:03:36.355Z] go: downloading github.com/kr/text v0.1.0 [2021-08-17T19:03:36.355Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-17T19:03:36.634Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-17T19:03:36.634Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-17T19:03:36.634Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-17T19:03:36.634Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-17T19:03:36.634Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-17T19:03:36.634Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-17T19:03:36.634Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-17T19:03:36.634Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-17T19:03:36.634Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-17T19:03:36.915Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-17T19:03:36.915Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-17T19:03:36.915Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-17T19:03:36.915Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-17T19:03:36.915Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-17T19:03:36.915Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-17T19:03:36.915Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-17T19:03:37.191Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-17T19:03:37.191Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-17T19:03:37.191Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-17T19:03:37.191Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-17T19:03:37.467Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-17T19:03:52.570Z] Removing intermediate container 2d5171d173cf [2021-08-17T19:03:52.570Z] ---> 660812e0e2b3 [2021-08-17T19:03:52.570Z] Step 11/12 : RUN make update [2021-08-17T19:03:52.570Z] ---> Running in c98a5fb17e64 [2021-08-17T19:03:53.167Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T19:04:03.343Z] Removing intermediate container c98a5fb17e64 [2021-08-17T19:04:03.343Z] ---> 888de73b4406 [2021-08-17T19:04:03.343Z] Step 12/12 : RUN ${MAKE} [2021-08-17T19:04:03.343Z] ---> Running in 9452db781a9a [2021-08-17T19:04:04.333Z] noop [2021-08-17T19:04:05.781Z] Removing intermediate container 9452db781a9a [2021-08-17T19:04:05.781Z] ---> 7fc47dbc62f4 [2021-08-17T19:04:05.781Z] Successfully built 7fc47dbc62f4 [2021-08-17T19:04:05.781Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:04:06.179Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T19:04:06.179Z] . [Pipeline] withDockerContainer [2021-08-17T19:04:06.522Z] prd-ubuntu18.04-docker-arm64-4c-16g-2440 does not seem to be running inside a container [2021-08-17T19:04:06.633Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T19:04:08.594Z] $ docker top a55311549684a855e871a9050cf0e4b6864fe4a181cc90c5a873bba53e4b95fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:04:09.711Z] + go version [2021-08-17T19:04:09.711Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-17T19:04:09.754Z] $ docker stop --time=1 a55311549684a855e871a9050cf0e4b6864fe4a181cc90c5a873bba53e4b95fc [2021-08-17T19:04:12.161Z] $ docker rm -f a55311549684a855e871a9050cf0e4b6864fe4a181cc90c5a873bba53e4b95fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:04:13.244Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T19:04:13.245Z] . [Pipeline] withDockerContainer [2021-08-17T19:04:13.591Z] prd-ubuntu18.04-docker-arm64-4c-16g-2440 does not seem to be running inside a container [2021-08-17T19:04:13.698Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-17T19:04:15.732Z] $ docker top 659629f59aaa8f600fe64c6ca5d292abcf5fc71a14ce30c317fa01c00a5de48b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T19:04:16.934Z] + go mod tidy [Pipeline] sh [2021-08-17T19:04:18.249Z] + make test [2021-08-17T19:04:18.250Z] go mod tidy [2021-08-17T19:04:18.857Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-08-17T19:04:20.315Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-08-17T19:05:28.716Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-08-17T19:05:28.716Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2021-08-17T19:05:28.716Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-17T19:06:01.419Z] gofmt -l . [2021-08-17T19:06:01.419Z] [ "`gofmt -l .`" = "" ] [2021-08-17T19:06:01.419Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-08-17T19:06:01.482Z] $ docker stop --time=1 659629f59aaa8f600fe64c6ca5d292abcf5fc71a14ce30c317fa01c00a5de48b [2021-08-17T19:06:03.607Z] $ docker rm -f 659629f59aaa8f600fe64c6ca5d292abcf5fc71a14ce30c317fa01c00a5de48b [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T19:06:04.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T19:06:04.763Z] Warning: overwriting stash ‘coverage-report’ [2021-08-17T19:06:05.459Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T19:06:06.125Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-17T19:06:06.508Z] + ls -al . [2021-08-17T19:06:06.508Z] total 140 [2021-08-17T19:06:06.508Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 17 19:06 . [2021-08-17T19:06:06.508Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 19:02 .. [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 6 Aug 17 19:02 .dockerignore [2021-08-17T19:06:06.508Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 19:02 .git [2021-08-17T19:06:06.508Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:02 .github [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 269 Aug 17 19:02 .gitignore [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 6520 Aug 17 19:02 Attribution.txt [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 4401 Aug 17 19:02 CHANGELOG.md [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 1459 Aug 17 19:02 Dockerfile [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 19:02 GOVERNANCE.md [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 656 Aug 17 19:02 Jenkinsfile [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 19:02 LICENSE [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 936 Aug 17 19:02 Makefile [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 17 19:02 OWNERS.md [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 9073 Aug 17 19:02 README.md [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 18:43 VERSION [2021-08-17T19:06:06.508Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 19:02 bin [2021-08-17T19:06:06.508Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 19:02 cmd [2021-08-17T19:06:06.508Z] -rw-r--r-- 1 jenkins jenkins 7631 Aug 17 19:05 coverage.out [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 208 Aug 17 19:02 go.mod [2021-08-17T19:06:06.508Z] -rw-r--r-- 1 jenkins jenkins 20831 Aug 17 19:04 go.sum [2021-08-17T19:06:06.508Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 19:02 internal [2021-08-17T19:06:06.508Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 17 19:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:06:06.908Z] + 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=7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 --label arch=arm64 --label version=0.0.0 . [2021-08-17T19:06:07.518Z] Sending build context to Docker daemon 377.9kB [2021-08-17T19:06:07.518Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T19:06:07.518Z] Step 2/24 : FROM ${BASE} AS builder [2021-08-17T19:06:07.518Z] ---> 7fc47dbc62f4 [2021-08-17T19:06:07.518Z] Step 3/24 : ARG MAKE='make build' [2021-08-17T19:06:07.793Z] ---> Running in 81003c3543a6 [2021-08-17T19:06:08.401Z] Removing intermediate container 81003c3543a6 [2021-08-17T19:06:08.401Z] ---> bd1e6958f345 [2021-08-17T19:06:08.401Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-08-17T19:06:08.679Z] ---> Running in 5948847fea2a [2021-08-17T19:06:09.284Z] Removing intermediate container 5948847fea2a [2021-08-17T19:06:09.284Z] ---> 5a7a5cc172e6 [2021-08-17T19:06:09.284Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-08-17T19:06:09.568Z] ---> Running in 2589b0cb026d [2021-08-17T19:06:10.182Z] Removing intermediate container 2589b0cb026d [2021-08-17T19:06:10.182Z] ---> f714444180e4 [2021-08-17T19:06:10.182Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T19:06:10.182Z] ---> Running in a6b8ef706c8b [2021-08-17T19:06:12.845Z] Removing intermediate container a6b8ef706c8b [2021-08-17T19:06:12.845Z] ---> 6379b5a82f77 [2021-08-17T19:06:12.845Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-08-17T19:06:13.124Z] ---> Running in f0a41bc1a2ab [2021-08-17T19:06:14.579Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-17T19:06:15.576Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-17T19:06:16.566Z] OK: 222 MiB in 55 packages [2021-08-17T19:06:18.005Z] Removing intermediate container f0a41bc1a2ab [2021-08-17T19:06:18.005Z] ---> 99bf77008a8a [2021-08-17T19:06:18.005Z] Step 8/24 : WORKDIR /device-snmp-go [2021-08-17T19:06:18.005Z] ---> Running in 10e51e09fc9c [2021-08-17T19:06:18.989Z] Removing intermediate container 10e51e09fc9c [2021-08-17T19:06:18.989Z] ---> 2695d2864b2b [2021-08-17T19:06:18.989Z] Step 9/24 : COPY . . [2021-08-17T19:06:19.979Z] ---> 532ad0af0364 [2021-08-17T19:06:19.979Z] Step 10/24 : RUN go mod tidy [2021-08-17T19:06:19.979Z] ---> Running in c9350daf8c93 [2021-08-17T19:06:23.390Z] Removing intermediate container c9350daf8c93 [2021-08-17T19:06:23.390Z] ---> 3cfd898ec57a [2021-08-17T19:06:23.390Z] Step 11/24 : RUN make update [2021-08-17T19:06:23.390Z] ---> Running in e516e1029023 [2021-08-17T19:06:24.848Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-08-17T19:06:26.313Z] Removing intermediate container e516e1029023 [2021-08-17T19:06:26.313Z] ---> 44ec980851a0 [2021-08-17T19:06:26.313Z] Step 12/24 : RUN ${MAKE} [2021-08-17T19:06:26.313Z] ---> Running in 9fb9aacd817f [2021-08-17T19:06:27.772Z] go mod tidy [2021-08-17T19:06:28.379Z] 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-08-17T19:07:15.499Z] Removing intermediate container 9fb9aacd817f [2021-08-17T19:07:15.499Z] ---> 19bf690f5339 [2021-08-17T19:07:15.499Z] Step 13/24 : FROM alpine:3.12 [2021-08-17T19:07:15.499Z] 3.12: Pulling from library/alpine [2021-08-17T19:07:15.499Z] d2f70382dc9a: Pulling fs layer [2021-08-17T19:07:15.499Z] d2f70382dc9a: Verifying Checksum [2021-08-17T19:07:15.499Z] d2f70382dc9a: Download complete [2021-08-17T19:07:15.499Z] d2f70382dc9a: Pull complete [2021-08-17T19:07:15.499Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-17T19:07:15.499Z] Status: Downloaded newer image for alpine:3.12 [2021-08-17T19:07:15.499Z] ---> c4fd0aeabfcf [2021-08-17T19:07:15.499Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-08-17T19:07:15.499Z] ---> Running in fe688131754f [2021-08-17T19:07:15.499Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-17T19:07:15.775Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-17T19:07:16.373Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-08-17T19:07:16.373Z] (2/6) Installing libgcc (9.3.0-r2) [2021-08-17T19:07:16.373Z] (3/6) Installing libsodium (1.0.18-r0) [2021-08-17T19:07:16.373Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-08-17T19:07:16.373Z] (5/6) Installing libzmq (4.3.3-r0) [2021-08-17T19:07:16.373Z] (6/6) Installing zeromq (4.3.3-r0) [2021-08-17T19:07:16.373Z] Executing busybox-1.31.1-r20.trigger [2021-08-17T19:07:16.373Z] OK: 8 MiB in 20 packages [2021-08-17T19:07:17.850Z] Removing intermediate container fe688131754f [2021-08-17T19:07:17.850Z] ---> 7bfa35fc8b7c [2021-08-17T19:07:17.850Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-08-17T19:07:19.296Z] ---> e3d23ac7d8b1 [2021-08-17T19:07:19.296Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-08-17T19:07:19.917Z] ---> cd6de5a5e42c [2021-08-17T19:07:19.917Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-08-17T19:07:21.377Z] ---> 82451b50649e [2021-08-17T19:07:21.377Z] Step 18/24 : EXPOSE 59993 [2021-08-17T19:07:21.377Z] ---> Running in a9334af657c0 [2021-08-17T19:07:21.976Z] Removing intermediate container a9334af657c0 [2021-08-17T19:07:21.976Z] ---> f82c31e8f16f [2021-08-17T19:07:21.976Z] Step 19/24 : EXPOSE 161 [2021-08-17T19:07:22.251Z] ---> Running in 45d5016b37c3 [2021-08-17T19:07:22.849Z] Removing intermediate container 45d5016b37c3 [2021-08-17T19:07:22.849Z] ---> 96f052c694a7 [2021-08-17T19:07:22.849Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-08-17T19:07:23.125Z] ---> Running in a02008d6cc33 [2021-08-17T19:07:23.728Z] Removing intermediate container a02008d6cc33 [2021-08-17T19:07:23.728Z] ---> b5426c96b03d [2021-08-17T19:07:23.728Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-08-17T19:07:23.728Z] ---> Running in 16baaa3f05e3 [2021-08-17T19:07:24.366Z] Removing intermediate container 16baaa3f05e3 [2021-08-17T19:07:24.367Z] ---> 806d93465521 [2021-08-17T19:07:24.367Z] Step 22/24 : LABEL arch=arm64 [2021-08-17T19:07:24.641Z] ---> Running in d42ff7e33392 [2021-08-17T19:07:25.237Z] Removing intermediate container d42ff7e33392 [2021-08-17T19:07:25.237Z] ---> a88464de7ad5 [2021-08-17T19:07:25.237Z] Step 23/24 : LABEL git_sha=7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 [2021-08-17T19:07:25.237Z] ---> Running in 066ba0545001 [2021-08-17T19:07:26.217Z] Removing intermediate container 066ba0545001 [2021-08-17T19:07:26.217Z] ---> 9506b26cdf9b [2021-08-17T19:07:26.217Z] Step 24/24 : LABEL version=0.0.0 [2021-08-17T19:07:26.217Z] ---> Running in b02974a4d29c [2021-08-17T19:07:26.822Z] Removing intermediate container b02974a4d29c [2021-08-17T19:07:26.822Z] ---> fcda4af51b93 [2021-08-17T19:07:26.822Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-17T19:07:26.822Z] Successfully built fcda4af51b93 [2021-08-17T19:07:26.822Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:07:27.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:07:27.597Z] [2021-08-17T19:07:27.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:07:28.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:07:28.297Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-17T19:07:28.297Z] 448f6bf000e3: Pulling fs layer [2021-08-17T19:07:28.297Z] f757da607395: Pulling fs layer [2021-08-17T19:07:28.297Z] 05883995daec: Pulling fs layer [2021-08-17T19:07:28.297Z] 8603b9c90790: Pulling fs layer [2021-08-17T19:07:28.297Z] 1560dd03e051: Pulling fs layer [2021-08-17T19:07:28.297Z] 27f5ce0e4adf: Pulling fs layer [2021-08-17T19:07:28.297Z] c2d8d7efcc4b: Pulling fs layer [2021-08-17T19:07:28.297Z] 1560dd03e051: Waiting [2021-08-17T19:07:28.297Z] 8603b9c90790: Waiting [2021-08-17T19:07:28.297Z] 27f5ce0e4adf: Waiting [2021-08-17T19:07:28.297Z] c2d8d7efcc4b: Waiting [2021-08-17T19:07:28.579Z] f757da607395: Verifying Checksum [2021-08-17T19:07:28.579Z] f757da607395: Download complete [2021-08-17T19:07:28.579Z] 8603b9c90790: Verifying Checksum [2021-08-17T19:07:28.579Z] 8603b9c90790: Download complete [2021-08-17T19:07:28.579Z] 1560dd03e051: Verifying Checksum [2021-08-17T19:07:28.579Z] 1560dd03e051: Download complete [2021-08-17T19:07:28.855Z] 27f5ce0e4adf: Verifying Checksum [2021-08-17T19:07:28.855Z] 27f5ce0e4adf: Download complete [2021-08-17T19:07:29.462Z] 05883995daec: Verifying Checksum [2021-08-17T19:07:29.462Z] 05883995daec: Download complete [2021-08-17T19:07:29.462Z] 448f6bf000e3: Verifying Checksum [2021-08-17T19:07:29.462Z] 448f6bf000e3: Download complete [2021-08-17T19:07:33.797Z] 448f6bf000e3: Pull complete [2021-08-17T19:07:33.797Z] c2d8d7efcc4b: Verifying Checksum [2021-08-17T19:07:33.797Z] c2d8d7efcc4b: Download complete [2021-08-17T19:07:34.398Z] f757da607395: Pull complete [2021-08-17T19:07:35.859Z] 05883995daec: Pull complete [2021-08-17T19:07:36.462Z] 8603b9c90790: Pull complete [2021-08-17T19:07:37.452Z] 1560dd03e051: Pull complete [2021-08-17T19:07:37.729Z] 27f5ce0e4adf: Pull complete [2021-08-17T19:07:52.885Z] c2d8d7efcc4b: Pull complete [2021-08-17T19:07:52.885Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-17T19:07:52.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T19:07:52.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-17T19:07:53.149Z] prd-ubuntu18.04-docker-arm64-4c-16g-2440 does not seem to be running inside a container [2021-08-17T19:07:53.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-17T19:07:58.322Z] $ docker top 87244f5312687f8811dc8afab1b29507c58b7ca1a2b065f88e1fa48c1a29da07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:07:59.406Z] ---> job-cost.sh [2021-08-17T19:07:59.406Z] lf-activate-venv: SKIPPING [2021-08-17T19:07:59.406Z] INFO: No Stack... [2021-08-17T19:08:01.392Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-17T19:08:01.665Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T19:08:02.356Z] + cut -d, -f6 [2021-08-17T19:08:02.357Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-08-17T19:08:02.463Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-122-1-stack-cost] [2021-08-17T19:08:02.469Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-122-1-stack-cost] did not exist. Created. [2021-08-17T19:08:02.469Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-122-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T19:08:03.282Z] /w/workspace/device-snmp-go/1@tmp/durable-fd44deaa/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-fd44deaa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-17T19:08:04.032Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-17T19:08:04.070Z] Warning: overwriting stash ‘stack-cost’ [2021-08-17T19:08:04.111Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T19:08:04.144Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-122-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T19:08:04.237Z] $ docker stop --time=1 87244f5312687f8811dc8afab1b29507c58b7ca1a2b065f88e1fa48c1a29da07 [2021-08-17T19:08:05.926Z] $ docker rm -f 87244f5312687f8811dc8afab1b29507c58b7ca1a2b065f88e1fa48c1a29da07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-08-17T19:08:07.098Z] provisioning config files... [2021-08-17T19:08:07.112Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/config3460595339874351538tmp [Pipeline] { [Pipeline] sh [2021-08-17T19:08:07.496Z] + set +x [2021-08-17T19:08:07.496Z] + curl -s https://codecov.io/bash [2021-08-17T19:08:07.496Z] + bash -s -- [2021-08-17T19:08:07.496Z] [2021-08-17T19:08:07.496Z] _____ _ [2021-08-17T19:08:07.496Z] / ____| | | [2021-08-17T19:08:07.496Z] | | ___ __| | ___ ___ _____ __ [2021-08-17T19:08:07.496Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-17T19:08:07.496Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-17T19:08:07.496Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-17T19:08:07.496Z] Bash-1.0.6 [2021-08-17T19:08:07.496Z] [2021-08-17T19:08:07.496Z] [2021-08-17T19:08:07.496Z] ==> git version 2.24.4 found [2021-08-17T19:08:07.496Z] ==> 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-08-17T19:08:07.496Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-17T19:08:07.496Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-17T19:08:07.496Z] ==> Jenkins CI detected. [2021-08-17T19:08:07.496Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-122 [2021-08-17T19:08:07.496Z] project root: . [2021-08-17T19:08:07.496Z] --> token set from env [2021-08-17T19:08:07.496Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-17T19:08:07.496Z] ==> Running gcov in . (disable via -X gcov) [2021-08-17T19:08:07.496Z] ==> Python coveragepy not found [2021-08-17T19:08:07.496Z] ==> Searching for coverage reports in: [2021-08-17T19:08:07.496Z] + . [2021-08-17T19:08:07.496Z] -> Found 1 reports [2021-08-17T19:08:07.496Z] ==> Detecting git/mercurial file structure [2021-08-17T19:08:07.763Z] ==> Reading reports [2021-08-17T19:08:07.763Z] + ./coverage.out bytes=7631 [2021-08-17T19:08:07.763Z] ==> Appending adjustments [2021-08-17T19:08:07.763Z] https://docs.codecov.io/docs/fixing-reports [2021-08-17T19:08:07.763Z] + Found adjustments [2021-08-17T19:08:07.763Z] ==> Gzipping contents [2021-08-17T19:08:07.763Z] 4.0K /tmp/codecov.Y257uw.gz [2021-08-17T19:08:07.763Z] ==> Uploading reports [2021-08-17T19:08:07.763Z] url: https://codecov.io [2021-08-17T19:08:07.763Z] query: branch=PR-122&commit=7d77ce6d92607a01792cfda4e6a6b6ced55f51a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-122%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=122&job=&cmd_args= [2021-08-17T19:08:07.763Z] -> Pinging Codecov [2021-08-17T19:08:07.763Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-122&commit=7d77ce6d92607a01792cfda4e6a6b6ced55f51a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-122%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=122&job=&cmd_args= [2021-08-17T19:08:08.052Z] -> Uploading to [2021-08-17T19:08:08.052Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-17/6C56EA5C29638FB4528AC87E60AF5AE0/7d77ce6d92607a01792cfda4e6a6b6ced55f51a6/107865e9-858e-46f3-834b-223fe38fec90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T190807Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=600d7956616f58016f2218e10f76d9f5369e55480d93b16bc7dfd525a771dc6a [2021-08-17T19:08:08.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-17T19:08:08.052Z] Dload Upload Total Spent Left Speed [2021-08-17T19:08:08.635Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1329 0 0 100 1329 0 3180 --:--:-- --:--:-- --:--:-- 3179 100 1329 0 0 100 1329 0 3179 --:--:-- --:--:-- --:--:-- 3179 [2021-08-17T19:08:08.635Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/7d77ce6d92607a01792cfda4e6a6b6ced55f51a6 [Pipeline] } [2021-08-17T19:08:08.660Z] 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] sh [2021-08-17T19:08:10.552Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-122/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:10.918Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:11.560Z] ---> package-listing.sh [2021-08-17T19:08:11.560Z] ++ facter osfamily [2021-08-17T19:08:11.560Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-17T19:08:11.828Z] + OS_FAMILY=redhat [2021-08-17T19:08:11.828Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-122 [2021-08-17T19:08:11.828Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-17T19:08:11.828Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-17T19:08:11.828Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-17T19:08:11.828Z] + PACKAGES=/tmp/packages_start.txt [2021-08-17T19:08:11.828Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-122 ']' [2021-08-17T19:08:11.828Z] + PACKAGES=/tmp/packages_end.txt [2021-08-17T19:08:11.828Z] + case "${OS_FAMILY}" in [2021-08-17T19:08:11.828Z] + rpm -qa [2021-08-17T19:08:11.828Z] + sort [2021-08-17T19:08:12.412Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-17T19:08:12.412Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-17T19:08:12.412Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-17T19:08:12.412Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-122 ']' [2021-08-17T19:08:12.412Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-122/archives/ [2021-08-17T19:08:12.412Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-122/archives/ [Pipeline] echo [2021-08-17T19:08:12.453Z] 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-122/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-17T19:08:12.778Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:08:13.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:08:13.413Z] [2021-08-17T19:08:13.413Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T19:08:13.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:08:13.791Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T19:08:13.791Z] b4d181a07f80: Pulling fs layer [2021-08-17T19:08:13.791Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T19:08:13.791Z] ed53099fbce6: Pulling fs layer [2021-08-17T19:08:13.791Z] dc539afda2c1: Pulling fs layer [2021-08-17T19:08:13.791Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T19:08:13.791Z] 9065ff56babe: Pulling fs layer [2021-08-17T19:08:13.791Z] d287ab97295c: Pulling fs layer [2021-08-17T19:08:13.791Z] dc539afda2c1: Waiting [2021-08-17T19:08:13.791Z] 77bc0d833cb6: Waiting [2021-08-17T19:08:13.791Z] 9065ff56babe: Waiting [2021-08-17T19:08:13.791Z] d287ab97295c: Waiting [2021-08-17T19:08:14.058Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T19:08:14.058Z] a1111a8f2ec3: Download complete [2021-08-17T19:08:14.058Z] dc539afda2c1: Verifying Checksum [2021-08-17T19:08:14.058Z] dc539afda2c1: Download complete [2021-08-17T19:08:14.324Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T19:08:14.324Z] 77bc0d833cb6: Download complete [2021-08-17T19:08:14.324Z] 9065ff56babe: Verifying Checksum [2021-08-17T19:08:14.324Z] 9065ff56babe: Download complete [2021-08-17T19:08:14.324Z] ed53099fbce6: Verifying Checksum [2021-08-17T19:08:14.324Z] ed53099fbce6: Download complete [2021-08-17T19:08:15.293Z] b4d181a07f80: Verifying Checksum [2021-08-17T19:08:15.293Z] b4d181a07f80: Download complete [2021-08-17T19:08:16.717Z] b4d181a07f80: Pull complete [2021-08-17T19:08:16.717Z] a1111a8f2ec3: Pull complete [2021-08-17T19:08:16.984Z] ed53099fbce6: Pull complete [2021-08-17T19:08:17.257Z] dc539afda2c1: Pull complete [2021-08-17T19:08:17.530Z] 77bc0d833cb6: Pull complete [2021-08-17T19:08:17.530Z] 9065ff56babe: Pull complete [2021-08-17T19:08:18.938Z] d287ab97295c: Verifying Checksum [2021-08-17T19:08:18.938Z] d287ab97295c: Download complete [2021-08-17T19:08:24.302Z] d287ab97295c: Pull complete [2021-08-17T19:08:24.302Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T19:08:24.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T19:08:24.302Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T19:08:24.428Z] prd-centos7-docker-4c-2g-1067 does not seem to be running inside a container [2021-08-17T19:08:24.483Z] $ 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-122/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-122 -v /w/workspace/gexfoundry_device-snmp-go_PR-122:/w/workspace/gexfoundry_device-snmp-go_PR-122:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-122@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-17T19:08:27.302Z] $ docker top 8df3720cc0e494b5914013aebcd50a55d84fd16861f4e8c97fbad33043388bd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T19:08:27.766Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-17T19:08:28.118Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-17T19:08:28.467Z] + ls /var/log/sa-host [2021-08-17T19:08:28.468Z] + sadf -c /var/log/sa-host/sa05 [2021-08-17T19:08:28.468Z] file_magic: OK [2021-08-17T19:08:28.468Z] HZ: Using current value: 100 [2021-08-17T19:08:28.468Z] file_header: OK [2021-08-17T19:08:28.468Z] 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-08-17T19:08:28.468Z] Statistics: [2021-08-17T19:08:28.468Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T19:08:28.468Z] File successfully converted to sysstat format version 12.0.3 [2021-08-17T19:08:28.468Z] + sadf -c /var/log/sa-host/sa17 [2021-08-17T19:08:28.468Z] file_magic: OK [2021-08-17T19:08:28.468Z] HZ: Using current value: 100 [2021-08-17T19:08:28.468Z] file_header: OK [2021-08-17T19:08:28.468Z] 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-08-17T19:08:28.468Z] Statistics: [2021-08-17T19:08:28.468Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T19:08:28.468Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T19:08:28.719Z] provisioning config files... [2021-08-17T19:08:28.736Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-122@tmp/config7737159736186366696tmp [Pipeline] { [Pipeline] echo [2021-08-17T19:08:28.810Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:29.167Z] ---> create-netrc.sh [Pipeline] } [2021-08-17T19:08:29.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:29.659Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-17T19:08:29.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:30.052Z] ---> sudo-logs.sh [2021-08-17T19:08:30.052Z] Archiving 'sudo' log.. [2021-08-17T19:08:30.052Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1067.vexxhost.local: Name or service not known [2021-08-17T19:08:30.052Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1067.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-17T19:08:30.151Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:30.498Z] ---> job-cost.sh [2021-08-17T19:08:30.499Z] lf-activate-venv: SKIPPING [2021-08-17T19:08:30.499Z] DEBUG: total: 0.18000000715255737 [2021-08-17T19:08:30.499Z] INFO: Retrieving Stack Cost... [2021-08-17T19:08:31.080Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T19:08:31.348Z] INFO: Archiving Costs [Pipeline] echo [2021-08-17T19:08:31.389Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T19:08:31.749Z] ---> logs-deploy.sh [2021-08-17T19:08:31.749Z] lf-activate-venv: SKIPPING [2021-08-17T19:08:31.749Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-122/1 [2021-08-17T19:08:31.749Z] INFO: archiving workspace using pattern(s): [2021-08-17T19:08:32.337Z] Archives upload complete. [2021-08-17T19:08:32.603Z] INFO: archiving logs to Nexus