Pull request #116 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-snmp-go Obtained Jenkinsfile from da9b2c7fd40bf54708229e15b280cf2a00f1873d+828c04b1f0eb937037ce2076f410b90c0d25fe4c (52489e613654b59006bd72e45e38faae38c0482e) 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-ssh5739506078032187803.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-ssh4660216575531543172.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8502935960552090375.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-ssh6826645216523048847.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-116/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6391547489299811089.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-55’ is offline ‘prd-centos7-docker-4c-2g-915’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-58 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-116 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/jenkins-gitclient-ssh1370943152935389541.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/jenkins-gitclient-ssh3740980885658405827.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit da9b2c7fd40bf54708229e15b280cf2a00f1873d Merge succeeded, producing da9b2c7fd40bf54708229e15b280cf2a00f1873d Checking out Revision da9b2c7fd40bf54708229e15b280cf2a00f1873d (PR-116) > git config core.sparsecheckout # timeout=10 > git checkout -f da9b2c7fd40bf54708229e15b280cf2a00f1873d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/jenkins-gitclient-ssh630574429825054094.key > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da9b2c7fd40bf54708229e15b280cf2a00f1873d # timeout=10 Commit message: "docs: add Changelog for Ireland release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-25T12:07:45.675Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-25T12:07:45.770Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-25T12:07:45.797Z] ========================================================= [2021-06-25T12:07:45.797Z] EdgeX Global Pipelines Version Info [2021-06-25T12:07:45.797Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6f288a980a4ca5a3273d3d51fd8e152e964d1844 # timeout=10 [2021-06-25T12:07:47.242Z] ------------------- [2021-06-25T12:07:47.242Z] stable info: [2021-06-25T12:07:47.242Z] ------------------- [2021-06-25T12:07:47.242Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-25T12:07:47.242Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T12:07:47.242Z] Message: update stable to v1.0.195 [2021-06-25T12:07:47.816Z] ------------------- [2021-06-25T12:07:47.816Z] experimental info: [2021-06-25T12:07:47.816Z] ------------------- [2021-06-25T12:07:47.816Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-25T12:07:47.816Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T12:07:47.816Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-25T12:07:47.957Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-25T12:07:47.980Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-25T12:07:48.002Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-25T12:07:48.025Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-25T12:07:48.048Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-25T12:07:48.071Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-25T12:07:48.095Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-25T12:07:48.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-25T12:07:48.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-25T12:07:48.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-25T12:07:48.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-25T12:07:48.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-25T12:07:48.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-25T12:07:48.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-25T12:07:48.309Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T12:07:48.332Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T12:07:48.354Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T12:07:48.379Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T12:07:48.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-25T12:07:48.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-25T12:07:48.458Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-25T12:07:48.482Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-25T12:07:48.507Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-25T12:07:48.532Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-25T12:07:48.556Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-25T12:07:48.583Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-25T12:07:48.609Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo [2021-06-25T12:07:48.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo [2021-06-25T12:07:48.684Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo [2021-06-25T12:07:48.710Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da9b2c7fd40bf54708229e15b280cf2a00f1873d [Pipeline] echo [2021-06-25T12:07:48.735Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da9b2c7 [Pipeline] echo [2021-06-25T12:07:48.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T12:07:48.838Z] provisioning config files... [2021-06-25T12:07:48.855Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config5610240355755675619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:07:49.221Z] ---> docker-login.sh [2021-06-25T12:07:49.221Z] nexus3.edgexfoundry.org:10001 [2021-06-25T12:07:49.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:07:49.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:07:49.488Z] Configure a credential helper to remove this warning. See [2021-06-25T12:07:49.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:07:49.488Z] [2021-06-25T12:07:49.488Z] Login Succeeded [2021-06-25T12:07:49.488Z] nexus3.edgexfoundry.org:10002 [2021-06-25T12:07:49.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:07:49.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:07:49.488Z] Configure a credential helper to remove this warning. See [2021-06-25T12:07:49.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:07:49.488Z] [2021-06-25T12:07:49.488Z] Login Succeeded [2021-06-25T12:07:49.488Z] nexus3.edgexfoundry.org:10003 [2021-06-25T12:07:49.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:07:49.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:07:49.750Z] Configure a credential helper to remove this warning. See [2021-06-25T12:07:49.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:07:49.750Z] [2021-06-25T12:07:49.750Z] Login Succeeded [2021-06-25T12:07:49.750Z] nexus3.edgexfoundry.org:10004 [2021-06-25T12:07:49.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:07:49.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:07:49.750Z] Configure a credential helper to remove this warning. See [2021-06-25T12:07:49.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:07:49.750Z] [2021-06-25T12:07:49.750Z] Login Succeeded [2021-06-25T12:07:49.750Z] docker.io [2021-06-25T12:07:50.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:07:50.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:07:50.283Z] Configure a credential helper to remove this warning. See [2021-06-25T12:07:50.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:07:50.283Z] [2021-06-25T12:07:50.283Z] Login Succeeded [2021-06-25T12:07:50.283Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T12:07:50.296Z] 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-25T12:07:50.808Z] + git log --format=format:%s -1 da9b2c7fd40bf54708229e15b280cf2a00f1873d [Pipeline] echo [2021-06-25T12:07:50.846Z] GIT_COMMIT: da9b2c7fd40bf54708229e15b280cf2a00f1873d, Commit Message: docs: add Changelog for Ireland release [Pipeline] echo [2021-06-25T12:07:50.862Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:07:51.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T12:07:51.468Z] [2021-06-25T12:07:51.468Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:07:51.787Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T12:07:51.787Z] latest: Pulling from edgex-devops/git-semver [2021-06-25T12:07:51.787Z] 31603596830f: Pulling fs layer [2021-06-25T12:07:51.787Z] 54011a49482f: Pulling fs layer [2021-06-25T12:07:51.787Z] a6820b24f6d8: Pulling fs layer [2021-06-25T12:07:51.787Z] f581987b2513: Pulling fs layer [2021-06-25T12:07:51.787Z] f581987b2513: Waiting [2021-06-25T12:07:51.787Z] 54011a49482f: Verifying Checksum [2021-06-25T12:07:51.787Z] 54011a49482f: Download complete [2021-06-25T12:07:52.049Z] 31603596830f: Verifying Checksum [2021-06-25T12:07:52.049Z] 31603596830f: Download complete [2021-06-25T12:07:52.049Z] a6820b24f6d8: Verifying Checksum [2021-06-25T12:07:52.049Z] a6820b24f6d8: Download complete [2021-06-25T12:07:52.049Z] f581987b2513: Verifying Checksum [2021-06-25T12:07:52.049Z] f581987b2513: Download complete [2021-06-25T12:07:52.314Z] 31603596830f: Pull complete [2021-06-25T12:07:52.314Z] 54011a49482f: Pull complete [2021-06-25T12:07:52.918Z] a6820b24f6d8: Pull complete [2021-06-25T12:07:53.180Z] f581987b2513: Pull complete [2021-06-25T12:07:53.180Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-25T12:07:53.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T12:07:53.180Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-25T12:07:53.263Z] prd-centos7-docker-4c-2g-58 does not seem to be running inside a container [2021-06-25T12:07:53.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-116 -v /w/workspace/gexfoundry_device-snmp-go_PR-116:/w/workspace/gexfoundry_device-snmp-go_PR-116:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-25T12:07:54.229Z] $ docker top f0bb2c6107bcfdc0137bc86aeced1f260533da35a09f96ca2a4759342593c43b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-25T12:07:54.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T12:07:54.354Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T12:07:54.457Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T12:07:54.456Z] $ docker exec f0bb2c6107bcfdc0137bc86aeced1f260533da35a09f96ca2a4759342593c43b ssh-agent [2021-06-25T12:07:54.564Z] SSH_AUTH_SOCK=/tmp/ssh-ntorG8o5HVvS/agent.14 [2021-06-25T12:07:54.564Z] SSH_AGENT_PID=20 [2021-06-25T12:07:54.577Z] Running ssh-add (command line suppressed) [2021-06-25T12:07:54.664Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_5857440410850632820.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_5857440410850632820.key) [2021-06-25T12:07:54.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T12:07:55.006Z] + git tag --points-at HEAD [Pipeline] } [2021-06-25T12:07:55.019Z] $ docker exec --env ******** --env ******** f0bb2c6107bcfdc0137bc86aeced1f260533da35a09f96ca2a4759342593c43b ssh-agent -k [2021-06-25T12:07:55.112Z] unset SSH_AUTH_SOCK; [2021-06-25T12:07:55.112Z] unset SSH_AGENT_PID; [2021-06-25T12:07:55.113Z] echo Agent pid 20 killed; [2021-06-25T12:07:55.131Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-25T12:07:55.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T12:07:55.176Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T12:07:55.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T12:07:55.277Z] $ docker exec f0bb2c6107bcfdc0137bc86aeced1f260533da35a09f96ca2a4759342593c43b ssh-agent [2021-06-25T12:07:55.390Z] SSH_AUTH_SOCK=/tmp/ssh-48lhpkhKZ4M0/agent.52 [2021-06-25T12:07:55.390Z] SSH_AGENT_PID=58 [2021-06-25T12:07:55.395Z] Running ssh-add (command line suppressed) [2021-06-25T12:07:55.488Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_4604407329069598775.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_4604407329069598775.key) [2021-06-25T12:07:55.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T12:07:55.818Z] + git semver init [2021-06-25T12:07:55.818Z] # -> Open(): unable to determine branch for HEAD [2021-06-25T12:07:55.818Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.git [2021-06-25T12:07:55.818Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-25T12:07:55.818Z] # $SEMVER_REMOTE_NAME = origin [2021-06-25T12:07:55.818Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-25T12:07:55.818Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-25T12:07:55.818Z] # $SEMVER_BRANCH = PR-116 [2021-06-25T12:07:55.818Z] # $SEMVER_TEMP = /tmp/semver-858207758 [2021-06-25T12:07:55.818Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-25T12:07:56.089Z] # '/tmp/semver-858207758' -> '/w/workspace/gexfoundry_device-snmp-go_PR-116/.semver' [2021-06-25T12:07:56.089Z] # -> Force: false [2021-06-25T12:07:56.089Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.semver [Pipeline] } [2021-06-25T12:07:56.099Z] $ docker exec --env ******** --env ******** f0bb2c6107bcfdc0137bc86aeced1f260533da35a09f96ca2a4759342593c43b ssh-agent -k [2021-06-25T12:07:56.208Z] unset SSH_AUTH_SOCK; [2021-06-25T12:07:56.209Z] unset SSH_AGENT_PID; [2021-06-25T12:07:56.209Z] echo Agent pid 58 killed; [2021-06-25T12:07:56.226Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-25T12:07:56.607Z] + git semver [Pipeline] } [2021-06-25T12:07:56.620Z] $ docker stop --time=1 f0bb2c6107bcfdc0137bc86aeced1f260533da35a09f96ca2a4759342593c43b [2021-06-25T12:07:57.854Z] $ docker rm -f f0bb2c6107bcfdc0137bc86aeced1f260533da35a09f96ca2a4759342593c43b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T12:07:58.226Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-25T12:07:58.516Z] Stashed 1 file(s) [Pipeline] echo [2021-06-25T12:07:58.520Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-25T12:08:13.758Z] Still waiting to schedule task [2021-06-25T12:08:13.759Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-25T12:08:13.761Z] Still waiting to schedule task [2021-06-25T12:08:13.762Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-25T12:11:23.424Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-62 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-25T12:11:23.443Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-06-25T12:11:23.679Z] Selected Git installation does not exist. Using Default [2021-06-25T12:11:23.680Z] The recommended git tool is: NONE [2021-06-25T12:11:28.890Z] using credential edgex-jenkins-ssh [2021-06-25T12:11:28.909Z] Cloning the remote Git repository [2021-06-25T12:11:28.937Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:11:29.049Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-06-25T12:11:29.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:11:29.131Z] > git --version # timeout=10 [2021-06-25T12:11:29.153Z] > git --version # 'git version 2.17.1' [2021-06-25T12:11:29.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:11:29.316Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T12:11:30.797Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit da9b2c7fd40bf54708229e15b280cf2a00f1873d [2021-06-25T12:11:31.016Z] Merge succeeded, producing da9b2c7fd40bf54708229e15b280cf2a00f1873d [2021-06-25T12:11:31.017Z] Checking out Revision da9b2c7fd40bf54708229e15b280cf2a00f1873d (PR-116) [2021-06-25T12:11:30.104Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-25T12:11:30.125Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T12:11:30.154Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-25T12:11:30.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:11:30.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:11:30.206Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T12:11:30.785Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T12:11:30.800Z] > git checkout -f da9b2c7fd40bf54708229e15b280cf2a00f1873d # timeout=10 [2021-06-25T12:11:30.879Z] > git remote # timeout=10 [2021-06-25T12:11:30.896Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T12:11:30.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:11:30.923Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-25T12:11:30.958Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T12:11:30.992Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T12:11:31.005Z] > git checkout -f da9b2c7fd40bf54708229e15b280cf2a00f1873d # timeout=10 [2021-06-25T12:11:35.271Z] Commit message: "docs: add Changelog for Ireland release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T12:11:36.471Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-25T12:11:36.938Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T12:11:37.283Z] + true [2021-06-25T12:11:37.283Z] + sudo service docker restart [2021-06-25T12:11:43.274Z] Running on prd-centos7-docker-4c-2g-63 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-25T12:11:43.297Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-06-25T12:11:43.417Z] Selected Git installation does not exist. Using Default [2021-06-25T12:11:43.417Z] The recommended git tool is: NONE [2021-06-25T12:11:45.629Z] using credential edgex-jenkins-ssh [2021-06-25T12:11:45.658Z] Cloning the remote Git repository [2021-06-25T12:11:45.945Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:11:46.013Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-06-25T12:11:46.049Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:11:46.049Z] > git --version # timeout=10 [2021-06-25T12:11:46.060Z] > git --version # 'git version 2.24.4' [2021-06-25T12:11:46.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:11:46.084Z] [INFO] Currently running in a labeled security context [2021-06-25T12:11:46.084Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T12:11:46.084Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh3811832659166411720.key [2021-06-25T12:11:46.167Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T12:11:46.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-25T12:11:46.653Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T12:11:46.664Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-25T12:11:46.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-25T12:11:46.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:11:46.697Z] [INFO] Currently running in a labeled security context [2021-06-25T12:11:46.697Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T12:11:46.697Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh5063298827207669116.key [2021-06-25T12:11:46.707Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T12:11:46.873Z] Merging remotes/origin/master commit 828c04b1f0eb937037ce2076f410b90c0d25fe4c into PR head commit da9b2c7fd40bf54708229e15b280cf2a00f1873d [2021-06-25T12:11:46.973Z] Merge succeeded, producing da9b2c7fd40bf54708229e15b280cf2a00f1873d [2021-06-25T12:11:46.974Z] Checking out Revision da9b2c7fd40bf54708229e15b280cf2a00f1873d (PR-116) [2021-06-25T12:11:47.105Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T12:11:47.112Z] > git checkout -f da9b2c7fd40bf54708229e15b280cf2a00f1873d # timeout=10 [2021-06-25T12:11:47.141Z] > git remote # timeout=10 [2021-06-25T12:11:47.154Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T12:11:47.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T12:11:47.163Z] [INFO] Currently running in a labeled security context [2021-06-25T12:11:47.163Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T12:11:47.163Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh7044228581156031228.key [2021-06-25T12:11:47.173Z] > git merge 828c04b1f0eb937037ce2076f410b90c0d25fe4c # timeout=10 [2021-06-25T12:11:47.183Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T12:11:47.192Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T12:11:47.196Z] > git checkout -f da9b2c7fd40bf54708229e15b280cf2a00f1873d # timeout=10 [2021-06-25T12:11:50.738Z] Commit message: "docs: add Changelog for Ireland release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T12:11:51.899Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-25T12:11:52.224Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T12:11:52.521Z] + sudo service docker restart [2021-06-25T12:11:52.521Z] + true [2021-06-25T12:11:52.521Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T12:11:55.655Z] provisioning config files... [2021-06-25T12:11:55.685Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config3110549973229608560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:11:56.057Z] ---> docker-login.sh [2021-06-25T12:11:56.057Z] nexus3.edgexfoundry.org:10001 [2021-06-25T12:11:57.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:11:57.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:11:57.324Z] Configure a credential helper to remove this warning. See [2021-06-25T12:11:57.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:11:57.324Z] [2021-06-25T12:11:57.324Z] Login Succeeded [2021-06-25T12:11:57.324Z] nexus3.edgexfoundry.org:10002 [2021-06-25T12:11:57.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:11:57.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:11:57.878Z] Configure a credential helper to remove this warning. See [2021-06-25T12:11:57.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:11:57.878Z] [2021-06-25T12:11:57.878Z] Login Succeeded [2021-06-25T12:11:57.878Z] nexus3.edgexfoundry.org:10003 [2021-06-25T12:11:58.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:11:58.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:11:58.158Z] Configure a credential helper to remove this warning. See [2021-06-25T12:11:58.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:11:58.158Z] [2021-06-25T12:11:58.158Z] Login Succeeded [2021-06-25T12:11:58.158Z] nexus3.edgexfoundry.org:10004 [2021-06-25T12:11:58.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:11:58.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:11:58.757Z] Configure a credential helper to remove this warning. See [2021-06-25T12:11:58.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:11:58.757Z] [2021-06-25T12:11:58.757Z] Login Succeeded [2021-06-25T12:11:58.757Z] docker.io [2021-06-25T12:11:59.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:11:59.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:11:59.632Z] Configure a credential helper to remove this warning. See [2021-06-25T12:11:59.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:11:59.632Z] [2021-06-25T12:11:59.632Z] Login Succeeded [2021-06-25T12:11:59.632Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T12:11:59.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T12:11:59.961Z] ========================================================= [2021-06-25T12:11:59.961Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-25T12:11:59.961Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:12:00.318Z] + 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-25T12:12:00.594Z] Sending build context to Docker daemon 384kB [2021-06-25T12:12:00.594Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T12:12:00.594Z] Step 2/10 : FROM ${BASE} [2021-06-25T12:12:00.870Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-25T12:12:00.870Z] 595b0fe564bb: Pulling fs layer [2021-06-25T12:12:00.870Z] 3088b5b3c5c0: Pulling fs layer [2021-06-25T12:12:00.870Z] 5b7225fbf94c: Pulling fs layer [2021-06-25T12:12:00.870Z] ba82ee9f976e: Pulling fs layer [2021-06-25T12:12:00.870Z] 506bd15cee9f: Pulling fs layer [2021-06-25T12:12:00.870Z] 75a0a4a0db45: Pulling fs layer [2021-06-25T12:12:00.870Z] 618dc40b7e24: Pulling fs layer [2021-06-25T12:12:00.870Z] 506bd15cee9f: Waiting [2021-06-25T12:12:00.870Z] 75a0a4a0db45: Waiting [2021-06-25T12:12:00.870Z] 618dc40b7e24: Waiting [2021-06-25T12:12:00.870Z] ba82ee9f976e: Waiting [2021-06-25T12:12:00.870Z] 5b7225fbf94c: Verifying Checksum [2021-06-25T12:12:01.149Z] 5b7225fbf94c: Download complete [2021-06-25T12:12:01.149Z] 3088b5b3c5c0: Verifying Checksum [2021-06-25T12:12:01.149Z] 3088b5b3c5c0: Download complete [2021-06-25T12:12:01.149Z] 506bd15cee9f: Verifying Checksum [2021-06-25T12:12:01.149Z] 506bd15cee9f: Download complete [2021-06-25T12:12:01.149Z] 75a0a4a0db45: Download complete [2021-06-25T12:12:01.149Z] 595b0fe564bb: Download complete [2021-06-25T12:12:01.763Z] 595b0fe564bb: Pull complete [2021-06-25T12:12:02.366Z] 3088b5b3c5c0: Pull complete [2021-06-25T12:12:02.645Z] 5b7225fbf94c: Pull complete [2021-06-25T12:12:03.636Z] 618dc40b7e24: Verifying Checksum [2021-06-25T12:12:03.636Z] 618dc40b7e24: Download complete [2021-06-25T12:12:04.617Z] ba82ee9f976e: Verifying Checksum [2021-06-25T12:12:04.617Z] ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T12:12:10.698Z] provisioning config files... [2021-06-25T12:12:10.716Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config6756808968948345414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:12:11.053Z] ---> docker-login.sh [2021-06-25T12:12:11.053Z] nexus3.edgexfoundry.org:10001 [2021-06-25T12:12:11.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:12:11.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:12:11.313Z] Configure a credential helper to remove this warning. See [2021-06-25T12:12:11.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:12:11.313Z] [2021-06-25T12:12:11.313Z] Login Succeeded [2021-06-25T12:12:11.313Z] nexus3.edgexfoundry.org:10002 [2021-06-25T12:12:11.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:12:11.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:12:11.313Z] Configure a credential helper to remove this warning. See [2021-06-25T12:12:11.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:12:11.313Z] [2021-06-25T12:12:11.313Z] Login Succeeded [2021-06-25T12:12:11.313Z] nexus3.edgexfoundry.org:10003 [2021-06-25T12:12:11.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:12:11.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:12:11.585Z] Configure a credential helper to remove this warning. See [2021-06-25T12:12:11.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:12:11.585Z] [2021-06-25T12:12:11.585Z] Login Succeeded [2021-06-25T12:12:11.585Z] nexus3.edgexfoundry.org:10004 [2021-06-25T12:12:11.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:12:11.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:12:11.585Z] Configure a credential helper to remove this warning. See [2021-06-25T12:12:11.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:12:11.585Z] [2021-06-25T12:12:11.585Z] Login Succeeded [2021-06-25T12:12:11.585Z] docker.io [2021-06-25T12:12:11.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T12:12:12.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T12:12:12.110Z] Configure a credential helper to remove this warning. See [2021-06-25T12:12:12.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T12:12:12.110Z] [2021-06-25T12:12:12.110Z] Login Succeeded [2021-06-25T12:12:12.110Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T12:12:12.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T12:12:12.291Z] ========================================================= [2021-06-25T12:12:12.291Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-25T12:12:12.291Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:12:12.610Z] + 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-25T12:12:12.610Z] Sending build context to Docker daemon 385kB [2021-06-25T12:12:12.610Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T12:12:12.610Z] Step 2/10 : FROM ${BASE} [2021-06-25T12:12:12.610Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-25T12:12:12.610Z] 540db60ca938: Pulling fs layer [2021-06-25T12:12:12.610Z] adcc1eea9eea: Pulling fs layer [2021-06-25T12:12:12.610Z] 4c4ab2625f07: Pulling fs layer [2021-06-25T12:12:12.610Z] 0510c868ecb4: Pulling fs layer [2021-06-25T12:12:12.610Z] afea3b2eda06: Pulling fs layer [2021-06-25T12:12:12.610Z] 7809a108b3ef: Pulling fs layer [2021-06-25T12:12:12.610Z] f706445af74f: Pulling fs layer [2021-06-25T12:12:12.610Z] 0510c868ecb4: Waiting [2021-06-25T12:12:12.610Z] afea3b2eda06: Waiting [2021-06-25T12:12:12.610Z] 7809a108b3ef: Waiting [2021-06-25T12:12:12.610Z] f706445af74f: Waiting [2021-06-25T12:12:12.882Z] 4c4ab2625f07: Verifying Checksum [2021-06-25T12:12:12.882Z] 4c4ab2625f07: Download complete [2021-06-25T12:12:12.882Z] adcc1eea9eea: Verifying Checksum [2021-06-25T12:12:12.882Z] adcc1eea9eea: Download complete [2021-06-25T12:12:12.882Z] afea3b2eda06: Verifying Checksum [2021-06-25T12:12:12.882Z] afea3b2eda06: Download complete [2021-06-25T12:12:12.882Z] 540db60ca938: Verifying Checksum [2021-06-25T12:12:12.882Z] 540db60ca938: Download complete [2021-06-25T12:12:12.882Z] 7809a108b3ef: Verifying Checksum [2021-06-25T12:12:12.882Z] 7809a108b3ef: Download complete [2021-06-25T12:12:13.146Z] 540db60ca938: Pull complete [2021-06-25T12:12:13.146Z] adcc1eea9eea: Pull complete [2021-06-25T12:12:13.412Z] 4c4ab2625f07: Pull complete [2021-06-25T12:12:14.361Z] f706445af74f: Verifying Checksum [2021-06-25T12:12:14.361Z] f706445af74f: Download complete [2021-06-25T12:12:14.778Z] ba82ee9f976e: Pull complete [2021-06-25T12:12:14.778Z] 506bd15cee9f: Pull complete [2021-06-25T12:12:14.935Z] 0510c868ecb4: Verifying Checksum [2021-06-25T12:12:14.935Z] 0510c868ecb4: Download complete [2021-06-25T12:12:15.374Z] 75a0a4a0db45: Pull complete [2021-06-25T12:12:18.262Z] 0510c868ecb4: Pull complete [2021-06-25T12:12:18.262Z] afea3b2eda06: Pull complete [2021-06-25T12:12:18.262Z] 7809a108b3ef: Pull complete [2021-06-25T12:12:18.767Z] 618dc40b7e24: Pull complete [2021-06-25T12:12:18.768Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-25T12:12:18.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-25T12:12:18.768Z] ---> a36622ca3599 [2021-06-25T12:12:18.768Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T12:12:19.667Z] f706445af74f: Pull complete [2021-06-25T12:12:19.667Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-25T12:12:19.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-25T12:12:19.667Z] ---> b068be0155e3 [2021-06-25T12:12:19.667Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T12:12:20.761Z] ---> Running in fdd2aeaa4dad [2021-06-25T12:12:21.055Z] Removing intermediate container fdd2aeaa4dad [2021-06-25T12:12:21.055Z] ---> 06ffc468bfaa [2021-06-25T12:12:21.055Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T12:12:21.349Z] ---> Running in 38f062f158f0 [2021-06-25T12:12:21.997Z] Removing intermediate container 38f062f158f0 [2021-06-25T12:12:21.997Z] ---> 1eb9e45c2998 [2021-06-25T12:12:21.997Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-25T12:12:21.997Z] ---> Running in dd0e01be935f [2021-06-25T12:12:22.608Z] Removing intermediate container dd0e01be935f [2021-06-25T12:12:22.608Z] ---> 1ff84e8e4663 [2021-06-25T12:12:22.608Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T12:12:22.608Z] ---> Running in 9b494a25ffa7 [2021-06-25T12:12:22.985Z] ---> Running in 4fc4eae6ed2d [2021-06-25T12:12:22.985Z] Removing intermediate container 4fc4eae6ed2d [2021-06-25T12:12:22.985Z] ---> 96fb767e2f4b [2021-06-25T12:12:22.985Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T12:12:22.985Z] ---> Running in 5cddf95b516a [2021-06-25T12:12:23.247Z] Removing intermediate container 5cddf95b516a [2021-06-25T12:12:23.247Z] ---> 15fc0f5cb364 [2021-06-25T12:12:23.247Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-25T12:12:23.247Z] ---> Running in a3b5edbd6f78 [2021-06-25T12:12:23.509Z] Removing intermediate container a3b5edbd6f78 [2021-06-25T12:12:23.509Z] ---> 8a4fe800c719 [2021-06-25T12:12:23.509Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T12:12:23.509Z] ---> Running in 44cd40574ecf [2021-06-25T12:12:24.087Z] Removing intermediate container 44cd40574ecf [2021-06-25T12:12:24.087Z] ---> 0dbfcca85610 [2021-06-25T12:12:24.087Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T12:12:24.087Z] ---> Running in 1c6367f82b2f [2021-06-25T12:12:24.348Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T12:12:25.237Z] Removing intermediate container 9b494a25ffa7 [2021-06-25T12:12:25.237Z] ---> f32bb4642a1b [2021-06-25T12:12:25.237Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T12:12:25.237Z] ---> Running in d7a3408e4c8a [2021-06-25T12:12:25.290Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T12:12:25.553Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-25T12:12:25.553Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-25T12:12:25.814Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-25T12:12:25.814Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-25T12:12:25.814Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-25T12:12:26.076Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-25T12:12:26.076Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-25T12:12:26.223Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T12:12:26.343Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-25T12:12:26.601Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-25T12:12:26.601Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-25T12:12:26.601Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-25T12:12:26.861Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-25T12:12:26.861Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-25T12:12:26.861Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T12:12:26.861Z] OK: 156 MiB in 53 packages [2021-06-25T12:12:27.196Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T12:12:27.441Z] Removing intermediate container 1c6367f82b2f [2021-06-25T12:12:27.441Z] ---> ca34e32c58ef [2021-06-25T12:12:27.441Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-25T12:12:27.441Z] ---> Running in e0f318bdae2f [2021-06-25T12:12:27.441Z] Removing intermediate container e0f318bdae2f [2021-06-25T12:12:27.441Z] ---> 9a30d6632950 [2021-06-25T12:12:27.441Z] Step 9/10 : COPY . . [2021-06-25T12:12:27.703Z] ---> 7c9702562c6a [2021-06-25T12:12:27.703Z] Step 10/10 : RUN go mod download [2021-06-25T12:12:27.703Z] ---> Running in ecbc75c06bbd [2021-06-25T12:12:28.173Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-25T12:12:28.173Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-25T12:12:28.173Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-25T12:12:28.448Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-25T12:12:28.448Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-25T12:12:28.718Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-25T12:12:28.718Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-25T12:12:28.993Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-25T12:12:28.993Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-25T12:12:29.263Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-25T12:12:29.263Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-25T12:12:29.263Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-25T12:12:29.538Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-25T12:12:29.538Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T12:12:29.538Z] OK: 145 MiB in 53 packages [2021-06-25T12:12:30.976Z] Removing intermediate container d7a3408e4c8a [2021-06-25T12:12:30.976Z] ---> 6eb9dacb4d0d [2021-06-25T12:12:30.976Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-25T12:12:31.255Z] ---> Running in bc0967ad1223 [2021-06-25T12:12:31.530Z] Removing intermediate container bc0967ad1223 [2021-06-25T12:12:31.530Z] ---> c1ec31d3855a [2021-06-25T12:12:31.530Z] Step 9/10 : COPY . . [2021-06-25T12:12:32.564Z] ---> 0d615e634856 [2021-06-25T12:12:32.564Z] Step 10/10 : RUN go mod download [2021-06-25T12:12:32.841Z] ---> Running in 79031097e1ae [2021-06-25T12:12:39.968Z] Removing intermediate container ecbc75c06bbd [2021-06-25T12:12:39.968Z] ---> aca9f63d65ac [2021-06-25T12:12:39.968Z] Successfully built aca9f63d65ac [2021-06-25T12:12:39.968Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:12:40.274Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T12:12:40.274Z] . [Pipeline] withDockerContainer [2021-06-25T12:12:40.359Z] prd-centos7-docker-4c-2g-63 does not seem to be running inside a container [2021-06-25T12:12:40.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T12:12:40.728Z] $ docker top 042ebd5ed1af6d0ff91726085f2a36c925d64d78f027b0bbbb02bad9084859aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T12:12:41.142Z] + go version [2021-06-25T12:12:41.142Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-25T12:12:41.157Z] $ docker stop --time=1 042ebd5ed1af6d0ff91726085f2a36c925d64d78f027b0bbbb02bad9084859aa [2021-06-25T12:12:42.336Z] $ docker rm -f 042ebd5ed1af6d0ff91726085f2a36c925d64d78f027b0bbbb02bad9084859aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:12:42.869Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T12:12:42.869Z] . [Pipeline] withDockerContainer [2021-06-25T12:12:42.944Z] prd-centos7-docker-4c-2g-63 does not seem to be running inside a container [2021-06-25T12:12:42.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T12:12:43.319Z] $ docker top 1473969074c1cbeac41be030e7d3d71e8bbc948437acce5b1716d566992ac201 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T12:12:43.702Z] + go mod tidy [Pipeline] sh [2021-06-25T12:12:44.278Z] + make test [2021-06-25T12:12:44.278Z] go mod tidy [2021-06-25T12:12:44.278Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-25T12:12:44.857Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-25T12:12:59.676Z] Removing intermediate container 79031097e1ae [2021-06-25T12:12:59.676Z] ---> a62eea2b62c1 [2021-06-25T12:12:59.676Z] Successfully built a62eea2b62c1 [2021-06-25T12:12:59.676Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:12:59.957Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-25T12:12:59.957Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-06-25T12:12:59.957Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-25T12:13:00.015Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T12:13:00.015Z] . [Pipeline] withDockerContainer [2021-06-25T12:13:00.281Z] prd-ubuntu18.04-docker-arm64-4c-16g-62 does not seem to be running inside a container [2021-06-25T12:13:00.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T12:13:02.009Z] $ docker top fca5ab3fd474eaa2b1ac3225e6a1608c192a7d0a5ca98022876aac2d104c856f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T12:13:03.039Z] + go version [2021-06-25T12:13:03.039Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-25T12:13:03.034Z] $ docker stop --time=1 fca5ab3fd474eaa2b1ac3225e6a1608c192a7d0a5ca98022876aac2d104c856f [2021-06-25T12:13:04.926Z] $ docker rm -f fca5ab3fd474eaa2b1ac3225e6a1608c192a7d0a5ca98022876aac2d104c856f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:13:05.814Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T12:13:05.814Z] . [Pipeline] withDockerContainer [2021-06-25T12:13:06.081Z] prd-ubuntu18.04-docker-arm64-4c-16g-62 does not seem to be running inside a container [2021-06-25T12:13:06.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T12:13:06.600Z] gofmt -l . [2021-06-25T12:13:06.600Z] [ "`gofmt -l .`" = "" ] [2021-06-25T12:13:06.600Z] ./bin/test-attribution-txt.sh [2021-06-25T12:13:07.843Z] $ docker top 06a975f9bcd1ceab866717ac42431ee2c7f6906b4f6a1ad566924927084ef193 -eo pid,comm [Pipeline] { [Pipeline] } [2021-06-25T12:13:08.218Z] $ docker stop --time=1 1473969074c1cbeac41be030e7d3d71e8bbc948437acce5b1716d566992ac201 [2021-06-25T12:13:09.585Z] $ docker rm -f 1473969074c1cbeac41be030e7d3d71e8bbc948437acce5b1716d566992ac201 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-06-25T12:13:09.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T12:13:10.153Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-25T12:13:10.377Z] + go mod tidy [Pipeline] sh [Pipeline] sh [2021-06-25T12:13:11.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T12:13:11.528Z] + ls -al . [2021-06-25T12:13:11.528Z] total 112 [2021-06-25T12:13:11.528Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 25 12:13 . [2021-06-25T12:13:11.528Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 12:11 .. [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 25 12:11 Attribution.txt [2021-06-25T12:13:11.528Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 25 12:11 bin [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 4664 Jun 25 12:11 CHANGELOG.md [2021-06-25T12:13:11.528Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 25 12:11 cmd [2021-06-25T12:13:11.528Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 25 12:12 coverage.out [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 25 12:11 Dockerfile [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 25 12:11 Dockerfile.build [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 25 12:11 .dockerignore [2021-06-25T12:13:11.528Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 12:11 .git [2021-06-25T12:13:11.528Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 12:11 .github [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 25 12:11 .gitignore [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 223 Jun 25 12:11 go.mod [2021-06-25T12:13:11.528Z] -rw-r--r--. 1 jenkins jenkins 21038 Jun 25 12:12 go.sum [2021-06-25T12:13:11.528Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 25 12:11 internal [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 25 12:11 Jenkinsfile [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 25 12:11 LICENSE [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 25 12:11 Makefile [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 25 12:11 README.md [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 12:07 VERSION [2021-06-25T12:13:11.528Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 25 12:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:13:11.649Z] + make test [2021-06-25T12:13:11.649Z] go mod tidy [2021-06-25T12:13:11.835Z] + 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=da9b2c7fd40bf54708229e15b280cf2a00f1873d --label arch=amd64 --label version=0.0.0 . [2021-06-25T12:13:11.835Z] Sending build context to Docker daemon 393.2kB [2021-06-25T12:13:11.835Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T12:13:11.835Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-25T12:13:11.835Z] ---> aca9f63d65ac [2021-06-25T12:13:11.835Z] Step 3/24 : ARG MAKE='make build' [2021-06-25T12:13:11.835Z] ---> Running in 6de09938e8ed [2021-06-25T12:13:11.835Z] Removing intermediate container 6de09938e8ed [2021-06-25T12:13:11.835Z] ---> 18746e7328fe [2021-06-25T12:13:11.835Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T12:13:11.835Z] ---> Running in 47f5524a4a86 [2021-06-25T12:13:12.102Z] Removing intermediate container 47f5524a4a86 [2021-06-25T12:13:12.102Z] ---> 021729ce34fd [2021-06-25T12:13:12.102Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T12:13:12.102Z] ---> Running in b04902ccd733 [2021-06-25T12:13:12.102Z] Removing intermediate container b04902ccd733 [2021-06-25T12:13:12.102Z] ---> 85f9bc102197 [2021-06-25T12:13:12.102Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T12:13:12.102Z] ---> Running in 99daee2854f5 [2021-06-25T12:13:12.273Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-25T12:13:12.689Z] Removing intermediate container 99daee2854f5 [2021-06-25T12:13:12.689Z] ---> 44d382b00fee [2021-06-25T12:13:12.689Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T12:13:12.689Z] ---> Running in 13b23b68ec39 [2021-06-25T12:13:12.951Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T12:13:13.272Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-25T12:13:13.522Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T12:13:14.096Z] OK: 156 MiB in 53 packages [2021-06-25T12:13:14.360Z] Removing intermediate container 13b23b68ec39 [2021-06-25T12:13:14.360Z] ---> d003089cec2d [2021-06-25T12:13:14.360Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-25T12:13:14.360Z] ---> Running in 335849b81c6c [2021-06-25T12:13:14.360Z] Removing intermediate container 335849b81c6c [2021-06-25T12:13:14.360Z] ---> 84a45ff88aa2 [2021-06-25T12:13:14.360Z] Step 9/24 : COPY . . [2021-06-25T12:13:14.620Z] ---> 050924d94455 [2021-06-25T12:13:14.620Z] Step 10/24 : RUN go mod tidy [2021-06-25T12:13:14.620Z] ---> Running in a296a3a12fbd [2021-06-25T12:13:15.203Z] Removing intermediate container a296a3a12fbd [2021-06-25T12:13:15.203Z] ---> 78aef7e31455 [2021-06-25T12:13:15.203Z] Step 11/24 : RUN make update [2021-06-25T12:13:15.203Z] ---> Running in 995eed683f63 [2021-06-25T12:13:15.465Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-25T12:13:15.727Z] Removing intermediate container 995eed683f63 [2021-06-25T12:13:15.727Z] ---> 3587c878c32b [2021-06-25T12:13:15.727Z] Step 12/24 : RUN ${MAKE} [2021-06-25T12:13:15.727Z] ---> Running in a442195fc031 [2021-06-25T12:13:15.995Z] go mod tidy [2021-06-25T12:13:15.995Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-25T12:13:28.356Z] Removing intermediate container a442195fc031 [2021-06-25T12:13:28.357Z] ---> 5f827b727cce [2021-06-25T12:13:28.357Z] Step 13/24 : FROM alpine:3.12 [2021-06-25T12:13:28.357Z] 3.12: Pulling from library/alpine [2021-06-25T12:13:28.357Z] 339de151aab4: Pulling fs layer [2021-06-25T12:13:28.357Z] 339de151aab4: Verifying Checksum [2021-06-25T12:13:28.357Z] 339de151aab4: Download complete [2021-06-25T12:13:28.357Z] 339de151aab4: Pull complete [2021-06-25T12:13:28.357Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T12:13:28.357Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T12:13:28.357Z] ---> 13621d1b12d4 [2021-06-25T12:13:28.357Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-25T12:13:28.357Z] ---> Running in 0497e19bae86 [2021-06-25T12:13:28.357Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-25T12:13:28.357Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-25T12:13:28.357Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-25T12:13:28.357Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-25T12:13:28.357Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-25T12:13:28.357Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-25T12:13:28.357Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-25T12:13:28.357Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-25T12:13:28.357Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T12:13:28.357Z] OK: 8 MiB in 20 packages [2021-06-25T12:13:28.357Z] Removing intermediate container 0497e19bae86 [2021-06-25T12:13:28.357Z] ---> 5d50723a04b6 [2021-06-25T12:13:28.357Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-25T12:13:28.627Z] ---> d7966d2034c3 [2021-06-25T12:13:28.627Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-25T12:13:28.891Z] ---> c828c3c3ce25 [2021-06-25T12:13:28.891Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-25T12:13:28.891Z] ---> 6a89306de047 [2021-06-25T12:13:28.891Z] Step 18/24 : EXPOSE 59993 [2021-06-25T12:13:28.891Z] ---> Running in 94f10a99e5cc [2021-06-25T12:13:29.155Z] Removing intermediate container 94f10a99e5cc [2021-06-25T12:13:29.155Z] ---> d2282bfe1668 [2021-06-25T12:13:29.155Z] Step 19/24 : EXPOSE 161 [2021-06-25T12:13:29.155Z] ---> Running in aaace830c2ae [2021-06-25T12:13:29.155Z] Removing intermediate container aaace830c2ae [2021-06-25T12:13:29.155Z] ---> b900aff7e393 [2021-06-25T12:13:29.155Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-25T12:13:29.155Z] ---> Running in 1766a7f7c22f [2021-06-25T12:13:29.155Z] Removing intermediate container 1766a7f7c22f [2021-06-25T12:13:29.155Z] ---> 6da171eb34d7 [2021-06-25T12:13:29.155Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-25T12:13:29.418Z] ---> Running in 777e5d7d6470 [2021-06-25T12:13:29.418Z] Removing intermediate container 777e5d7d6470 [2021-06-25T12:13:29.418Z] ---> 2d2568d587a0 [2021-06-25T12:13:29.418Z] Step 22/24 : LABEL arch=amd64 [2021-06-25T12:13:29.418Z] ---> Running in 93294f48f924 [2021-06-25T12:13:29.418Z] Removing intermediate container 93294f48f924 [2021-06-25T12:13:29.418Z] ---> 12302a02509a [2021-06-25T12:13:29.418Z] Step 23/24 : LABEL git_sha=da9b2c7fd40bf54708229e15b280cf2a00f1873d [2021-06-25T12:13:29.418Z] ---> Running in 81c9e666b390 [2021-06-25T12:13:29.678Z] Removing intermediate container 81c9e666b390 [2021-06-25T12:13:29.678Z] ---> 3cfbb97c11c4 [2021-06-25T12:13:29.678Z] Step 24/24 : LABEL version=0.0.0 [2021-06-25T12:13:29.678Z] ---> Running in 5ea5bf64571f [2021-06-25T12:13:29.678Z] Removing intermediate container 5ea5bf64571f [2021-06-25T12:13:29.678Z] ---> 6b1f8b5569fa [2021-06-25T12:13:29.678Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-25T12:13:29.678Z] Successfully built 6b1f8b5569fa [2021-06-25T12:13:29.678Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:13:30.414Z] ---> job-cost.sh [2021-06-25T12:13:30.414Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LoF4 [2021-06-25T12:13:38.603Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T12:13:53.545Z] lf-activate-venv(): INFO: Adding /tmp/venv-LoF4/bin to PATH [2021-06-25T12:13:53.545Z] INFO: No Stack... [2021-06-25T12:13:53.545Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T12:13:53.545Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T12:13:53.848Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-06-25T12:13:53.848Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T12:13:53.880Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-2-stack-cost] [2021-06-25T12:13:53.891Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-2-stack-cost] did not exist. Created. [2021-06-25T12:13:53.891Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T12:13:54.213Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-25T12:13:54.284Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T12:13:54.297Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-25T12:14:09.874Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-25T12:14:09.874Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.034s coverage: 0.0% of statements [2021-06-25T12:14:09.874Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-25T12:14:28.272Z] gofmt -l . [2021-06-25T12:14:28.272Z] [ "`gofmt -l .`" = "" ] [2021-06-25T12:14:28.272Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-25T12:14:28.547Z] $ docker stop --time=1 06a975f9bcd1ceab866717ac42431ee2c7f6906b4f6a1ad566924927084ef193 [2021-06-25T12:14:30.533Z] $ docker rm -f 06a975f9bcd1ceab866717ac42431ee2c7f6906b4f6a1ad566924927084ef193 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T12:14:31.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T12:14:31.438Z] Warning: overwriting stash ‘coverage-report’ [2021-06-25T12:14:31.899Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T12:14:32.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T12:14:32.866Z] + ls -al . [2021-06-25T12:14:32.866Z] total 136 [2021-06-25T12:14:32.866Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 25 12:14 . [2021-06-25T12:14:32.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 12:11 .. [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 25 12:11 .dockerignore [2021-06-25T12:14:32.866Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 12:11 .git [2021-06-25T12:14:32.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 12:11 .github [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 25 12:11 .gitignore [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 25 12:11 Attribution.txt [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 4664 Jun 25 12:11 CHANGELOG.md [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 25 12:11 Dockerfile [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 25 12:11 Dockerfile.build [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 25 12:11 Jenkinsfile [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 12:11 LICENSE [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 25 12:11 Makefile [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 25 12:11 README.md [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 12:07 VERSION [2021-06-25T12:14:32.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 12:11 bin [2021-06-25T12:14:32.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 12:11 cmd [2021-06-25T12:14:32.866Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 25 12:14 coverage.out [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 223 Jun 25 12:11 go.mod [2021-06-25T12:14:32.866Z] -rw-r--r-- 1 jenkins jenkins 21038 Jun 25 12:13 go.sum [2021-06-25T12:14:32.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 12:11 internal [2021-06-25T12:14:32.866Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 25 12:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:14:33.211Z] + 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=da9b2c7fd40bf54708229e15b280cf2a00f1873d --label arch=arm64 --label version=0.0.0 . [2021-06-25T12:14:33.487Z] Sending build context to Docker daemon 392.2kB [2021-06-25T12:14:33.487Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T12:14:33.487Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-25T12:14:33.487Z] ---> a62eea2b62c1 [2021-06-25T12:14:33.487Z] Step 3/24 : ARG MAKE='make build' [2021-06-25T12:14:33.765Z] ---> Running in b8e08c292949 [2021-06-25T12:14:34.369Z] Removing intermediate container b8e08c292949 [2021-06-25T12:14:34.369Z] ---> 727c7d2a309c [2021-06-25T12:14:34.369Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-25T12:14:34.369Z] ---> Running in ca11c7b9226a [2021-06-25T12:14:34.981Z] Removing intermediate container ca11c7b9226a [2021-06-25T12:14:34.981Z] ---> 68b514b70356 [2021-06-25T12:14:34.981Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-25T12:14:34.981Z] ---> Running in b61a7713e82d [2021-06-25T12:14:35.576Z] Removing intermediate container b61a7713e82d [2021-06-25T12:14:35.576Z] ---> aedb3215b558 [2021-06-25T12:14:35.576Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T12:14:35.576Z] ---> Running in c3225438afaa [2021-06-25T12:14:38.197Z] Removing intermediate container c3225438afaa [2021-06-25T12:14:38.197Z] ---> 27b5489e8fce [2021-06-25T12:14:38.197Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-25T12:14:38.197Z] ---> Running in 5044758e6127 [2021-06-25T12:14:39.170Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T12:14:40.147Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T12:14:41.120Z] OK: 145 MiB in 53 packages [2021-06-25T12:14:42.096Z] Removing intermediate container 5044758e6127 [2021-06-25T12:14:42.096Z] ---> 0c892ee17b66 [2021-06-25T12:14:42.096Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-25T12:14:42.096Z] ---> Running in ef028c3748e8 [2021-06-25T12:14:42.691Z] Removing intermediate container ef028c3748e8 [2021-06-25T12:14:42.692Z] ---> 2b2c601bc2ab [2021-06-25T12:14:42.692Z] Step 9/24 : COPY . . [2021-06-25T12:14:43.678Z] ---> 1a390015eabd [2021-06-25T12:14:43.678Z] Step 10/24 : RUN go mod tidy [2021-06-25T12:14:43.949Z] ---> Running in 73b93812ed77 [2021-06-25T12:14:46.582Z] Removing intermediate container 73b93812ed77 [2021-06-25T12:14:46.582Z] ---> 1c28c83baed4 [2021-06-25T12:14:46.582Z] Step 11/24 : RUN make update [2021-06-25T12:14:46.857Z] ---> Running in 37002f228157 [2021-06-25T12:14:47.842Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-25T12:14:49.287Z] Removing intermediate container 37002f228157 [2021-06-25T12:14:49.287Z] ---> a5f796ac190a [2021-06-25T12:14:49.287Z] Step 12/24 : RUN ${MAKE} [2021-06-25T12:14:49.287Z] ---> Running in d703f02f883a [2021-06-25T12:14:50.270Z] go mod tidy [2021-06-25T12:14:50.868Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd [2021-06-25T12:15:29.904Z] Removing intermediate container d703f02f883a [2021-06-25T12:15:29.904Z] ---> ae68ac08dff6 [2021-06-25T12:15:29.904Z] Step 13/24 : FROM alpine:3.12 [2021-06-25T12:15:29.904Z] 3.12: Pulling from library/alpine [2021-06-25T12:15:29.904Z] d2f70382dc9a: Pulling fs layer [2021-06-25T12:15:29.904Z] d2f70382dc9a: Verifying Checksum [2021-06-25T12:15:29.904Z] d2f70382dc9a: Download complete [2021-06-25T12:15:29.904Z] d2f70382dc9a: Pull complete [2021-06-25T12:15:29.904Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T12:15:29.904Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T12:15:29.904Z] ---> c4fd0aeabfcf [2021-06-25T12:15:29.904Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-25T12:15:29.904Z] ---> Running in 74b5eb412e97 [2021-06-25T12:15:29.904Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-25T12:15:29.904Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-25T12:15:29.904Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-25T12:15:29.904Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-25T12:15:29.904Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-25T12:15:29.904Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-25T12:15:29.904Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-25T12:15:29.904Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-25T12:15:29.904Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T12:15:29.904Z] OK: 8 MiB in 20 packages [2021-06-25T12:15:30.888Z] Removing intermediate container 74b5eb412e97 [2021-06-25T12:15:30.888Z] ---> a4909d66fb21 [2021-06-25T12:15:30.888Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-25T12:15:31.872Z] ---> e57966b14b39 [2021-06-25T12:15:31.872Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-25T12:15:32.851Z] ---> 5ce470ae15fc [2021-06-25T12:15:32.851Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-25T12:15:33.448Z] ---> 524f42de9f58 [2021-06-25T12:15:33.448Z] Step 18/24 : EXPOSE 59993 [2021-06-25T12:15:33.448Z] ---> Running in 0ff207edff48 [2021-06-25T12:15:34.048Z] Removing intermediate container 0ff207edff48 [2021-06-25T12:15:34.048Z] ---> 5aa4a83f8dbb [2021-06-25T12:15:34.048Z] Step 19/24 : EXPOSE 161 [2021-06-25T12:15:34.048Z] ---> Running in 40a1303b1a4e [2021-06-25T12:15:34.646Z] Removing intermediate container 40a1303b1a4e [2021-06-25T12:15:34.646Z] ---> 904348dfe8c9 [2021-06-25T12:15:34.646Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-25T12:15:34.646Z] ---> Running in a2c117c599e1 [2021-06-25T12:15:35.247Z] Removing intermediate container a2c117c599e1 [2021-06-25T12:15:35.247Z] ---> eebaba79adeb [2021-06-25T12:15:35.247Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-25T12:15:35.247Z] ---> Running in f54eddc72063 [2021-06-25T12:15:35.843Z] Removing intermediate container f54eddc72063 [2021-06-25T12:15:35.843Z] ---> a9b4b8984b73 [2021-06-25T12:15:35.843Z] Step 22/24 : LABEL arch=arm64 [2021-06-25T12:15:35.843Z] ---> Running in c0c67e840fe9 [2021-06-25T12:15:36.443Z] Removing intermediate container c0c67e840fe9 [2021-06-25T12:15:36.443Z] ---> 60e8c5590f81 [2021-06-25T12:15:36.443Z] Step 23/24 : LABEL git_sha=da9b2c7fd40bf54708229e15b280cf2a00f1873d [2021-06-25T12:15:36.443Z] ---> Running in 40e28d10a729 [2021-06-25T12:15:37.041Z] Removing intermediate container 40e28d10a729 [2021-06-25T12:15:37.041Z] ---> b117bec5eece [2021-06-25T12:15:37.041Z] Step 24/24 : LABEL version=0.0.0 [2021-06-25T12:15:37.041Z] ---> Running in 6e299a52a809 [2021-06-25T12:15:37.637Z] Removing intermediate container 6e299a52a809 [2021-06-25T12:15:37.637Z] ---> e014c44d2db6 [2021-06-25T12:15:37.637Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-25T12:15:37.637Z] Successfully built e014c44d2db6 [2021-06-25T12:15:37.637Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:15:38.258Z] ---> job-cost.sh [2021-06-25T12:15:38.258Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rmfs [2021-06-25T12:16:17.243Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T12:17:54.034Z] lf-activate-venv(): INFO: Adding /tmp/venv-rmfs/bin to PATH [2021-06-25T12:17:54.034Z] INFO: No Stack... [2021-06-25T12:17:54.034Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-25T12:17:54.034Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T12:17:54.380Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-06-25T12:17:54.381Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T12:17:54.445Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-2-stack-cost] [2021-06-25T12:17:54.454Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-2-stack-cost] did not exist. Created. [2021-06-25T12:17:54.454Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T12:17:54.825Z] /w/workspace/device-snmp-go/2@tmp/durable-296261b0/script.sh: 1: /w/workspace/device-snmp-go/2@tmp/durable-296261b0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-25T12:17:55.169Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-25T12:17:55.190Z] Warning: overwriting stash ‘stack-cost’ [2021-06-25T12:17:55.345Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T12:17:55.360Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-2-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-25T12:17:56.179Z] provisioning config files... [2021-06-25T12:17:56.195Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config2322661570005761071tmp [Pipeline] { [Pipeline] sh [2021-06-25T12:17:56.519Z] + set +x [2021-06-25T12:17:56.519Z] + bash -s -- [2021-06-25T12:17:56.519Z] + curl -s https://codecov.io/bash [2021-06-25T12:17:56.519Z] [2021-06-25T12:17:56.519Z] _____ _ [2021-06-25T12:17:56.519Z] / ____| | | [2021-06-25T12:17:56.519Z] | | ___ __| | ___ ___ _____ __ [2021-06-25T12:17:56.519Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-25T12:17:56.519Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-25T12:17:56.519Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-25T12:17:56.519Z] Bash-1.0.3 [2021-06-25T12:17:56.519Z] [2021-06-25T12:17:56.519Z] [2021-06-25T12:17:56.519Z] ==> git version 2.24.4 found [2021-06-25T12:17:56.519Z] ==> 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-25T12:17:56.519Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-25T12:17:56.519Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-25T12:17:56.519Z] ==> Jenkins CI detected. [2021-06-25T12:17:56.519Z] project root: . [2021-06-25T12:17:56.519Z] --> token set from env [2021-06-25T12:17:56.519Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-25T12:17:56.519Z] ==> Running gcov in . (disable via -X gcov) [2021-06-25T12:17:56.519Z] ==> Python coveragepy not found [2021-06-25T12:17:56.519Z] ==> Searching for coverage reports in: [2021-06-25T12:17:56.519Z] + . [2021-06-25T12:17:56.519Z] -> Found 1 reports [2021-06-25T12:17:56.519Z] ==> Detecting git/mercurial file structure [2021-06-25T12:17:56.519Z] ==> Reading reports [2021-06-25T12:17:56.784Z] + ./coverage.out bytes=7631 [2021-06-25T12:17:56.784Z] ==> Appending adjustments [2021-06-25T12:17:56.784Z] https://docs.codecov.io/docs/fixing-reports [2021-06-25T12:17:56.784Z] + Found adjustments [2021-06-25T12:17:56.784Z] ==> Gzipping contents [2021-06-25T12:17:56.784Z] 4.0K /tmp/codecov.FUACs8.gz [2021-06-25T12:17:56.784Z] ==> Uploading reports [2021-06-25T12:17:56.784Z] url: https://codecov.io [2021-06-25T12:17:56.784Z] query: branch=PR-116&commit=da9b2c7fd40bf54708229e15b280cf2a00f1873d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-25T12:17:56.784Z] -> Pinging Codecov [2021-06-25T12:17:56.784Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-116&commit=da9b2c7fd40bf54708229e15b280cf2a00f1873d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-25T12:17:57.357Z] -> Uploading to [2021-06-25T12:17:57.357Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-25/6C56EA5C29638FB4528AC87E60AF5AE0/da9b2c7fd40bf54708229e15b280cf2a00f1873d/c3a26667-d63b-487e-94a7-c5fc6e5b5767.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210625%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210625T121757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f54902faf4a129daf9aea8a617b86fa4c8ef15d1c80841be36840568daa0297 [2021-06-25T12:17:57.357Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-25T12:17:57.357Z] Dload Upload Total Spent Left Speed [2021-06-25T12:17:57.619Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1378 0 0 100 1378 0 3945 --:--:-- --:--:-- --:--:-- 3937 100 1378 0 0 100 1378 0 3943 --:--:-- --:--:-- --:--:-- 3937 [2021-06-25T12:17:57.619Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/da9b2c7fd40bf54708229e15b280cf2a00f1873d [Pipeline] } [2021-06-25T12:17:57.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:17:59.230Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:17:59.815Z] ---> package-listing.sh [2021-06-25T12:17:59.815Z] ++ facter osfamily [2021-06-25T12:17:59.815Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-25T12:18:00.094Z] + OS_FAMILY=redhat [2021-06-25T12:18:00.094Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-25T12:18:00.094Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-25T12:18:00.094Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-25T12:18:00.094Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-25T12:18:00.094Z] + PACKAGES=/tmp/packages_start.txt [2021-06-25T12:18:00.094Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-25T12:18:00.094Z] + PACKAGES=/tmp/packages_end.txt [2021-06-25T12:18:00.094Z] + case "${OS_FAMILY}" in [2021-06-25T12:18:00.094Z] + rpm -qa [2021-06-25T12:18:00.094Z] + sort [2021-06-25T12:18:00.665Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-25T12:18:00.665Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-25T12:18:00.665Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-25T12:18:00.665Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-25T12:18:00.665Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-116/archives/ [2021-06-25T12:18:00.665Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-116/archives/ [Pipeline] echo [2021-06-25T12:18:00.678Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-25T12:18:00.969Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:18:01.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T12:18:01.541Z] [2021-06-25T12:18:01.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-25T12:18:01.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T12:18:01.866Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-25T12:18:01.866Z] df20fa9351a1: Pulling fs layer [2021-06-25T12:18:01.866Z] 36b3adc4ff6f: Pulling fs layer [2021-06-25T12:18:01.866Z] 8ad3a11d3b57: Pulling fs layer [2021-06-25T12:18:01.866Z] 46f8f816bc3b: Pulling fs layer [2021-06-25T12:18:01.866Z] 93b61091891f: Pulling fs layer [2021-06-25T12:18:01.866Z] 93b9cdb0e59b: Pulling fs layer [2021-06-25T12:18:01.866Z] 5e14af77c1be: Pulling fs layer [2021-06-25T12:18:01.866Z] 01666e4c0597: Pulling fs layer [2021-06-25T12:18:01.866Z] aa168da1d23b: Pulling fs layer [2021-06-25T12:18:01.866Z] 46f8f816bc3b: Waiting [2021-06-25T12:18:01.866Z] 93b61091891f: Waiting [2021-06-25T12:18:01.866Z] 93b9cdb0e59b: Waiting [2021-06-25T12:18:01.866Z] 5e14af77c1be: Waiting [2021-06-25T12:18:01.866Z] 01666e4c0597: Waiting [2021-06-25T12:18:01.866Z] aa168da1d23b: Waiting [2021-06-25T12:18:01.866Z] 36b3adc4ff6f: Verifying Checksum [2021-06-25T12:18:01.866Z] 36b3adc4ff6f: Download complete [2021-06-25T12:18:01.866Z] 46f8f816bc3b: Verifying Checksum [2021-06-25T12:18:01.866Z] 46f8f816bc3b: Download complete [2021-06-25T12:18:02.149Z] df20fa9351a1: Verifying Checksum [2021-06-25T12:18:02.149Z] df20fa9351a1: Download complete [2021-06-25T12:18:02.149Z] 93b9cdb0e59b: Verifying Checksum [2021-06-25T12:18:02.149Z] 93b9cdb0e59b: Download complete [2021-06-25T12:18:02.149Z] 93b61091891f: Verifying Checksum [2021-06-25T12:18:02.149Z] 93b61091891f: Download complete [2021-06-25T12:18:02.149Z] 5e14af77c1be: Verifying Checksum [2021-06-25T12:18:02.149Z] 5e14af77c1be: Download complete [2021-06-25T12:18:02.149Z] 01666e4c0597: Verifying Checksum [2021-06-25T12:18:02.149Z] 01666e4c0597: Download complete [2021-06-25T12:18:02.149Z] df20fa9351a1: Pull complete [2021-06-25T12:18:02.149Z] 8ad3a11d3b57: Verifying Checksum [2021-06-25T12:18:02.149Z] 8ad3a11d3b57: Download complete [2021-06-25T12:18:02.416Z] 36b3adc4ff6f: Pull complete [2021-06-25T12:18:02.681Z] 8ad3a11d3b57: Pull complete [2021-06-25T12:18:02.943Z] 46f8f816bc3b: Pull complete [2021-06-25T12:18:03.207Z] 93b61091891f: Pull complete [2021-06-25T12:18:03.207Z] 93b9cdb0e59b: Pull complete [2021-06-25T12:18:03.207Z] 5e14af77c1be: Pull complete [2021-06-25T12:18:03.469Z] 01666e4c0597: Pull complete [2021-06-25T12:18:04.066Z] aa168da1d23b: Verifying Checksum [2021-06-25T12:18:04.066Z] aa168da1d23b: Download complete [2021-06-25T12:18:08.286Z] aa168da1d23b: Pull complete [2021-06-25T12:18:08.286Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-25T12:18:08.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T12:18:08.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-25T12:18:08.374Z] prd-centos7-docker-4c-2g-58 does not seem to be running inside a container [2021-06-25T12:18:08.441Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-116 -v /w/workspace/gexfoundry_device-snmp-go_PR-116:/w/workspace/gexfoundry_device-snmp-go_PR-116:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-25T12:18:12.852Z] $ docker top 376e2a4cb44182eea40ef7f99a693c861645a8dcebebc5cfd6c80a0d50d6e06a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T12:18:13.260Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-25T12:18:13.560Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-25T12:18:13.866Z] + ls /var/log/sa-host [2021-06-25T12:18:13.867Z] + sadf -c /var/log/sa-host/sa05 [2021-06-25T12:18:13.867Z] file_magic: OK [2021-06-25T12:18:13.867Z] HZ: Using current value: 100 [2021-06-25T12:18:13.867Z] file_header: OK [2021-06-25T12:18:13.867Z] 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-25T12:18:13.867Z] Statistics: [2021-06-25T12:18:13.867Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T12:18:13.867Z] File successfully converted to sysstat format version 12.2.1 [2021-06-25T12:18:13.867Z] + sadf -c /var/log/sa-host/sa25 [2021-06-25T12:18:13.867Z] file_magic: OK [2021-06-25T12:18:13.867Z] HZ: Using current value: 100 [2021-06-25T12:18:13.867Z] file_header: OK [2021-06-25T12:18:13.867Z] 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-25T12:18:13.867Z] Statistics: [2021-06-25T12:18:13.867Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T12:18:13.867Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T12:18:14.056Z] provisioning config files... [2021-06-25T12:18:14.068Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config7931295440471167128tmp [Pipeline] { [Pipeline] echo [2021-06-25T12:18:14.091Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:18:14.393Z] ---> create-netrc.sh [Pipeline] } [2021-06-25T12:18:14.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:18:14.791Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-25T12:18:14.803Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:18:15.099Z] ---> sudo-logs.sh [2021-06-25T12:18:15.099Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-25T12:18:15.127Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:18:15.441Z] ---> job-cost.sh [2021-06-25T12:18:15.441Z] lf-activate-venv: SKIPPING [2021-06-25T12:18:15.441Z] DEBUG: total: 0.18000000715255737 [2021-06-25T12:18:15.441Z] INFO: Retrieving Stack Cost... [2021-06-25T12:18:16.390Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T12:18:16.962Z] INFO: Archiving Costs [Pipeline] echo [2021-06-25T12:18:16.984Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T12:18:17.296Z] ---> logs-deploy.sh [2021-06-25T12:18:17.296Z] lf-activate-venv: SKIPPING [2021-06-25T12:18:17.296Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-116/2 [2021-06-25T12:18:17.296Z] INFO: archiving workspace using pattern(s): [2021-06-25T12:18:18.252Z] Archives upload complete. [2021-06-25T12:18:18.252Z] INFO: archiving logs to Nexus