Branch indexing 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 66018360564ba4aba179fe2ee10e2365c1c77a99+818dce0908d2f6acf1a74ddc47b633f382a6be16 (38cefb79b041fed5871374a2a163b0110903ba9e) 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-ssh6668366169040284083.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-ssh722677868685944871.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-ssh5510878423367016156.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-ssh6785397698938439509.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-ssh5836357811330885528.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-915’ is offline Running on prd-centos7-docker-4c-2g-579 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-ssh1455741999015498295.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-ssh6524515082141767125.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 818dce0908d2f6acf1a74ddc47b633f382a6be16 into PR head commit 66018360564ba4aba179fe2ee10e2365c1c77a99 Merge succeeded, producing 10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c Checking out Revision 10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c (PR-116) > git config core.sparsecheckout # timeout=10 > git checkout -f 66018360564ba4aba179fe2ee10e2365c1c77a99 # 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-ssh8598457688541478023.key > git merge 818dce0908d2f6acf1a74ddc47b633f382a6be16 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c # timeout=10 Commit message: "Merge commit '818dce0908d2f6acf1a74ddc47b633f382a6be16' into HEAD" > git rev-list --no-walk 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-28T23:25:46.546Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-28T23:25:46.642Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-28T23:25:46.678Z] ========================================================= [2021-06-28T23:25:46.678Z] EdgeX Global Pipelines Version Info [2021-06-28T23:25:46.678Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:25:48.177Z] ------------------- [2021-06-28T23:25:48.178Z] stable info: [2021-06-28T23:25:48.178Z] ------------------- [2021-06-28T23:25:48.178Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-28T23:25:48.178Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T23:25:48.178Z] Message: update stable to v1.0.195 [2021-06-28T23:25:48.751Z] ------------------- [2021-06-28T23:25:48.751Z] experimental info: [2021-06-28T23:25:48.751Z] ------------------- [2021-06-28T23:25:48.751Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-28T23:25:48.751Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-28T23:25:48.751Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-28T23:25:48.872Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-06-28T23:25:48.895Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-06-28T23:25:48.918Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-28T23:25:48.940Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-28T23:25:48.962Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-28T23:25:48.985Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-28T23:25:49.008Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-28T23:25:49.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-28T23:25:49.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-28T23:25:49.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-28T23:25:49.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-28T23:25:49.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-06-28T23:25:49.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-28T23:25:49.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-28T23:25:49.217Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T23:25:49.247Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-28T23:25:49.272Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T23:25:49.295Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-28T23:25:49.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-28T23:25:49.342Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-28T23:25:49.365Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-28T23:25:49.407Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-28T23:25:49.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-28T23:25:49.456Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-28T23:25:49.480Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-28T23:25:49.506Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-28T23:25:49.530Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo [2021-06-28T23:25:49.554Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo [2021-06-28T23:25:49.577Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo [2021-06-28T23:25:49.601Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c [Pipeline] echo [2021-06-28T23:25:49.625Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10d6bfb [Pipeline] echo [2021-06-28T23:25:49.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T23:25:49.727Z] provisioning config files... [2021-06-28T23:25:49.746Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config5071255818137943002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:25:50.070Z] ---> docker-login.sh [2021-06-28T23:25:50.070Z] nexus3.edgexfoundry.org:10001 [2021-06-28T23:25:50.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:25:50.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:25:50.331Z] Configure a credential helper to remove this warning. See [2021-06-28T23:25:50.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:25:50.331Z] [2021-06-28T23:25:50.331Z] Login Succeeded [2021-06-28T23:25:50.331Z] nexus3.edgexfoundry.org:10002 [2021-06-28T23:25:50.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:25:50.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:25:50.591Z] Configure a credential helper to remove this warning. See [2021-06-28T23:25:50.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:25:50.591Z] [2021-06-28T23:25:50.591Z] Login Succeeded [2021-06-28T23:25:50.591Z] nexus3.edgexfoundry.org:10003 [2021-06-28T23:25:50.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:25:50.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:25:50.591Z] Configure a credential helper to remove this warning. See [2021-06-28T23:25:50.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:25:50.591Z] [2021-06-28T23:25:50.591Z] Login Succeeded [2021-06-28T23:25:50.591Z] nexus3.edgexfoundry.org:10004 [2021-06-28T23:25:50.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:25:50.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:25:50.853Z] Configure a credential helper to remove this warning. See [2021-06-28T23:25:50.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:25:50.853Z] [2021-06-28T23:25:50.853Z] Login Succeeded [2021-06-28T23:25:50.853Z] docker.io [2021-06-28T23:25:50.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:25:51.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:25:51.119Z] Configure a credential helper to remove this warning. See [2021-06-28T23:25:51.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:25:51.119Z] [2021-06-28T23:25:51.119Z] Login Succeeded [2021-06-28T23:25:51.119Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T23:25:51.129Z] 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-28T23:25:51.641Z] + git log --format=format:%s -1 10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c [Pipeline] echo [2021-06-28T23:25:51.684Z] GIT_COMMIT: 10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c, Commit Message: Merge commit '818dce0908d2f6acf1a74ddc47b633f382a6be16' into HEAD [Pipeline] echo [2021-06-28T23:25:51.699Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:25:52.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T23:25:52.431Z] [2021-06-28T23:25:52.431Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:25:52.750Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T23:25:52.750Z] latest: Pulling from edgex-devops/git-semver [2021-06-28T23:25:52.750Z] 31603596830f: Pulling fs layer [2021-06-28T23:25:52.750Z] 54011a49482f: Pulling fs layer [2021-06-28T23:25:52.750Z] a6820b24f6d8: Pulling fs layer [2021-06-28T23:25:52.750Z] f581987b2513: Pulling fs layer [2021-06-28T23:25:52.750Z] f581987b2513: Waiting [2021-06-28T23:25:52.750Z] 54011a49482f: Verifying Checksum [2021-06-28T23:25:52.750Z] 54011a49482f: Download complete [2021-06-28T23:25:53.017Z] 31603596830f: Verifying Checksum [2021-06-28T23:25:53.017Z] 31603596830f: Download complete [2021-06-28T23:25:53.017Z] a6820b24f6d8: Verifying Checksum [2021-06-28T23:25:53.017Z] a6820b24f6d8: Download complete [2021-06-28T23:25:53.017Z] f581987b2513: Verifying Checksum [2021-06-28T23:25:53.017Z] f581987b2513: Download complete [2021-06-28T23:25:53.017Z] 31603596830f: Pull complete [2021-06-28T23:25:53.279Z] 54011a49482f: Pull complete [2021-06-28T23:25:53.857Z] a6820b24f6d8: Pull complete [2021-06-28T23:25:53.857Z] f581987b2513: Pull complete [2021-06-28T23:25:54.119Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-28T23:25:54.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-28T23:25:54.119Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-28T23:25:54.203Z] prd-centos7-docker-4c-2g-579 does not seem to be running inside a container [2021-06-28T23:25:54.260Z] $ 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-28T23:25:55.223Z] $ docker top 727d3efc579cb98144aa81f72f4333b9ab3b24560585fe9e73ba9cbaa98c41cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-28T23:25:55.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T23:25:55.354Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T23:25:55.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T23:25:55.459Z] $ docker exec 727d3efc579cb98144aa81f72f4333b9ab3b24560585fe9e73ba9cbaa98c41cb ssh-agent [2021-06-28T23:25:55.568Z] SSH_AUTH_SOCK=/tmp/ssh-A05JJF3IgVqK/agent.15 [2021-06-28T23:25:55.568Z] SSH_AGENT_PID=22 [2021-06-28T23:25:55.576Z] Running ssh-add (command line suppressed) [2021-06-28T23:25:55.694Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_2407239861376269459.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_2407239861376269459.key) [2021-06-28T23:25:55.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T23:25:56.018Z] + git tag --points-at HEAD [Pipeline] } [2021-06-28T23:25:56.030Z] $ docker exec --env ******** --env ******** 727d3efc579cb98144aa81f72f4333b9ab3b24560585fe9e73ba9cbaa98c41cb ssh-agent -k [2021-06-28T23:25:56.124Z] unset SSH_AUTH_SOCK; [2021-06-28T23:25:56.125Z] unset SSH_AGENT_PID; [2021-06-28T23:25:56.125Z] echo Agent pid 22 killed; [2021-06-28T23:25:56.138Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-28T23:25:56.190Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-28T23:25:56.190Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-28T23:25:56.327Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-28T23:25:56.327Z] $ docker exec 727d3efc579cb98144aa81f72f4333b9ab3b24560585fe9e73ba9cbaa98c41cb ssh-agent [2021-06-28T23:25:56.445Z] SSH_AUTH_SOCK=/tmp/ssh-FJ9leEtiSzay/agent.54 [2021-06-28T23:25:56.445Z] SSH_AGENT_PID=61 [2021-06-28T23:25:56.451Z] Running ssh-add (command line suppressed) [2021-06-28T23:25:56.535Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_860971734276903156.key (/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/private_key_860971734276903156.key) [2021-06-28T23:25:56.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-28T23:25:56.854Z] + git semver init [2021-06-28T23:25:56.854Z] # -> Open(): unable to determine branch for HEAD [2021-06-28T23:25:56.854Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.git [2021-06-28T23:25:56.854Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-28T23:25:56.854Z] # $SEMVER_REMOTE_NAME = origin [2021-06-28T23:25:56.854Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-28T23:25:56.854Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-28T23:25:56.854Z] # $SEMVER_BRANCH = PR-116 [2021-06-28T23:25:56.854Z] # $SEMVER_TEMP = /tmp/semver-269510121 [2021-06-28T23:25:56.854Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-06-28T23:25:57.428Z] # '/tmp/semver-269510121' -> '/w/workspace/gexfoundry_device-snmp-go_PR-116/.semver' [2021-06-28T23:25:57.428Z] # -> Force: false [2021-06-28T23:25:57.428Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-116/.semver [Pipeline] } [2021-06-28T23:25:57.441Z] $ docker exec --env ******** --env ******** 727d3efc579cb98144aa81f72f4333b9ab3b24560585fe9e73ba9cbaa98c41cb ssh-agent -k [2021-06-28T23:25:57.532Z] unset SSH_AUTH_SOCK; [2021-06-28T23:25:57.534Z] unset SSH_AGENT_PID; [2021-06-28T23:25:57.534Z] echo Agent pid 61 killed; [2021-06-28T23:25:57.547Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-28T23:25:57.895Z] + git semver [Pipeline] } [2021-06-28T23:25:57.909Z] $ docker stop --time=1 727d3efc579cb98144aa81f72f4333b9ab3b24560585fe9e73ba9cbaa98c41cb [2021-06-28T23:25:59.155Z] $ docker rm -f 727d3efc579cb98144aa81f72f4333b9ab3b24560585fe9e73ba9cbaa98c41cb [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T23:25:59.523Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-28T23:25:59.788Z] Stashed 1 file(s) [Pipeline] echo [2021-06-28T23:25:59.793Z] [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-28T23:26:15.044Z] Still waiting to schedule task [2021-06-28T23:26:15.044Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-28T23:26:15.047Z] Still waiting to schedule task [2021-06-28T23:26:15.047Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-28T23:28:23.939Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-580 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-28T23:28:23.962Z] Running in /w/workspace/device-snmp-go/6 [Pipeline] { [Pipeline] checkout [2021-06-28T23:28:24.207Z] Selected Git installation does not exist. Using Default [2021-06-28T23:28:24.207Z] The recommended git tool is: NONE [2021-06-28T23:28:29.790Z] using credential edgex-jenkins-ssh [2021-06-28T23:28:29.813Z] Cloning the remote Git repository [2021-06-28T23:28:29.863Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T23:28:29.972Z] > git init /w/workspace/device-snmp-go/6 # timeout=10 [2021-06-28T23:28:30.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T23:28:30.068Z] > git --version # timeout=10 [2021-06-28T23:28:30.085Z] > git --version # 'git version 2.17.1' [2021-06-28T23:28:30.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T23:28:30.160Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T23:28:31.549Z] Merging remotes/origin/master commit 818dce0908d2f6acf1a74ddc47b633f382a6be16 into PR head commit 66018360564ba4aba179fe2ee10e2365c1c77a99 [2021-06-28T23:28:30.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T23:28:30.914Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T23:28:30.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T23:28:30.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T23:28:30.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T23:28:30.990Z] > 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-28T23:28:31.571Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T23:28:31.584Z] > git checkout -f 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 [2021-06-28T23:28:31.764Z] Merge succeeded, producing c3e40301eb520a88fa5da00c167a3df046faf10a [2021-06-28T23:28:31.765Z] Checking out Revision c3e40301eb520a88fa5da00c167a3df046faf10a (PR-116) [2021-06-28T23:28:31.661Z] > git remote # timeout=10 [2021-06-28T23:28:31.682Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T23:28:31.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T23:28:31.708Z] > git merge 818dce0908d2f6acf1a74ddc47b633f382a6be16 # timeout=10 [2021-06-28T23:28:31.749Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T23:28:31.772Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T23:28:31.791Z] > git checkout -f c3e40301eb520a88fa5da00c167a3df046faf10a # timeout=10 [2021-06-28T23:28:36.031Z] Commit message: "Merge commit '818dce0908d2f6acf1a74ddc47b633f382a6be16' into HEAD" [2021-06-28T23:28:36.040Z] > git rev-list --no-walk 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T23:28:37.613Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-28T23:28:38.030Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-28T23:28:38.375Z] + true [2021-06-28T23:28:38.375Z] + sudo service docker restart [2021-06-28T23:28:48.133Z] Running on prd-centos7-docker-4c-2g-581 in /w/workspace/gexfoundry_device-snmp-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-28T23:28:48.160Z] Running in /w/workspace/device-snmp-go/6 [Pipeline] { [Pipeline] checkout [2021-06-28T23:28:48.290Z] Selected Git installation does not exist. Using Default [2021-06-28T23:28:48.290Z] The recommended git tool is: NONE [2021-06-28T23:28:50.524Z] using credential edgex-jenkins-ssh [2021-06-28T23:28:50.579Z] Cloning the remote Git repository [2021-06-28T23:28:49.812Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T23:28:49.880Z] > git init /w/workspace/device-snmp-go/6 # timeout=10 [2021-06-28T23:28:49.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T23:28:49.908Z] > git --version # timeout=10 [2021-06-28T23:28:49.916Z] > git --version # 'git version 2.24.4' [2021-06-28T23:28:49.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T23:28:49.940Z] [INFO] Currently running in a labeled security context [2021-06-28T23:28:49.940Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T23:28:49.940Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/6@tmp/jenkins-gitclient-ssh2687220914096909067.key [2021-06-28T23:28:49.953Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T23:28:50.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T23:28:50.467Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-28T23:28:50.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-06-28T23:28:50.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-06-28T23:28:50.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T23:28:50.500Z] [INFO] Currently running in a labeled security context [2021-06-28T23:28:50.500Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T23:28:50.500Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/6@tmp/jenkins-gitclient-ssh6709776248795012468.key [2021-06-28T23:28:50.506Z] > 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-28T23:28:51.685Z] Merging remotes/origin/master commit 818dce0908d2f6acf1a74ddc47b633f382a6be16 into PR head commit 66018360564ba4aba179fe2ee10e2365c1c77a99 [2021-06-28T23:28:51.778Z] Merge succeeded, producing 7327116566c04b14658a04dec177a312c5897020 [2021-06-28T23:28:51.779Z] Checking out Revision 7327116566c04b14658a04dec177a312c5897020 (PR-116) [2021-06-28T23:28:50.987Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T23:28:50.994Z] > git checkout -f 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 [2021-06-28T23:28:51.030Z] > git remote # timeout=10 [2021-06-28T23:28:51.040Z] > git config --get remote.origin.url # timeout=10 [2021-06-28T23:28:51.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-28T23:28:51.048Z] [INFO] Currently running in a labeled security context [2021-06-28T23:28:51.048Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-28T23:28:51.049Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/6@tmp/jenkins-gitclient-ssh4291487358941582812.key [2021-06-28T23:28:51.053Z] > git merge 818dce0908d2f6acf1a74ddc47b633f382a6be16 # timeout=10 [2021-06-28T23:28:51.068Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-28T23:28:51.082Z] > git config core.sparsecheckout # timeout=10 [2021-06-28T23:28:51.091Z] > git checkout -f 7327116566c04b14658a04dec177a312c5897020 # timeout=10 [2021-06-28T23:28:55.118Z] Commit message: "Merge commit '818dce0908d2f6acf1a74ddc47b633f382a6be16' into HEAD" [2021-06-28T23:28:54.700Z] > git rev-list --no-walk 66018360564ba4aba179fe2ee10e2365c1c77a99 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T23:28:56.098Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-28T23:28:56.424Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T23:28:56.726Z] + sudo service docker restart [2021-06-28T23:28:56.726Z] + true [2021-06-28T23:28:56.726Z] Redirecting to /bin/systemctl restart docker.service [2021-06-28T23:28:56.727Z] provisioning config files... [2021-06-28T23:28:56.755Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/6@tmp/config7861106851536503630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:28:57.125Z] ---> docker-login.sh [2021-06-28T23:28:57.125Z] nexus3.edgexfoundry.org:10001 [2021-06-28T23:28:58.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:28:58.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:28:58.379Z] Configure a credential helper to remove this warning. See [2021-06-28T23:28:58.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:28:58.379Z] [2021-06-28T23:28:58.379Z] Login Succeeded [2021-06-28T23:28:58.379Z] nexus3.edgexfoundry.org:10002 [2021-06-28T23:28:58.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:28:58.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:28:58.977Z] Configure a credential helper to remove this warning. See [2021-06-28T23:28:58.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:28:58.977Z] [2021-06-28T23:28:58.977Z] Login Succeeded [2021-06-28T23:28:58.977Z] nexus3.edgexfoundry.org:10003 [2021-06-28T23:28:59.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:28:59.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:28:59.526Z] Configure a credential helper to remove this warning. See [2021-06-28T23:28:59.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:28:59.526Z] [2021-06-28T23:28:59.526Z] Login Succeeded [2021-06-28T23:28:59.526Z] nexus3.edgexfoundry.org:10004 [2021-06-28T23:29:00.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:29:00.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:29:00.127Z] Configure a credential helper to remove this warning. See [2021-06-28T23:29:00.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:29:00.127Z] [2021-06-28T23:29:00.127Z] Login Succeeded [2021-06-28T23:29:00.127Z] docker.io [2021-06-28T23:29:00.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:29:00.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:29:00.999Z] Configure a credential helper to remove this warning. See [2021-06-28T23:29:00.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:29:00.999Z] [2021-06-28T23:29:00.999Z] Login Succeeded [2021-06-28T23:29:00.999Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T23:29:01.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T23:29:01.507Z] ========================================================= [2021-06-28T23:29:01.507Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-28T23:29:01.507Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:29:01.872Z] + 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-28T23:29:02.484Z] Sending build context to Docker daemon 392.7kB [2021-06-28T23:29:02.484Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T23:29:02.484Z] Step 2/10 : FROM ${BASE} [2021-06-28T23:29:02.484Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-28T23:29:02.484Z] 595b0fe564bb: Pulling fs layer [2021-06-28T23:29:02.484Z] 3088b5b3c5c0: Pulling fs layer [2021-06-28T23:29:02.484Z] 5b7225fbf94c: Pulling fs layer [2021-06-28T23:29:02.484Z] ba82ee9f976e: Pulling fs layer [2021-06-28T23:29:02.484Z] 506bd15cee9f: Pulling fs layer [2021-06-28T23:29:02.484Z] 75a0a4a0db45: Pulling fs layer [2021-06-28T23:29:02.484Z] 618dc40b7e24: Pulling fs layer [2021-06-28T23:29:02.484Z] ba82ee9f976e: Waiting [2021-06-28T23:29:02.484Z] 506bd15cee9f: Waiting [2021-06-28T23:29:02.484Z] 75a0a4a0db45: Waiting [2021-06-28T23:29:02.484Z] 618dc40b7e24: Waiting [2021-06-28T23:29:02.484Z] 5b7225fbf94c: Verifying Checksum [2021-06-28T23:29:02.484Z] 5b7225fbf94c: Download complete [2021-06-28T23:29:02.484Z] 3088b5b3c5c0: Verifying Checksum [2021-06-28T23:29:02.484Z] 3088b5b3c5c0: Download complete [2021-06-28T23:29:02.768Z] 506bd15cee9f: Verifying Checksum [2021-06-28T23:29:02.768Z] 506bd15cee9f: Download complete [2021-06-28T23:29:02.768Z] 75a0a4a0db45: Verifying Checksum [2021-06-28T23:29:02.768Z] 595b0fe564bb: Verifying Checksum [2021-06-28T23:29:02.768Z] 595b0fe564bb: Download complete [2021-06-28T23:29:03.777Z] 595b0fe564bb: Pull complete [2021-06-28T23:29:04.059Z] 3088b5b3c5c0: Pull complete [2021-06-28T23:29:04.660Z] 5b7225fbf94c: Pull complete [2021-06-28T23:29:06.100Z] 618dc40b7e24: Verifying Checksum [2021-06-28T23:29:06.377Z] ba82ee9f976e: Verifying Checksum [2021-06-28T23:29:06.377Z] ba82ee9f976e: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T23:29:14.897Z] provisioning config files... [2021-06-28T23:29:14.912Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/6@tmp/config4373497571877972490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:29:15.238Z] ---> docker-login.sh [2021-06-28T23:29:15.238Z] nexus3.edgexfoundry.org:10001 [2021-06-28T23:29:15.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:29:15.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:29:15.506Z] Configure a credential helper to remove this warning. See [2021-06-28T23:29:15.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:29:15.506Z] [2021-06-28T23:29:15.506Z] Login Succeeded [2021-06-28T23:29:15.506Z] nexus3.edgexfoundry.org:10002 [2021-06-28T23:29:15.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:29:15.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:29:15.506Z] Configure a credential helper to remove this warning. See [2021-06-28T23:29:15.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:29:15.506Z] [2021-06-28T23:29:15.506Z] Login Succeeded [2021-06-28T23:29:15.506Z] nexus3.edgexfoundry.org:10003 [2021-06-28T23:29:15.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:29:15.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:29:15.771Z] Configure a credential helper to remove this warning. See [2021-06-28T23:29:15.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:29:15.771Z] [2021-06-28T23:29:15.771Z] Login Succeeded [2021-06-28T23:29:15.771Z] nexus3.edgexfoundry.org:10004 [2021-06-28T23:29:15.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:29:15.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:29:15.771Z] Configure a credential helper to remove this warning. See [2021-06-28T23:29:15.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:29:15.771Z] [2021-06-28T23:29:15.771Z] Login Succeeded [2021-06-28T23:29:15.771Z] docker.io [2021-06-28T23:29:16.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-28T23:29:16.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-28T23:29:16.300Z] Configure a credential helper to remove this warning. See [2021-06-28T23:29:16.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-28T23:29:16.300Z] [2021-06-28T23:29:16.300Z] Login Succeeded [2021-06-28T23:29:16.300Z] ---> docker-login.sh ends [Pipeline] } [2021-06-28T23:29:16.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-28T23:29:16.479Z] ========================================================= [2021-06-28T23:29:16.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-28T23:29:16.479Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:29:16.789Z] + 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-28T23:29:16.789Z] Sending build context to Docker daemon 393.7kB [2021-06-28T23:29:16.789Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T23:29:16.789Z] Step 2/10 : FROM ${BASE} [2021-06-28T23:29:16.789Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-28T23:29:16.789Z] 540db60ca938: Pulling fs layer [2021-06-28T23:29:16.789Z] adcc1eea9eea: Pulling fs layer [2021-06-28T23:29:16.789Z] 4c4ab2625f07: Pulling fs layer [2021-06-28T23:29:16.789Z] 0510c868ecb4: Pulling fs layer [2021-06-28T23:29:16.789Z] afea3b2eda06: Pulling fs layer [2021-06-28T23:29:16.789Z] 7809a108b3ef: Pulling fs layer [2021-06-28T23:29:16.789Z] f706445af74f: Pulling fs layer [2021-06-28T23:29:16.789Z] 0510c868ecb4: Waiting [2021-06-28T23:29:16.789Z] afea3b2eda06: Waiting [2021-06-28T23:29:16.789Z] 7809a108b3ef: Waiting [2021-06-28T23:29:16.789Z] f706445af74f: Waiting [2021-06-28T23:29:17.052Z] 4c4ab2625f07: Verifying Checksum [2021-06-28T23:29:17.052Z] 4c4ab2625f07: Download complete [2021-06-28T23:29:17.052Z] adcc1eea9eea: Verifying Checksum [2021-06-28T23:29:17.052Z] adcc1eea9eea: Download complete [2021-06-28T23:29:17.052Z] afea3b2eda06: Verifying Checksum [2021-06-28T23:29:17.052Z] afea3b2eda06: Download complete [2021-06-28T23:29:17.052Z] 7809a108b3ef: Verifying Checksum [2021-06-28T23:29:17.052Z] 7809a108b3ef: Download complete [2021-06-28T23:29:17.052Z] 540db60ca938: Verifying Checksum [2021-06-28T23:29:17.052Z] 540db60ca938: Download complete [2021-06-28T23:29:17.315Z] 540db60ca938: Pull complete [2021-06-28T23:29:17.315Z] adcc1eea9eea: Pull complete [2021-06-28T23:29:17.576Z] 4c4ab2625f07: Pull complete [2021-06-28T23:29:18.522Z] f706445af74f: Verifying Checksum [2021-06-28T23:29:18.522Z] f706445af74f: Download complete [2021-06-28T23:29:18.823Z] ba82ee9f976e: Pull complete [2021-06-28T23:29:18.823Z] 506bd15cee9f: Pull complete [2021-06-28T23:29:18.823Z] 75a0a4a0db45: Pull complete [2021-06-28T23:29:19.097Z] 0510c868ecb4: Verifying Checksum [2021-06-28T23:29:19.097Z] 0510c868ecb4: Download complete [2021-06-28T23:29:22.223Z] 618dc40b7e24: Pull complete [2021-06-28T23:29:22.223Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-28T23:29:22.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-28T23:29:22.223Z] ---> a36622ca3599 [2021-06-28T23:29:22.223Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T23:29:22.445Z] 0510c868ecb4: Pull complete [2021-06-28T23:29:22.445Z] afea3b2eda06: Pull complete [2021-06-28T23:29:22.445Z] 7809a108b3ef: Pull complete [2021-06-28T23:29:23.668Z] ---> Running in f2fe72b4e880 [2021-06-28T23:29:23.834Z] f706445af74f: Pull complete [2021-06-28T23:29:23.834Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-28T23:29:23.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-28T23:29:23.834Z] ---> b068be0155e3 [2021-06-28T23:29:23.834Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T23:29:23.942Z] Removing intermediate container f2fe72b4e880 [2021-06-28T23:29:23.942Z] ---> d81ad824b8f1 [2021-06-28T23:29:23.942Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T23:29:24.218Z] ---> Running in 799906af34f9 [2021-06-28T23:29:24.500Z] Removing intermediate container 799906af34f9 [2021-06-28T23:29:24.500Z] ---> ff8297ab371a [2021-06-28T23:29:24.500Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-28T23:29:24.775Z] ---> Running in d3e5e08f852d [2021-06-28T23:29:25.370Z] Removing intermediate container d3e5e08f852d [2021-06-28T23:29:25.370Z] ---> afa6d9ee164b [2021-06-28T23:29:25.370Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T23:29:25.370Z] ---> Running in b6e22ffa15ea [2021-06-28T23:29:28.001Z] Removing intermediate container b6e22ffa15ea [2021-06-28T23:29:28.001Z] ---> 12b4d692a852 [2021-06-28T23:29:28.001Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T23:29:28.001Z] ---> Running in 6736c16f12da [2021-06-28T23:29:28.068Z] ---> Running in 052cdb0bd3d3 [2021-06-28T23:29:28.068Z] Removing intermediate container 052cdb0bd3d3 [2021-06-28T23:29:28.068Z] ---> ba06bbb11c8d [2021-06-28T23:29:28.068Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T23:29:28.068Z] ---> Running in 04baff519f06 [2021-06-28T23:29:28.068Z] Removing intermediate container 04baff519f06 [2021-06-28T23:29:28.068Z] ---> da79e51fb462 [2021-06-28T23:29:28.068Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' [2021-06-28T23:29:28.068Z] ---> Running in bdc9d299ac23 [2021-06-28T23:29:28.068Z] Removing intermediate container bdc9d299ac23 [2021-06-28T23:29:28.068Z] ---> a185e846dc5a [2021-06-28T23:29:28.068Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T23:29:28.335Z] ---> Running in 568a0738ce00 [2021-06-28T23:29:28.907Z] Removing intermediate container 568a0738ce00 [2021-06-28T23:29:28.907Z] ---> 1d2d33bb612a [2021-06-28T23:29:28.907Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T23:29:28.907Z] ---> Running in ca4a52e02901 [2021-06-28T23:29:28.982Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T23:29:29.169Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T23:29:29.958Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T23:29:30.118Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T23:29:30.379Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-28T23:29:30.379Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-28T23:29:30.640Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-28T23:29:30.640Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-28T23:29:30.640Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T23:29:30.902Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-28T23:29:30.902Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-28T23:29:30.934Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-28T23:29:30.934Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-28T23:29:31.162Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-28T23:29:31.162Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-28T23:29:31.204Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-28T23:29:31.205Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-28T23:29:31.424Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-28T23:29:31.424Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-28T23:29:31.424Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-28T23:29:31.477Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-28T23:29:31.477Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-28T23:29:31.477Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-28T23:29:31.687Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-28T23:29:31.687Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T23:29:31.687Z] OK: 156 MiB in 53 packages [2021-06-28T23:29:32.070Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-28T23:29:32.070Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-28T23:29:32.070Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-28T23:29:32.264Z] Removing intermediate container ca4a52e02901 [2021-06-28T23:29:32.264Z] ---> 5e8a43c2c5b4 [2021-06-28T23:29:32.264Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-28T23:29:32.264Z] ---> Running in b024e1ef1d77 [2021-06-28T23:29:32.264Z] Removing intermediate container b024e1ef1d77 [2021-06-28T23:29:32.264Z] ---> 900a98e4d97a [2021-06-28T23:29:32.264Z] Step 9/10 : COPY . . [2021-06-28T23:29:32.345Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-28T23:29:32.345Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-28T23:29:32.345Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-28T23:29:32.525Z] ---> 44c4acba3e0d [2021-06-28T23:29:32.525Z] Step 10/10 : RUN go mod download [2021-06-28T23:29:32.525Z] ---> Running in 1df0b3b56647 [2021-06-28T23:29:32.618Z] Executing busybox-1.32.1-r6.trigger [2021-06-28T23:29:32.618Z] OK: 145 MiB in 53 packages [2021-06-28T23:29:34.061Z] Removing intermediate container 6736c16f12da [2021-06-28T23:29:34.061Z] ---> c1c4300b13bb [2021-06-28T23:29:34.061Z] Step 8/10 : WORKDIR /device-snmp-go [2021-06-28T23:29:34.061Z] ---> Running in 0f9fe06d7458 [2021-06-28T23:29:34.663Z] Removing intermediate container 0f9fe06d7458 [2021-06-28T23:29:34.663Z] ---> 972a96023894 [2021-06-28T23:29:34.663Z] Step 9/10 : COPY . . [2021-06-28T23:29:35.645Z] ---> a3a27829c921 [2021-06-28T23:29:35.645Z] Step 10/10 : RUN go mod download [2021-06-28T23:29:35.645Z] ---> Running in 36bcbfc4cc30 [2021-06-28T23:29:47.454Z] Removing intermediate container 1df0b3b56647 [2021-06-28T23:29:47.454Z] ---> 4fb3307450dc [2021-06-28T23:29:47.454Z] Successfully built 4fb3307450dc [2021-06-28T23:29:47.454Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:29:47.760Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T23:29:47.761Z] . [Pipeline] withDockerContainer [2021-06-28T23:29:47.847Z] prd-centos7-docker-4c-2g-581 does not seem to be running inside a container [2021-06-28T23:29:47.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T23:29:48.309Z] $ docker top adca6d1f9a7853ad5ffcdbf4dd0224188d27d951f28ec192b1e13fdfd40e2d06 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T23:29:48.713Z] + go version [2021-06-28T23:29:48.713Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-28T23:29:48.724Z] $ docker stop --time=1 adca6d1f9a7853ad5ffcdbf4dd0224188d27d951f28ec192b1e13fdfd40e2d06 [2021-06-28T23:29:49.935Z] $ docker rm -f adca6d1f9a7853ad5ffcdbf4dd0224188d27d951f28ec192b1e13fdfd40e2d06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:29:50.546Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-28T23:29:50.546Z] . [Pipeline] withDockerContainer [2021-06-28T23:29:50.633Z] prd-centos7-docker-4c-2g-581 does not seem to be running inside a container [2021-06-28T23:29:50.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-28T23:29:51.089Z] $ docker top 0c58e79ea520c979910bf7f9b6640f0662c340f9d20227f93a1b9e6240335928 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T23:29:51.476Z] + go mod tidy [Pipeline] sh [2021-06-28T23:29:52.051Z] + make test [2021-06-28T23:29:52.051Z] go mod tidy [2021-06-28T23:29:52.051Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-28T23:29:52.635Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-28T23:30:02.486Z] Removing intermediate container 36bcbfc4cc30 [2021-06-28T23:30:02.486Z] ---> 27f70a410a9a [2021-06-28T23:30:02.486Z] Successfully built 27f70a410a9a [2021-06-28T23:30:02.486Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:30:02.839Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T23:30:02.839Z] . [Pipeline] withDockerContainer [2021-06-28T23:30:03.074Z] prd-ubuntu18.04-docker-arm64-4c-16g-580 does not seem to be running inside a container [2021-06-28T23:30:03.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@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-28T23:30:04.752Z] $ docker top 35ae4a8cef31af5627268a48ce707a0e83c1f475c37fc42ac696ca50665809d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T23:30:05.799Z] + go version [2021-06-28T23:30:05.799Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-28T23:30:05.831Z] $ docker stop --time=1 35ae4a8cef31af5627268a48ce707a0e83c1f475c37fc42ac696ca50665809d8 [2021-06-28T23:30:07.646Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-28T23:30:07.646Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-06-28T23:30:07.646Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T23:30:07.676Z] $ docker rm -f 35ae4a8cef31af5627268a48ce707a0e83c1f475c37fc42ac696ca50665809d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:30:08.501Z] + docker inspect -f . ci-base-image-arm64 [2021-06-28T23:30:08.501Z] . [Pipeline] withDockerContainer [2021-06-28T23:30:08.748Z] prd-ubuntu18.04-docker-arm64-4c-16g-580 does not seem to be running inside a container [2021-06-28T23:30:08.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@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-28T23:30:10.363Z] $ docker top 5d200d912ae996e0ff24acbe919cb660096d7701dc8ae4dd5a651fcf0abf094e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T23:30:11.294Z] + go mod tidy [Pipeline] sh [2021-06-28T23:30:12.568Z] + make test [2021-06-28T23:30:12.568Z] go mod tidy [2021-06-28T23:30:12.844Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-28T23:30:12.996Z] gofmt -l . [2021-06-28T23:30:12.996Z] [ "`gofmt -l .`" = "" ] [2021-06-28T23:30:12.996Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-28T23:30:13.005Z] $ docker stop --time=1 0c58e79ea520c979910bf7f9b6640f0662c340f9d20227f93a1b9e6240335928 [2021-06-28T23:30:14.308Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-06-28T23:30:14.464Z] $ docker rm -f 0c58e79ea520c979910bf7f9b6640f0662c340f9d20227f93a1b9e6240335928 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T23:30:14.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T23:30:15.080Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-28T23:30:18.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T23:30:18.895Z] + ls -al . [2021-06-28T23:30:18.895Z] total 112 [2021-06-28T23:30:18.895Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 28 23:30 . [2021-06-28T23:30:18.895Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 28 23:28 .. [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 6520 Jun 28 23:28 Attribution.txt [2021-06-28T23:30:18.895Z] drwxrwxr-x. 2 jenkins jenkins 60 Jun 28 23:28 bin [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 4401 Jun 28 23:28 CHANGELOG.md [2021-06-28T23:30:18.895Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 28 23:28 cmd [2021-06-28T23:30:18.895Z] -rw-r--r--. 1 jenkins jenkins 7631 Jun 28 23:30 coverage.out [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 1459 Jun 28 23:28 Dockerfile [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 1057 Jun 28 23:28 Dockerfile.build [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 6 Jun 28 23:28 .dockerignore [2021-06-28T23:30:18.895Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 28 23:28 .git [2021-06-28T23:30:18.895Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 28 23:28 .github [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 269 Jun 28 23:28 .gitignore [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 208 Jun 28 23:28 go.mod [2021-06-28T23:30:18.895Z] -rw-r--r--. 1 jenkins jenkins 20831 Jun 28 23:29 go.sum [2021-06-28T23:30:18.895Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 28 23:28 internal [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 656 Jun 28 23:28 Jenkinsfile [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 28 23:28 LICENSE [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 936 Jun 28 23:28 Makefile [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 9079 Jun 28 23:28 README.md [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 28 23:25 VERSION [2021-06-28T23:30:18.895Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 28 23:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:30:19.205Z] + 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=7327116566c04b14658a04dec177a312c5897020 --label arch=amd64 --label version=0.0.0 . [2021-06-28T23:30:19.205Z] Sending build context to Docker daemon 401.9kB [2021-06-28T23:30:19.205Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T23:30:19.205Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-28T23:30:19.205Z] ---> 4fb3307450dc [2021-06-28T23:30:19.205Z] Step 3/24 : ARG MAKE='make build' [2021-06-28T23:30:19.205Z] ---> Running in ef570b9a3f29 [2021-06-28T23:30:19.205Z] Removing intermediate container ef570b9a3f29 [2021-06-28T23:30:19.205Z] ---> 67c9fc36c3ff [2021-06-28T23:30:19.205Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T23:30:19.205Z] ---> Running in c74c4c6fda6a [2021-06-28T23:30:19.468Z] Removing intermediate container c74c4c6fda6a [2021-06-28T23:30:19.468Z] ---> 12960e786add [2021-06-28T23:30:19.468Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T23:30:19.468Z] ---> Running in e5de0a71066a [2021-06-28T23:30:19.468Z] Removing intermediate container e5de0a71066a [2021-06-28T23:30:19.468Z] ---> 16f1c49960fe [2021-06-28T23:30:19.468Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T23:30:19.468Z] ---> Running in 279ec0d2ada2 [2021-06-28T23:30:20.040Z] Removing intermediate container 279ec0d2ada2 [2021-06-28T23:30:20.040Z] ---> 938135bd019e [2021-06-28T23:30:20.040Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T23:30:20.040Z] ---> Running in c3a8ce148c24 [2021-06-28T23:30:20.302Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-28T23:30:21.245Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-28T23:30:21.510Z] OK: 156 MiB in 53 packages [2021-06-28T23:30:21.772Z] Removing intermediate container c3a8ce148c24 [2021-06-28T23:30:21.772Z] ---> b3558434cf0d [2021-06-28T23:30:21.772Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-28T23:30:21.772Z] ---> Running in bd6b98e90c63 [2021-06-28T23:30:21.772Z] Removing intermediate container bd6b98e90c63 [2021-06-28T23:30:21.772Z] ---> ba4baf08b034 [2021-06-28T23:30:21.772Z] Step 9/24 : COPY . . [2021-06-28T23:30:22.042Z] ---> 90e2c1c68f08 [2021-06-28T23:30:22.042Z] Step 10/24 : RUN go mod tidy [2021-06-28T23:30:22.042Z] ---> Running in 8c99ae044eea [2021-06-28T23:30:22.996Z] Removing intermediate container 8c99ae044eea [2021-06-28T23:30:22.996Z] ---> eba067b48fdc [2021-06-28T23:30:22.996Z] Step 11/24 : RUN make update [2021-06-28T23:30:22.996Z] ---> Running in a9c1a456130f [2021-06-28T23:30:22.996Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T23:30:23.266Z] Removing intermediate container a9c1a456130f [2021-06-28T23:30:23.266Z] ---> d8d6bef3838a [2021-06-28T23:30:23.266Z] Step 12/24 : RUN ${MAKE} [2021-06-28T23:30:23.266Z] ---> Running in 26080465ebf5 [2021-06-28T23:30:23.534Z] go mod tidy [2021-06-28T23:30:23.804Z] 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-28T23:30:36.121Z] Removing intermediate container 26080465ebf5 [2021-06-28T23:30:36.121Z] ---> f917aad78084 [2021-06-28T23:30:36.121Z] Step 13/24 : FROM alpine:3.12 [2021-06-28T23:30:36.121Z] 3.12: Pulling from library/alpine [2021-06-28T23:30:36.121Z] 339de151aab4: Pulling fs layer [2021-06-28T23:30:36.121Z] 339de151aab4: Verifying Checksum [2021-06-28T23:30:36.121Z] 339de151aab4: Download complete [2021-06-28T23:30:36.121Z] 339de151aab4: Pull complete [2021-06-28T23:30:36.121Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T23:30:36.121Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T23:30:36.121Z] ---> 13621d1b12d4 [2021-06-28T23:30:36.121Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T23:30:36.121Z] ---> Running in 6c360b225eb4 [2021-06-28T23:30:36.383Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-28T23:30:36.383Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-28T23:30:36.383Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T23:30:36.383Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T23:30:36.383Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T23:30:36.383Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T23:30:36.383Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T23:30:36.383Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T23:30:36.383Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T23:30:36.383Z] OK: 8 MiB in 20 packages [2021-06-28T23:30:36.960Z] Removing intermediate container 6c360b225eb4 [2021-06-28T23:30:36.960Z] ---> c2143906074f [2021-06-28T23:30:36.960Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-28T23:30:37.222Z] ---> f3bd2ba23de1 [2021-06-28T23:30:37.222Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-28T23:30:37.222Z] ---> 35fb921ff281 [2021-06-28T23:30:37.222Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-28T23:30:37.484Z] ---> cafd3214e884 [2021-06-28T23:30:37.484Z] Step 18/24 : EXPOSE 59993 [2021-06-28T23:30:37.484Z] ---> Running in 87a374c41e9c [2021-06-28T23:30:37.484Z] Removing intermediate container 87a374c41e9c [2021-06-28T23:30:37.484Z] ---> 7587ea98d670 [2021-06-28T23:30:37.484Z] Step 19/24 : EXPOSE 161 [2021-06-28T23:30:37.484Z] ---> Running in d569e8dbe366 [2021-06-28T23:30:37.750Z] Removing intermediate container d569e8dbe366 [2021-06-28T23:30:37.750Z] ---> 1f65e043fa9e [2021-06-28T23:30:37.750Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-28T23:30:37.750Z] ---> Running in ccb19ed64db2 [2021-06-28T23:30:37.750Z] Removing intermediate container ccb19ed64db2 [2021-06-28T23:30:37.750Z] ---> 60d5f0b7c60a [2021-06-28T23:30:37.750Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T23:30:37.751Z] ---> Running in 3c1f3651ff3d [2021-06-28T23:30:37.751Z] Removing intermediate container 3c1f3651ff3d [2021-06-28T23:30:37.751Z] ---> 67016c111914 [2021-06-28T23:30:37.751Z] Step 22/24 : LABEL arch=amd64 [2021-06-28T23:30:37.751Z] ---> Running in 0ee9dd05b46e [2021-06-28T23:30:38.018Z] Removing intermediate container 0ee9dd05b46e [2021-06-28T23:30:38.018Z] ---> 04eafae437dc [2021-06-28T23:30:38.018Z] Step 23/24 : LABEL git_sha=7327116566c04b14658a04dec177a312c5897020 [2021-06-28T23:30:38.018Z] ---> Running in 5eae41ea7734 [2021-06-28T23:30:38.018Z] Removing intermediate container 5eae41ea7734 [2021-06-28T23:30:38.018Z] ---> 7c55a46cc5b8 [2021-06-28T23:30:38.018Z] Step 24/24 : LABEL version=0.0.0 [2021-06-28T23:30:38.018Z] ---> Running in 7ade38c51167 [2021-06-28T23:30:38.018Z] Removing intermediate container 7ade38c51167 [2021-06-28T23:30:38.018Z] ---> c1dd9b87dbe3 [2021-06-28T23:30:38.018Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T23:30:38.018Z] Successfully built c1dd9b87dbe3 [2021-06-28T23:30:38.280Z] 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-28T23:30:39.118Z] ---> job-cost.sh [2021-06-28T23:30:39.118Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fZ6R [2021-06-28T23:30:49.151Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T23:31:01.353Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-06-28T23:31:01.353Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.032s coverage: 0.0% of statements [2021-06-28T23:31:01.353Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-28T23:31:01.450Z] lf-activate-venv(): INFO: Adding /tmp/venv-fZ6R/bin to PATH [2021-06-28T23:31:01.450Z] INFO: No Stack... [2021-06-28T23:31:02.393Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T23:31:02.654Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T23:31:02.958Z] + cat /w/workspace/device-snmp-go/6/archives/cost.csv [2021-06-28T23:31:02.958Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T23:31:02.991Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-6-stack-cost] [2021-06-28T23:31:03.001Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-6-stack-cost] did not exist. Created. [2021-06-28T23:31:03.001Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T23:31:03.325Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-28T23:31:03.390Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T23:31:03.405Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-28T23:31:28.215Z] gofmt -l . [2021-06-28T23:31:28.215Z] [ "`gofmt -l .`" = "" ] [2021-06-28T23:31:28.215Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-28T23:31:28.234Z] $ docker stop --time=1 5d200d912ae996e0ff24acbe919cb660096d7701dc8ae4dd5a651fcf0abf094e [2021-06-28T23:31:30.325Z] $ docker rm -f 5d200d912ae996e0ff24acbe919cb660096d7701dc8ae4dd5a651fcf0abf094e [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-28T23:31:31.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-28T23:31:31.225Z] Warning: overwriting stash ‘coverage-report’ [2021-06-28T23:31:31.774Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-28T23:31:32.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-28T23:31:32.726Z] + ls -al . [2021-06-28T23:31:32.726Z] total 136 [2021-06-28T23:31:32.726Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 28 23:31 . [2021-06-28T23:31:32.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 23:28 .. [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 28 23:28 .dockerignore [2021-06-28T23:31:32.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 23:28 .git [2021-06-28T23:31:32.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 23:28 .github [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 269 Jun 28 23:28 .gitignore [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 6520 Jun 28 23:28 Attribution.txt [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 4401 Jun 28 23:28 CHANGELOG.md [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 1459 Jun 28 23:28 Dockerfile [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 1057 Jun 28 23:28 Dockerfile.build [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 28 23:28 Jenkinsfile [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 23:28 LICENSE [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 936 Jun 28 23:28 Makefile [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 9079 Jun 28 23:28 README.md [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 23:25 VERSION [2021-06-28T23:31:32.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 23:28 bin [2021-06-28T23:31:32.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 23:28 cmd [2021-06-28T23:31:32.726Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 28 23:31 coverage.out [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 208 Jun 28 23:28 go.mod [2021-06-28T23:31:32.726Z] -rw-r--r-- 1 jenkins jenkins 20831 Jun 28 23:30 go.sum [2021-06-28T23:31:32.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 23:28 internal [2021-06-28T23:31:32.726Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 28 23:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:31:33.103Z] + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c3e40301eb520a88fa5da00c167a3df046faf10a --label arch=arm64 --label version=0.0.0 . [2021-06-28T23:31:33.391Z] Sending build context to Docker daemon 400.9kB [2021-06-28T23:31:33.695Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-06-28T23:31:33.695Z] Step 2/24 : FROM ${BASE} AS builder [2021-06-28T23:31:33.695Z] ---> 27f70a410a9a [2021-06-28T23:31:33.695Z] Step 3/24 : ARG MAKE='make build' [2021-06-28T23:31:33.695Z] ---> Running in ee8ea3ce44dd [2021-06-28T23:31:34.291Z] Removing intermediate container ee8ea3ce44dd [2021-06-28T23:31:34.291Z] ---> d19033a54fcf [2021-06-28T23:31:34.291Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-28T23:31:34.566Z] ---> Running in 06672fe7d6a4 [2021-06-28T23:31:34.839Z] Removing intermediate container 06672fe7d6a4 [2021-06-28T23:31:34.839Z] ---> 4def21a22d0a [2021-06-28T23:31:34.839Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-06-28T23:31:35.114Z] ---> Running in 7fa76f28894a [2021-06-28T23:31:35.401Z] Removing intermediate container 7fa76f28894a [2021-06-28T23:31:35.401Z] ---> f0202c605558 [2021-06-28T23:31:35.401Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-28T23:31:35.675Z] ---> Running in a4510fb6bfbd [2021-06-28T23:31:37.659Z] Removing intermediate container a4510fb6bfbd [2021-06-28T23:31:37.659Z] ---> 76e5fc88e1c7 [2021-06-28T23:31:37.659Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-28T23:31:37.935Z] ---> Running in ebeff27e4379 [2021-06-28T23:31:39.378Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-28T23:31:39.980Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-28T23:31:40.961Z] OK: 145 MiB in 53 packages [2021-06-28T23:31:41.941Z] Removing intermediate container ebeff27e4379 [2021-06-28T23:31:41.941Z] ---> 42dd689c8148 [2021-06-28T23:31:41.941Z] Step 8/24 : WORKDIR /device-snmp-go [2021-06-28T23:31:42.214Z] ---> Running in 4e6e05753325 [2021-06-28T23:31:42.811Z] Removing intermediate container 4e6e05753325 [2021-06-28T23:31:42.811Z] ---> db58ee17b72e [2021-06-28T23:31:42.811Z] Step 9/24 : COPY . . [2021-06-28T23:31:43.822Z] ---> 5e38d632d6e9 [2021-06-28T23:31:43.822Z] Step 10/24 : RUN go mod tidy [2021-06-28T23:31:44.104Z] ---> Running in 76742d03f22c [2021-06-28T23:31:46.747Z] Removing intermediate container 76742d03f22c [2021-06-28T23:31:46.747Z] ---> e0f12a1613d3 [2021-06-28T23:31:46.747Z] Step 11/24 : RUN make update [2021-06-28T23:31:46.747Z] ---> Running in 21807f994295 [2021-06-28T23:31:48.192Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-28T23:31:49.178Z] Removing intermediate container 21807f994295 [2021-06-28T23:31:49.178Z] ---> f828629a282f [2021-06-28T23:31:49.178Z] Step 12/24 : RUN ${MAKE} [2021-06-28T23:31:49.178Z] ---> Running in 2045e105675a [2021-06-28T23:31:50.634Z] go mod tidy [2021-06-28T23:31:50.908Z] 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-28T23:32:29.963Z] Removing intermediate container 2045e105675a [2021-06-28T23:32:29.963Z] ---> 7e37004ee40e [2021-06-28T23:32:29.963Z] Step 13/24 : FROM alpine:3.12 [2021-06-28T23:32:29.963Z] 3.12: Pulling from library/alpine [2021-06-28T23:32:29.963Z] d2f70382dc9a: Pulling fs layer [2021-06-28T23:32:29.963Z] d2f70382dc9a: Download complete [2021-06-28T23:32:29.963Z] d2f70382dc9a: Pull complete [2021-06-28T23:32:29.963Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-28T23:32:29.963Z] Status: Downloaded newer image for alpine:3.12 [2021-06-28T23:32:29.963Z] ---> c4fd0aeabfcf [2021-06-28T23:32:29.963Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-28T23:32:29.963Z] ---> Running in 1b7b8d467a1d [2021-06-28T23:32:29.963Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-28T23:32:29.963Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-28T23:32:29.963Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-28T23:32:29.963Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-28T23:32:29.963Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-28T23:32:29.963Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-28T23:32:29.963Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-28T23:32:29.963Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-28T23:32:29.963Z] Executing busybox-1.31.1-r20.trigger [2021-06-28T23:32:29.963Z] OK: 8 MiB in 20 packages [2021-06-28T23:32:30.942Z] Removing intermediate container 1b7b8d467a1d [2021-06-28T23:32:30.942Z] ---> 6a764ab40e80 [2021-06-28T23:32:30.942Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2021-06-28T23:32:31.926Z] ---> 1731a2a15a86 [2021-06-28T23:32:31.926Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-06-28T23:32:32.902Z] ---> 6527833ea415 [2021-06-28T23:32:32.902Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2021-06-28T23:32:33.497Z] ---> 8746f14d238c [2021-06-28T23:32:33.497Z] Step 18/24 : EXPOSE 59993 [2021-06-28T23:32:33.770Z] ---> Running in d0c9a8008956 [2021-06-28T23:32:34.045Z] Removing intermediate container d0c9a8008956 [2021-06-28T23:32:34.045Z] ---> 7d53bfd63173 [2021-06-28T23:32:34.045Z] Step 19/24 : EXPOSE 161 [2021-06-28T23:32:34.319Z] ---> Running in 07d8ce6c3453 [2021-06-28T23:32:34.916Z] Removing intermediate container 07d8ce6c3453 [2021-06-28T23:32:34.916Z] ---> b3517dff7ee0 [2021-06-28T23:32:34.916Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2021-06-28T23:32:34.916Z] ---> Running in 2f0bf4437230 [2021-06-28T23:32:35.513Z] Removing intermediate container 2f0bf4437230 [2021-06-28T23:32:35.513Z] ---> 86309fc2542c [2021-06-28T23:32:35.513Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-28T23:32:35.513Z] ---> Running in 27c46b6c1f8f [2021-06-28T23:32:36.112Z] Removing intermediate container 27c46b6c1f8f [2021-06-28T23:32:36.112Z] ---> 74e09a9d2c00 [2021-06-28T23:32:36.112Z] Step 22/24 : LABEL arch=arm64 [2021-06-28T23:32:36.112Z] ---> Running in f62f53d4049c [2021-06-28T23:32:36.708Z] Removing intermediate container f62f53d4049c [2021-06-28T23:32:36.708Z] ---> 53385d559473 [2021-06-28T23:32:36.708Z] Step 23/24 : LABEL git_sha=c3e40301eb520a88fa5da00c167a3df046faf10a [2021-06-28T23:32:36.982Z] ---> Running in f53e02466308 [2021-06-28T23:32:37.255Z] Removing intermediate container f53e02466308 [2021-06-28T23:32:37.255Z] ---> 3200c5a3b158 [2021-06-28T23:32:37.255Z] Step 24/24 : LABEL version=0.0.0 [2021-06-28T23:32:37.531Z] ---> Running in 68043722fb54 [2021-06-28T23:32:37.807Z] Removing intermediate container 68043722fb54 [2021-06-28T23:32:37.807Z] ---> c955851d7371 [2021-06-28T23:32:37.807Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-28T23:32:38.080Z] Successfully built c955851d7371 [2021-06-28T23:32:38.080Z] 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-28T23:32:38.896Z] ---> job-cost.sh [2021-06-28T23:32:38.897Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sFv1 [2021-06-28T23:33:17.883Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-28T23:34:54.638Z] lf-activate-venv(): INFO: Adding /tmp/venv-sFv1/bin to PATH [2021-06-28T23:34:54.638Z] INFO: No Stack... [2021-06-28T23:34:54.638Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-28T23:34:54.638Z] INFO: Archiving Costs [Pipeline] sh [2021-06-28T23:34:54.976Z] + cat /w/workspace/device-snmp-go/6/archives/cost.csv [2021-06-28T23:34:54.976Z] + cut -d, -f6 [Pipeline] lock [2021-06-28T23:34:55.034Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-116-6-stack-cost] [2021-06-28T23:34:55.042Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-116-6-stack-cost] did not exist. Created. [2021-06-28T23:34:55.042Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-116-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-28T23:34:55.402Z] /w/workspace/device-snmp-go/6@tmp/durable-33db5adf/script.sh: 1: /w/workspace/device-snmp-go/6@tmp/durable-33db5adf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-28T23:34:55.748Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-28T23:34:55.771Z] Warning: overwriting stash ‘stack-cost’ [2021-06-28T23:34:55.922Z] Stashed 1 file(s) [Pipeline] } [2021-06-28T23:34:55.932Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-116-6-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-28T23:34:56.720Z] provisioning config files... [2021-06-28T23:34:56.729Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config6384095199908370414tmp [Pipeline] { [Pipeline] sh [2021-06-28T23:34:57.064Z] + set +x [2021-06-28T23:34:57.064Z] + curl -s https://codecov.io/bash [2021-06-28T23:34:57.064Z] + bash -s -- [2021-06-28T23:34:57.064Z] [2021-06-28T23:34:57.064Z] _____ _ [2021-06-28T23:34:57.064Z] / ____| | | [2021-06-28T23:34:57.064Z] | | ___ __| | ___ ___ _____ __ [2021-06-28T23:34:57.064Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-28T23:34:57.064Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-28T23:34:57.064Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-28T23:34:57.064Z] Bash-1.0.3 [2021-06-28T23:34:57.064Z] [2021-06-28T23:34:57.064Z] [2021-06-28T23:34:57.064Z] ==> git version 2.24.4 found [2021-06-28T23:34:57.064Z] ==> 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-28T23:34:57.064Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-28T23:34:57.064Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-28T23:34:57.064Z] ==> Jenkins CI detected. [2021-06-28T23:34:57.064Z] project root: . [2021-06-28T23:34:57.064Z] --> token set from env [2021-06-28T23:34:57.064Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-28T23:34:57.325Z] ==> Running gcov in . (disable via -X gcov) [2021-06-28T23:34:57.325Z] ==> Python coveragepy not found [2021-06-28T23:34:57.325Z] ==> Searching for coverage reports in: [2021-06-28T23:34:57.325Z] + . [2021-06-28T23:34:57.325Z] -> Found 1 reports [2021-06-28T23:34:57.325Z] ==> Detecting git/mercurial file structure [2021-06-28T23:34:57.325Z] ==> Reading reports [2021-06-28T23:34:57.325Z] + ./coverage.out bytes=7631 [2021-06-28T23:34:57.325Z] ==> Appending adjustments [2021-06-28T23:34:57.325Z] https://docs.codecov.io/docs/fixing-reports [2021-06-28T23:34:57.325Z] + Found adjustments [2021-06-28T23:34:57.325Z] ==> Gzipping contents [2021-06-28T23:34:57.325Z] 4.0K /tmp/codecov.vcfR43.gz [2021-06-28T23:34:57.325Z] ==> Uploading reports [2021-06-28T23:34:57.325Z] url: https://codecov.io [2021-06-28T23:34:57.325Z] query: branch=PR-116&commit=10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-28T23:34:57.325Z] -> Pinging Codecov [2021-06-28T23:34:57.325Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-116&commit=10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-116%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-28T23:34:57.899Z] -> Uploading to [2021-06-28T23:34:57.899Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-28/6C56EA5C29638FB4528AC87E60AF5AE0/10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c/090cfdf0-a2cc-4ac1-be63-ac532e673230.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210628T233457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a34d66e8f8f536b77c4b03785c57d62f5eb0d2e446cafb6b289ede781d47ffca [2021-06-28T23:34:57.899Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-28T23:34:57.899Z] Dload Upload Total Spent Left Speed [2021-06-28T23:34:58.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1383 0 0 100 1383 0 3724 --:--:-- --:--:-- --:--:-- 3727 [2021-06-28T23:34:58.161Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/10d6bfb4e2e574eb37a8f586ef8b21c58c9dfa7c [Pipeline] } [2021-06-28T23:34:58.168Z] 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-28T23:34:59.670Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:35:00.241Z] ---> package-listing.sh [2021-06-28T23:35:00.241Z] ++ facter osfamily [2021-06-28T23:35:00.241Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-28T23:35:00.505Z] + OS_FAMILY=redhat [2021-06-28T23:35:00.505Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-116 [2021-06-28T23:35:00.505Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-28T23:35:00.505Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-28T23:35:00.505Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-28T23:35:00.505Z] + PACKAGES=/tmp/packages_start.txt [2021-06-28T23:35:00.505Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-28T23:35:00.505Z] + PACKAGES=/tmp/packages_end.txt [2021-06-28T23:35:00.505Z] + case "${OS_FAMILY}" in [2021-06-28T23:35:00.505Z] + rpm -qa [2021-06-28T23:35:00.505Z] + sort [2021-06-28T23:35:01.081Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-28T23:35:01.081Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-28T23:35:01.081Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-28T23:35:01.081Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-116 ']' [2021-06-28T23:35:01.081Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-116/archives/ [2021-06-28T23:35:01.081Z] + 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-28T23:35:01.096Z] 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-28T23:35:01.385Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:35:01.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T23:35:01.962Z] [2021-06-28T23:35:01.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-28T23:35:02.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T23:35:02.278Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-28T23:35:02.278Z] df20fa9351a1: Pulling fs layer [2021-06-28T23:35:02.278Z] 36b3adc4ff6f: Pulling fs layer [2021-06-28T23:35:02.278Z] 8ad3a11d3b57: Pulling fs layer [2021-06-28T23:35:02.278Z] 46f8f816bc3b: Pulling fs layer [2021-06-28T23:35:02.278Z] 93b61091891f: Pulling fs layer [2021-06-28T23:35:02.278Z] 93b9cdb0e59b: Pulling fs layer [2021-06-28T23:35:02.278Z] 5e14af77c1be: Pulling fs layer [2021-06-28T23:35:02.278Z] 01666e4c0597: Pulling fs layer [2021-06-28T23:35:02.278Z] aa168da1d23b: Pulling fs layer [2021-06-28T23:35:02.278Z] 93b61091891f: Waiting [2021-06-28T23:35:02.278Z] 93b9cdb0e59b: Waiting [2021-06-28T23:35:02.278Z] 5e14af77c1be: Waiting [2021-06-28T23:35:02.278Z] 01666e4c0597: Waiting [2021-06-28T23:35:02.278Z] aa168da1d23b: Waiting [2021-06-28T23:35:02.278Z] 46f8f816bc3b: Waiting [2021-06-28T23:35:02.278Z] 36b3adc4ff6f: Verifying Checksum [2021-06-28T23:35:02.278Z] 36b3adc4ff6f: Download complete [2021-06-28T23:35:02.278Z] 46f8f816bc3b: Verifying Checksum [2021-06-28T23:35:02.278Z] 46f8f816bc3b: Download complete [2021-06-28T23:35:02.542Z] df20fa9351a1: Verifying Checksum [2021-06-28T23:35:02.542Z] df20fa9351a1: Download complete [2021-06-28T23:35:02.542Z] 93b9cdb0e59b: Verifying Checksum [2021-06-28T23:35:02.542Z] 93b9cdb0e59b: Download complete [2021-06-28T23:35:02.542Z] 5e14af77c1be: Verifying Checksum [2021-06-28T23:35:02.542Z] 5e14af77c1be: Download complete [2021-06-28T23:35:02.542Z] 93b61091891f: Verifying Checksum [2021-06-28T23:35:02.542Z] 93b61091891f: Download complete [2021-06-28T23:35:02.542Z] 01666e4c0597: Verifying Checksum [2021-06-28T23:35:02.542Z] 01666e4c0597: Download complete [2021-06-28T23:35:02.542Z] 8ad3a11d3b57: Verifying Checksum [2021-06-28T23:35:02.542Z] 8ad3a11d3b57: Download complete [2021-06-28T23:35:02.542Z] df20fa9351a1: Pull complete [2021-06-28T23:35:02.803Z] 36b3adc4ff6f: Pull complete [2021-06-28T23:35:03.377Z] 8ad3a11d3b57: Pull complete [2021-06-28T23:35:03.377Z] 46f8f816bc3b: Pull complete [2021-06-28T23:35:03.639Z] 93b61091891f: Pull complete [2021-06-28T23:35:03.639Z] 93b9cdb0e59b: Pull complete [2021-06-28T23:35:03.903Z] 5e14af77c1be: Pull complete [2021-06-28T23:35:03.903Z] 01666e4c0597: Pull complete [2021-06-28T23:35:04.163Z] aa168da1d23b: Verifying Checksum [2021-06-28T23:35:04.163Z] aa168da1d23b: Download complete [2021-06-28T23:35:08.452Z] aa168da1d23b: Pull complete [2021-06-28T23:35:08.452Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-28T23:35:08.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-28T23:35:08.452Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-28T23:35:08.532Z] prd-centos7-docker-4c-2g-579 does not seem to be running inside a container [2021-06-28T23:35:08.569Z] $ 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-28T23:35:11.196Z] $ docker top 2abe8c4da78c24e95f97303522afa48f10978b7cc19abe8a97e58451a11c15c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-28T23:35:11.584Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-28T23:35:11.888Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-28T23:35:12.187Z] + ls /var/log/sa-host [2021-06-28T23:35:12.187Z] + sadf -c /var/log/sa-host/sa05 [2021-06-28T23:35:12.187Z] file_magic: OK [2021-06-28T23:35:12.187Z] HZ: Using current value: 100 [2021-06-28T23:35:12.187Z] file_header: OK [2021-06-28T23:35:12.187Z] 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-28T23:35:12.187Z] Statistics: [2021-06-28T23:35:12.187Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T23:35:12.187Z] File successfully converted to sysstat format version 12.2.1 [2021-06-28T23:35:12.187Z] + sadf -c /var/log/sa-host/sa28 [2021-06-28T23:35:12.187Z] file_magic: OK [2021-06-28T23:35:12.187Z] HZ: Using current value: 100 [2021-06-28T23:35:12.187Z] file_header: OK [2021-06-28T23:35:12.187Z] 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-28T23:35:12.187Z] Statistics: [2021-06-28T23:35:12.187Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-28T23:35:12.187Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-28T23:35:12.400Z] provisioning config files... [2021-06-28T23:35:12.413Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-116@tmp/config8054286522520636656tmp [Pipeline] { [Pipeline] echo [2021-06-28T23:35:12.438Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:35:12.737Z] ---> create-netrc.sh [Pipeline] } [2021-06-28T23:35:12.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:35:13.152Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-28T23:35:13.163Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:35:13.461Z] ---> sudo-logs.sh [2021-06-28T23:35:13.461Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-28T23:35:13.493Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:35:13.809Z] ---> job-cost.sh [2021-06-28T23:35:13.809Z] lf-activate-venv: SKIPPING [2021-06-28T23:35:13.809Z] DEBUG: total: 0.18000000715255737 [2021-06-28T23:35:13.809Z] INFO: Retrieving Stack Cost... [2021-06-28T23:35:14.756Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-28T23:35:15.329Z] INFO: Archiving Costs [Pipeline] echo [2021-06-28T23:35:15.343Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-28T23:35:15.646Z] ---> logs-deploy.sh [2021-06-28T23:35:15.646Z] lf-activate-venv: SKIPPING [2021-06-28T23:35:15.646Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-116/6 [2021-06-28T23:35:15.646Z] INFO: archiving workspace using pattern(s): [2021-06-28T23:35:16.630Z] Archives upload complete. [2021-06-28T23:35:16.630Z] INFO: archiving logs to Nexus