Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 36f220337c15c882742676291291e5935134de27 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh661563803490429448.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3553965388762566206.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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1111378213368437340.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6623724005382492627.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9156200369608644688.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-322 in /w/workspace/gexfoundry_device-snmp-go_master [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_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_master@tmp/jenkins-gitclient-ssh1633418000308929915.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 36f220337c15c882742676291291e5935134de27 (master) > 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 core.sparsecheckout # timeout=10 > git checkout -f 36f220337c15c882742676291291e5935134de27 # timeout=10 Commit message: "Merge pull request #102 from lenny-intel/service-info" > git rev-list --no-walk 9351a662b217a128018db5c2b0fd8a407906271b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-26T01:44:57.588Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-26T01:44:57.685Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-26T01:44:57.716Z] ========================================================= [2021-05-26T01:44:57.716Z] EdgeX Global Pipelines Version Info [2021-05-26T01:44:57.716Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:44:59.190Z] ------------------- [2021-05-26T01:44:59.190Z] stable info: [2021-05-26T01:44:59.190Z] ------------------- [2021-05-26T01:44:59.190Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-26T01:44:59.190Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T01:44:59.190Z] Message: update stable to v1.0.192 [2021-05-26T01:44:59.770Z] ------------------- [2021-05-26T01:44:59.770Z] experimental info: [2021-05-26T01:44:59.770Z] ------------------- [2021-05-26T01:44:59.770Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-26T01:44:59.770Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-26T01:44:59.770Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-26T01:44:59.909Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-05-26T01:44:59.933Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-05-26T01:44:59.957Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-26T01:44:59.982Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-26T01:45:00.007Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-26T01:45:00.031Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-26T01:45:00.056Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-26T01:45:00.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-26T01:45:00.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-26T01:45:00.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-26T01:45:00.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-26T01:45:00.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-05-26T01:45:00.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-26T01:45:00.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-26T01:45:00.301Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T01:45:00.344Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-26T01:45:00.367Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T01:45:00.390Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-26T01:45:00.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-26T01:45:00.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-26T01:45:00.461Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-26T01:45:00.496Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-26T01:45:00.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-26T01:45:00.564Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-26T01:45:00.588Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-26T01:45:00.612Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-26T01:45:00.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-26T01:45:00.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-26T01:45:00.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-26T01:45:00.718Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36f220337c15c882742676291291e5935134de27 [Pipeline] echo [2021-05-26T01:45:00.767Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36f2203 [Pipeline] echo [2021-05-26T01:45:00.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:45:00.870Z] provisioning config files... [2021-05-26T01:45:00.887Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4323414503176463090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:45:01.207Z] ---> docker-login.sh [2021-05-26T01:45:01.207Z] nexus3.edgexfoundry.org:10001 [2021-05-26T01:45:01.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:01.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:01.737Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:01.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:01.737Z] [2021-05-26T01:45:01.737Z] Login Succeeded [2021-05-26T01:45:01.737Z] nexus3.edgexfoundry.org:10002 [2021-05-26T01:45:01.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:01.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:01.999Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:01.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:01.999Z] [2021-05-26T01:45:01.999Z] Login Succeeded [2021-05-26T01:45:01.999Z] nexus3.edgexfoundry.org:10003 [2021-05-26T01:45:01.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:01.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:01.999Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:01.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:01.999Z] [2021-05-26T01:45:01.999Z] Login Succeeded [2021-05-26T01:45:01.999Z] nexus3.edgexfoundry.org:10004 [2021-05-26T01:45:02.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:02.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:02.267Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:02.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:02.267Z] [2021-05-26T01:45:02.267Z] Login Succeeded [2021-05-26T01:45:02.267Z] docker.io [2021-05-26T01:45:02.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:45:02.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:45:02.846Z] Configure a credential helper to remove this warning. See [2021-05-26T01:45:02.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:45:02.846Z] [2021-05-26T01:45:02.846Z] Login Succeeded [2021-05-26T01:45:02.846Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T01:45:02.855Z] 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-05-26T01:45:03.326Z] + git log --format=format:%s -1 36f220337c15c882742676291291e5935134de27 [Pipeline] echo [2021-05-26T01:45:03.372Z] GIT_COMMIT: 36f220337c15c882742676291291e5935134de27, Commit Message: Merge pull request #102 from lenny-intel/service-info [Pipeline] echo [2021-05-26T01:45:03.387Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:45:04.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T01:45:04.370Z] [2021-05-26T01:45:04.370Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:45:04.705Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T01:45:04.705Z] latest: Pulling from edgex-devops/git-semver [2021-05-26T01:45:04.705Z] 31603596830f: Pulling fs layer [2021-05-26T01:45:04.705Z] 54011a49482f: Pulling fs layer [2021-05-26T01:45:04.705Z] a6820b24f6d8: Pulling fs layer [2021-05-26T01:45:04.705Z] f581987b2513: Pulling fs layer [2021-05-26T01:45:04.705Z] f581987b2513: Waiting [2021-05-26T01:45:04.705Z] 54011a49482f: Verifying Checksum [2021-05-26T01:45:04.705Z] 54011a49482f: Download complete [2021-05-26T01:45:04.705Z] 31603596830f: Verifying Checksum [2021-05-26T01:45:04.705Z] 31603596830f: Download complete [2021-05-26T01:45:04.969Z] f581987b2513: Verifying Checksum [2021-05-26T01:45:04.969Z] f581987b2513: Download complete [2021-05-26T01:45:04.969Z] a6820b24f6d8: Verifying Checksum [2021-05-26T01:45:04.969Z] a6820b24f6d8: Download complete [2021-05-26T01:45:04.969Z] 31603596830f: Pull complete [2021-05-26T01:45:05.243Z] 54011a49482f: Pull complete [2021-05-26T01:45:05.818Z] a6820b24f6d8: Pull complete [2021-05-26T01:45:06.080Z] f581987b2513: Pull complete [2021-05-26T01:45:06.080Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-26T01:45:06.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T01:45:06.080Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-26T01:45:06.179Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-05-26T01:45:06.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T01:45:07.179Z] $ docker top 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T01:45:07.348Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T01:45:07.348Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T01:45:07.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T01:45:07.481Z] $ docker exec 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 ssh-agent [2021-05-26T01:45:07.609Z] SSH_AUTH_SOCK=/tmp/ssh-vGdUEW5mKaxH/agent.14 [2021-05-26T01:45:07.609Z] SSH_AGENT_PID=20 [2021-05-26T01:45:07.621Z] Running ssh-add (command line suppressed) [2021-05-26T01:45:07.742Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6516290580435552391.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6516290580435552391.key) [2021-05-26T01:45:07.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T01:45:08.096Z] + git tag --points-at HEAD [Pipeline] } [2021-05-26T01:45:08.109Z] $ docker exec --env ******** --env ******** 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 ssh-agent -k [2021-05-26T01:45:08.218Z] unset SSH_AUTH_SOCK; [2021-05-26T01:45:08.218Z] unset SSH_AGENT_PID; [2021-05-26T01:45:08.218Z] echo Agent pid 20 killed; [2021-05-26T01:45:08.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-26T01:45:08.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T01:45:08.285Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T01:45:08.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T01:45:08.412Z] $ docker exec 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 ssh-agent [2021-05-26T01:45:08.533Z] SSH_AUTH_SOCK=/tmp/ssh-e1Y4gmHgsvbX/agent.53 [2021-05-26T01:45:08.533Z] SSH_AGENT_PID=60 [2021-05-26T01:45:08.539Z] Running ssh-add (command line suppressed) [2021-05-26T01:45:08.641Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9095802130510726997.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_9095802130510726997.key) [2021-05-26T01:45:08.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T01:45:08.975Z] + git semver init [2021-05-26T01:45:08.975Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T01:45:08.975Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-26T01:45:08.975Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-26T01:45:08.975Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T01:45:08.975Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T01:45:08.975Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T01:45:08.975Z] # $SEMVER_BRANCH = master [2021-05-26T01:45:08.975Z] # $SEMVER_TEMP = /tmp/semver-427995106 [2021-05-26T01:45:08.975Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-05-26T01:45:09.241Z] # '/tmp/semver-427995106' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2021-05-26T01:45:09.241Z] # -> Force: false [2021-05-26T01:45:09.241Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-05-26T01:45:09.251Z] $ docker exec --env ******** --env ******** 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 ssh-agent -k [2021-05-26T01:45:09.356Z] unset SSH_AUTH_SOCK; [2021-05-26T01:45:09.356Z] unset SSH_AGENT_PID; [2021-05-26T01:45:09.356Z] echo Agent pid 60 killed; [2021-05-26T01:45:09.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T01:45:09.727Z] + git semver [Pipeline] } [2021-05-26T01:45:09.742Z] $ docker stop --time=1 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 [2021-05-26T01:45:10.991Z] $ docker rm -f 56750c5a0b1935fb72bb7da8037687453f6136ec67fa7c9ef428003835a1aa06 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T01:45:11.415Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-26T01:45:11.693Z] Stashed 1 file(s) [Pipeline] echo [2021-05-26T01:45:11.697Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.7 [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-05-26T01:45:26.864Z] Still waiting to schedule task [2021-05-26T01:45:26.865Z] ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-26T01:45:26.865Z] ‘prd-centos7-builder-2c-1g-321’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-26T01:45:26.865Z] ‘prd-centos7-docker-4c-2g-309’ is offline [2021-05-26T01:45:26.865Z] ‘prd-centos7-docker-4c-2g-316’ is offline [2021-05-26T01:45:26.865Z] ‘prd-centos7-docker-4c-2g-319’ is offline [2021-05-26T01:45:26.865Z] ‘prd-centos7-docker-4c-2g-323’ is offline [2021-05-26T01:45:26.865Z] ‘prd-centos7-docker-4c-2g-324’ is offline [2021-05-26T01:45:26.866Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-320’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-26T01:45:26.866Z] Still waiting to schedule task [2021-05-26T01:45:26.866Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-320’ is offline [2021-05-26T01:46:42.603Z] Running on prd-centos7-docker-4c-2g-327 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-05-26T01:46:42.636Z] Running in /w/workspace/device-snmp-go/31 [Pipeline] { [Pipeline] checkout [2021-05-26T01:46:42.746Z] Selected Git installation does not exist. Using Default [2021-05-26T01:46:42.746Z] The recommended git tool is: NONE [2021-05-26T01:46:45.060Z] using credential edgex-jenkins-ssh [2021-05-26T01:46:45.138Z] Cloning the remote Git repository [2021-05-26T01:46:45.858Z] Avoid second fetch [2021-05-26T01:46:45.859Z] Checking out Revision 36f220337c15c882742676291291e5935134de27 (master) [2021-05-26T01:46:44.822Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:46:44.893Z] > git init /w/workspace/device-snmp-go/31 # timeout=10 [2021-05-26T01:46:44.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:46:44.927Z] > git --version # timeout=10 [2021-05-26T01:46:44.936Z] > git --version # 'git version 2.24.4' [2021-05-26T01:46:44.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T01:46:44.973Z] [INFO] Currently running in a labeled security context [2021-05-26T01:46:44.974Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-26T01:46:44.974Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/31@tmp/jenkins-gitclient-ssh2774624332486969357.key [2021-05-26T01:46:45.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T01:46:45.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-26T01:46:45.563Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T01:46:45.586Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T01:46:45.599Z] > git checkout -f 36f220337c15c882742676291291e5935134de27 # timeout=10 [2021-05-26T01:46:49.262Z] Commit message: "Merge pull request #102 from lenny-intel/service-info" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T01:46:50.270Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-26T01:46:50.604Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T01:46:50.908Z] + sudo service docker restart [2021-05-26T01:46:50.908Z] + true [2021-05-26T01:46:50.908Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:47:09.085Z] provisioning config files... [2021-05-26T01:47:09.101Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config2169903295709282823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:47:09.438Z] ---> docker-login.sh [2021-05-26T01:47:09.439Z] nexus3.edgexfoundry.org:10001 [2021-05-26T01:47:10.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:47:10.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:47:10.015Z] Configure a credential helper to remove this warning. See [2021-05-26T01:47:10.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:47:10.015Z] [2021-05-26T01:47:10.015Z] Login Succeeded [2021-05-26T01:47:10.015Z] nexus3.edgexfoundry.org:10002 [2021-05-26T01:47:10.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:47:10.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:47:10.275Z] Configure a credential helper to remove this warning. See [2021-05-26T01:47:10.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:47:10.275Z] [2021-05-26T01:47:10.275Z] Login Succeeded [2021-05-26T01:47:10.275Z] nexus3.edgexfoundry.org:10003 [2021-05-26T01:47:10.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:47:10.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:47:10.275Z] Configure a credential helper to remove this warning. See [2021-05-26T01:47:10.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:47:10.275Z] [2021-05-26T01:47:10.275Z] Login Succeeded [2021-05-26T01:47:10.275Z] nexus3.edgexfoundry.org:10004 [2021-05-26T01:47:10.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:47:10.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:47:10.537Z] Configure a credential helper to remove this warning. See [2021-05-26T01:47:10.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:47:10.537Z] [2021-05-26T01:47:10.537Z] Login Succeeded [2021-05-26T01:47:10.537Z] docker.io [2021-05-26T01:47:10.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:47:10.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:47:10.800Z] Configure a credential helper to remove this warning. See [2021-05-26T01:47:10.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:47:10.800Z] [2021-05-26T01:47:10.800Z] Login Succeeded [2021-05-26T01:47:10.800Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T01:47:10.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-26T01:47:11.012Z] ========================================================= [2021-05-26T01:47:11.012Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-26T01:47:11.012Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:47:11.323Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-26T01:47:11.323Z] Sending build context to Docker daemon 353.3kB [2021-05-26T01:47:11.323Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T01:47:11.323Z] Step 2/10 : FROM ${BASE} [2021-05-26T01:47:11.588Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-26T01:47:11.588Z] 540db60ca938: Pulling fs layer [2021-05-26T01:47:11.588Z] adcc1eea9eea: Pulling fs layer [2021-05-26T01:47:11.588Z] 4c4ab2625f07: Pulling fs layer [2021-05-26T01:47:11.588Z] 0510c868ecb4: Pulling fs layer [2021-05-26T01:47:11.588Z] afea3b2eda06: Pulling fs layer [2021-05-26T01:47:11.588Z] 7809a108b3ef: Pulling fs layer [2021-05-26T01:47:11.588Z] f706445af74f: Pulling fs layer [2021-05-26T01:47:11.588Z] afea3b2eda06: Waiting [2021-05-26T01:47:11.588Z] 7809a108b3ef: Waiting [2021-05-26T01:47:11.588Z] f706445af74f: Waiting [2021-05-26T01:47:11.588Z] 0510c868ecb4: Waiting [2021-05-26T01:47:11.588Z] 4c4ab2625f07: Verifying Checksum [2021-05-26T01:47:11.588Z] 4c4ab2625f07: Download complete [2021-05-26T01:47:11.588Z] adcc1eea9eea: Verifying Checksum [2021-05-26T01:47:11.588Z] adcc1eea9eea: Download complete [2021-05-26T01:47:11.588Z] afea3b2eda06: Verifying Checksum [2021-05-26T01:47:11.588Z] afea3b2eda06: Download complete [2021-05-26T01:47:11.588Z] 7809a108b3ef: Verifying Checksum [2021-05-26T01:47:11.588Z] 7809a108b3ef: Download complete [2021-05-26T01:47:11.588Z] 540db60ca938: Verifying Checksum [2021-05-26T01:47:11.588Z] 540db60ca938: Download complete [2021-05-26T01:47:11.853Z] 540db60ca938: Pull complete [2021-05-26T01:47:12.114Z] adcc1eea9eea: Pull complete [2021-05-26T01:47:12.114Z] 4c4ab2625f07: Pull complete [2021-05-26T01:47:13.513Z] f706445af74f: Verifying Checksum [2021-05-26T01:47:13.513Z] f706445af74f: Download complete [2021-05-26T01:47:14.090Z] 0510c868ecb4: Verifying Checksum [2021-05-26T01:47:14.090Z] 0510c868ecb4: Download complete [2021-05-26T01:47:18.349Z] 0510c868ecb4: Pull complete [2021-05-26T01:47:18.349Z] afea3b2eda06: Pull complete [2021-05-26T01:47:18.349Z] 7809a108b3ef: Pull complete [2021-05-26T01:47:19.757Z] f706445af74f: Pull complete [2021-05-26T01:47:20.020Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-26T01:47:20.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-26T01:47:20.020Z] ---> b068be0155e3 [2021-05-26T01:47:20.020Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T01:47:27.084Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-325 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-05-26T01:47:27.105Z] Running in /w/workspace/device-snmp-go/31 [Pipeline] { [Pipeline] checkout [2021-05-26T01:47:27.316Z] Selected Git installation does not exist. Using Default [2021-05-26T01:47:27.316Z] The recommended git tool is: NONE [2021-05-26T01:47:32.618Z] using credential edgex-jenkins-ssh [2021-05-26T01:47:32.638Z] Cloning the remote Git repository [2021-05-26T01:47:32.686Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:47:32.795Z] > git init /w/workspace/device-snmp-go/31 # timeout=10 [2021-05-26T01:47:32.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-05-26T01:47:32.860Z] > git --version # timeout=10 [2021-05-26T01:47:32.879Z] > git --version # 'git version 2.17.1' [2021-05-26T01:47:32.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-26T01:47:33.014Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T01:47:33.850Z] Avoid second fetch [2021-05-26T01:47:33.851Z] Checking out Revision 36f220337c15c882742676291291e5935134de27 (master) [2021-05-26T01:47:33.801Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-05-26T01:47:33.818Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-26T01:47:33.869Z] > git config core.sparsecheckout # timeout=10 [2021-05-26T01:47:33.886Z] > git checkout -f 36f220337c15c882742676291291e5935134de27 # timeout=10 [2021-05-26T01:47:38.173Z] ---> Running in a61c92adadc9 [2021-05-26T01:47:38.173Z] Removing intermediate container a61c92adadc9 [2021-05-26T01:47:38.173Z] ---> 3e37d5465d24 [2021-05-26T01:47:38.173Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T01:47:38.173Z] ---> Running in f3e458b9858b [2021-05-26T01:47:38.173Z] Removing intermediate container f3e458b9858b [2021-05-26T01:47:38.173Z] ---> da16bd7fbc42 [2021-05-26T01:47:38.173Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-26T01:47:38.173Z] ---> Running in 70652f9e3615 [2021-05-26T01:47:38.173Z] Removing intermediate container 70652f9e3615 [2021-05-26T01:47:38.173Z] ---> 9786fff1116b [2021-05-26T01:47:38.173Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T01:47:38.173Z] ---> Running in 6633494e0279 [2021-05-26T01:47:38.180Z] Commit message: "Merge pull request #102 from lenny-intel/service-info" [2021-05-26T01:47:38.443Z] Removing intermediate container 6633494e0279 [2021-05-26T01:47:38.443Z] ---> b89d3e04b2ee [2021-05-26T01:47:38.443Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T01:47:38.443Z] ---> Running in 176b2875a8b4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T01:47:39.036Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T01:47:39.519Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-26T01:47:39.953Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-26T01:47:39.994Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T01:47:40.261Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-26T01:47:40.261Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-26T01:47:40.382Z] + sudo service docker restart [2021-05-26T01:47:40.382Z] + true [2021-05-26T01:47:40.524Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-26T01:47:40.524Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-26T01:47:40.524Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T01:47:40.786Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-26T01:47:40.786Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-26T01:47:41.050Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-26T01:47:41.322Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-26T01:47:41.322Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-26T01:47:41.322Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-26T01:47:41.586Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-26T01:47:41.586Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-26T01:47:41.586Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T01:47:41.586Z] OK: 156 MiB in 53 packages [2021-05-26T01:47:42.986Z] Removing intermediate container 176b2875a8b4 [2021-05-26T01:47:42.986Z] ---> 58bd11ec03e0 [2021-05-26T01:47:42.986Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-26T01:47:43.249Z] ---> Running in c49f67910abb [2021-05-26T01:47:43.249Z] Removing intermediate container c49f67910abb [2021-05-26T01:47:43.249Z] ---> 09f592cbe8d5 [2021-05-26T01:47:43.249Z] Step 9/10 : COPY . . [2021-05-26T01:47:43.826Z] ---> f56a2fc1a020 [2021-05-26T01:47:43.826Z] Step 10/10 : RUN go mod download [2021-05-26T01:47:43.826Z] ---> Running in f0fb814d35ce [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:47:58.763Z] provisioning config files... [2021-05-26T01:47:58.789Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config5375153086425986860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:47:59.207Z] ---> docker-login.sh [2021-05-26T01:47:59.208Z] nexus3.edgexfoundry.org:10001 [2021-05-26T01:47:59.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:00.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:00.407Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:00.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:00.407Z] [2021-05-26T01:48:00.407Z] Login Succeeded [2021-05-26T01:48:00.407Z] nexus3.edgexfoundry.org:10002 [2021-05-26T01:48:00.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:00.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:00.957Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:00.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:00.957Z] [2021-05-26T01:48:00.957Z] Login Succeeded [2021-05-26T01:48:00.957Z] nexus3.edgexfoundry.org:10003 [2021-05-26T01:48:01.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:01.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:01.513Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:01.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:01.513Z] [2021-05-26T01:48:01.513Z] Login Succeeded [2021-05-26T01:48:01.513Z] nexus3.edgexfoundry.org:10004 [2021-05-26T01:48:01.977Z] Removing intermediate container f0fb814d35ce [2021-05-26T01:48:01.977Z] ---> 1b9172513119 [2021-05-26T01:48:01.977Z] Successfully built 1b9172513119 [2021-05-26T01:48:01.977Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:02.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:02.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:02.120Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:02.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:02.120Z] [2021-05-26T01:48:02.120Z] Login Succeeded [2021-05-26T01:48:02.120Z] docker.io [2021-05-26T01:48:02.285Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T01:48:02.285Z] . [Pipeline] withDockerContainer [2021-05-26T01:48:02.364Z] prd-centos7-docker-4c-2g-327 does not seem to be running inside a container [2021-05-26T01:48:02.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 ******** ci-base-image-x86_64 cat [2021-05-26T01:48:02.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:02.745Z] $ docker top 8623877fc629458fb3dc78a57757c6342413bbbf31cc5acccc2f9292b85613fa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T01:48:03.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:03.009Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:03.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:03.009Z] [2021-05-26T01:48:03.009Z] Login Succeeded [2021-05-26T01:48:03.009Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T01:48:03.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-26T01:48:03.134Z] + go version [2021-05-26T01:48:03.134Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-26T01:48:03.146Z] $ docker stop --time=1 8623877fc629458fb3dc78a57757c6342413bbbf31cc5acccc2f9292b85613fa [2021-05-26T01:48:04.324Z] $ docker rm -f 8623877fc629458fb3dc78a57757c6342413bbbf31cc5acccc2f9292b85613fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo [2021-05-26T01:48:04.412Z] ========================================================= [2021-05-26T01:48:04.412Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-26T01:48:04.412Z] ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:04.797Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-26T01:48:04.874Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-26T01:48:04.874Z] . [Pipeline] withDockerContainer [2021-05-26T01:48:04.946Z] prd-centos7-docker-4c-2g-327 does not seem to be running inside a container [2021-05-26T01:48:04.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 ******** ci-base-image-x86_64 cat [2021-05-26T01:48:05.074Z] Sending build context to Docker daemon 352.3kB [2021-05-26T01:48:05.074Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T01:48:05.074Z] Step 2/10 : FROM ${BASE} [2021-05-26T01:48:05.306Z] $ docker top 1d84550596b6559be215c3c29a8fa44c36e655d4d10dc048bc9915c8375b1f32 -eo pid,comm [2021-05-26T01:48:05.347Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-26T01:48:05.347Z] 595b0fe564bb: Pulling fs layer [2021-05-26T01:48:05.347Z] 7186ed65a4f7: Pulling fs layer [2021-05-26T01:48:05.347Z] 316046926c0a: Pulling fs layer [2021-05-26T01:48:05.347Z] 4ebd0625c992: Pulling fs layer [2021-05-26T01:48:05.347Z] 207e8628e3a3: Pulling fs layer [2021-05-26T01:48:05.347Z] c791037a9be2: Pulling fs layer [2021-05-26T01:48:05.347Z] ffd874e62e21: Pulling fs layer [2021-05-26T01:48:05.347Z] 4ebd0625c992: Waiting [2021-05-26T01:48:05.347Z] c791037a9be2: Waiting [2021-05-26T01:48:05.347Z] ffd874e62e21: Waiting [2021-05-26T01:48:05.347Z] 207e8628e3a3: Waiting [2021-05-26T01:48:05.347Z] 316046926c0a: Verifying Checksum [2021-05-26T01:48:05.347Z] 316046926c0a: Download complete [2021-05-26T01:48:05.347Z] 7186ed65a4f7: Verifying Checksum [2021-05-26T01:48:05.347Z] 7186ed65a4f7: Download complete [2021-05-26T01:48:05.347Z] 207e8628e3a3: Download complete [Pipeline] { [Pipeline] sh [2021-05-26T01:48:05.626Z] c791037a9be2: Verifying Checksum [2021-05-26T01:48:05.627Z] c791037a9be2: Download complete [2021-05-26T01:48:05.627Z] 595b0fe564bb: Verifying Checksum [2021-05-26T01:48:05.627Z] 595b0fe564bb: Download complete [2021-05-26T01:48:05.688Z] + go mod tidy [Pipeline] sh [2021-05-26T01:48:06.234Z] 595b0fe564bb: Pull complete [2021-05-26T01:48:06.255Z] + make test [2021-05-26T01:48:06.255Z] go mod tidy [2021-05-26T01:48:06.255Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-26T01:48:06.837Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-26T01:48:06.849Z] 7186ed65a4f7: Pull complete [2021-05-26T01:48:07.472Z] 316046926c0a: Pull complete [2021-05-26T01:48:07.747Z] ffd874e62e21: Verifying Checksum [2021-05-26T01:48:07.747Z] ffd874e62e21: Download complete [2021-05-26T01:48:09.199Z] 4ebd0625c992: Download complete [2021-05-26T01:48:19.357Z] 4ebd0625c992: Pull complete [2021-05-26T01:48:19.628Z] 207e8628e3a3: Pull complete [2021-05-26T01:48:20.224Z] c791037a9be2: Pull complete [2021-05-26T01:48:23.615Z] ffd874e62e21: Pull complete [2021-05-26T01:48:23.615Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-26T01:48:23.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-26T01:48:23.615Z] ---> cfc18b08335c [2021-05-26T01:48:23.615Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T01:48:25.122Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-26T01:48:25.122Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-05-26T01:48:25.122Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T01:48:25.602Z] ---> Running in e67fb942eb90 [2021-05-26T01:48:25.875Z] Removing intermediate container e67fb942eb90 [2021-05-26T01:48:25.875Z] ---> 546fe327442f [2021-05-26T01:48:25.875Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T01:48:26.148Z] ---> Running in 97be4cfc955e [2021-05-26T01:48:26.422Z] Removing intermediate container 97be4cfc955e [2021-05-26T01:48:26.422Z] ---> e075432f8839 [2021-05-26T01:48:26.422Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-05-26T01:48:26.695Z] ---> Running in be34217e5c61 [2021-05-26T01:48:27.291Z] Removing intermediate container be34217e5c61 [2021-05-26T01:48:27.291Z] ---> 5b6a6c4e7a53 [2021-05-26T01:48:27.291Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T01:48:27.291Z] ---> Running in a5a59c1b3529 [2021-05-26T01:48:29.369Z] gofmt -l . [2021-05-26T01:48:29.369Z] [ "`gofmt -l .`" = "" ] [2021-05-26T01:48:29.369Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T01:48:29.379Z] $ docker stop --time=1 1d84550596b6559be215c3c29a8fa44c36e655d4d10dc048bc9915c8375b1f32 [2021-05-26T01:48:29.926Z] Removing intermediate container a5a59c1b3529 [2021-05-26T01:48:29.926Z] ---> 4acdf0944dcb [2021-05-26T01:48:29.926Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T01:48:29.926Z] ---> Running in 07cf493986ac [2021-05-26T01:48:30.905Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T01:48:30.902Z] $ docker rm -f 1d84550596b6559be215c3c29a8fa44c36e655d4d10dc048bc9915c8375b1f32 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T01:48:31.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T01:48:31.494Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-26T01:48:31.895Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T01:48:32.897Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-26T01:48:32.897Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-26T01:48:33.188Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-26T01:48:33.188Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-26T01:48:33.188Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-26T01:48:33.490Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-26T01:48:33.490Z] (7/13) Installing openssh-client (8.4_p1-r3) [Pipeline] sh [2021-05-26T01:48:33.767Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-26T01:48:33.767Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-26T01:48:33.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T01:48:34.042Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-26T01:48:34.042Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-26T01:48:34.240Z] + ls -al . [2021-05-26T01:48:34.240Z] total 104 [2021-05-26T01:48:34.240Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 26 01:48 . [2021-05-26T01:48:34.240Z] drwxrwxr-x. 4 jenkins jenkins 30 May 26 01:46 .. [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 6520 May 26 01:46 Attribution.txt [2021-05-26T01:48:34.240Z] drwxrwxr-x. 2 jenkins jenkins 60 May 26 01:46 bin [2021-05-26T01:48:34.240Z] drwxrwxr-x. 3 jenkins jenkins 32 May 26 01:46 cmd [2021-05-26T01:48:34.240Z] -rw-r--r--. 1 jenkins jenkins 7631 May 26 01:48 coverage.out [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 1459 May 26 01:46 Dockerfile [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 1057 May 26 01:46 Dockerfile.build [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 6 May 26 01:46 .dockerignore [2021-05-26T01:48:34.240Z] drwxrwxr-x. 8 jenkins jenkins 162 May 26 01:46 .git [2021-05-26T01:48:34.240Z] drwxrwxr-x. 2 jenkins jenkins 103 May 26 01:46 .github [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 269 May 26 01:46 .gitignore [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 222 May 26 01:46 go.mod [2021-05-26T01:48:34.240Z] -rw-r--r--. 1 jenkins jenkins 21438 May 26 01:48 go.sum [2021-05-26T01:48:34.240Z] drwxrwxr-x. 3 jenkins jenkins 20 May 26 01:46 internal [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 656 May 26 01:46 Jenkinsfile [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 26 01:46 LICENSE [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 936 May 26 01:46 Makefile [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 9079 May 26 01:46 README.md [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 11 May 26 01:45 VERSION [2021-05-26T01:48:34.240Z] -rw-rw-r--. 1 jenkins jenkins 209 May 26 01:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:34.325Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-26T01:48:34.326Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-26T01:48:34.326Z] Executing busybox-1.32.1-r6.trigger [2021-05-26T01:48:34.326Z] OK: 145 MiB in 53 packages [2021-05-26T01:48:34.548Z] + 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=36f220337c15c882742676291291e5935134de27 --label arch=amd64 --label version=1.3.2-dev.7 . [2021-05-26T01:48:34.548Z] Sending build context to Docker daemon 361.5kB [2021-05-26T01:48:34.548Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T01:48:34.548Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-26T01:48:34.548Z] ---> 1b9172513119 [2021-05-26T01:48:34.548Z] Step 3/24 : ARG MAKE='make build' [2021-05-26T01:48:34.548Z] ---> Running in c195cf1ee513 [2021-05-26T01:48:34.548Z] Removing intermediate container c195cf1ee513 [2021-05-26T01:48:34.548Z] ---> dc72f0b82052 [2021-05-26T01:48:34.548Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T01:48:34.820Z] ---> Running in 0cf21e85a650 [2021-05-26T01:48:34.820Z] Removing intermediate container 0cf21e85a650 [2021-05-26T01:48:34.820Z] ---> fae2d27fbe06 [2021-05-26T01:48:34.820Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T01:48:34.820Z] ---> Running in 6ffd1d806eaf [2021-05-26T01:48:34.820Z] Removing intermediate container 6ffd1d806eaf [2021-05-26T01:48:34.820Z] ---> 3d382aeac4cd [2021-05-26T01:48:34.820Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T01:48:34.820Z] ---> Running in 57e3a5bff626 [2021-05-26T01:48:35.392Z] Removing intermediate container 57e3a5bff626 [2021-05-26T01:48:35.392Z] ---> c5f8ddb4c7cb [2021-05-26T01:48:35.392Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T01:48:35.392Z] ---> Running in ab60c8e0c509 [2021-05-26T01:48:35.656Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-26T01:48:35.997Z] Removing intermediate container 07cf493986ac [2021-05-26T01:48:35.997Z] ---> 77304d3583a7 [2021-05-26T01:48:35.997Z] Step 8/10 : WORKDIR /device-snmp-go [2021-05-26T01:48:35.997Z] ---> Running in 6ad77e9dbfd9 [2021-05-26T01:48:36.606Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-26T01:48:36.630Z] Removing intermediate container 6ad77e9dbfd9 [2021-05-26T01:48:36.630Z] ---> 49dbc5d49b73 [2021-05-26T01:48:36.630Z] Step 9/10 : COPY . . [2021-05-26T01:48:36.868Z] OK: 156 MiB in 53 packages [2021-05-26T01:48:37.135Z] Removing intermediate container ab60c8e0c509 [2021-05-26T01:48:37.135Z] ---> 1b76e037c485 [2021-05-26T01:48:37.135Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-26T01:48:37.135Z] ---> Running in 0a3687122a7f [2021-05-26T01:48:37.135Z] Removing intermediate container 0a3687122a7f [2021-05-26T01:48:37.135Z] ---> 3429735cbda1 [2021-05-26T01:48:37.135Z] Step 9/24 : COPY . . [2021-05-26T01:48:37.398Z] ---> fe85a5712e62 [2021-05-26T01:48:37.398Z] Step 10/24 : RUN go mod tidy [2021-05-26T01:48:37.398Z] ---> Running in a1f9e8457d65 [2021-05-26T01:48:37.638Z] ---> 9855693838a4 [2021-05-26T01:48:37.638Z] Step 10/10 : RUN go mod download [2021-05-26T01:48:37.915Z] ---> Running in bf02d49e4822 [2021-05-26T01:48:37.989Z] Removing intermediate container a1f9e8457d65 [2021-05-26T01:48:37.989Z] ---> e9ce128b7d3d [2021-05-26T01:48:37.989Z] Step 11/24 : RUN make update [2021-05-26T01:48:37.989Z] ---> Running in 4405165d1d88 [2021-05-26T01:48:38.577Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T01:48:38.853Z] Removing intermediate container 4405165d1d88 [2021-05-26T01:48:38.853Z] ---> 28e04fb77761 [2021-05-26T01:48:38.853Z] Step 12/24 : RUN ${MAKE} [2021-05-26T01:48:38.853Z] ---> Running in 1b3275979ba3 [2021-05-26T01:48:39.118Z] go mod tidy [2021-05-26T01:48:39.118Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.7" -o cmd/device-snmp ./cmd [2021-05-26T01:48:51.468Z] Removing intermediate container 1b3275979ba3 [2021-05-26T01:48:51.468Z] ---> 6f2d5d8f3600 [2021-05-26T01:48:51.468Z] Step 13/24 : FROM alpine:3.12 [2021-05-26T01:48:51.468Z] 3.12: Pulling from library/alpine [2021-05-26T01:48:51.468Z] 339de151aab4: Pulling fs layer [2021-05-26T01:48:51.468Z] 339de151aab4: Verifying Checksum [2021-05-26T01:48:51.468Z] 339de151aab4: Download complete [2021-05-26T01:48:51.468Z] 339de151aab4: Pull complete [2021-05-26T01:48:51.468Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T01:48:51.468Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T01:48:51.468Z] ---> 13621d1b12d4 [2021-05-26T01:48:51.468Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T01:48:51.468Z] ---> Running in 27469e877ab5 [2021-05-26T01:48:51.468Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-26T01:48:51.468Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-26T01:48:51.732Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T01:48:51.732Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T01:48:51.732Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T01:48:51.732Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T01:48:51.732Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T01:48:51.732Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T01:48:51.732Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T01:48:51.732Z] OK: 8 MiB in 20 packages [2021-05-26T01:48:52.304Z] Removing intermediate container 27469e877ab5 [2021-05-26T01:48:52.304Z] ---> 666827aab468 [2021-05-26T01:48:52.304Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-26T01:48:52.881Z] ---> a6015098c59f [2021-05-26T01:48:52.881Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-26T01:48:52.881Z] ---> 3e81f8312ce4 [2021-05-26T01:48:52.881Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-26T01:48:53.146Z] ---> 454d90e4d88d [2021-05-26T01:48:53.146Z] Step 18/24 : EXPOSE 59993 [2021-05-26T01:48:53.146Z] ---> Running in a8f302d71c38 [2021-05-26T01:48:53.146Z] Removing intermediate container a8f302d71c38 [2021-05-26T01:48:53.146Z] ---> 85acd7732055 [2021-05-26T01:48:53.146Z] Step 19/24 : EXPOSE 161 [2021-05-26T01:48:53.146Z] ---> Running in f021cfd7ddc5 [2021-05-26T01:48:53.413Z] Removing intermediate container f021cfd7ddc5 [2021-05-26T01:48:53.413Z] ---> a3481b450616 [2021-05-26T01:48:53.413Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-26T01:48:53.413Z] ---> Running in 9980a83a4ec0 [2021-05-26T01:48:53.413Z] Removing intermediate container 9980a83a4ec0 [2021-05-26T01:48:53.413Z] ---> 41c5ba800ee9 [2021-05-26T01:48:53.413Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T01:48:53.413Z] ---> Running in 7d9594a2de79 [2021-05-26T01:48:53.685Z] Removing intermediate container 7d9594a2de79 [2021-05-26T01:48:53.685Z] ---> 4849be177675 [2021-05-26T01:48:53.685Z] Step 22/24 : LABEL arch=amd64 [2021-05-26T01:48:53.685Z] ---> Running in 6b0f96c75528 [2021-05-26T01:48:53.947Z] Removing intermediate container 6b0f96c75528 [2021-05-26T01:48:53.947Z] ---> a1fb99d8bd0b [2021-05-26T01:48:53.947Z] Step 23/24 : LABEL git_sha=36f220337c15c882742676291291e5935134de27 [2021-05-26T01:48:53.947Z] ---> Running in d9071d1295e4 [2021-05-26T01:48:53.947Z] Removing intermediate container d9071d1295e4 [2021-05-26T01:48:53.947Z] ---> 1430f7ded8cb [2021-05-26T01:48:53.947Z] Step 24/24 : LABEL version=1.3.2-dev.7 [2021-05-26T01:48:53.947Z] ---> Running in ddb50c136f7c [2021-05-26T01:48:54.213Z] Removing intermediate container ddb50c136f7c [2021-05-26T01:48:54.213Z] ---> 28d017315f61 [2021-05-26T01:48:54.213Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T01:48:54.213Z] Successfully built 28d017315f61 [2021-05-26T01:48:54.213Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:48:54.338Z] provisioning config files... [2021-05-26T01:48:54.354Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config614205763042805109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:48:54.700Z] ---> docker-login.sh [2021-05-26T01:48:54.700Z] nexus3.edgexfoundry.org:10001 [2021-05-26T01:48:54.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:54.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:54.700Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:54.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:54.700Z] [2021-05-26T01:48:54.700Z] Login Succeeded [2021-05-26T01:48:54.700Z] nexus3.edgexfoundry.org:10002 [2021-05-26T01:48:54.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:54.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:54.700Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:54.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:54.700Z] [2021-05-26T01:48:54.700Z] Login Succeeded [2021-05-26T01:48:54.700Z] nexus3.edgexfoundry.org:10003 [2021-05-26T01:48:54.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:54.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:54.969Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:54.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:54.969Z] [2021-05-26T01:48:54.969Z] Login Succeeded [2021-05-26T01:48:54.969Z] nexus3.edgexfoundry.org:10004 [2021-05-26T01:48:54.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:54.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:54.969Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:54.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:54.969Z] [2021-05-26T01:48:54.969Z] Login Succeeded [2021-05-26T01:48:54.969Z] docker.io [2021-05-26T01:48:55.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:48:55.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:48:55.493Z] Configure a credential helper to remove this warning. See [2021-05-26T01:48:55.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:48:55.493Z] [2021-05-26T01:48:55.493Z] Login Succeeded [2021-05-26T01:48:55.493Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T01:48:55.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T01:48:55.576Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2021-05-26T01:48:55.576Z] 36f220337c15c882742676291291e5935134de27 [2021-05-26T01:48:55.576Z] latest [2021-05-26T01:48:55.576Z] 1.3.2-dev.7 [2021-05-26T01:48:55.576Z] 36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [2021-05-26T01:48:55.576Z] master [2021-05-26T01:48:55.576Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:55.927Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:56.233Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27 [2021-05-26T01:48:56.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-26T01:48:56.233Z] 701dade29681: Preparing [2021-05-26T01:48:56.233Z] 03dbfa4997d1: Preparing [2021-05-26T01:48:56.233Z] 773f42566d1f: Preparing [2021-05-26T01:48:56.233Z] ffcf8f6b8241: Preparing [2021-05-26T01:48:56.233Z] 32f366d666a5: Preparing [2021-05-26T01:48:56.233Z] 32f366d666a5: Layer already exists [2021-05-26T01:48:56.496Z] 701dade29681: Pushed [2021-05-26T01:48:56.496Z] 03dbfa4997d1: Pushed [2021-05-26T01:48:56.496Z] ffcf8f6b8241: Pushed [2021-05-26T01:48:57.889Z] 773f42566d1f: Pushed [2021-05-26T01:48:57.889Z] 36f220337c15c882742676291291e5935134de27: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:58.193Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:58.503Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-05-26T01:48:58.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-26T01:48:58.503Z] 701dade29681: Preparing [2021-05-26T01:48:58.503Z] 03dbfa4997d1: Preparing [2021-05-26T01:48:58.503Z] 773f42566d1f: Preparing [2021-05-26T01:48:58.503Z] ffcf8f6b8241: Preparing [2021-05-26T01:48:58.503Z] 32f366d666a5: Preparing [2021-05-26T01:48:58.503Z] 32f366d666a5: Layer already exists [2021-05-26T01:48:58.503Z] 03dbfa4997d1: Layer already exists [2021-05-26T01:48:58.503Z] 701dade29681: Layer already exists [2021-05-26T01:48:58.503Z] 773f42566d1f: Layer already exists [2021-05-26T01:48:58.503Z] ffcf8f6b8241: Layer already exists [2021-05-26T01:48:58.503Z] latest: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:58.808Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:59.107Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.7 [2021-05-26T01:48:59.108Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-26T01:48:59.108Z] 701dade29681: Preparing [2021-05-26T01:48:59.108Z] 03dbfa4997d1: Preparing [2021-05-26T01:48:59.108Z] 773f42566d1f: Preparing [2021-05-26T01:48:59.108Z] ffcf8f6b8241: Preparing [2021-05-26T01:48:59.108Z] 32f366d666a5: Preparing [2021-05-26T01:48:59.108Z] 32f366d666a5: Layer already exists [2021-05-26T01:48:59.108Z] 03dbfa4997d1: Layer already exists [2021-05-26T01:48:59.108Z] 701dade29681: Layer already exists [2021-05-26T01:48:59.108Z] ffcf8f6b8241: Layer already exists [2021-05-26T01:48:59.108Z] 773f42566d1f: Layer already exists [2021-05-26T01:48:59.108Z] 1.3.2-dev.7: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:59.424Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:48:59.723Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [2021-05-26T01:48:59.723Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-26T01:48:59.723Z] 701dade29681: Preparing [2021-05-26T01:48:59.723Z] 03dbfa4997d1: Preparing [2021-05-26T01:48:59.723Z] 773f42566d1f: Preparing [2021-05-26T01:48:59.723Z] ffcf8f6b8241: Preparing [2021-05-26T01:48:59.723Z] 32f366d666a5: Preparing [2021-05-26T01:48:59.723Z] 03dbfa4997d1: Layer already exists [2021-05-26T01:48:59.723Z] ffcf8f6b8241: Layer already exists [2021-05-26T01:48:59.723Z] 701dade29681: Layer already exists [2021-05-26T01:48:59.723Z] 773f42566d1f: Layer already exists [2021-05-26T01:48:59.723Z] 32f366d666a5: Layer already exists [2021-05-26T01:48:59.984Z] 36f220337c15c882742676291291e5935134de27-1.3.2-dev.7: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:49:00.289Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:master [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:49:00.586Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:master [2021-05-26T01:49:00.586Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-05-26T01:49:00.586Z] 701dade29681: Preparing [2021-05-26T01:49:00.586Z] 03dbfa4997d1: Preparing [2021-05-26T01:49:00.586Z] 773f42566d1f: Preparing [2021-05-26T01:49:00.586Z] ffcf8f6b8241: Preparing [2021-05-26T01:49:00.586Z] 32f366d666a5: Preparing [2021-05-26T01:49:00.586Z] 701dade29681: Layer already exists [2021-05-26T01:49:00.586Z] 32f366d666a5: Layer already exists [2021-05-26T01:49:00.586Z] 773f42566d1f: Layer already exists [2021-05-26T01:49:00.586Z] 03dbfa4997d1: Layer already exists [2021-05-26T01:49:00.586Z] ffcf8f6b8241: Layer already exists [2021-05-26T01:49:00.586Z] master: digest: sha256:c25c2bd3baaf00afc20312b5972ad52fd688b21ed4e128dfe80aee8ca06bb1c0 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T01:49:00.644Z] ===================================================== [Pipeline] echo [2021-05-26T01:49:00.661Z] taggedImages: [2021-05-26T01:49:00.661Z] - nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27 [2021-05-26T01:49:00.661Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-05-26T01:49:00.661Z] - nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.7 [2021-05-26T01:49:00.661Z] - nexus3.edgexfoundry.org:10004/device-snmp:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [2021-05-26T01:49:00.661Z] - nexus3.edgexfoundry.org:10004/device-snmp:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:49:01.256Z] ---> job-cost.sh [2021-05-26T01:49:01.256Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TuZK [2021-05-26T01:49:04.766Z] Removing intermediate container bf02d49e4822 [2021-05-26T01:49:04.766Z] ---> 99d9eb73bf07 [2021-05-26T01:49:04.766Z] Successfully built 99d9eb73bf07 [2021-05-26T01:49:04.766Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:49:05.128Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T01:49:05.128Z] . [Pipeline] withDockerContainer [2021-05-26T01:49:05.368Z] prd-ubuntu18.04-docker-arm64-4c-16g-325 does not seem to be running inside a container [2021-05-26T01:49:05.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 ******** ci-base-image-arm64 cat [2021-05-26T01:49:06.943Z] $ docker top 8e72682e2cbcdffe23424afbc4ef5c8bf30fd73f565a8e955999d889627627f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T01:49:07.905Z] + go version [2021-05-26T01:49:07.905Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-26T01:49:07.920Z] $ docker stop --time=1 8e72682e2cbcdffe23424afbc4ef5c8bf30fd73f565a8e955999d889627627f0 [2021-05-26T01:49:09.726Z] $ docker rm -f 8e72682e2cbcdffe23424afbc4ef5c8bf30fd73f565a8e955999d889627627f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:49:10.425Z] + docker inspect -f . ci-base-image-arm64 [2021-05-26T01:49:10.425Z] . [Pipeline] withDockerContainer [2021-05-26T01:49:10.663Z] prd-ubuntu18.04-docker-arm64-4c-16g-325 does not seem to be running inside a container [2021-05-26T01:49:10.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 ******** ci-base-image-arm64 cat [2021-05-26T01:49:12.436Z] $ docker top c103c60deb30cc1555bb43e5f109a61a2e027e39715cb4f2ea0ae4e9b833da15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T01:49:13.510Z] + go mod tidy [2021-05-26T01:49:13.511Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] sh [2021-05-26T01:49:15.207Z] + make test [2021-05-26T01:49:15.207Z] go mod tidy [2021-05-26T01:49:15.825Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-26T01:49:17.828Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-05-26T01:49:31.663Z] lf-activate-venv(): INFO: Adding /tmp/venv-TuZK/bin to PATH [2021-05-26T01:49:31.663Z] INFO: No Stack... [2021-05-26T01:49:31.663Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T01:49:31.663Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T01:49:31.957Z] + cat /w/workspace/device-snmp-go/31/archives/cost.csv [2021-05-26T01:49:31.958Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T01:49:31.995Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [2021-05-26T01:49:32.007Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] did not exist. Created. [2021-05-26T01:49:32.007Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T01:49:32.367Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-26T01:49:32.437Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T01:49:32.452Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-26T01:50:14.635Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-05-26T01:50:14.635Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements [2021-05-26T01:50:14.635Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-26T01:50:32.977Z] gofmt -l . [2021-05-26T01:50:32.978Z] [ "`gofmt -l .`" = "" ] [2021-05-26T01:50:32.978Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-26T01:50:33.582Z] $ docker stop --time=1 c103c60deb30cc1555bb43e5f109a61a2e027e39715cb4f2ea0ae4e9b833da15 [2021-05-26T01:50:35.595Z] $ docker rm -f c103c60deb30cc1555bb43e5f109a61a2e027e39715cb4f2ea0ae4e9b833da15 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-26T01:50:36.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-26T01:50:36.478Z] Warning: overwriting stash ‘coverage-report’ [2021-05-26T01:50:36.976Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-26T01:50:37.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-26T01:50:37.771Z] + ls -al . [2021-05-26T01:50:37.771Z] total 128 [2021-05-26T01:50:37.771Z] drwxrwxr-x 7 jenkins jenkins 4096 May 26 01:50 . [2021-05-26T01:50:37.771Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 01:47 .. [2021-05-26T01:50:37.771Z] -rw-rw-r-- 1 jenkins jenkins 6 May 26 01:47 .dockerignore [2021-05-26T01:50:37.771Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 01:47 .git [2021-05-26T01:50:37.771Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:47 .github [2021-05-26T01:50:37.771Z] -rw-rw-r-- 1 jenkins jenkins 269 May 26 01:47 .gitignore [2021-05-26T01:50:37.771Z] -rw-rw-r-- 1 jenkins jenkins 6520 May 26 01:47 Attribution.txt [2021-05-26T01:50:37.771Z] -rw-rw-r-- 1 jenkins jenkins 1459 May 26 01:47 Dockerfile [2021-05-26T01:50:37.771Z] -rw-rw-r-- 1 jenkins jenkins 1057 May 26 01:47 Dockerfile.build [2021-05-26T01:50:37.771Z] -rw-rw-r-- 1 jenkins jenkins 656 May 26 01:47 Jenkinsfile [2021-05-26T01:50:37.771Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 26 01:47 LICENSE [2021-05-26T01:50:37.771Z] -rw-rw-r-- 1 jenkins jenkins 936 May 26 01:47 Makefile [2021-05-26T01:50:37.772Z] -rw-rw-r-- 1 jenkins jenkins 9079 May 26 01:47 README.md [2021-05-26T01:50:37.772Z] -rw-rw-r-- 1 jenkins jenkins 11 May 26 01:45 VERSION [2021-05-26T01:50:37.772Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 01:47 bin [2021-05-26T01:50:37.772Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:47 cmd [2021-05-26T01:50:37.772Z] -rw-r--r-- 1 jenkins jenkins 7631 May 26 01:50 coverage.out [2021-05-26T01:50:37.772Z] -rw-rw-r-- 1 jenkins jenkins 222 May 26 01:47 go.mod [2021-05-26T01:50:37.772Z] -rw-r--r-- 1 jenkins jenkins 21438 May 26 01:49 go.sum [2021-05-26T01:50:37.772Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 01:47 internal [2021-05-26T01:50:37.772Z] -rw-rw-r-- 1 jenkins jenkins 209 May 26 01:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:50:38.121Z] + 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=36f220337c15c882742676291291e5935134de27 --label arch=arm64 --label version=1.3.2-dev.7 . [2021-05-26T01:50:38.392Z] Sending build context to Docker daemon 360.4kB [2021-05-26T01:50:38.392Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-26T01:50:38.392Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-26T01:50:38.392Z] ---> 99d9eb73bf07 [2021-05-26T01:50:38.392Z] Step 3/24 : ARG MAKE='make build' [2021-05-26T01:50:38.665Z] ---> Running in 218963c18272 [2021-05-26T01:50:39.261Z] Removing intermediate container 218963c18272 [2021-05-26T01:50:39.261Z] ---> 621dbc6c4c12 [2021-05-26T01:50:39.261Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-26T01:50:39.261Z] ---> Running in 3d3712dbd98b [2021-05-26T01:50:39.858Z] Removing intermediate container 3d3712dbd98b [2021-05-26T01:50:39.858Z] ---> 9a6a1381eb2c [2021-05-26T01:50:39.858Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-26T01:50:39.858Z] ---> Running in d30ff315cda0 [2021-05-26T01:50:40.454Z] Removing intermediate container d30ff315cda0 [2021-05-26T01:50:40.454Z] ---> 65b3e062a630 [2021-05-26T01:50:40.454Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-26T01:50:40.727Z] ---> Running in 2ccb70bf3e31 [2021-05-26T01:50:43.363Z] Removing intermediate container 2ccb70bf3e31 [2021-05-26T01:50:43.363Z] ---> 988c4b6180ae [2021-05-26T01:50:43.363Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-26T01:50:43.363Z] ---> Running in ec86c5e429ea [2021-05-26T01:50:44.345Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-26T01:50:45.337Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-26T01:50:46.327Z] OK: 145 MiB in 53 packages [2021-05-26T01:50:47.338Z] Removing intermediate container ec86c5e429ea [2021-05-26T01:50:47.338Z] ---> 509f7fb40f2e [2021-05-26T01:50:47.338Z] Step 8/24 : WORKDIR /device-snmp-go [2021-05-26T01:50:47.624Z] ---> Running in 246125dd8bdd [2021-05-26T01:50:48.280Z] Removing intermediate container 246125dd8bdd [2021-05-26T01:50:48.280Z] ---> af107bd9f9e1 [2021-05-26T01:50:48.280Z] Step 9/24 : COPY . . [2021-05-26T01:50:49.391Z] ---> 109ba3ca780b [2021-05-26T01:50:49.391Z] Step 10/24 : RUN go mod tidy [2021-05-26T01:50:49.391Z] ---> Running in dcb15890b2df [2021-05-26T01:50:52.891Z] Removing intermediate container dcb15890b2df [2021-05-26T01:50:52.891Z] ---> f4a168f1d19a [2021-05-26T01:50:52.891Z] Step 11/24 : RUN make update [2021-05-26T01:50:52.891Z] ---> Running in aff5bff7e547 [2021-05-26T01:50:54.328Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-26T01:50:55.314Z] Removing intermediate container aff5bff7e547 [2021-05-26T01:50:55.314Z] ---> e6f47a4387aa [2021-05-26T01:50:55.314Z] Step 12/24 : RUN ${MAKE} [2021-05-26T01:50:55.314Z] ---> Running in c47b2b213d46 [2021-05-26T01:50:56.752Z] go mod tidy [2021-05-26T01:50:57.350Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.7" -o cmd/device-snmp ./cmd [2021-05-26T01:51:44.377Z] Removing intermediate container c47b2b213d46 [2021-05-26T01:51:44.377Z] ---> 5d552d837031 [2021-05-26T01:51:44.377Z] Step 13/24 : FROM alpine:3.12 [2021-05-26T01:51:44.377Z] 3.12: Pulling from library/alpine [2021-05-26T01:51:44.377Z] d2f70382dc9a: Pulling fs layer [2021-05-26T01:51:44.377Z] d2f70382dc9a: Verifying Checksum [2021-05-26T01:51:44.377Z] d2f70382dc9a: Download complete [2021-05-26T01:51:44.377Z] d2f70382dc9a: Pull complete [2021-05-26T01:51:44.377Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-26T01:51:44.377Z] Status: Downloaded newer image for alpine:3.12 [2021-05-26T01:51:44.377Z] ---> 9852663dfa18 [2021-05-26T01:51:44.377Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-26T01:51:44.377Z] ---> Running in 75cbcb1e298a [2021-05-26T01:51:44.377Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-26T01:51:44.377Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-26T01:51:44.377Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-26T01:51:44.377Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-26T01:51:44.377Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-26T01:51:44.377Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-26T01:51:44.377Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-26T01:51:44.377Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-26T01:51:44.377Z] Executing busybox-1.31.1-r20.trigger [2021-05-26T01:51:44.377Z] OK: 8 MiB in 20 packages [2021-05-26T01:51:44.377Z] Removing intermediate container 75cbcb1e298a [2021-05-26T01:51:44.377Z] ---> 640f09007c9a [2021-05-26T01:51:44.377Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-05-26T01:51:45.808Z] ---> e33856672174 [2021-05-26T01:51:45.808Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-05-26T01:51:46.399Z] ---> 8b5be807dad4 [2021-05-26T01:51:46.399Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-05-26T01:51:46.996Z] ---> b8d84336f07e [2021-05-26T01:51:46.996Z] Step 18/24 : EXPOSE 59993 [2021-05-26T01:51:47.271Z] ---> Running in 7dc067ddab90 [2021-05-26T01:51:47.870Z] Removing intermediate container 7dc067ddab90 [2021-05-26T01:51:47.870Z] ---> 68e22f575ce3 [2021-05-26T01:51:47.870Z] Step 19/24 : EXPOSE 161 [2021-05-26T01:51:47.870Z] ---> Running in 0a8fb3193a43 [2021-05-26T01:51:48.467Z] Removing intermediate container 0a8fb3193a43 [2021-05-26T01:51:48.467Z] ---> 8f0f11bb8af0 [2021-05-26T01:51:48.467Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-05-26T01:51:48.467Z] ---> Running in 95dd85cafe23 [2021-05-26T01:51:49.063Z] Removing intermediate container 95dd85cafe23 [2021-05-26T01:51:49.063Z] ---> 3aee1ba1f876 [2021-05-26T01:51:49.063Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-26T01:51:49.063Z] ---> Running in 420411949c45 [2021-05-26T01:51:49.659Z] Removing intermediate container 420411949c45 [2021-05-26T01:51:49.659Z] ---> da64a38e10b1 [2021-05-26T01:51:49.659Z] Step 22/24 : LABEL arch=arm64 [2021-05-26T01:51:49.659Z] ---> Running in cd9060ec5ea0 [2021-05-26T01:51:50.257Z] Removing intermediate container cd9060ec5ea0 [2021-05-26T01:51:50.257Z] ---> 74fc795887ed [2021-05-26T01:51:50.257Z] Step 23/24 : LABEL git_sha=36f220337c15c882742676291291e5935134de27 [2021-05-26T01:51:50.257Z] ---> Running in 6b177191bc32 [2021-05-26T01:51:50.879Z] Removing intermediate container 6b177191bc32 [2021-05-26T01:51:50.879Z] ---> f56b9365f53d [2021-05-26T01:51:50.879Z] Step 24/24 : LABEL version=1.3.2-dev.7 [2021-05-26T01:51:50.879Z] ---> Running in 724697bf2987 [2021-05-26T01:51:51.476Z] Removing intermediate container 724697bf2987 [2021-05-26T01:51:51.476Z] ---> 595eee21b958 [2021-05-26T01:51:51.476Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-26T01:51:51.476Z] Successfully built 595eee21b958 [2021-05-26T01:51:51.476Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:51:51.617Z] provisioning config files... [2021-05-26T01:51:51.640Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config8174586619651415205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:51:52.014Z] ---> docker-login.sh [2021-05-26T01:51:52.014Z] nexus3.edgexfoundry.org:10001 [2021-05-26T01:51:52.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:51:52.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:51:52.563Z] Configure a credential helper to remove this warning. See [2021-05-26T01:51:52.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:51:52.563Z] [2021-05-26T01:51:52.563Z] Login Succeeded [2021-05-26T01:51:52.563Z] nexus3.edgexfoundry.org:10002 [2021-05-26T01:51:52.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:51:53.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:51:53.111Z] Configure a credential helper to remove this warning. See [2021-05-26T01:51:53.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:51:53.111Z] [2021-05-26T01:51:53.111Z] Login Succeeded [2021-05-26T01:51:53.111Z] nexus3.edgexfoundry.org:10003 [2021-05-26T01:51:53.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:51:53.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:51:53.704Z] Configure a credential helper to remove this warning. See [2021-05-26T01:51:53.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:51:53.704Z] [2021-05-26T01:51:53.704Z] Login Succeeded [2021-05-26T01:51:53.704Z] nexus3.edgexfoundry.org:10004 [2021-05-26T01:51:54.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:51:54.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:51:54.302Z] Configure a credential helper to remove this warning. See [2021-05-26T01:51:54.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:51:54.302Z] [2021-05-26T01:51:54.302Z] Login Succeeded [2021-05-26T01:51:54.302Z] docker.io [2021-05-26T01:51:54.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-26T01:51:55.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-26T01:51:55.174Z] Configure a credential helper to remove this warning. See [2021-05-26T01:51:55.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-26T01:51:55.174Z] [2021-05-26T01:51:55.174Z] Login Succeeded [2021-05-26T01:51:55.174Z] ---> docker-login.sh ends [Pipeline] } [2021-05-26T01:51:55.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T01:51:55.259Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-05-26T01:51:55.259Z] 36f220337c15c882742676291291e5935134de27 [2021-05-26T01:51:55.259Z] latest [2021-05-26T01:51:55.259Z] 1.3.2-dev.7 [2021-05-26T01:51:55.259Z] 36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [2021-05-26T01:51:55.259Z] master [2021-05-26T01:51:55.259Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:51:55.646Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:51:56.003Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27 [2021-05-26T01:51:56.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-26T01:51:56.003Z] 298f583f5cee: Preparing [2021-05-26T01:51:56.003Z] bf04fa68afc6: Preparing [2021-05-26T01:51:56.003Z] 836e026d8174: Preparing [2021-05-26T01:51:56.003Z] 710b8085b650: Preparing [2021-05-26T01:51:56.003Z] 3fbe34a1663b: Preparing [2021-05-26T01:51:56.278Z] 3fbe34a1663b: Layer already exists [2021-05-26T01:51:56.278Z] 298f583f5cee: Pushed [2021-05-26T01:51:56.278Z] bf04fa68afc6: Pushed [2021-05-26T01:51:56.883Z] 710b8085b650: Pushed [2021-05-26T01:51:59.707Z] 836e026d8174: Pushed [2021-05-26T01:51:59.707Z] 36f220337c15c882742676291291e5935134de27: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:52:00.063Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:52:00.410Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-05-26T01:52:00.410Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-26T01:52:00.410Z] 298f583f5cee: Preparing [2021-05-26T01:52:00.410Z] bf04fa68afc6: Preparing [2021-05-26T01:52:00.410Z] 836e026d8174: Preparing [2021-05-26T01:52:00.410Z] 710b8085b650: Preparing [2021-05-26T01:52:00.410Z] 3fbe34a1663b: Preparing [2021-05-26T01:52:00.410Z] bf04fa68afc6: Layer already exists [2021-05-26T01:52:00.410Z] 3fbe34a1663b: Layer already exists [2021-05-26T01:52:00.410Z] 298f583f5cee: Layer already exists [2021-05-26T01:52:00.410Z] 710b8085b650: Layer already exists [2021-05-26T01:52:00.411Z] 836e026d8174: Layer already exists [2021-05-26T01:52:00.682Z] latest: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:52:01.034Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:52:01.382Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.7 [2021-05-26T01:52:01.382Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-26T01:52:01.382Z] 298f583f5cee: Preparing [2021-05-26T01:52:01.382Z] bf04fa68afc6: Preparing [2021-05-26T01:52:01.382Z] 836e026d8174: Preparing [2021-05-26T01:52:01.382Z] 710b8085b650: Preparing [2021-05-26T01:52:01.382Z] 3fbe34a1663b: Preparing [2021-05-26T01:52:01.382Z] bf04fa68afc6: Layer already exists [2021-05-26T01:52:01.382Z] 298f583f5cee: Layer already exists [2021-05-26T01:52:01.655Z] 710b8085b650: Layer already exists [2021-05-26T01:52:01.655Z] 836e026d8174: Layer already exists [2021-05-26T01:52:01.655Z] 3fbe34a1663b: Layer already exists [2021-05-26T01:52:01.655Z] 1.3.2-dev.7: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:52:02.003Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:52:02.353Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [2021-05-26T01:52:02.353Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-26T01:52:02.353Z] 298f583f5cee: Preparing [2021-05-26T01:52:02.353Z] bf04fa68afc6: Preparing [2021-05-26T01:52:02.353Z] 836e026d8174: Preparing [2021-05-26T01:52:02.353Z] 710b8085b650: Preparing [2021-05-26T01:52:02.353Z] 3fbe34a1663b: Preparing [2021-05-26T01:52:02.353Z] bf04fa68afc6: Layer already exists [2021-05-26T01:52:02.353Z] 3fbe34a1663b: Layer already exists [2021-05-26T01:52:02.353Z] 836e026d8174: Layer already exists [2021-05-26T01:52:02.353Z] 298f583f5cee: Layer already exists [2021-05-26T01:52:02.353Z] 710b8085b650: Layer already exists [2021-05-26T01:52:02.624Z] 36f220337c15c882742676291291e5935134de27-1.3.2-dev.7: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:52:02.975Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:52:03.317Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [2021-05-26T01:52:03.317Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-05-26T01:52:03.317Z] 298f583f5cee: Preparing [2021-05-26T01:52:03.317Z] bf04fa68afc6: Preparing [2021-05-26T01:52:03.317Z] 836e026d8174: Preparing [2021-05-26T01:52:03.317Z] 710b8085b650: Preparing [2021-05-26T01:52:03.317Z] 3fbe34a1663b: Preparing [2021-05-26T01:52:03.317Z] 710b8085b650: Layer already exists [2021-05-26T01:52:03.317Z] bf04fa68afc6: Layer already exists [2021-05-26T01:52:03.317Z] 836e026d8174: Layer already exists [2021-05-26T01:52:03.317Z] 298f583f5cee: Layer already exists [2021-05-26T01:52:03.317Z] 3fbe34a1663b: Layer already exists [2021-05-26T01:52:03.586Z] master: digest: sha256:33930b32ce851db28b0ac4781d58871329ebfc76e67dbed64ca22bffd9751b41 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-26T01:52:03.656Z] ===================================================== [Pipeline] echo [2021-05-26T01:52:03.673Z] taggedImages: [2021-05-26T01:52:03.673Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27 [2021-05-26T01:52:03.673Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-05-26T01:52:03.673Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.7 [2021-05-26T01:52:03.673Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:36f220337c15c882742676291291e5935134de27-1.3.2-dev.7 [2021-05-26T01:52:03.673Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:52:04.053Z] ---> job-cost.sh [2021-05-26T01:52:04.054Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-p7b0 [2021-05-26T01:53:00.546Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-26T01:55:07.393Z] lf-activate-venv(): INFO: Adding /tmp/venv-p7b0/bin to PATH [2021-05-26T01:55:07.393Z] INFO: No Stack... [2021-05-26T01:55:07.393Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-26T01:55:07.393Z] INFO: Archiving Costs [Pipeline] sh [2021-05-26T01:55:07.762Z] + cat /w/workspace/device-snmp-go/31/archives/cost.csv [2021-05-26T01:55:07.762Z] + cut -d, -f6 [Pipeline] lock [2021-05-26T01:55:07.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [2021-05-26T01:55:07.857Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] did not exist. Created. [2021-05-26T01:55:07.857Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T01:55:08.255Z] /w/workspace/device-snmp-go/31@tmp/durable-66567cb5/script.sh: 1: /w/workspace/device-snmp-go/31@tmp/durable-66567cb5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-26T01:55:08.626Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-26T01:55:08.661Z] Warning: overwriting stash ‘stack-cost’ [2021-05-26T01:55:08.876Z] Stashed 1 file(s) [Pipeline] } [2021-05-26T01:55:08.885Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-31-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-26T01:55:09.431Z] provisioning config files... [2021-05-26T01:55:09.440Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3799583264140278094tmp [Pipeline] { [Pipeline] sh [2021-05-26T01:55:09.768Z] + set +x [2021-05-26T01:55:09.768Z] + curl -s https://codecov.io/bash [2021-05-26T01:55:09.768Z] + bash -s -- [2021-05-26T01:55:09.768Z] [2021-05-26T01:55:09.768Z] _____ _ [2021-05-26T01:55:09.768Z] / ____| | | [2021-05-26T01:55:09.768Z] | | ___ __| | ___ ___ _____ __ [2021-05-26T01:55:09.768Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-26T01:55:09.768Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-26T01:55:09.768Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-26T01:55:09.768Z] Bash-1.0.3 [2021-05-26T01:55:09.768Z] [2021-05-26T01:55:09.768Z] [2021-05-26T01:55:09.768Z] ==> git version 2.24.4 found [2021-05-26T01:55:09.768Z] ==> 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-05-26T01:55:09.768Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-26T01:55:09.768Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-26T01:55:09.768Z] ==> Jenkins CI detected. [2021-05-26T01:55:09.768Z] project root: . [2021-05-26T01:55:09.768Z] --> token set from env [2021-05-26T01:55:09.768Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-26T01:55:10.033Z] ==> Running gcov in . (disable via -X gcov) [2021-05-26T01:55:10.034Z] ==> Python coveragepy not found [2021-05-26T01:55:10.034Z] ==> Searching for coverage reports in: [2021-05-26T01:55:10.034Z] + . [2021-05-26T01:55:10.034Z] -> Found 1 reports [2021-05-26T01:55:10.034Z] ==> Detecting git/mercurial file structure [2021-05-26T01:55:10.034Z] ==> Reading reports [2021-05-26T01:55:10.034Z] + ./coverage.out bytes=7631 [2021-05-26T01:55:10.034Z] ==> Appending adjustments [2021-05-26T01:55:10.034Z] https://docs.codecov.io/docs/fixing-reports [2021-05-26T01:55:10.034Z] + Found adjustments [2021-05-26T01:55:10.034Z] ==> Gzipping contents [2021-05-26T01:55:10.034Z] 4.0K /tmp/codecov.IhPnq4.gz [2021-05-26T01:55:10.034Z] ==> Uploading reports [2021-05-26T01:55:10.034Z] url: https://codecov.io [2021-05-26T01:55:10.034Z] query: branch=master&commit=36f220337c15c882742676291291e5935134de27&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-26T01:55:10.034Z] -> Pinging Codecov [2021-05-26T01:55:10.034Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=36f220337c15c882742676291291e5935134de27&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-26T01:55:10.607Z] -> Uploading to [2021-05-26T01:55:10.607Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-26/6C56EA5C29638FB4528AC87E60AF5AE0/36f220337c15c882742676291291e5935134de27/b257be71-35c1-4f9e-8a48-bcbae21ed438.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T015510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c8d952242c78a6175b141c25e9359c349210bed8bf907e2ee186b9290dafe46 [2021-05-26T01:55:10.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-26T01:55:10.607Z] Dload Upload Total Spent Left Speed [2021-05-26T01:55:11.182Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 2500 --:--:-- --:--:-- --:--:-- 2500 [2021-05-26T01:55:11.182Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/36f220337c15c882742676291291e5935134de27 [Pipeline] } [2021-05-26T01:55:11.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-26T01:55:11.871Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-26T01:55:11.899Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:55:12.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T01:55:12.213Z] [2021-05-26T01:55:12.213Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:55:12.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T01:55:12.552Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-26T01:55:12.552Z] 188c0c94c7c5: Pulling fs layer [2021-05-26T01:55:12.552Z] 0ef7d3d256c8: Pulling fs layer [2021-05-26T01:55:12.552Z] de9db76c5a1d: Pulling fs layer [2021-05-26T01:55:12.552Z] 0eba1c9be4d2: Pulling fs layer [2021-05-26T01:55:12.552Z] 0d57e429df01: Pulling fs layer [2021-05-26T01:55:12.552Z] 4e4be7b47b0d: Pulling fs layer [2021-05-26T01:55:12.552Z] e1f770b5df2f: Pulling fs layer [2021-05-26T01:55:12.552Z] 85a0685a4137: Pulling fs layer [2021-05-26T01:55:12.552Z] 0d57e429df01: Waiting [2021-05-26T01:55:12.552Z] 4e4be7b47b0d: Waiting [2021-05-26T01:55:12.552Z] e1f770b5df2f: Waiting [2021-05-26T01:55:12.552Z] 85a0685a4137: Waiting [2021-05-26T01:55:12.552Z] 0eba1c9be4d2: Waiting [2021-05-26T01:55:12.552Z] de9db76c5a1d: Download complete [2021-05-26T01:55:12.552Z] 0ef7d3d256c8: Verifying Checksum [2021-05-26T01:55:12.552Z] 0ef7d3d256c8: Download complete [2021-05-26T01:55:12.552Z] 0d57e429df01: Verifying Checksum [2021-05-26T01:55:12.552Z] 0d57e429df01: Download complete [2021-05-26T01:55:12.552Z] 188c0c94c7c5: Verifying Checksum [2021-05-26T01:55:12.552Z] 188c0c94c7c5: Download complete [2021-05-26T01:55:12.818Z] 4e4be7b47b0d: Verifying Checksum [2021-05-26T01:55:12.818Z] 4e4be7b47b0d: Download complete [2021-05-26T01:55:12.818Z] 188c0c94c7c5: Pull complete [2021-05-26T01:55:13.082Z] 0ef7d3d256c8: Pull complete [2021-05-26T01:55:13.082Z] de9db76c5a1d: Pull complete [2021-05-26T01:55:14.482Z] e1f770b5df2f: Verifying Checksum [2021-05-26T01:55:14.482Z] e1f770b5df2f: Download complete [2021-05-26T01:55:16.409Z] 0eba1c9be4d2: Verifying Checksum [2021-05-26T01:55:16.409Z] 0eba1c9be4d2: Download complete [2021-05-26T01:55:16.409Z] 85a0685a4137: Verifying Checksum [2021-05-26T01:55:16.409Z] 85a0685a4137: Download complete [2021-05-26T01:55:19.745Z] 0eba1c9be4d2: Pull complete [2021-05-26T01:55:19.745Z] 0d57e429df01: Pull complete [2021-05-26T01:55:20.007Z] 4e4be7b47b0d: Pull complete [2021-05-26T01:55:20.590Z] e1f770b5df2f: Pull complete [2021-05-26T01:55:27.232Z] 85a0685a4137: Pull complete [2021-05-26T01:55:27.232Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-26T01:55:27.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-26T01:55:27.232Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-26T01:55:27.315Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-05-26T01:55:27.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-26T01:55:28.205Z] $ docker top 59afa47c695c008a4ea2489c58814fbcea451b72f94ac29ed9401cb533066975 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-26T01:55:28.328Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-26T01:55:28.636Z] + set -o pipefail [2021-05-26T01:55:28.636Z] + snyk monitor '--org=edgex-jenkins' [2021-05-26T01:55:43.602Z] [2021-05-26T01:55:43.602Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2021-05-26T01:55:43.602Z] [2021-05-26T01:55:43.602Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/2dcc2b02-5340-4e6a-be37-050de02c3791 [2021-05-26T01:55:43.602Z] [2021-05-26T01:55:43.602Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-26T01:55:43.602Z] [2021-05-26T01:55:43.602Z] [Pipeline] } [2021-05-26T01:55:43.616Z] $ docker stop --time=1 59afa47c695c008a4ea2489c58814fbcea451b72f94ac29ed9401cb533066975 [2021-05-26T01:55:45.698Z] $ docker rm -f 59afa47c695c008a4ea2489c58814fbcea451b72f94ac29ed9401cb533066975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-26T01:55:46.657Z] + git log --format=format:%s -1 36f220337c15c882742676291291e5935134de27 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:55:46.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T01:55:46.992Z] . [Pipeline] withDockerContainer [2021-05-26T01:55:47.070Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-05-26T01:55:47.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T01:55:47.529Z] $ docker top 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T01:55:47.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T01:55:47.673Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T01:55:47.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T01:55:47.797Z] $ docker exec 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f ssh-agent [2021-05-26T01:55:47.930Z] SSH_AUTH_SOCK=/tmp/ssh-USPfcQbXxgYJ/agent.13 [2021-05-26T01:55:47.930Z] SSH_AGENT_PID=19 [2021-05-26T01:55:47.936Z] Running ssh-add (command line suppressed) [2021-05-26T01:55:48.042Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8121966400680423348.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8121966400680423348.key) [2021-05-26T01:55:48.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T01:55:48.417Z] + git semver tag [2021-05-26T01:55:48.417Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T01:55:48.417Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-26T01:55:48.417Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-26T01:55:48.417Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T01:55:48.417Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T01:55:48.417Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T01:55:48.417Z] # $SEMVER_BRANCH = master [2021-05-26T01:55:48.417Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-05-26T01:55:48.417Z] # 36f220337c15c882742676291291e5935134de27 HEAD [2021-05-26T01:55:48.417Z] # -> Force: false [2021-05-26T01:55:48.417Z] # b2abb8c107d40c87f4cc07792538b96c1f713e32 refs/tags/v1.3.2-dev.7 [Pipeline] } [2021-05-26T01:55:48.426Z] $ docker exec --env ******** --env ******** 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f ssh-agent -k [2021-05-26T01:55:48.536Z] unset SSH_AUTH_SOCK; [2021-05-26T01:55:48.537Z] unset SSH_AGENT_PID; [2021-05-26T01:55:48.537Z] echo Agent pid 19 killed; [2021-05-26T01:55:48.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T01:55:48.904Z] + git semver [Pipeline] } [2021-05-26T01:55:48.921Z] $ docker stop --time=1 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f [2021-05-26T01:55:50.124Z] $ docker rm -f 61b73fb32eb01e9bc2b0009bc0343edb032b6d1ce77c609d4e1fb8679c4bbd7f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:55:50.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T01:55:50.605Z] [2021-05-26T01:55:50.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:55:50.929Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T01:55:50.929Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-26T01:55:50.929Z] ab5ef0e58194: Pulling fs layer [2021-05-26T01:55:50.929Z] 9712f1f96733: Pulling fs layer [2021-05-26T01:55:50.929Z] 63f879dbbcfc: Pulling fs layer [2021-05-26T01:55:50.929Z] 0d9ebad4ef96: Pulling fs layer [2021-05-26T01:55:50.929Z] e9a5061849ea: Pulling fs layer [2021-05-26T01:55:50.929Z] d747dcd14b5f: Pulling fs layer [2021-05-26T01:55:50.929Z] 2de7ff778b66: Pulling fs layer [2021-05-26T01:55:50.929Z] e9a5061849ea: Waiting [2021-05-26T01:55:50.929Z] d747dcd14b5f: Waiting [2021-05-26T01:55:50.929Z] 2de7ff778b66: Waiting [2021-05-26T01:55:50.929Z] 0d9ebad4ef96: Waiting [2021-05-26T01:55:50.929Z] 9712f1f96733: Verifying Checksum [2021-05-26T01:55:50.929Z] 9712f1f96733: Download complete [2021-05-26T01:55:52.326Z] 63f879dbbcfc: Verifying Checksum [2021-05-26T01:55:52.326Z] 63f879dbbcfc: Download complete [2021-05-26T01:55:52.326Z] e9a5061849ea: Verifying Checksum [2021-05-26T01:55:52.326Z] e9a5061849ea: Download complete [2021-05-26T01:55:52.326Z] d747dcd14b5f: Verifying Checksum [2021-05-26T01:55:52.326Z] d747dcd14b5f: Download complete [2021-05-26T01:55:52.907Z] 2de7ff778b66: Verifying Checksum [2021-05-26T01:55:52.907Z] 2de7ff778b66: Download complete [2021-05-26T01:55:52.907Z] 0d9ebad4ef96: Verifying Checksum [2021-05-26T01:55:52.907Z] 0d9ebad4ef96: Download complete [2021-05-26T01:55:52.907Z] ab5ef0e58194: Verifying Checksum [2021-05-26T01:55:52.907Z] ab5ef0e58194: Download complete [2021-05-26T01:55:56.279Z] ab5ef0e58194: Pull complete [2021-05-26T01:55:56.279Z] 9712f1f96733: Pull complete [2021-05-26T01:55:56.543Z] 63f879dbbcfc: Pull complete [2021-05-26T01:56:00.802Z] 0d9ebad4ef96: Pull complete [2021-05-26T01:56:00.802Z] e9a5061849ea: Pull complete [2021-05-26T01:56:00.802Z] d747dcd14b5f: Pull complete [2021-05-26T01:56:01.765Z] 2de7ff778b66: Pull complete [2021-05-26T01:56:01.765Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-26T01:56:01.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-26T01:56:01.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-26T01:56:01.872Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-05-26T01:56:01.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-26T01:56:05.923Z] $ docker top 313b65a18ee4d5fe79ee8f3df5e65d5edc420de6c5ebdf14e44e811e1db8c99e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:56:06.057Z] provisioning config files... [2021-05-26T01:56:06.066Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config7442033938374612365tmp [2021-05-26T01:56:06.079Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config6255010419363644137tmp [2021-05-26T01:56:06.091Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config4565063351831396270tmp [Pipeline] { [Pipeline] echo [2021-05-26T01:56:06.111Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:06.415Z] ---> sigul-configuration.sh [2021-05-26T01:56:06.415Z] gpg: directory `/root/.gnupg' created [2021-05-26T01:56:06.415Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-26T01:56:06.415Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-26T01:56:06.415Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-26T01:56:06.415Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-26T01:56:06.415Z] gpg: CAST5 encrypted data [2021-05-26T01:56:06.415Z] gpg: encrypted with 1 passphrase [2021-05-26T01:56:06.415Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-26T01:56:06.726Z] + mkdir /home/jenkins [2021-05-26T01:56:06.726Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-26T01:56:07.039Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-05-26T01:56:07.049Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:07.355Z] ---> sigul-install.sh [2021-05-26T01:56:12.676Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-26T01:56:12.980Z] + git tag --list [2021-05-26T01:56:12.980Z] 1.0.0 [2021-05-26T01:56:12.980Z] v0.0.0 [2021-05-26T01:56:12.980Z] v1.1.0 [2021-05-26T01:56:12.980Z] v1.1.1 [2021-05-26T01:56:12.980Z] v1.2.2 [2021-05-26T01:56:12.980Z] v1.3.0 [2021-05-26T01:56:12.980Z] v1.3.1 [2021-05-26T01:56:12.980Z] v1.3.1-dev.1 [2021-05-26T01:56:12.980Z] v1.3.1-dev.2 [2021-05-26T01:56:12.980Z] v1.3.1-dev.3 [2021-05-26T01:56:12.980Z] v1.3.1-dev.4 [2021-05-26T01:56:12.980Z] v1.3.2-dev.1 [2021-05-26T01:56:12.980Z] v1.3.2-dev.2 [2021-05-26T01:56:12.980Z] v1.3.2-dev.3 [2021-05-26T01:56:12.980Z] v1.3.2-dev.4 [2021-05-26T01:56:12.980Z] v1.3.2-dev.5 [2021-05-26T01:56:12.980Z] v1.3.2-dev.6 [2021-05-26T01:56:12.980Z] v1.3.2-dev.7 [Pipeline] sh [2021-05-26T01:56:13.278Z] + lftools sign git-tag v1.3.2-dev.7 [2021-05-26T01:56:13.954Z] Signing Git tag with Sigul... [2021-05-26T01:56:13.954Z] Signing v1.3.2-dev.7 [Pipeline] echo [2021-05-26T01:56:14.799Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:15.126Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-26T01:56:15.134Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-26T01:56:15.162Z] $ docker stop --time=1 313b65a18ee4d5fe79ee8f3df5e65d5edc420de6c5ebdf14e44e811e1db8c99e [2021-05-26T01:56:17.005Z] $ docker rm -f 313b65a18ee4d5fe79ee8f3df5e65d5edc420de6c5ebdf14e44e811e1db8c99e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:56:17.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T01:56:17.516Z] . [Pipeline] withDockerContainer [2021-05-26T01:56:17.600Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-05-26T01:56:17.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T01:56:18.040Z] $ docker top cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T01:56:18.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T01:56:18.182Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T01:56:18.306Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T01:56:18.305Z] $ docker exec cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 ssh-agent [2021-05-26T01:56:18.420Z] SSH_AUTH_SOCK=/tmp/ssh-kcoslZ1LoiiO/agent.14 [2021-05-26T01:56:18.420Z] SSH_AGENT_PID=20 [2021-05-26T01:56:18.426Z] Running ssh-add (command line suppressed) [2021-05-26T01:56:18.528Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1938231989312074941.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1938231989312074941.key) [2021-05-26T01:56:18.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T01:56:18.851Z] + git semver bump pre [2021-05-26T01:56:18.851Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T01:56:18.851Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-26T01:56:18.851Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-26T01:56:18.851Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T01:56:18.851Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T01:56:18.851Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T01:56:18.851Z] # $SEMVER_BRANCH = master [2021-05-26T01:56:18.851Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-05-26T01:56:18.851Z] 1.3.2-dev.8 [Pipeline] } [2021-05-26T01:56:18.858Z] $ docker exec --env ******** --env ******** cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 ssh-agent -k [2021-05-26T01:56:18.974Z] unset SSH_AUTH_SOCK; [2021-05-26T01:56:18.974Z] unset SSH_AGENT_PID; [2021-05-26T01:56:18.974Z] echo Agent pid 20 killed; [2021-05-26T01:56:18.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T01:56:19.330Z] + git semver [Pipeline] } [2021-05-26T01:56:19.341Z] $ docker stop --time=1 cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 [2021-05-26T01:56:20.549Z] $ docker rm -f cf46cdcb62240b286447146fae3f964efcf4e85de15d19fcd89d683013aa8229 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:56:20.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-26T01:56:20.958Z] . [Pipeline] withDockerContainer [2021-05-26T01:56:21.042Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-05-26T01:56:21.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-26T01:56:21.498Z] $ docker top 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-26T01:56:21.638Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-26T01:56:21.638Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-26T01:56:21.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-26T01:56:21.766Z] $ docker exec 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee ssh-agent [2021-05-26T01:56:21.902Z] SSH_AUTH_SOCK=/tmp/ssh-fEqCGFQB5zAz/agent.14 [2021-05-26T01:56:21.902Z] SSH_AGENT_PID=20 [2021-05-26T01:56:21.907Z] Running ssh-add (command line suppressed) [2021-05-26T01:56:22.014Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8262784388361335463.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8262784388361335463.key) [2021-05-26T01:56:22.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-26T01:56:22.343Z] + git semver push [2021-05-26T01:56:22.343Z] # -> Open(): unable to determine branch for HEAD [2021-05-26T01:56:22.343Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-05-26T01:56:22.343Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-05-26T01:56:22.343Z] # $SEMVER_REMOTE_NAME = origin [2021-05-26T01:56:22.343Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-26T01:56:22.343Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-26T01:56:22.343Z] # $SEMVER_BRANCH = master [2021-05-26T01:56:22.343Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-05-26T01:56:25.668Z] $ docker exec --env ******** --env ******** 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee ssh-agent -k [2021-05-26T01:56:25.790Z] unset SSH_AUTH_SOCK; [2021-05-26T01:56:25.790Z] unset SSH_AGENT_PID; [2021-05-26T01:56:25.790Z] echo Agent pid 20 killed; [2021-05-26T01:56:25.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-26T01:56:26.177Z] + git semver [Pipeline] } [2021-05-26T01:56:26.188Z] $ docker stop --time=1 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee [2021-05-26T01:56:27.405Z] $ docker rm -f 0040bf9db048a32204e890a37beb501d331ecca008bc62f00c3f276a1b8235ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:28.142Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:28.710Z] ---> package-listing.sh [2021-05-26T01:56:28.710Z] ++ facter osfamily [2021-05-26T01:56:28.710Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-26T01:56:28.974Z] + OS_FAMILY=redhat [2021-05-26T01:56:28.974Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2021-05-26T01:56:28.974Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-26T01:56:28.974Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-26T01:56:28.974Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-26T01:56:28.974Z] + PACKAGES=/tmp/packages_start.txt [2021-05-26T01:56:28.974Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-05-26T01:56:28.974Z] + PACKAGES=/tmp/packages_end.txt [2021-05-26T01:56:28.974Z] + case "${OS_FAMILY}" in [2021-05-26T01:56:28.974Z] + sort [2021-05-26T01:56:28.974Z] + rpm -qa [2021-05-26T01:56:29.547Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-26T01:56:29.547Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-26T01:56:29.547Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-26T01:56:29.547Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-05-26T01:56:29.547Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2021-05-26T01:56:29.809Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] echo [2021-05-26T01:56:29.823Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-26T01:56:30.116Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:56:30.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T01:56:30.684Z] [2021-05-26T01:56:30.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-26T01:56:31.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T01:56:31.007Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-26T01:56:31.007Z] df20fa9351a1: Pulling fs layer [2021-05-26T01:56:31.007Z] 36b3adc4ff6f: Pulling fs layer [2021-05-26T01:56:31.007Z] 8ad3a11d3b57: Pulling fs layer [2021-05-26T01:56:31.007Z] 46f8f816bc3b: Pulling fs layer [2021-05-26T01:56:31.007Z] 93b61091891f: Pulling fs layer [2021-05-26T01:56:31.007Z] 93b9cdb0e59b: Pulling fs layer [2021-05-26T01:56:31.007Z] 5e14af77c1be: Pulling fs layer [2021-05-26T01:56:31.007Z] 01666e4c0597: Pulling fs layer [2021-05-26T01:56:31.007Z] aa168da1d23b: Pulling fs layer [2021-05-26T01:56:31.007Z] 93b9cdb0e59b: Waiting [2021-05-26T01:56:31.007Z] 5e14af77c1be: Waiting [2021-05-26T01:56:31.007Z] 01666e4c0597: Waiting [2021-05-26T01:56:31.007Z] aa168da1d23b: Waiting [2021-05-26T01:56:31.007Z] 46f8f816bc3b: Waiting [2021-05-26T01:56:31.007Z] 93b61091891f: Waiting [2021-05-26T01:56:31.007Z] 36b3adc4ff6f: Verifying Checksum [2021-05-26T01:56:31.007Z] 36b3adc4ff6f: Download complete [2021-05-26T01:56:31.007Z] 46f8f816bc3b: Verifying Checksum [2021-05-26T01:56:31.007Z] 46f8f816bc3b: Download complete [2021-05-26T01:56:31.007Z] df20fa9351a1: Verifying Checksum [2021-05-26T01:56:31.007Z] df20fa9351a1: Download complete [2021-05-26T01:56:31.007Z] 93b9cdb0e59b: Verifying Checksum [2021-05-26T01:56:31.007Z] 93b9cdb0e59b: Download complete [2021-05-26T01:56:31.007Z] 5e14af77c1be: Verifying Checksum [2021-05-26T01:56:31.007Z] 5e14af77c1be: Download complete [2021-05-26T01:56:31.269Z] 93b61091891f: Verifying Checksum [2021-05-26T01:56:31.269Z] 93b61091891f: Download complete [2021-05-26T01:56:31.269Z] 01666e4c0597: Verifying Checksum [2021-05-26T01:56:31.269Z] 01666e4c0597: Download complete [2021-05-26T01:56:31.269Z] df20fa9351a1: Pull complete [2021-05-26T01:56:31.537Z] 36b3adc4ff6f: Pull complete [2021-05-26T01:56:31.537Z] 8ad3a11d3b57: Verifying Checksum [2021-05-26T01:56:31.537Z] 8ad3a11d3b57: Download complete [2021-05-26T01:56:32.120Z] 8ad3a11d3b57: Pull complete [2021-05-26T01:56:32.120Z] 46f8f816bc3b: Pull complete [2021-05-26T01:56:32.389Z] 93b61091891f: Pull complete [2021-05-26T01:56:32.389Z] 93b9cdb0e59b: Pull complete [2021-05-26T01:56:32.653Z] 5e14af77c1be: Pull complete [2021-05-26T01:56:32.653Z] 01666e4c0597: Pull complete [2021-05-26T01:56:32.920Z] aa168da1d23b: Verifying Checksum [2021-05-26T01:56:32.920Z] aa168da1d23b: Download complete [2021-05-26T01:56:38.247Z] aa168da1d23b: Pull complete [2021-05-26T01:56:38.247Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-26T01:56:38.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-26T01:56:38.247Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-26T01:56:38.345Z] prd-centos7-docker-4c-2g-322 does not seem to be running inside a container [2021-05-26T01:56:38.398Z] $ 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_master/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_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-26T01:56:41.064Z] $ docker top 669fa5e268c30ce8268f03278a4ecfba72eb7dcc4404c21299700e6043a099f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-26T01:56:41.449Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-26T01:56:41.747Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-26T01:56:42.043Z] + ls /var/log/sa-host [2021-05-26T01:56:42.043Z] + sadf -c /var/log/sa-host/sa05 [2021-05-26T01:56:42.043Z] file_magic: OK [2021-05-26T01:56:42.043Z] HZ: Using current value: 100 [2021-05-26T01:56:42.043Z] file_header: OK [2021-05-26T01:56:42.043Z] 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-05-26T01:56:42.043Z] Statistics: [2021-05-26T01:56:42.043Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T01:56:42.043Z] File successfully converted to sysstat format version 12.2.1 [2021-05-26T01:56:42.043Z] + sadf -c /var/log/sa-host/sa26 [2021-05-26T01:56:42.043Z] file_magic: OK [2021-05-26T01:56:42.043Z] HZ: Using current value: 100 [2021-05-26T01:56:42.043Z] file_header: OK [2021-05-26T01:56:42.043Z] 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-05-26T01:56:42.043Z] Statistics: [2021-05-26T01:56:42.043Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-26T01:56:42.043Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-26T01:56:42.209Z] provisioning config files... [2021-05-26T01:56:42.220Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config5527201999637964867tmp [Pipeline] { [Pipeline] echo [2021-05-26T01:56:42.242Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:42.536Z] ---> create-netrc.sh [Pipeline] } [2021-05-26T01:56:42.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-26T01:56:42.573Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:42.889Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-26T01:56:42.900Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:43.202Z] ---> sudo-logs.sh [2021-05-26T01:56:43.202Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-26T01:56:43.251Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:43.549Z] ---> job-cost.sh [2021-05-26T01:56:43.549Z] lf-activate-venv: SKIPPING [2021-05-26T01:56:43.549Z] DEBUG: total: 0.18000000715255737 [2021-05-26T01:56:43.549Z] INFO: Retrieving Stack Cost... [2021-05-26T01:56:44.119Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-26T01:56:44.696Z] INFO: Archiving Costs [Pipeline] echo [2021-05-26T01:56:44.708Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-26T01:56:45.009Z] ---> logs-deploy.sh [2021-05-26T01:56:45.009Z] lf-activate-venv: SKIPPING [2021-05-26T01:56:45.009Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/31 [2021-05-26T01:56:45.009Z] INFO: archiving workspace using pattern(s): [2021-05-26T01:56:45.953Z] Archives upload complete. [2021-05-26T01:56:45.953Z] INFO: archiving logs to Nexus