Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bdf6c703ff7e4dc9654b1e05af75b33f1f140285 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-ssh3846959767842664596.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1060327192140555558.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/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-ssh8866744782200400069.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4361516545355849761.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh2766101712983938881.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-491 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 Avoid second fetch Checking out Revision bdf6c703ff7e4dc9654b1e05af75b33f1f140285 (master) 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-ssh8098593284549933562.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bdf6c703ff7e4dc9654b1e05af75b33f1f140285 # timeout=10 Commit message: "Merge pull request #108 from lenny-intel/PublishTopicPrefix" > git rev-list --no-walk 5825ad0cc970ea3c642ac4c4da3b7e688fdc6b18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-11T07:26:49.752Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-11T07:26:49.852Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-11T07:26:49.888Z] ========================================================= [2021-06-11T07:26:49.888Z] EdgeX Global Pipelines Version Info [2021-06-11T07:26:49.888Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:26:51.407Z] ------------------- [2021-06-11T07:26:51.407Z] stable info: [2021-06-11T07:26:51.407Z] ------------------- [2021-06-11T07:26:51.407Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-11T07:26:51.407Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T07:26:51.407Z] Message: update stable to v1.0.195 [2021-06-11T07:26:51.982Z] ------------------- [2021-06-11T07:26:51.982Z] experimental info: [2021-06-11T07:26:51.982Z] ------------------- [2021-06-11T07:26:51.982Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-11T07:26:51.982Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T07:26:51.982Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-11T07:26:52.114Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-11T07:26:52.140Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-11T07:26:52.169Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-11T07:26:52.198Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-11T07:26:52.226Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-11T07:26:52.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-11T07:26:52.310Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-11T07:26:52.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-11T07:26:52.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-11T07:26:52.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-11T07:26:52.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-11T07:26:52.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-11T07:26:52.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-11T07:26:52.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-11T07:26:52.582Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-11T07:26:52.609Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-11T07:26:52.637Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T07:26:52.681Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T07:26:52.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-11T07:26:52.739Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-11T07:26:52.769Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-11T07:26:52.797Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-11T07:26:52.825Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-11T07:26:52.869Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-11T07:26:52.896Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-11T07:26:52.924Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-11T07:26:52.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-11T07:26:52.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-11T07:26:53.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-11T07:26:53.055Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] echo [2021-06-11T07:26:53.082Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdf6c70 [Pipeline] echo [2021-06-11T07:26:53.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:26:53.191Z] provisioning config files... [2021-06-11T07:26:53.206Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3268927528503164000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:26:53.526Z] ---> docker-login.sh [2021-06-11T07:26:53.526Z] nexus3.edgexfoundry.org:10001 [2021-06-11T07:26:53.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:26:53.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:26:53.793Z] Configure a credential helper to remove this warning. See [2021-06-11T07:26:53.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:26:53.793Z] [2021-06-11T07:26:53.793Z] Login Succeeded [2021-06-11T07:26:53.793Z] nexus3.edgexfoundry.org:10002 [2021-06-11T07:26:54.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:26:54.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:26:54.055Z] Configure a credential helper to remove this warning. See [2021-06-11T07:26:54.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:26:54.055Z] [2021-06-11T07:26:54.055Z] Login Succeeded [2021-06-11T07:26:54.055Z] nexus3.edgexfoundry.org:10003 [2021-06-11T07:26:54.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:26:54.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:26:54.055Z] Configure a credential helper to remove this warning. See [2021-06-11T07:26:54.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:26:54.055Z] [2021-06-11T07:26:54.317Z] Login Succeeded [2021-06-11T07:26:54.317Z] nexus3.edgexfoundry.org:10004 [2021-06-11T07:26:54.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:26:54.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:26:54.317Z] Configure a credential helper to remove this warning. See [2021-06-11T07:26:54.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:26:54.317Z] [2021-06-11T07:26:54.317Z] Login Succeeded [2021-06-11T07:26:54.317Z] docker.io [2021-06-11T07:26:54.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:26:54.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:26:54.579Z] Configure a credential helper to remove this warning. See [2021-06-11T07:26:54.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:26:54.579Z] [2021-06-11T07:26:54.579Z] Login Succeeded [2021-06-11T07:26:54.579Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T07:26:54.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T07:26:55.113Z] + git log --format=format:%s -1 bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] echo [2021-06-11T07:26:55.157Z] GIT_COMMIT: bdf6c703ff7e4dc9654b1e05af75b33f1f140285, Commit Message: Merge pull request #108 from lenny-intel/PublishTopicPrefix [Pipeline] echo [2021-06-11T07:26:55.173Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:26:55.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T07:26:55.810Z] [2021-06-11T07:26:55.810Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:26:56.136Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T07:26:56.136Z] latest: Pulling from edgex-devops/git-semver [2021-06-11T07:26:56.136Z] 31603596830f: Pulling fs layer [2021-06-11T07:26:56.136Z] 54011a49482f: Pulling fs layer [2021-06-11T07:26:56.136Z] a6820b24f6d8: Pulling fs layer [2021-06-11T07:26:56.136Z] f581987b2513: Pulling fs layer [2021-06-11T07:26:56.136Z] f581987b2513: Waiting [2021-06-11T07:26:56.136Z] 54011a49482f: Verifying Checksum [2021-06-11T07:26:56.136Z] 54011a49482f: Download complete [2021-06-11T07:26:56.399Z] 31603596830f: Verifying Checksum [2021-06-11T07:26:56.399Z] 31603596830f: Download complete [2021-06-11T07:26:56.399Z] f581987b2513: Verifying Checksum [2021-06-11T07:26:56.399Z] f581987b2513: Download complete [2021-06-11T07:26:56.399Z] a6820b24f6d8: Verifying Checksum [2021-06-11T07:26:56.399Z] a6820b24f6d8: Download complete [2021-06-11T07:26:56.399Z] 31603596830f: Pull complete [2021-06-11T07:26:56.664Z] 54011a49482f: Pull complete [2021-06-11T07:26:57.240Z] a6820b24f6d8: Pull complete [2021-06-11T07:26:57.505Z] f581987b2513: Pull complete [2021-06-11T07:26:57.505Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-11T07:26:57.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T07:26:57.505Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-11T07:26:57.590Z] prd-centos7-docker-4c-2g-491 does not seem to be running inside a container [2021-06-11T07:26:57.639Z] $ 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-06-11T07:26:58.773Z] $ docker top 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-11T07:26:58.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T07:26:58.899Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T07:26:59.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T07:26:59.020Z] $ docker exec 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 ssh-agent [2021-06-11T07:26:59.126Z] SSH_AUTH_SOCK=/tmp/ssh-4uQ99bZSdOA2/agent.14 [2021-06-11T07:26:59.126Z] SSH_AGENT_PID=20 [2021-06-11T07:26:59.133Z] Running ssh-add (command line suppressed) [2021-06-11T07:26:59.243Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4007107309059701428.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4007107309059701428.key) [2021-06-11T07:26:59.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T07:26:59.571Z] + git tag --points-at HEAD [Pipeline] } [2021-06-11T07:26:59.584Z] $ docker exec --env ******** --env ******** 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 ssh-agent -k [2021-06-11T07:26:59.671Z] unset SSH_AUTH_SOCK; [2021-06-11T07:26:59.671Z] unset SSH_AGENT_PID; [2021-06-11T07:26:59.671Z] echo Agent pid 20 killed; [2021-06-11T07:26:59.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-11T07:26:59.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T07:26:59.748Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T07:26:59.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T07:26:59.850Z] $ docker exec 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 ssh-agent [2021-06-11T07:26:59.957Z] SSH_AUTH_SOCK=/tmp/ssh-heF5n4smxQHS/agent.54 [2021-06-11T07:26:59.957Z] SSH_AGENT_PID=61 [2021-06-11T07:26:59.962Z] Running ssh-add (command line suppressed) [2021-06-11T07:27:00.065Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1903920653355790875.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_1903920653355790875.key) [2021-06-11T07:27:00.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T07:27:00.393Z] + git semver init [2021-06-11T07:27:00.393Z] # -> Open(): unable to determine branch for HEAD [2021-06-11T07:27:00.393Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-06-11T07:27:00.393Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-06-11T07:27:00.393Z] # $SEMVER_REMOTE_NAME = origin [2021-06-11T07:27:00.393Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-11T07:27:00.393Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-11T07:27:00.393Z] # $SEMVER_BRANCH = master [2021-06-11T07:27:00.393Z] # $SEMVER_TEMP = /tmp/semver-056136305 [2021-06-11T07:27:00.393Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-11T07:27:00.685Z] # '/tmp/semver-056136305' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' [2021-06-11T07:27:00.685Z] # -> Force: false [2021-06-11T07:27:00.685Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-06-11T07:27:00.695Z] $ docker exec --env ******** --env ******** 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 ssh-agent -k [2021-06-11T07:27:00.794Z] unset SSH_AUTH_SOCK; [2021-06-11T07:27:00.795Z] unset SSH_AGENT_PID; [2021-06-11T07:27:00.795Z] echo Agent pid 61 killed; [2021-06-11T07:27:00.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-11T07:27:01.176Z] + git semver [Pipeline] } [2021-06-11T07:27:01.191Z] $ docker stop --time=1 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 [2021-06-11T07:27:02.459Z] $ docker rm -f 78d5112d4309b6db29f9bcb740ebf2f64fc49510283beed458515fa0a30e0fd8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T07:27:02.833Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-11T07:27:03.105Z] Stashed 1 file(s) [Pipeline] echo [2021-06-11T07:27:03.109Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-11T07:27:18.358Z] Still waiting to schedule task [2021-06-11T07:27:18.358Z] ‘prd-centos7-docker-4c-2g-493’ is offline [2021-06-11T07:27:18.358Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-490’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-11T07:27:18.361Z] Still waiting to schedule task [2021-06-11T07:27:18.361Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-490’ is offline [2021-06-11T07:28:12.016Z] Running on prd-centos7-docker-4c-2g-494 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-06-11T07:28:12.040Z] Running in /w/workspace/device-snmp-go/33 [Pipeline] { [Pipeline] checkout [2021-06-11T07:28:12.148Z] Selected Git installation does not exist. Using Default [2021-06-11T07:28:12.149Z] The recommended git tool is: NONE [2021-06-11T07:28:14.276Z] using credential edgex-jenkins-ssh [2021-06-11T07:28:14.318Z] Cloning the remote Git repository [2021-06-11T07:28:15.008Z] Avoid second fetch [2021-06-11T07:28:15.012Z] Checking out Revision bdf6c703ff7e4dc9654b1e05af75b33f1f140285 (master) [2021-06-11T07:28:14.221Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-11T07:28:14.293Z] > git init /w/workspace/device-snmp-go/33 # timeout=10 [2021-06-11T07:28:14.328Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-11T07:28:14.328Z] > git --version # timeout=10 [2021-06-11T07:28:14.338Z] > git --version # 'git version 2.24.4' [2021-06-11T07:28:14.338Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T07:28:14.360Z] [INFO] Currently running in a labeled security context [2021-06-11T07:28:14.360Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T07:28:14.360Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/33@tmp/jenkins-gitclient-ssh3429207809061753914.key [2021-06-11T07:28:14.395Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T07:28:14.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-11T07:28:14.935Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T07:28:14.979Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T07:28:14.988Z] > git checkout -f bdf6c703ff7e4dc9654b1e05af75b33f1f140285 # timeout=10 [2021-06-11T07:28:18.611Z] Commit message: "Merge pull request #108 from lenny-intel/PublishTopicPrefix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T07:28:19.612Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-11T07:28:19.941Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T07:28:20.251Z] + sudo service docker restart [2021-06-11T07:28:20.251Z] + true [2021-06-11T07:28:20.251Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:28:38.432Z] provisioning config files... [2021-06-11T07:28:38.447Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config1998513585698935025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:28:38.790Z] ---> docker-login.sh [2021-06-11T07:28:38.791Z] nexus3.edgexfoundry.org:10001 [2021-06-11T07:28:39.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:39.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:39.055Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:39.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:39.055Z] [2021-06-11T07:28:39.055Z] Login Succeeded [2021-06-11T07:28:39.055Z] nexus3.edgexfoundry.org:10002 [2021-06-11T07:28:39.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:39.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:39.317Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:39.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:39.317Z] [2021-06-11T07:28:39.317Z] Login Succeeded [2021-06-11T07:28:39.317Z] nexus3.edgexfoundry.org:10003 [2021-06-11T07:28:39.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:39.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:39.317Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:39.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:39.317Z] [2021-06-11T07:28:39.317Z] Login Succeeded [2021-06-11T07:28:39.317Z] nexus3.edgexfoundry.org:10004 [2021-06-11T07:28:39.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:39.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:39.578Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:39.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:39.578Z] [2021-06-11T07:28:39.578Z] Login Succeeded [2021-06-11T07:28:39.578Z] docker.io [2021-06-11T07:28:39.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:28:39.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:28:39.839Z] Configure a credential helper to remove this warning. See [2021-06-11T07:28:39.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:28:39.839Z] [2021-06-11T07:28:39.839Z] Login Succeeded [2021-06-11T07:28:39.839Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T07:28:39.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-11T07:28:40.031Z] ========================================================= [2021-06-11T07:28:40.031Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-11T07:28:40.031Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:28:40.354Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-11T07:28:40.354Z] Sending build context to Docker daemon 360.4kB [2021-06-11T07:28:40.354Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T07:28:40.354Z] Step 2/10 : FROM ${BASE} [2021-06-11T07:28:40.354Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-11T07:28:40.354Z] 540db60ca938: Pulling fs layer [2021-06-11T07:28:40.354Z] adcc1eea9eea: Pulling fs layer [2021-06-11T07:28:40.354Z] 4c4ab2625f07: Pulling fs layer [2021-06-11T07:28:40.354Z] 0510c868ecb4: Pulling fs layer [2021-06-11T07:28:40.354Z] afea3b2eda06: Pulling fs layer [2021-06-11T07:28:40.354Z] 7809a108b3ef: Pulling fs layer [2021-06-11T07:28:40.354Z] f706445af74f: Pulling fs layer [2021-06-11T07:28:40.354Z] afea3b2eda06: Waiting [2021-06-11T07:28:40.354Z] 7809a108b3ef: Waiting [2021-06-11T07:28:40.354Z] f706445af74f: Waiting [2021-06-11T07:28:40.354Z] 0510c868ecb4: Waiting [2021-06-11T07:28:40.354Z] 4c4ab2625f07: Verifying Checksum [2021-06-11T07:28:40.354Z] 4c4ab2625f07: Download complete [2021-06-11T07:28:40.354Z] adcc1eea9eea: Verifying Checksum [2021-06-11T07:28:40.354Z] adcc1eea9eea: Download complete [2021-06-11T07:28:40.354Z] afea3b2eda06: Verifying Checksum [2021-06-11T07:28:40.354Z] afea3b2eda06: Download complete [2021-06-11T07:28:40.629Z] 7809a108b3ef: Verifying Checksum [2021-06-11T07:28:40.629Z] 7809a108b3ef: Download complete [2021-06-11T07:28:40.629Z] 540db60ca938: Verifying Checksum [2021-06-11T07:28:40.629Z] 540db60ca938: Download complete [2021-06-11T07:28:40.629Z] 540db60ca938: Pull complete [2021-06-11T07:28:40.889Z] adcc1eea9eea: Pull complete [2021-06-11T07:28:40.889Z] 4c4ab2625f07: Pull complete [2021-06-11T07:28:41.835Z] f706445af74f: Verifying Checksum [2021-06-11T07:28:41.835Z] f706445af74f: Download complete [2021-06-11T07:28:42.420Z] 0510c868ecb4: Verifying Checksum [2021-06-11T07:28:42.420Z] 0510c868ecb4: Download complete [2021-06-11T07:28:45.766Z] 0510c868ecb4: Pull complete [2021-06-11T07:28:45.767Z] afea3b2eda06: Pull complete [2021-06-11T07:28:45.767Z] 7809a108b3ef: Pull complete [2021-06-11T07:28:47.171Z] f706445af74f: Pull complete [2021-06-11T07:28:47.171Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-11T07:28:47.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-11T07:28:47.171Z] ---> b068be0155e3 [2021-06-11T07:28:47.171Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T07:28:51.395Z] ---> Running in c5d6d405fa2f [2021-06-11T07:28:51.395Z] Removing intermediate container c5d6d405fa2f [2021-06-11T07:28:51.395Z] ---> 3435d6ea8450 [2021-06-11T07:28:51.395Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T07:28:51.395Z] ---> Running in 02fddbaee1b9 [2021-06-11T07:28:51.395Z] Removing intermediate container 02fddbaee1b9 [2021-06-11T07:28:51.395Z] ---> 715af72592ba [2021-06-11T07:28:51.395Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-11T07:28:51.395Z] ---> Running in c678285aa6f2 [2021-06-11T07:28:51.395Z] Removing intermediate container c678285aa6f2 [2021-06-11T07:28:51.395Z] ---> 8111359361c4 [2021-06-11T07:28:51.395Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:28:51.395Z] ---> Running in d65b16374a7c [2021-06-11T07:28:51.969Z] Removing intermediate container d65b16374a7c [2021-06-11T07:28:51.969Z] ---> af44feecb41d [2021-06-11T07:28:51.969Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T07:28:51.969Z] ---> Running in 1868fea6141b [2021-06-11T07:28:52.229Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-11T07:28:53.176Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T07:28:53.437Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-11T07:28:53.437Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-11T07:28:53.437Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-11T07:28:53.699Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-11T07:28:53.699Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-11T07:28:53.699Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-11T07:28:53.958Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-11T07:28:54.219Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-11T07:28:54.219Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-11T07:28:54.219Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-11T07:28:54.479Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-11T07:28:54.479Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-11T07:28:54.739Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-11T07:28:54.739Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T07:28:54.739Z] OK: 156 MiB in 53 packages [2021-06-11T07:28:55.322Z] Removing intermediate container 1868fea6141b [2021-06-11T07:28:55.322Z] ---> 7d6f446ce254 [2021-06-11T07:28:55.322Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-11T07:28:55.322Z] ---> Running in 762aa218c127 [2021-06-11T07:28:55.322Z] Removing intermediate container 762aa218c127 [2021-06-11T07:28:55.322Z] ---> b4ec80315497 [2021-06-11T07:28:55.322Z] Step 9/10 : COPY . . [2021-06-11T07:28:55.585Z] ---> 66e537a7283a [2021-06-11T07:28:55.585Z] Step 10/10 : RUN go mod download [2021-06-11T07:28:55.585Z] ---> Running in 0bf7daa05f66 [2021-06-11T07:29:07.843Z] Removing intermediate container 0bf7daa05f66 [2021-06-11T07:29:07.843Z] ---> 6744c4432ccf [2021-06-11T07:29:07.843Z] Successfully built 6744c4432ccf [2021-06-11T07:29:07.843Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:29:08.146Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T07:29:08.146Z] . [Pipeline] withDockerContainer [2021-06-11T07:29:08.235Z] prd-centos7-docker-4c-2g-494 does not seem to be running inside a container [2021-06-11T07:29:08.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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 ******** ci-base-image-x86_64 cat [2021-06-11T07:29:08.622Z] $ docker top 2d28964b96035a0a82e35fa277e744c0828dcf9c31d41d6fb5cf0b714c33685d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T07:29:09.009Z] + go version [2021-06-11T07:29:09.009Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-11T07:29:09.016Z] $ docker stop --time=1 2d28964b96035a0a82e35fa277e744c0828dcf9c31d41d6fb5cf0b714c33685d [2021-06-11T07:29:10.206Z] $ docker rm -f 2d28964b96035a0a82e35fa277e744c0828dcf9c31d41d6fb5cf0b714c33685d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:29:10.736Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T07:29:10.736Z] . [Pipeline] withDockerContainer [2021-06-11T07:29:10.808Z] prd-centos7-docker-4c-2g-494 does not seem to be running inside a container [2021-06-11T07:29:10.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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 ******** ci-base-image-x86_64 cat [2021-06-11T07:29:11.170Z] $ docker top cda3e741f251a3cbd10c0eeefb53594e957b1f9e0fcc8bf91e64eb6c3e9d1d29 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T07:29:11.574Z] + go mod tidy [Pipeline] sh [2021-06-11T07:29:12.137Z] + make test [2021-06-11T07:29:12.137Z] go mod tidy [2021-06-11T07:29:12.137Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-11T07:29:12.729Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-11T07:29:27.732Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-11T07:29:27.732Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-06-11T07:29:27.732Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-11T07:29:33.101Z] gofmt -l . [2021-06-11T07:29:33.101Z] [ "`gofmt -l .`" = "" ] [2021-06-11T07:29:33.101Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-11T07:29:33.678Z] $ docker stop --time=1 cda3e741f251a3cbd10c0eeefb53594e957b1f9e0fcc8bf91e64eb6c3e9d1d29 [2021-06-11T07:29:35.187Z] $ docker rm -f cda3e741f251a3cbd10c0eeefb53594e957b1f9e0fcc8bf91e64eb6c3e9d1d29 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T07:29:35.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T07:29:35.841Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-11T07:29:36.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T07:29:37.194Z] + ls -al . [2021-06-11T07:29:37.194Z] total 104 [2021-06-11T07:29:37.194Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 11 07:29 . [2021-06-11T07:29:37.194Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 11 07:28 .. [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 11 07:28 Attribution.txt [2021-06-11T07:29:37.194Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 11 07:28 bin [2021-06-11T07:29:37.194Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 07:28 cmd [2021-06-11T07:29:37.194Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 11 07:29 coverage.out [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 11 07:28 Dockerfile [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 11 07:28 Dockerfile.build [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 11 07:28 .dockerignore [2021-06-11T07:29:37.194Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 11 07:28 .git [2021-06-11T07:29:37.194Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 11 07:28 .github [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 11 07:28 .gitignore [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 11 07:28 go.mod [2021-06-11T07:29:37.194Z] -rw-r--r--. 1 jenkins jenkins 21016 Jun 11 07:29 go.sum [2021-06-11T07:29:37.194Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 11 07:28 internal [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 11 07:28 Jenkinsfile [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 07:28 LICENSE [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 11 07:28 Makefile [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 11 07:28 README.md [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 11 Jun 11 07:27 VERSION [2021-06-11T07:29:37.194Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 11 07:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:29:37.498Z] + 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=bdf6c703ff7e4dc9654b1e05af75b33f1f140285 --label arch=amd64 --label version=1.3.2-dev.9 . [2021-06-11T07:29:37.498Z] Sending build context to Docker daemon 368.6kB [2021-06-11T07:29:37.498Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T07:29:37.498Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-11T07:29:37.498Z] ---> 6744c4432ccf [2021-06-11T07:29:37.498Z] Step 3/24 : ARG MAKE='make build' [2021-06-11T07:29:37.498Z] ---> Running in d6b5683fc25e [2021-06-11T07:29:37.498Z] Removing intermediate container d6b5683fc25e [2021-06-11T07:29:37.498Z] ---> 073f52ccf38b [2021-06-11T07:29:37.498Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T07:29:37.498Z] ---> Running in 0763725b3f1c [2021-06-11T07:29:37.764Z] Removing intermediate container 0763725b3f1c [2021-06-11T07:29:37.764Z] ---> 43edd56d9416 [2021-06-11T07:29:37.764Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T07:29:37.764Z] ---> Running in 7f6c3550e29f [2021-06-11T07:29:37.764Z] Removing intermediate container 7f6c3550e29f [2021-06-11T07:29:37.764Z] ---> c5de18ed2462 [2021-06-11T07:29:37.764Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:29:37.764Z] ---> Running in 34fd8decfaf6 [2021-06-11T07:29:38.345Z] Removing intermediate container 34fd8decfaf6 [2021-06-11T07:29:38.346Z] ---> 77167dcfebe8 [2021-06-11T07:29:38.346Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T07:29:38.346Z] ---> Running in 34b75e5d1a93 [2021-06-11T07:29:38.606Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-11T07:29:39.547Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T07:29:39.813Z] OK: 156 MiB in 53 packages [2021-06-11T07:29:40.077Z] Removing intermediate container 34b75e5d1a93 [2021-06-11T07:29:40.077Z] ---> bca446bb1776 [2021-06-11T07:29:40.077Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-11T07:29:40.077Z] ---> Running in dc53aa766154 [2021-06-11T07:29:40.077Z] Removing intermediate container dc53aa766154 [2021-06-11T07:29:40.077Z] ---> 6a5898534a8d [2021-06-11T07:29:40.077Z] Step 9/24 : COPY . . [2021-06-11T07:29:40.339Z] ---> 1875e7e66abe [2021-06-11T07:29:40.339Z] Step 10/24 : RUN go mod tidy [2021-06-11T07:29:40.339Z] ---> Running in 8ec6370eaa4e [2021-06-11T07:29:40.911Z] Removing intermediate container 8ec6370eaa4e [2021-06-11T07:29:40.911Z] ---> 9713b595cda1 [2021-06-11T07:29:40.911Z] Step 11/24 : RUN make update [2021-06-11T07:29:40.911Z] ---> Running in b13554207b71 [2021-06-11T07:29:41.174Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-11T07:29:41.435Z] Removing intermediate container b13554207b71 [2021-06-11T07:29:41.435Z] ---> 3068539cc943 [2021-06-11T07:29:41.435Z] Step 12/24 : RUN ${MAKE} [2021-06-11T07:29:41.435Z] ---> Running in 6da054951d90 [2021-06-11T07:29:41.696Z] go mod tidy [2021-06-11T07:29:41.965Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.9" -o cmd/device-snmp ./cmd [2021-06-11T07:29:54.366Z] Removing intermediate container 6da054951d90 [2021-06-11T07:29:54.366Z] ---> 85ab1bbb30b1 [2021-06-11T07:29:54.366Z] Step 13/24 : FROM alpine:3.12 [2021-06-11T07:29:54.366Z] 3.12: Pulling from library/alpine [2021-06-11T07:29:54.366Z] 339de151aab4: Pulling fs layer [2021-06-11T07:29:54.366Z] 339de151aab4: Verifying Checksum [2021-06-11T07:29:54.366Z] 339de151aab4: Download complete [2021-06-11T07:29:54.366Z] 339de151aab4: Pull complete [2021-06-11T07:29:54.366Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T07:29:54.366Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T07:29:54.366Z] ---> 13621d1b12d4 [2021-06-11T07:29:54.366Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-11T07:29:54.366Z] ---> Running in e9a740dbafdb [2021-06-11T07:29:54.366Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-11T07:29:54.366Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-11T07:29:54.629Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-11T07:29:54.629Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-11T07:29:54.629Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-11T07:29:54.629Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-11T07:29:54.629Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-11T07:29:54.629Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-11T07:29:54.629Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T07:29:54.629Z] OK: 8 MiB in 20 packages [2021-06-11T07:29:54.892Z] Removing intermediate container e9a740dbafdb [2021-06-11T07:29:54.892Z] ---> d37fc4ccd663 [2021-06-11T07:29:54.892Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-11T07:29:55.474Z] ---> c751462e8610 [2021-06-11T07:29:55.474Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-11T07:29:55.474Z] ---> dd4f6a8a8755 [2021-06-11T07:29:55.474Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-11T07:29:55.474Z] ---> 8ccfc40a7026 [2021-06-11T07:29:55.474Z] Step 18/24 : EXPOSE 59993 [2021-06-11T07:29:55.474Z] ---> Running in 373bceb1cea7 [2021-06-11T07:29:55.738Z] Removing intermediate container 373bceb1cea7 [2021-06-11T07:29:55.738Z] ---> c4339ff55795 [2021-06-11T07:29:55.738Z] Step 19/24 : EXPOSE 161 [2021-06-11T07:29:55.738Z] ---> Running in 71ece33f62a8 [2021-06-11T07:29:55.738Z] Removing intermediate container 71ece33f62a8 [2021-06-11T07:29:55.738Z] ---> 7d0917ec579a [2021-06-11T07:29:55.738Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-11T07:29:55.738Z] ---> Running in e3b64e2ff00f [2021-06-11T07:29:55.738Z] Removing intermediate container e3b64e2ff00f [2021-06-11T07:29:55.738Z] ---> 3706eb7878d5 [2021-06-11T07:29:55.738Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-11T07:29:56.000Z] ---> Running in cc1eca9aba78 [2021-06-11T07:29:56.000Z] Removing intermediate container cc1eca9aba78 [2021-06-11T07:29:56.000Z] ---> 3b6bfdea8f22 [2021-06-11T07:29:56.000Z] Step 22/24 : LABEL arch=amd64 [2021-06-11T07:29:56.000Z] ---> Running in 1f092bf6b01e [2021-06-11T07:29:56.000Z] Removing intermediate container 1f092bf6b01e [2021-06-11T07:29:56.000Z] ---> 8abc19ca2681 [2021-06-11T07:29:56.000Z] Step 23/24 : LABEL git_sha=bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [2021-06-11T07:29:56.000Z] ---> Running in 87a1d8a740aa [2021-06-11T07:29:56.263Z] Removing intermediate container 87a1d8a740aa [2021-06-11T07:29:56.263Z] ---> e776ee20327a [2021-06-11T07:29:56.263Z] Step 24/24 : LABEL version=1.3.2-dev.9 [2021-06-11T07:29:56.263Z] ---> Running in 59885c78d315 [2021-06-11T07:29:56.263Z] Removing intermediate container 59885c78d315 [2021-06-11T07:29:56.263Z] ---> d455dc01fce2 [2021-06-11T07:29:56.263Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-11T07:29:56.263Z] Successfully built d455dc01fce2 [2021-06-11T07:29:56.263Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:29:56.472Z] provisioning config files... [2021-06-11T07:29:56.487Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config4342583817808677844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:29:56.805Z] ---> docker-login.sh [2021-06-11T07:29:56.805Z] nexus3.edgexfoundry.org:10001 [2021-06-11T07:29:56.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:29:56.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:29:56.805Z] Configure a credential helper to remove this warning. See [2021-06-11T07:29:56.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:29:56.805Z] [2021-06-11T07:29:56.805Z] Login Succeeded [2021-06-11T07:29:56.805Z] nexus3.edgexfoundry.org:10002 [2021-06-11T07:29:56.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:29:57.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:29:57.073Z] Configure a credential helper to remove this warning. See [2021-06-11T07:29:57.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:29:57.073Z] [2021-06-11T07:29:57.073Z] Login Succeeded [2021-06-11T07:29:57.073Z] nexus3.edgexfoundry.org:10003 [2021-06-11T07:29:57.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:29:57.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:29:57.073Z] Configure a credential helper to remove this warning. See [2021-06-11T07:29:57.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:29:57.073Z] [2021-06-11T07:29:57.073Z] Login Succeeded [2021-06-11T07:29:57.073Z] nexus3.edgexfoundry.org:10004 [2021-06-11T07:29:57.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:29:57.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:29:57.334Z] Configure a credential helper to remove this warning. See [2021-06-11T07:29:57.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:29:57.334Z] [2021-06-11T07:29:57.334Z] Login Succeeded [2021-06-11T07:29:57.334Z] docker.io [2021-06-11T07:29:57.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:29:57.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:29:57.594Z] Configure a credential helper to remove this warning. See [2021-06-11T07:29:57.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:29:57.594Z] [2021-06-11T07:29:57.594Z] Login Succeeded [2021-06-11T07:29:57.594Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T07:29:57.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-11T07:29:57.766Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2021-06-11T07:29:57.766Z] bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [2021-06-11T07:29:57.766Z] latest [2021-06-11T07:29:57.766Z] 1.3.2-dev.9 [2021-06-11T07:29:57.766Z] bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [2021-06-11T07:29:57.766Z] master [2021-06-11T07:29:57.766Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:29:58.133Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:29:58.463Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [2021-06-11T07:29:58.463Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-06-11T07:29:58.463Z] 323332327dca: Preparing [2021-06-11T07:29:58.463Z] b0ee14793f4d: Preparing [2021-06-11T07:29:58.463Z] 5ca3ee67a9a3: Preparing [2021-06-11T07:29:58.463Z] 01bed7f10957: Preparing [2021-06-11T07:29:58.463Z] 32f366d666a5: Preparing [2021-06-11T07:29:58.463Z] 32f366d666a5: Layer already exists [2021-06-11T07:29:58.732Z] b0ee14793f4d: Pushed [2021-06-11T07:29:58.732Z] 323332327dca: Pushed [2021-06-11T07:29:58.732Z] 01bed7f10957: Pushed [2021-06-11T07:30:00.119Z] 5ca3ee67a9a3: Pushed [2021-06-11T07:30:00.119Z] bdf6c703ff7e4dc9654b1e05af75b33f1f140285: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:30:00.432Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:30:00.728Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-06-11T07:30:00.728Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-06-11T07:30:00.728Z] 323332327dca: Preparing [2021-06-11T07:30:00.728Z] b0ee14793f4d: Preparing [2021-06-11T07:30:00.728Z] 5ca3ee67a9a3: Preparing [2021-06-11T07:30:00.728Z] 01bed7f10957: Preparing [2021-06-11T07:30:00.728Z] 32f366d666a5: Preparing [2021-06-11T07:30:00.728Z] 01bed7f10957: Layer already exists [2021-06-11T07:30:00.728Z] 5ca3ee67a9a3: Layer already exists [2021-06-11T07:30:00.728Z] 323332327dca: Layer already exists [2021-06-11T07:30:00.728Z] b0ee14793f4d: Layer already exists [2021-06-11T07:30:00.728Z] 32f366d666a5: Layer already exists [2021-06-11T07:30:00.728Z] latest: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:30:01.036Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:30:01.345Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.9 [2021-06-11T07:30:01.345Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-06-11T07:30:01.345Z] 323332327dca: Preparing [2021-06-11T07:30:01.345Z] b0ee14793f4d: Preparing [2021-06-11T07:30:01.345Z] 5ca3ee67a9a3: Preparing [2021-06-11T07:30:01.345Z] 01bed7f10957: Preparing [2021-06-11T07:30:01.345Z] 32f366d666a5: Preparing [2021-06-11T07:30:01.345Z] 32f366d666a5: Layer already exists [2021-06-11T07:30:01.345Z] 323332327dca: Layer already exists [2021-06-11T07:30:01.345Z] b0ee14793f4d: Layer already exists [2021-06-11T07:30:01.345Z] 5ca3ee67a9a3: Layer already exists [2021-06-11T07:30:01.345Z] 01bed7f10957: Layer already exists [2021-06-11T07:30:01.345Z] 1.3.2-dev.9: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:30:01.679Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:30:02.003Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [2021-06-11T07:30:02.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-06-11T07:30:02.003Z] 323332327dca: Preparing [2021-06-11T07:30:02.003Z] b0ee14793f4d: Preparing [2021-06-11T07:30:02.003Z] 5ca3ee67a9a3: Preparing [2021-06-11T07:30:02.003Z] 01bed7f10957: Preparing [2021-06-11T07:30:02.003Z] 32f366d666a5: Preparing [2021-06-11T07:30:02.003Z] 32f366d666a5: Layer already exists [2021-06-11T07:30:02.003Z] 01bed7f10957: Layer already exists [2021-06-11T07:30:02.003Z] 5ca3ee67a9a3: Layer already exists [2021-06-11T07:30:02.003Z] 323332327dca: Layer already exists [2021-06-11T07:30:02.003Z] b0ee14793f4d: Layer already exists [2021-06-11T07:30:02.404Z] bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:30:02.752Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:master [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:30:03.079Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:master [2021-06-11T07:30:03.079Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-06-11T07:30:03.079Z] 323332327dca: Preparing [2021-06-11T07:30:03.079Z] b0ee14793f4d: Preparing [2021-06-11T07:30:03.079Z] 5ca3ee67a9a3: Preparing [2021-06-11T07:30:03.079Z] 01bed7f10957: Preparing [2021-06-11T07:30:03.079Z] 32f366d666a5: Preparing [2021-06-11T07:30:03.079Z] 5ca3ee67a9a3: Layer already exists [2021-06-11T07:30:03.079Z] 32f366d666a5: Layer already exists [2021-06-11T07:30:03.079Z] 01bed7f10957: Layer already exists [2021-06-11T07:30:03.079Z] 323332327dca: Layer already exists [2021-06-11T07:30:03.079Z] b0ee14793f4d: Layer already exists [2021-06-11T07:30:03.341Z] master: digest: sha256:e96f5bba6561b22c51f4367760ac6f6c9098e7ff21980ddfed1c0b9817dc5442 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-11T07:30:03.402Z] ===================================================== [Pipeline] echo [2021-06-11T07:30:03.426Z] taggedImages: [2021-06-11T07:30:03.426Z] - nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [2021-06-11T07:30:03.426Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-06-11T07:30:03.426Z] - nexus3.edgexfoundry.org:10004/device-snmp:1.3.2-dev.9 [2021-06-11T07:30:03.426Z] - nexus3.edgexfoundry.org:10004/device-snmp:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [2021-06-11T07:30:03.426Z] - 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-06-11T07:30:04.104Z] ---> job-cost.sh [2021-06-11T07:30:04.104Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fHEy [2021-06-11T07:30:12.260Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T07:30:27.203Z] lf-activate-venv(): INFO: Adding /tmp/venv-fHEy/bin to PATH [2021-06-11T07:30:27.203Z] INFO: No Stack... [2021-06-11T07:30:27.203Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T07:30:27.203Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T07:30:27.518Z] + cat /w/workspace/device-snmp-go/33/archives/cost.csv [2021-06-11T07:30:27.518Z] + cut -d, -f6 [Pipeline] lock [2021-06-11T07:30:27.550Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] [2021-06-11T07:30:27.557Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] did not exist. Created. [2021-06-11T07:30:27.557Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-11T07:30:27.882Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-11T07:30:27.969Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T07:30:28.004Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-11T07:30:43.770Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-496 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws [2021-06-11T07:30:43.791Z] Running in /w/workspace/device-snmp-go/33 [Pipeline] { [Pipeline] checkout [2021-06-11T07:30:44.022Z] Selected Git installation does not exist. Using Default [2021-06-11T07:30:44.022Z] The recommended git tool is: NONE [2021-06-11T07:30:49.686Z] using credential edgex-jenkins-ssh [2021-06-11T07:30:49.752Z] Cloning the remote Git repository [2021-06-11T07:30:49.783Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-11T07:30:49.885Z] > git init /w/workspace/device-snmp-go/33 # timeout=10 [2021-06-11T07:30:49.983Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-11T07:30:49.984Z] > git --version # timeout=10 [2021-06-11T07:30:50.005Z] > git --version # 'git version 2.17.1' [2021-06-11T07:30:50.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T07:30:50.130Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T07:30:51.004Z] Avoid second fetch [2021-06-11T07:30:51.005Z] Checking out Revision bdf6c703ff7e4dc9654b1e05af75b33f1f140285 (master) [2021-06-11T07:30:50.946Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-11T07:30:50.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T07:30:51.006Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T07:30:51.021Z] > git checkout -f bdf6c703ff7e4dc9654b1e05af75b33f1f140285 # timeout=10 [2021-06-11T07:30:55.287Z] Commit message: "Merge pull request #108 from lenny-intel/PublishTopicPrefix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T07:30:56.467Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-11T07:30:56.874Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T07:30:57.249Z] + true [2021-06-11T07:30:57.249Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:31:15.649Z] provisioning config files... [2021-06-11T07:31:15.676Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config9014525998575263354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:31:16.054Z] ---> docker-login.sh [2021-06-11T07:31:16.054Z] nexus3.edgexfoundry.org:10001 [2021-06-11T07:31:17.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:31:17.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:31:17.309Z] Configure a credential helper to remove this warning. See [2021-06-11T07:31:17.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:31:17.309Z] [2021-06-11T07:31:17.309Z] Login Succeeded [2021-06-11T07:31:17.309Z] nexus3.edgexfoundry.org:10002 [2021-06-11T07:31:17.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:31:17.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:31:17.856Z] Configure a credential helper to remove this warning. See [2021-06-11T07:31:17.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:31:17.856Z] [2021-06-11T07:31:17.856Z] Login Succeeded [2021-06-11T07:31:17.856Z] nexus3.edgexfoundry.org:10003 [2021-06-11T07:31:18.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:31:18.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:31:18.406Z] Configure a credential helper to remove this warning. See [2021-06-11T07:31:18.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:31:18.406Z] [2021-06-11T07:31:18.406Z] Login Succeeded [2021-06-11T07:31:18.406Z] nexus3.edgexfoundry.org:10004 [2021-06-11T07:31:18.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:31:18.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:31:18.959Z] Configure a credential helper to remove this warning. See [2021-06-11T07:31:18.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:31:18.959Z] [2021-06-11T07:31:18.959Z] Login Succeeded [2021-06-11T07:31:18.959Z] docker.io [2021-06-11T07:31:19.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:31:19.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:31:19.846Z] Configure a credential helper to remove this warning. See [2021-06-11T07:31:19.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:31:19.846Z] [2021-06-11T07:31:19.846Z] Login Succeeded [2021-06-11T07:31:19.846Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T07:31:19.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-11T07:31:20.198Z] ========================================================= [2021-06-11T07:31:20.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-11T07:31:20.198Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:31:20.563Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-11T07:31:20.839Z] Sending build context to Docker daemon 359.4kB [2021-06-11T07:31:20.839Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T07:31:20.839Z] Step 2/10 : FROM ${BASE} [2021-06-11T07:31:21.112Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-11T07:31:21.112Z] 595b0fe564bb: Pulling fs layer [2021-06-11T07:31:21.112Z] 3088b5b3c5c0: Pulling fs layer [2021-06-11T07:31:21.112Z] 5b7225fbf94c: Pulling fs layer [2021-06-11T07:31:21.112Z] ba82ee9f976e: Pulling fs layer [2021-06-11T07:31:21.112Z] 506bd15cee9f: Pulling fs layer [2021-06-11T07:31:21.112Z] 75a0a4a0db45: Pulling fs layer [2021-06-11T07:31:21.112Z] 618dc40b7e24: Pulling fs layer [2021-06-11T07:31:21.112Z] 506bd15cee9f: Waiting [2021-06-11T07:31:21.112Z] 75a0a4a0db45: Waiting [2021-06-11T07:31:21.112Z] 618dc40b7e24: Waiting [2021-06-11T07:31:21.112Z] ba82ee9f976e: Waiting [2021-06-11T07:31:21.112Z] 5b7225fbf94c: Verifying Checksum [2021-06-11T07:31:21.112Z] 5b7225fbf94c: Download complete [2021-06-11T07:31:21.388Z] 3088b5b3c5c0: Verifying Checksum [2021-06-11T07:31:21.388Z] 3088b5b3c5c0: Download complete [2021-06-11T07:31:21.388Z] 506bd15cee9f: Download complete [2021-06-11T07:31:21.388Z] 75a0a4a0db45: Download complete [2021-06-11T07:31:21.388Z] 595b0fe564bb: Verifying Checksum [2021-06-11T07:31:21.388Z] 595b0fe564bb: Download complete [2021-06-11T07:31:22.005Z] 595b0fe564bb: Pull complete [2021-06-11T07:31:22.626Z] 3088b5b3c5c0: Pull complete [2021-06-11T07:31:23.229Z] 5b7225fbf94c: Pull complete [2021-06-11T07:31:23.512Z] 618dc40b7e24: Verifying Checksum [2021-06-11T07:31:23.512Z] 618dc40b7e24: Download complete [2021-06-11T07:31:24.946Z] ba82ee9f976e: Verifying Checksum [2021-06-11T07:31:24.946Z] ba82ee9f976e: Download complete [2021-06-11T07:31:35.102Z] ba82ee9f976e: Pull complete [2021-06-11T07:31:35.102Z] 506bd15cee9f: Pull complete [2021-06-11T07:31:35.698Z] 75a0a4a0db45: Pull complete [2021-06-11T07:31:39.113Z] 618dc40b7e24: Pull complete [2021-06-11T07:31:39.390Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-11T07:31:39.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-11T07:31:39.390Z] ---> a36622ca3599 [2021-06-11T07:31:39.390Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T07:31:41.409Z] ---> Running in 7e4cdb42abfd [2021-06-11T07:31:42.019Z] Removing intermediate container 7e4cdb42abfd [2021-06-11T07:31:42.019Z] ---> 8ce9e2e6c94e [2021-06-11T07:31:42.019Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T07:31:42.019Z] ---> Running in 8d47df34e6d3 [2021-06-11T07:31:42.615Z] Removing intermediate container 8d47df34e6d3 [2021-06-11T07:31:42.615Z] ---> 0bb49e3e4bac [2021-06-11T07:31:42.615Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-11T07:31:42.615Z] ---> Running in dc5215721bfc [2021-06-11T07:31:43.210Z] Removing intermediate container dc5215721bfc [2021-06-11T07:31:43.210Z] ---> 849fef76d996 [2021-06-11T07:31:43.210Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:31:43.210Z] ---> Running in 2847ab40bf0a [2021-06-11T07:31:45.843Z] Removing intermediate container 2847ab40bf0a [2021-06-11T07:31:45.843Z] ---> b664d5e5899b [2021-06-11T07:31:45.843Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T07:31:45.843Z] ---> Running in 3fc5bc4e02fa [2021-06-11T07:31:46.821Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-11T07:31:47.423Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T07:31:48.397Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-11T07:31:48.397Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-11T07:31:48.397Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-11T07:31:48.667Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-11T07:31:48.667Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-11T07:31:48.667Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-11T07:31:48.940Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-11T07:31:49.209Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-11T07:31:49.480Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-11T07:31:49.480Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-11T07:31:49.480Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-11T07:31:49.752Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-11T07:31:49.752Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-11T07:31:49.752Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T07:31:50.025Z] OK: 145 MiB in 53 packages [2021-06-11T07:31:51.465Z] Removing intermediate container 3fc5bc4e02fa [2021-06-11T07:31:51.465Z] ---> 8136a283d1c5 [2021-06-11T07:31:51.465Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-11T07:31:51.465Z] ---> Running in 4b3900b810ef [2021-06-11T07:31:52.060Z] Removing intermediate container 4b3900b810ef [2021-06-11T07:31:52.060Z] ---> 1d96ea398960 [2021-06-11T07:31:52.060Z] Step 9/10 : COPY . . [2021-06-11T07:31:53.056Z] ---> 50b86baff978 [2021-06-11T07:31:53.056Z] Step 10/10 : RUN go mod download [2021-06-11T07:31:53.056Z] ---> Running in bf6515bc8e2c [2021-06-11T07:32:19.873Z] Removing intermediate container bf6515bc8e2c [2021-06-11T07:32:19.873Z] ---> 4dec3eb0f335 [2021-06-11T07:32:19.873Z] Successfully built 4dec3eb0f335 [2021-06-11T07:32:19.873Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:32:20.219Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T07:32:20.219Z] . [Pipeline] withDockerContainer [2021-06-11T07:32:20.679Z] prd-ubuntu18.04-docker-arm64-4c-16g-496 does not seem to be running inside a container [2021-06-11T07:32:20.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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-06-11T07:32:22.463Z] $ docker top c5a30e0509aaaaa26fe96c4f2c435e737f33651de0ec242e1bd9ec1107457371 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T07:32:23.521Z] + go version [2021-06-11T07:32:23.521Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-11T07:32:23.541Z] $ docker stop --time=1 c5a30e0509aaaaa26fe96c4f2c435e737f33651de0ec242e1bd9ec1107457371 [2021-06-11T07:32:25.406Z] $ docker rm -f c5a30e0509aaaaa26fe96c4f2c435e737f33651de0ec242e1bd9ec1107457371 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:32:26.182Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T07:32:26.182Z] . [Pipeline] withDockerContainer [2021-06-11T07:32:26.442Z] prd-ubuntu18.04-docker-arm64-4c-16g-496 does not seem to be running inside a container [2021-06-11T07:32:26.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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-06-11T07:32:28.696Z] $ docker top 16584e0a1ed3177d98a52cd7daffe33a020c239a89d264e99fe197061bf86dd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T07:32:29.609Z] + go mod tidy [Pipeline] sh [2021-06-11T07:32:30.865Z] + make test [2021-06-11T07:32:30.865Z] go mod tidy [2021-06-11T07:32:31.468Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-11T07:32:32.465Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-11T07:33:19.496Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-11T07:33:19.496Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements [2021-06-11T07:33:19.772Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-11T07:33:46.613Z] gofmt -l . [2021-06-11T07:33:46.613Z] [ "`gofmt -l .`" = "" ] [2021-06-11T07:33:46.614Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-11T07:33:46.633Z] $ docker stop --time=1 16584e0a1ed3177d98a52cd7daffe33a020c239a89d264e99fe197061bf86dd7 [2021-06-11T07:33:48.533Z] $ docker rm -f 16584e0a1ed3177d98a52cd7daffe33a020c239a89d264e99fe197061bf86dd7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T07:33:49.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T07:33:49.390Z] Warning: overwriting stash ‘coverage-report’ [2021-06-11T07:33:49.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T07:33:50.423Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T07:33:50.758Z] + ls -al . [2021-06-11T07:33:50.758Z] total 128 [2021-06-11T07:33:50.758Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 11 07:33 . [2021-06-11T07:33:50.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 07:30 .. [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 11 07:30 .dockerignore [2021-06-11T07:33:50.758Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 07:30 .git [2021-06-11T07:33:50.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 07:30 .github [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 11 07:30 .gitignore [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 11 07:30 Attribution.txt [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 11 07:30 Dockerfile [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 11 07:30 Dockerfile.build [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 11 07:30 Jenkinsfile [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 07:30 LICENSE [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 11 07:30 Makefile [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 11 07:30 README.md [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 11 07:27 VERSION [2021-06-11T07:33:50.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 07:30 bin [2021-06-11T07:33:50.758Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 07:30 cmd [2021-06-11T07:33:50.758Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 11 07:33 coverage.out [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 11 07:30 go.mod [2021-06-11T07:33:50.758Z] -rw-r--r-- 1 jenkins jenkins 21016 Jun 11 07:32 go.sum [2021-06-11T07:33:50.758Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 07:30 internal [2021-06-11T07:33:50.758Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 11 07:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:33:51.103Z] + 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=bdf6c703ff7e4dc9654b1e05af75b33f1f140285 --label arch=arm64 --label version=1.3.2-dev.9 . [2021-06-11T07:33:51.378Z] Sending build context to Docker daemon 367.6kB [2021-06-11T07:33:51.378Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T07:33:51.378Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-11T07:33:51.378Z] ---> 4dec3eb0f335 [2021-06-11T07:33:51.378Z] Step 3/24 : ARG MAKE='make build' [2021-06-11T07:33:51.652Z] ---> Running in a6f4f22f08e5 [2021-06-11T07:33:52.249Z] Removing intermediate container a6f4f22f08e5 [2021-06-11T07:33:52.249Z] ---> b16a1d8cd254 [2021-06-11T07:33:52.249Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T07:33:52.249Z] ---> Running in ca5cbe3b8ea7 [2021-06-11T07:33:52.845Z] Removing intermediate container ca5cbe3b8ea7 [2021-06-11T07:33:52.845Z] ---> d3a1a6ecb931 [2021-06-11T07:33:52.845Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T07:33:52.845Z] ---> Running in a5e12fbb42a1 [2021-06-11T07:33:53.443Z] Removing intermediate container a5e12fbb42a1 [2021-06-11T07:33:53.443Z] ---> ab781027a8b1 [2021-06-11T07:33:53.443Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T07:33:53.443Z] ---> Running in 7395e86fb19b [2021-06-11T07:33:56.065Z] Removing intermediate container 7395e86fb19b [2021-06-11T07:33:56.065Z] ---> 7fd731d79842 [2021-06-11T07:33:56.065Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T07:33:56.065Z] ---> Running in 8fed967b8afd [2021-06-11T07:33:57.046Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-11T07:33:58.017Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T07:33:58.614Z] OK: 145 MiB in 53 packages [2021-06-11T07:33:59.592Z] Removing intermediate container 8fed967b8afd [2021-06-11T07:33:59.592Z] ---> a512757b458c [2021-06-11T07:33:59.592Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-11T07:33:59.865Z] ---> Running in f79faffaafc7 [2021-06-11T07:34:00.459Z] Removing intermediate container f79faffaafc7 [2021-06-11T07:34:00.460Z] ---> 1f59f4002fe0 [2021-06-11T07:34:00.460Z] Step 9/24 : COPY . . [2021-06-11T07:34:01.443Z] ---> 5702bc3702ee [2021-06-11T07:34:01.443Z] Step 10/24 : RUN go mod tidy [2021-06-11T07:34:01.443Z] ---> Running in c778d73fb4a0 [2021-06-11T07:34:04.839Z] Removing intermediate container c778d73fb4a0 [2021-06-11T07:34:04.839Z] ---> 140c0484f9b6 [2021-06-11T07:34:04.839Z] Step 11/24 : RUN make update [2021-06-11T07:34:04.839Z] ---> Running in 0b1d1c801c09 [2021-06-11T07:34:05.432Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-11T07:34:06.871Z] Removing intermediate container 0b1d1c801c09 [2021-06-11T07:34:06.871Z] ---> 78f30e732938 [2021-06-11T07:34:06.871Z] Step 12/24 : RUN ${MAKE} [2021-06-11T07:34:06.871Z] ---> Running in bd70044e256a [2021-06-11T07:34:07.849Z] go mod tidy [2021-06-11T07:34:08.453Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.2-dev.9" -o cmd/device-snmp ./cmd [2021-06-11T07:34:47.481Z] Removing intermediate container bd70044e256a [2021-06-11T07:34:47.481Z] ---> df4098b51b96 [2021-06-11T07:34:47.481Z] Step 13/24 : FROM alpine:3.12 [2021-06-11T07:34:47.481Z] 3.12: Pulling from library/alpine [2021-06-11T07:34:47.481Z] d2f70382dc9a: Pulling fs layer [2021-06-11T07:34:47.481Z] d2f70382dc9a: Download complete [2021-06-11T07:34:47.481Z] d2f70382dc9a: Pull complete [2021-06-11T07:34:47.481Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T07:34:47.481Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T07:34:47.481Z] ---> 9852663dfa18 [2021-06-11T07:34:47.481Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-11T07:34:47.481Z] ---> Running in 79c60bf6535f [2021-06-11T07:34:47.481Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-11T07:34:47.481Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-11T07:34:47.481Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-11T07:34:47.481Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-11T07:34:47.481Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-11T07:34:47.481Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-11T07:34:47.481Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-11T07:34:47.481Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-11T07:34:47.481Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T07:34:47.481Z] OK: 8 MiB in 20 packages [2021-06-11T07:34:48.516Z] Removing intermediate container 79c60bf6535f [2021-06-11T07:34:48.516Z] ---> 92b9850d46f4 [2021-06-11T07:34:48.516Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-11T07:34:49.501Z] ---> e343fc54ca58 [2021-06-11T07:34:49.501Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-11T07:34:50.511Z] ---> f09d7a8cff7f [2021-06-11T07:34:50.512Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-11T07:34:51.114Z] ---> 8aa320d0d866 [2021-06-11T07:34:51.114Z] Step 18/24 : EXPOSE 59993 [2021-06-11T07:34:51.385Z] ---> Running in badb2d6faae3 [2021-06-11T07:34:51.981Z] Removing intermediate container badb2d6faae3 [2021-06-11T07:34:51.981Z] ---> e3443930f2d0 [2021-06-11T07:34:51.981Z] Step 19/24 : EXPOSE 161 [2021-06-11T07:34:51.981Z] ---> Running in 1d5ae535818c [2021-06-11T07:34:52.578Z] Removing intermediate container 1d5ae535818c [2021-06-11T07:34:52.578Z] ---> b2ed805d7906 [2021-06-11T07:34:52.578Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-11T07:34:52.578Z] ---> Running in e48137637742 [2021-06-11T07:34:53.178Z] Removing intermediate container e48137637742 [2021-06-11T07:34:53.178Z] ---> 75fc9b905a98 [2021-06-11T07:34:53.178Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-11T07:34:53.178Z] ---> Running in 06df792e45b2 [2021-06-11T07:34:53.771Z] Removing intermediate container 06df792e45b2 [2021-06-11T07:34:53.771Z] ---> c3c0c56bff98 [2021-06-11T07:34:53.771Z] Step 22/24 : LABEL arch=arm64 [2021-06-11T07:34:54.058Z] ---> Running in 15c1919acf7d [2021-06-11T07:34:54.330Z] Removing intermediate container 15c1919acf7d [2021-06-11T07:34:54.330Z] ---> 755ff1904376 [2021-06-11T07:34:54.330Z] Step 23/24 : LABEL git_sha=bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [2021-06-11T07:34:54.602Z] ---> Running in cdbea99f02af [2021-06-11T07:34:55.195Z] Removing intermediate container cdbea99f02af [2021-06-11T07:34:55.195Z] ---> 64c42a2b61ca [2021-06-11T07:34:55.195Z] Step 24/24 : LABEL version=1.3.2-dev.9 [2021-06-11T07:34:55.195Z] ---> Running in b8636bf0ee7c [2021-06-11T07:34:55.467Z] Removing intermediate container b8636bf0ee7c [2021-06-11T07:34:55.467Z] ---> d42d0169ae53 [2021-06-11T07:34:55.467Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-11T07:34:55.738Z] Successfully built d42d0169ae53 [2021-06-11T07:34:55.738Z] 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-06-11T07:34:55.989Z] provisioning config files... [2021-06-11T07:34:56.012Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config2782642127635336904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:34:56.386Z] ---> docker-login.sh [2021-06-11T07:34:56.386Z] nexus3.edgexfoundry.org:10001 [2021-06-11T07:34:56.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:34:56.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:34:56.659Z] Configure a credential helper to remove this warning. See [2021-06-11T07:34:56.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:34:56.659Z] [2021-06-11T07:34:56.659Z] Login Succeeded [2021-06-11T07:34:56.659Z] nexus3.edgexfoundry.org:10002 [2021-06-11T07:34:57.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:34:57.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:34:57.254Z] Configure a credential helper to remove this warning. See [2021-06-11T07:34:57.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:34:57.254Z] [2021-06-11T07:34:57.254Z] Login Succeeded [2021-06-11T07:34:57.254Z] nexus3.edgexfoundry.org:10003 [2021-06-11T07:34:57.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:34:57.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:34:57.847Z] Configure a credential helper to remove this warning. See [2021-06-11T07:34:57.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:34:57.848Z] [2021-06-11T07:34:57.848Z] Login Succeeded [2021-06-11T07:34:57.848Z] nexus3.edgexfoundry.org:10004 [2021-06-11T07:34:58.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:34:58.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:34:58.397Z] Configure a credential helper to remove this warning. See [2021-06-11T07:34:58.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:34:58.397Z] [2021-06-11T07:34:58.397Z] Login Succeeded [2021-06-11T07:34:58.397Z] docker.io [2021-06-11T07:34:58.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T07:34:59.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T07:34:59.264Z] Configure a credential helper to remove this warning. See [2021-06-11T07:34:59.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T07:34:59.264Z] [2021-06-11T07:34:59.264Z] Login Succeeded [2021-06-11T07:34:59.264Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T07:34:59.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-11T07:34:59.360Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-06-11T07:34:59.360Z] bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [2021-06-11T07:34:59.360Z] latest [2021-06-11T07:34:59.360Z] 1.3.2-dev.9 [2021-06-11T07:34:59.360Z] bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [2021-06-11T07:34:59.360Z] master [2021-06-11T07:34:59.360Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:34:59.748Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:35:00.089Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [2021-06-11T07:35:00.089Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-06-11T07:35:00.089Z] cf743cec8b0b: Preparing [2021-06-11T07:35:00.089Z] eeca33b1068f: Preparing [2021-06-11T07:35:00.089Z] 3743cdf0919f: Preparing [2021-06-11T07:35:00.089Z] 3000f555b257: Preparing [2021-06-11T07:35:00.089Z] 3fbe34a1663b: Preparing [2021-06-11T07:35:00.363Z] 3fbe34a1663b: Layer already exists [2021-06-11T07:35:00.363Z] eeca33b1068f: Pushed [2021-06-11T07:35:00.363Z] cf743cec8b0b: Pushed [2021-06-11T07:35:00.955Z] 3000f555b257: Pushed [2021-06-11T07:35:03.570Z] 3743cdf0919f: Pushed [2021-06-11T07:35:03.570Z] bdf6c703ff7e4dc9654b1e05af75b33f1f140285: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:35:03.924Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:35:04.273Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-06-11T07:35:04.274Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-06-11T07:35:04.274Z] cf743cec8b0b: Preparing [2021-06-11T07:35:04.274Z] eeca33b1068f: Preparing [2021-06-11T07:35:04.274Z] 3743cdf0919f: Preparing [2021-06-11T07:35:04.274Z] 3000f555b257: Preparing [2021-06-11T07:35:04.274Z] 3fbe34a1663b: Preparing [2021-06-11T07:35:04.274Z] 3743cdf0919f: Layer already exists [2021-06-11T07:35:04.274Z] eeca33b1068f: Layer already exists [2021-06-11T07:35:04.274Z] cf743cec8b0b: Layer already exists [2021-06-11T07:35:04.274Z] 3fbe34a1663b: Layer already exists [2021-06-11T07:35:04.274Z] 3000f555b257: Layer already exists [2021-06-11T07:35:04.549Z] latest: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:35:04.899Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:35:05.238Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.9 [2021-06-11T07:35:05.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-06-11T07:35:05.238Z] cf743cec8b0b: Preparing [2021-06-11T07:35:05.238Z] eeca33b1068f: Preparing [2021-06-11T07:35:05.238Z] 3743cdf0919f: Preparing [2021-06-11T07:35:05.238Z] 3000f555b257: Preparing [2021-06-11T07:35:05.238Z] 3fbe34a1663b: Preparing [2021-06-11T07:35:05.510Z] eeca33b1068f: Layer already exists [2021-06-11T07:35:05.510Z] 3743cdf0919f: Layer already exists [2021-06-11T07:35:05.510Z] 3fbe34a1663b: Layer already exists [2021-06-11T07:35:05.510Z] cf743cec8b0b: Layer already exists [2021-06-11T07:35:05.510Z] 3000f555b257: Layer already exists [2021-06-11T07:35:05.510Z] 1.3.2-dev.9: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:35:05.857Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:35:06.199Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [2021-06-11T07:35:06.200Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-06-11T07:35:06.200Z] cf743cec8b0b: Preparing [2021-06-11T07:35:06.200Z] eeca33b1068f: Preparing [2021-06-11T07:35:06.200Z] 3743cdf0919f: Preparing [2021-06-11T07:35:06.200Z] 3000f555b257: Preparing [2021-06-11T07:35:06.200Z] 3fbe34a1663b: Preparing [2021-06-11T07:35:06.472Z] 3743cdf0919f: Layer already exists [2021-06-11T07:35:06.472Z] 3000f555b257: Layer already exists [2021-06-11T07:35:06.472Z] 3fbe34a1663b: Layer already exists [2021-06-11T07:35:06.472Z] eeca33b1068f: Layer already exists [2021-06-11T07:35:06.472Z] cf743cec8b0b: Layer already exists [2021-06-11T07:35:06.472Z] bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:35:06.824Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:35:07.164Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [2021-06-11T07:35:07.165Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-06-11T07:35:07.165Z] cf743cec8b0b: Preparing [2021-06-11T07:35:07.165Z] eeca33b1068f: Preparing [2021-06-11T07:35:07.165Z] 3743cdf0919f: Preparing [2021-06-11T07:35:07.165Z] 3000f555b257: Preparing [2021-06-11T07:35:07.165Z] 3fbe34a1663b: Preparing [2021-06-11T07:35:07.165Z] cf743cec8b0b: Layer already exists [2021-06-11T07:35:07.165Z] 3000f555b257: Layer already exists [2021-06-11T07:35:07.165Z] 3fbe34a1663b: Layer already exists [2021-06-11T07:35:07.437Z] eeca33b1068f: Layer already exists [2021-06-11T07:35:07.437Z] 3743cdf0919f: Layer already exists [2021-06-11T07:35:07.437Z] master: digest: sha256:b17dbb351c253c8e4de7d73a8f2eb736564eefeedc19f15bf8e3346b8064417b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-11T07:35:07.528Z] ===================================================== [Pipeline] echo [2021-06-11T07:35:07.548Z] taggedImages: [2021-06-11T07:35:07.548Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [2021-06-11T07:35:07.548Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-06-11T07:35:07.548Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1.3.2-dev.9 [2021-06-11T07:35:07.548Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:bdf6c703ff7e4dc9654b1e05af75b33f1f140285-1.3.2-dev.9 [2021-06-11T07:35:07.548Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:35:07.997Z] ---> job-cost.sh [2021-06-11T07:35:07.998Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fIhW [2021-06-11T07:35:46.982Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T07:37:08.726Z] lf-activate-venv(): INFO: Adding /tmp/venv-fIhW/bin to PATH [2021-06-11T07:37:08.726Z] INFO: No Stack... [2021-06-11T07:37:08.726Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-11T07:37:09.320Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T07:37:09.658Z] + cat /w/workspace/device-snmp-go/33/archives/cost.csv [2021-06-11T07:37:09.658Z] + cut -d, -f6 [Pipeline] lock [2021-06-11T07:37:09.719Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] [2021-06-11T07:37:09.729Z] Resource [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] did not exist. Created. [2021-06-11T07:37:09.729Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-11T07:37:10.094Z] /w/workspace/device-snmp-go/33@tmp/durable-1132d857/script.sh: 1: /w/workspace/device-snmp-go/33@tmp/durable-1132d857/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-11T07:37:10.442Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-11T07:37:10.463Z] Warning: overwriting stash ‘stack-cost’ [2021-06-11T07:37:10.613Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T07:37:10.628Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-master-33-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-11T07:37:11.205Z] provisioning config files... [2021-06-11T07:37:11.214Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config1146470206021113199tmp [Pipeline] { [Pipeline] sh [2021-06-11T07:37:11.528Z] + set +x [2021-06-11T07:37:11.529Z] + curl -s https://codecov.io/bash [2021-06-11T07:37:11.529Z] + bash -s -- [2021-06-11T07:37:11.529Z] [2021-06-11T07:37:11.529Z] _____ _ [2021-06-11T07:37:11.529Z] / ____| | | [2021-06-11T07:37:11.529Z] | | ___ __| | ___ ___ _____ __ [2021-06-11T07:37:11.529Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-11T07:37:11.529Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-11T07:37:11.529Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-11T07:37:11.529Z] Bash-1.0.3 [2021-06-11T07:37:11.529Z] [2021-06-11T07:37:11.529Z] [2021-06-11T07:37:11.529Z] ==> git version 2.24.4 found [2021-06-11T07:37:11.529Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-11T07:37:11.529Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-11T07:37:11.529Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-11T07:37:11.529Z] ==> Jenkins CI detected. [2021-06-11T07:37:11.529Z] project root: . [2021-06-11T07:37:11.529Z] --> token set from env [2021-06-11T07:37:11.529Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-11T07:37:11.529Z] ==> Running gcov in . (disable via -X gcov) [2021-06-11T07:37:11.529Z] ==> Python coveragepy not found [2021-06-11T07:37:11.529Z] ==> Searching for coverage reports in: [2021-06-11T07:37:11.529Z] + . [2021-06-11T07:37:11.529Z] -> Found 1 reports [2021-06-11T07:37:11.529Z] ==> Detecting git/mercurial file structure [2021-06-11T07:37:11.529Z] ==> Reading reports [2021-06-11T07:37:11.529Z] + ./coverage.out bytes=7631 [2021-06-11T07:37:11.529Z] ==> Appending adjustments [2021-06-11T07:37:11.529Z] https://docs.codecov.io/docs/fixing-reports [2021-06-11T07:37:11.792Z] + Found adjustments [2021-06-11T07:37:11.792Z] ==> Gzipping contents [2021-06-11T07:37:11.792Z] 4.0K /tmp/codecov.W6RnAX.gz [2021-06-11T07:37:11.792Z] ==> Uploading reports [2021-06-11T07:37:11.792Z] url: https://codecov.io [2021-06-11T07:37:11.792Z] query: branch=master&commit=bdf6c703ff7e4dc9654b1e05af75b33f1f140285&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-11T07:37:11.792Z] -> Pinging Codecov [2021-06-11T07:37:11.792Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=bdf6c703ff7e4dc9654b1e05af75b33f1f140285&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-11T07:37:12.052Z] -> Uploading to [2021-06-11T07:37:12.053Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-11/6C56EA5C29638FB4528AC87E60AF5AE0/bdf6c703ff7e4dc9654b1e05af75b33f1f140285/a1946d78-9cba-4d19-aace-02d64c3ad3c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210611T073711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1941014b09fcb7ba8acaab6f6c741618897340bfadb4ae5911e1f41208b314f8 [2021-06-11T07:37:12.053Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-11T07:37:12.053Z] Dload Upload Total Spent Left Speed [2021-06-11T07:37:12.626Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1383 0 0 100 1383 0 4510 --:--:-- --:--:-- --:--:-- 4519 [2021-06-11T07:37:12.626Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] } [2021-06-11T07:37:12.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-11T07:37:13.456Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-11T07:37:13.475Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:37:13.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-11T07:37:13.785Z] [2021-06-11T07:37:13.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:37:14.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-11T07:37:14.118Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-11T07:37:14.118Z] 188c0c94c7c5: Pulling fs layer [2021-06-11T07:37:14.118Z] 0ef7d3d256c8: Pulling fs layer [2021-06-11T07:37:14.118Z] de9db76c5a1d: Pulling fs layer [2021-06-11T07:37:14.118Z] 0eba1c9be4d2: Pulling fs layer [2021-06-11T07:37:14.118Z] 0d57e429df01: Pulling fs layer [2021-06-11T07:37:14.118Z] 4e4be7b47b0d: Pulling fs layer [2021-06-11T07:37:14.118Z] e1f770b5df2f: Pulling fs layer [2021-06-11T07:37:14.118Z] 85a0685a4137: Pulling fs layer [2021-06-11T07:37:14.118Z] 4e4be7b47b0d: Waiting [2021-06-11T07:37:14.118Z] e1f770b5df2f: Waiting [2021-06-11T07:37:14.118Z] 85a0685a4137: Waiting [2021-06-11T07:37:14.118Z] 0eba1c9be4d2: Waiting [2021-06-11T07:37:14.118Z] 0d57e429df01: Waiting [2021-06-11T07:37:14.118Z] de9db76c5a1d: Verifying Checksum [2021-06-11T07:37:14.118Z] de9db76c5a1d: Download complete [2021-06-11T07:37:14.118Z] 0ef7d3d256c8: Verifying Checksum [2021-06-11T07:37:14.118Z] 0ef7d3d256c8: Download complete [2021-06-11T07:37:14.118Z] 0d57e429df01: Verifying Checksum [2021-06-11T07:37:14.118Z] 0d57e429df01: Download complete [2021-06-11T07:37:14.118Z] 188c0c94c7c5: Verifying Checksum [2021-06-11T07:37:14.118Z] 4e4be7b47b0d: Verifying Checksum [2021-06-11T07:37:14.118Z] 4e4be7b47b0d: Download complete [2021-06-11T07:37:14.387Z] 188c0c94c7c5: Pull complete [2021-06-11T07:37:14.662Z] 0ef7d3d256c8: Pull complete [2021-06-11T07:37:14.662Z] de9db76c5a1d: Pull complete [2021-06-11T07:37:16.053Z] e1f770b5df2f: Verifying Checksum [2021-06-11T07:37:16.054Z] e1f770b5df2f: Download complete [2021-06-11T07:37:17.445Z] 0eba1c9be4d2: Verifying Checksum [2021-06-11T07:37:17.445Z] 0eba1c9be4d2: Download complete [2021-06-11T07:37:17.711Z] 85a0685a4137: Verifying Checksum [2021-06-11T07:37:17.711Z] 85a0685a4137: Download complete [2021-06-11T07:37:20.283Z] 0eba1c9be4d2: Pull complete [2021-06-11T07:37:20.547Z] 0d57e429df01: Pull complete [2021-06-11T07:37:20.547Z] 4e4be7b47b0d: Pull complete [2021-06-11T07:37:21.121Z] e1f770b5df2f: Pull complete [2021-06-11T07:37:24.444Z] 85a0685a4137: Pull complete [2021-06-11T07:37:24.444Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-11T07:37:24.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-11T07:37:24.444Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-11T07:37:24.517Z] prd-centos7-docker-4c-2g-491 does not seem to be running inside a container [2021-06-11T07:37:24.558Z] $ 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-06-11T07:37:28.063Z] $ docker top 1e5ddee4a248f2b97e547c7af35104fc64e8e992128cb90624a778e9f93cb1dc -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-11T07:37:28.167Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-11T07:37:28.462Z] + set -o pipefail [2021-06-11T07:37:28.462Z] + snyk monitor '--org=edgex-jenkins' [2021-06-11T07:37:46.595Z] [2021-06-11T07:37:46.595Z] Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... [2021-06-11T07:37:46.595Z] [2021-06-11T07:37:46.595Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/f448477c-c05b-4ddf-96b2-06c872d6fef3 [2021-06-11T07:37:46.595Z] [2021-06-11T07:37:46.595Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-11T07:37:46.595Z] [2021-06-11T07:37:46.595Z] [Pipeline] } [2021-06-11T07:37:46.605Z] $ docker stop --time=1 1e5ddee4a248f2b97e547c7af35104fc64e8e992128cb90624a778e9f93cb1dc [2021-06-11T07:37:48.424Z] $ docker rm -f 1e5ddee4a248f2b97e547c7af35104fc64e8e992128cb90624a778e9f93cb1dc [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-06-11T07:37:49.527Z] + git log --format=format:%s -1 bdf6c703ff7e4dc9654b1e05af75b33f1f140285 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:37:49.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T07:37:49.852Z] . [Pipeline] withDockerContainer [2021-06-11T07:37:49.924Z] prd-centos7-docker-4c-2g-491 does not seem to be running inside a container [2021-06-11T07:37:49.966Z] $ 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-06-11T07:37:50.317Z] $ docker top 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-11T07:37:50.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T07:37:50.486Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T07:37:50.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T07:37:50.594Z] $ docker exec 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab ssh-agent [2021-06-11T07:37:50.697Z] SSH_AUTH_SOCK=/tmp/ssh-w4JcYfsd0NVS/agent.13 [2021-06-11T07:37:50.697Z] SSH_AGENT_PID=20 [2021-06-11T07:37:50.702Z] Running ssh-add (command line suppressed) [2021-06-11T07:37:50.792Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4563332186327100859.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_4563332186327100859.key) [2021-06-11T07:37:50.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T07:37:51.111Z] + git semver tag [2021-06-11T07:37:51.111Z] # -> Open(): unable to determine branch for HEAD [2021-06-11T07:37:51.111Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-06-11T07:37:51.111Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-06-11T07:37:51.111Z] # $SEMVER_REMOTE_NAME = origin [2021-06-11T07:37:51.111Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-11T07:37:51.111Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-11T07:37:51.111Z] # $SEMVER_BRANCH = master [2021-06-11T07:37:51.111Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-06-11T07:37:51.111Z] # bdf6c703ff7e4dc9654b1e05af75b33f1f140285 HEAD [2021-06-11T07:37:51.111Z] # -> Force: false [2021-06-11T07:37:51.111Z] # f2e7cff570b1e0d9e1e1319e7b02f3aaecf9f6f0 refs/tags/v1.3.2-dev.9 [Pipeline] } [2021-06-11T07:37:51.119Z] $ docker exec --env ******** --env ******** 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab ssh-agent -k [2021-06-11T07:37:51.214Z] unset SSH_AUTH_SOCK; [2021-06-11T07:37:51.214Z] unset SSH_AGENT_PID; [2021-06-11T07:37:51.214Z] echo Agent pid 20 killed; [2021-06-11T07:37:51.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-11T07:37:51.571Z] + git semver [Pipeline] } [2021-06-11T07:37:51.590Z] $ docker stop --time=1 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab [2021-06-11T07:37:52.784Z] $ docker rm -f 908ed613eb3ccee2e227646b7e04b605f093f19495476968d9309a648e743cab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:37:53.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-11T07:37:53.291Z] [2021-06-11T07:37:53.291Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:37:53.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-11T07:37:53.628Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-11T07:37:53.628Z] ab5ef0e58194: Pulling fs layer [2021-06-11T07:37:53.628Z] 9712f1f96733: Pulling fs layer [2021-06-11T07:37:53.628Z] 63f879dbbcfc: Pulling fs layer [2021-06-11T07:37:53.628Z] 0d9ebad4ef96: Pulling fs layer [2021-06-11T07:37:53.628Z] e9a5061849ea: Pulling fs layer [2021-06-11T07:37:53.628Z] d747dcd14b5f: Pulling fs layer [2021-06-11T07:37:53.628Z] 2de7ff778b66: Pulling fs layer [2021-06-11T07:37:53.628Z] e9a5061849ea: Waiting [2021-06-11T07:37:53.628Z] d747dcd14b5f: Waiting [2021-06-11T07:37:53.628Z] 2de7ff778b66: Waiting [2021-06-11T07:37:53.628Z] 0d9ebad4ef96: Waiting [2021-06-11T07:37:53.628Z] 9712f1f96733: Verifying Checksum [2021-06-11T07:37:53.628Z] 9712f1f96733: Download complete [2021-06-11T07:37:55.013Z] 63f879dbbcfc: Verifying Checksum [2021-06-11T07:37:55.013Z] 63f879dbbcfc: Download complete [2021-06-11T07:37:55.585Z] e9a5061849ea: Verifying Checksum [2021-06-11T07:37:55.585Z] e9a5061849ea: Download complete [2021-06-11T07:37:55.585Z] d747dcd14b5f: Verifying Checksum [2021-06-11T07:37:55.585Z] d747dcd14b5f: Download complete [2021-06-11T07:37:55.585Z] 0d9ebad4ef96: Verifying Checksum [2021-06-11T07:37:55.585Z] 0d9ebad4ef96: Download complete [2021-06-11T07:37:55.847Z] ab5ef0e58194: Verifying Checksum [2021-06-11T07:37:55.847Z] ab5ef0e58194: Download complete [2021-06-11T07:37:55.847Z] 2de7ff778b66: Verifying Checksum [2021-06-11T07:37:55.847Z] 2de7ff778b66: Download complete [2021-06-11T07:37:58.434Z] ab5ef0e58194: Pull complete [2021-06-11T07:37:58.434Z] 9712f1f96733: Pull complete [2021-06-11T07:37:59.006Z] 63f879dbbcfc: Pull complete [2021-06-11T07:38:02.356Z] 0d9ebad4ef96: Pull complete [2021-06-11T07:38:02.356Z] e9a5061849ea: Pull complete [2021-06-11T07:38:02.356Z] d747dcd14b5f: Pull complete [2021-06-11T07:38:03.304Z] 2de7ff778b66: Pull complete [2021-06-11T07:38:03.304Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-11T07:38:03.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-11T07:38:03.304Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-11T07:38:03.385Z] prd-centos7-docker-4c-2g-491 does not seem to be running inside a container [2021-06-11T07:38:03.424Z] $ 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-06-11T07:38:09.318Z] $ docker top 1cbb86472c7e841faa384228eeaac0fb2ab2b369314e34f17c5c756312d1fb94 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:38:09.429Z] provisioning config files... [2021-06-11T07:38:09.441Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2737583299182854442tmp [2021-06-11T07:38:09.455Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config189216657191133444tmp [2021-06-11T07:38:09.467Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config875335247506459096tmp [Pipeline] { [Pipeline] echo [2021-06-11T07:38:09.490Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:38:09.786Z] ---> sigul-configuration.sh [2021-06-11T07:38:09.786Z] gpg: directory `/root/.gnupg' created [2021-06-11T07:38:09.786Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-11T07:38:09.786Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-11T07:38:09.786Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-11T07:38:09.786Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-11T07:38:09.786Z] gpg: CAST5 encrypted data [2021-06-11T07:38:09.786Z] gpg: encrypted with 1 passphrase [2021-06-11T07:38:09.786Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-11T07:38:10.079Z] + mkdir /home/jenkins [2021-06-11T07:38:10.079Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-11T07:38:10.377Z] + 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-06-11T07:38:10.389Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:38:10.709Z] ---> sigul-install.sh [2021-06-11T07:38:16.017Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-11T07:38:16.314Z] + git tag --list [2021-06-11T07:38:16.314Z] 1.0.0 [2021-06-11T07:38:16.314Z] v0.0.0 [2021-06-11T07:38:16.314Z] v1.1.0 [2021-06-11T07:38:16.314Z] v1.1.1 [2021-06-11T07:38:16.314Z] v1.2.2 [2021-06-11T07:38:16.314Z] v1.3.0 [2021-06-11T07:38:16.314Z] v1.3.1 [2021-06-11T07:38:16.314Z] v1.3.1-dev.1 [2021-06-11T07:38:16.314Z] v1.3.1-dev.2 [2021-06-11T07:38:16.314Z] v1.3.1-dev.3 [2021-06-11T07:38:16.314Z] v1.3.1-dev.4 [2021-06-11T07:38:16.314Z] v1.3.2-dev.1 [2021-06-11T07:38:16.314Z] v1.3.2-dev.2 [2021-06-11T07:38:16.314Z] v1.3.2-dev.3 [2021-06-11T07:38:16.314Z] v1.3.2-dev.4 [2021-06-11T07:38:16.314Z] v1.3.2-dev.5 [2021-06-11T07:38:16.314Z] v1.3.2-dev.6 [2021-06-11T07:38:16.314Z] v1.3.2-dev.7 [2021-06-11T07:38:16.314Z] v1.3.2-dev.8 [2021-06-11T07:38:16.314Z] v1.3.2-dev.9 [Pipeline] sh [2021-06-11T07:38:16.611Z] + lftools sign git-tag v1.3.2-dev.9 [2021-06-11T07:38:17.188Z] Signing Git tag with Sigul... [2021-06-11T07:38:17.188Z] Signing v1.3.2-dev.9 [Pipeline] echo [2021-06-11T07:38:17.774Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:38:18.068Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-11T07:38:18.076Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-11T07:38:18.112Z] $ docker stop --time=1 1cbb86472c7e841faa384228eeaac0fb2ab2b369314e34f17c5c756312d1fb94 [2021-06-11T07:38:19.743Z] $ docker rm -f 1cbb86472c7e841faa384228eeaac0fb2ab2b369314e34f17c5c756312d1fb94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:38:20.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T07:38:20.519Z] . [Pipeline] withDockerContainer [2021-06-11T07:38:20.662Z] prd-centos7-docker-4c-2g-491 does not seem to be running inside a container [2021-06-11T07:38:20.704Z] $ 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-06-11T07:38:21.074Z] $ docker top f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-11T07:38:21.222Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T07:38:21.222Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T07:38:21.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T07:38:21.334Z] $ docker exec f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 ssh-agent [2021-06-11T07:38:21.460Z] SSH_AUTH_SOCK=/tmp/ssh-ekWsEEitcCH0/agent.14 [2021-06-11T07:38:21.460Z] SSH_AGENT_PID=21 [2021-06-11T07:38:21.466Z] Running ssh-add (command line suppressed) [2021-06-11T07:38:21.556Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7939251361423135023.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7939251361423135023.key) [2021-06-11T07:38:21.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T07:38:21.890Z] + git semver bump pre [2021-06-11T07:38:21.890Z] # -> Open(): unable to determine branch for HEAD [2021-06-11T07:38:21.890Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-06-11T07:38:21.890Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-06-11T07:38:21.890Z] # $SEMVER_REMOTE_NAME = origin [2021-06-11T07:38:21.890Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-11T07:38:21.890Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-11T07:38:21.890Z] # $SEMVER_BRANCH = master [2021-06-11T07:38:21.890Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [2021-06-11T07:38:21.890Z] 1.3.2-dev.10 [Pipeline] } [2021-06-11T07:38:21.898Z] $ docker exec --env ******** --env ******** f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 ssh-agent -k [2021-06-11T07:38:21.989Z] unset SSH_AUTH_SOCK; [2021-06-11T07:38:21.989Z] unset SSH_AGENT_PID; [2021-06-11T07:38:21.990Z] echo Agent pid 21 killed; [2021-06-11T07:38:22.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-11T07:38:22.445Z] + git semver [Pipeline] } [2021-06-11T07:38:22.456Z] $ docker stop --time=1 f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 [2021-06-11T07:38:23.662Z] $ docker rm -f f4c92e672f1d9659d3ff0277b6cbcd2a925c5e8ce3f4daf3ff0aa46dda4a2088 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:38:24.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T07:38:24.071Z] . [Pipeline] withDockerContainer [2021-06-11T07:38:24.147Z] prd-centos7-docker-4c-2g-491 does not seem to be running inside a container [2021-06-11T07:38:24.208Z] $ 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-06-11T07:38:24.562Z] $ docker top c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-11T07:38:24.736Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T07:38:24.736Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T07:38:24.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T07:38:24.848Z] $ docker exec c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 ssh-agent [2021-06-11T07:38:24.998Z] SSH_AUTH_SOCK=/tmp/ssh-Wd4jN0ONYf0V/agent.13 [2021-06-11T07:38:24.998Z] SSH_AGENT_PID=20 [2021-06-11T07:38:25.004Z] Running ssh-add (command line suppressed) [2021-06-11T07:38:25.099Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5878654281481041540.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_5878654281481041540.key) [2021-06-11T07:38:25.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T07:38:25.426Z] + git semver push [2021-06-11T07:38:25.426Z] # -> Open(): unable to determine branch for HEAD [2021-06-11T07:38:25.426Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git [2021-06-11T07:38:25.426Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master [2021-06-11T07:38:25.426Z] # $SEMVER_REMOTE_NAME = origin [2021-06-11T07:38:25.426Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-11T07:38:25.426Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-11T07:38:25.426Z] # $SEMVER_BRANCH = master [2021-06-11T07:38:25.426Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } [2021-06-11T07:38:30.727Z] $ docker exec --env ******** --env ******** c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 ssh-agent -k [2021-06-11T07:38:30.830Z] unset SSH_AUTH_SOCK; [2021-06-11T07:38:30.830Z] unset SSH_AGENT_PID; [2021-06-11T07:38:30.830Z] echo Agent pid 20 killed; [2021-06-11T07:38:30.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-11T07:38:31.196Z] + git semver [Pipeline] } [2021-06-11T07:38:31.208Z] $ docker stop --time=1 c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 [2021-06-11T07:38:32.399Z] $ docker rm -f c697832c9e663f9f9021f54fbb6839b39c375a7474a243ae3d7852f1c8be91a3 [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-06-11T07:38:33.665Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:38:34.242Z] ---> package-listing.sh [2021-06-11T07:38:34.242Z] ++ facter osfamily [2021-06-11T07:38:34.242Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-11T07:38:34.504Z] + OS_FAMILY=redhat [2021-06-11T07:38:34.504Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_master [2021-06-11T07:38:34.504Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-11T07:38:34.504Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-11T07:38:34.504Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-11T07:38:34.504Z] + PACKAGES=/tmp/packages_start.txt [2021-06-11T07:38:34.504Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-06-11T07:38:34.504Z] + PACKAGES=/tmp/packages_end.txt [2021-06-11T07:38:34.504Z] + case "${OS_FAMILY}" in [2021-06-11T07:38:34.504Z] + sort [2021-06-11T07:38:34.504Z] + rpm -qa [2021-06-11T07:38:35.078Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-11T07:38:35.078Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-11T07:38:35.078Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-11T07:38:35.078Z] + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' [2021-06-11T07:38:35.078Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ [2021-06-11T07:38:35.078Z] + 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-06-11T07:38:35.092Z] 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-06-11T07:38:35.384Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:38:35.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T07:38:35.948Z] [2021-06-11T07:38:35.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-11T07:38:36.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T07:38:36.262Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-11T07:38:36.262Z] df20fa9351a1: Pulling fs layer [2021-06-11T07:38:36.262Z] 36b3adc4ff6f: Pulling fs layer [2021-06-11T07:38:36.262Z] 8ad3a11d3b57: Pulling fs layer [2021-06-11T07:38:36.262Z] 46f8f816bc3b: Pulling fs layer [2021-06-11T07:38:36.262Z] 93b61091891f: Pulling fs layer [2021-06-11T07:38:36.262Z] 93b9cdb0e59b: Pulling fs layer [2021-06-11T07:38:36.262Z] 5e14af77c1be: Pulling fs layer [2021-06-11T07:38:36.262Z] 01666e4c0597: Pulling fs layer [2021-06-11T07:38:36.262Z] aa168da1d23b: Pulling fs layer [2021-06-11T07:38:36.262Z] 46f8f816bc3b: Waiting [2021-06-11T07:38:36.262Z] 93b61091891f: Waiting [2021-06-11T07:38:36.262Z] 93b9cdb0e59b: Waiting [2021-06-11T07:38:36.262Z] 5e14af77c1be: Waiting [2021-06-11T07:38:36.262Z] 01666e4c0597: Waiting [2021-06-11T07:38:36.262Z] aa168da1d23b: Waiting [2021-06-11T07:38:36.262Z] 36b3adc4ff6f: Verifying Checksum [2021-06-11T07:38:36.262Z] 36b3adc4ff6f: Download complete [2021-06-11T07:38:36.262Z] 46f8f816bc3b: Verifying Checksum [2021-06-11T07:38:36.262Z] 46f8f816bc3b: Download complete [2021-06-11T07:38:36.262Z] df20fa9351a1: Verifying Checksum [2021-06-11T07:38:36.262Z] df20fa9351a1: Download complete [2021-06-11T07:38:36.526Z] 93b9cdb0e59b: Verifying Checksum [2021-06-11T07:38:36.526Z] 93b9cdb0e59b: Download complete [2021-06-11T07:38:36.526Z] 93b61091891f: Verifying Checksum [2021-06-11T07:38:36.526Z] 93b61091891f: Download complete [2021-06-11T07:38:36.526Z] 5e14af77c1be: Verifying Checksum [2021-06-11T07:38:36.526Z] 5e14af77c1be: Download complete [2021-06-11T07:38:36.526Z] 01666e4c0597: Verifying Checksum [2021-06-11T07:38:36.526Z] 01666e4c0597: Download complete [2021-06-11T07:38:36.526Z] 8ad3a11d3b57: Verifying Checksum [2021-06-11T07:38:36.526Z] 8ad3a11d3b57: Download complete [2021-06-11T07:38:36.526Z] df20fa9351a1: Pull complete [2021-06-11T07:38:36.794Z] 36b3adc4ff6f: Pull complete [2021-06-11T07:38:37.369Z] 8ad3a11d3b57: Pull complete [2021-06-11T07:38:37.369Z] 46f8f816bc3b: Pull complete [2021-06-11T07:38:37.630Z] 93b61091891f: Pull complete [2021-06-11T07:38:37.630Z] 93b9cdb0e59b: Pull complete [2021-06-11T07:38:37.630Z] 5e14af77c1be: Pull complete [2021-06-11T07:38:37.890Z] 01666e4c0597: Pull complete [2021-06-11T07:38:38.154Z] aa168da1d23b: Verifying Checksum [2021-06-11T07:38:38.154Z] aa168da1d23b: Download complete [2021-06-11T07:38:42.400Z] aa168da1d23b: Pull complete [2021-06-11T07:38:42.400Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-11T07:38:42.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T07:38:42.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-11T07:38:42.471Z] prd-centos7-docker-4c-2g-491 does not seem to be running inside a container [2021-06-11T07:38:42.508Z] $ 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-06-11T07:38:44.974Z] $ docker top 0dac2c754a78226e8b06d7b64b8f1572e881c0fca42ad4c37066fb6a081ec5ef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T07:38:45.347Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-11T07:38:45.644Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-11T07:38:45.946Z] + ls /var/log/sa-host [2021-06-11T07:38:45.946Z] + sadf -c /var/log/sa-host/sa05 [2021-06-11T07:38:45.946Z] file_magic: OK [2021-06-11T07:38:45.946Z] HZ: Using current value: 100 [2021-06-11T07:38:45.946Z] file_header: OK [2021-06-11T07:38:45.946Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-11T07:38:45.946Z] Statistics: [2021-06-11T07:38:45.946Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-11T07:38:45.946Z] File successfully converted to sysstat format version 12.2.1 [2021-06-11T07:38:45.946Z] + sadf -c /var/log/sa-host/sa11 [2021-06-11T07:38:45.946Z] file_magic: OK [2021-06-11T07:38:45.946Z] HZ: Using current value: 100 [2021-06-11T07:38:45.946Z] file_header: OK [2021-06-11T07:38:45.947Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-11T07:38:45.947Z] Statistics: [2021-06-11T07:38:45.947Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-11T07:38:45.947Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T07:38:46.177Z] provisioning config files... [2021-06-11T07:38:46.189Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config6687122933430282913tmp [Pipeline] { [Pipeline] echo [2021-06-11T07:38:46.211Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:38:46.505Z] ---> create-netrc.sh [Pipeline] } [2021-06-11T07:38:46.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:38:47.087Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-11T07:38:47.098Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:38:47.395Z] ---> sudo-logs.sh [2021-06-11T07:38:47.395Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-11T07:38:47.427Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:38:47.721Z] ---> job-cost.sh [2021-06-11T07:38:47.721Z] lf-activate-venv: SKIPPING [2021-06-11T07:38:47.721Z] DEBUG: total: 0.18000000715255737 [2021-06-11T07:38:47.721Z] INFO: Retrieving Stack Cost... [2021-06-11T07:38:48.666Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T07:38:49.239Z] INFO: Archiving Costs [Pipeline] echo [2021-06-11T07:38:49.253Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T07:38:49.549Z] ---> logs-deploy.sh [2021-06-11T07:38:49.549Z] lf-activate-venv: SKIPPING [2021-06-11T07:38:49.549Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/33 [2021-06-11T07:38:49.549Z] INFO: archiving workspace using pattern(s): [2021-06-11T07:38:50.494Z] Archives upload complete. [2021-06-11T07:38:50.494Z] INFO: archiving logs to Nexus