Pull request #93 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 9b7b00a58de509e871e0dce873d7d6293bc9ce45+b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 (fbca0e1a8b9d07ad355c44b9221b893d7a14b302) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-5001’ is offline Running on prd-centos7-docker-4c-2g-5002 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/dgexfoundry_device-snmp-go_PR-93 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit 9b7b00a58de509e871e0dce873d7d6293bc9ce45 Merge succeeded, producing 9b7b00a58de509e871e0dce873d7d6293bc9ce45 Checking out Revision 9b7b00a58de509e871e0dce873d7d6293bc9ce45 (PR-93) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b7b00a58de509e871e0dce873d7d6293bc9ce45 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b7b00a58de509e871e0dce873d7d6293bc9ce45 # timeout=10 Commit message: "build: update build files for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:37:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:37:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk aba3ac11b11d4ba2037d3508f4957e9e10db2b94 # timeout=10 [Pipeline] echo 04:37:26 ========================================================= 04:37:26 EdgeX Global Pipelines Version Info 04:37:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:37:27 ------------------- 04:37:27 stable info: 04:37:27 ------------------- 04:37:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:37:27 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 04:37:27 Message: update stable to v1.0.192 04:37:28 ------------------- 04:37:28 experimental info: 04:37:28 ------------------- 04:37:28 Commited By: **** collab-it+edgex@linuxfoundation.org 04:37:28 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 04:37:28 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:37:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b7b00a58de509e871e0dce873d7d6293bc9ce45 [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b7b00a [Pipeline] echo 04:37:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:37:29 provisioning config files... 04:37:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config8310361382668846768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:29 ---> docker-login.sh 04:37:29 nexus3.edgexfoundry.org:10001 04:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:30 Configure a credential helper to remove this warning. See 04:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:30 04:37:30 Login Succeeded 04:37:30 nexus3.edgexfoundry.org:10002 04:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:30 Configure a credential helper to remove this warning. See 04:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:30 04:37:30 Login Succeeded 04:37:30 nexus3.edgexfoundry.org:10003 04:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:30 Configure a credential helper to remove this warning. See 04:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:30 04:37:30 Login Succeeded 04:37:30 nexus3.edgexfoundry.org:10004 04:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:30 Configure a credential helper to remove this warning. See 04:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:30 04:37:30 Login Succeeded 04:37:30 docker.io 04:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:31 Configure a credential helper to remove this warning. See 04:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:31 04:37:31 Login Succeeded 04:37:31 ---> docker-login.sh ends [Pipeline] } 04:37:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:37:31 + git log --format=format:%s -1 9b7b00a58de509e871e0dce873d7d6293bc9ce45 [Pipeline] echo 04:37:31 GIT_COMMIT: 9b7b00a58de509e871e0dce873d7d6293bc9ce45, Commit Message: build: update build files for v2 [Pipeline] echo 04:37:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:37:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:37:32 04:37:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:37:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:37:32 latest: Pulling from edgex-devops/git-semver 04:37:32 31603596830f: Pulling fs layer 04:37:32 54011a49482f: Pulling fs layer 04:37:32 a6820b24f6d8: Pulling fs layer 04:37:32 f581987b2513: Pulling fs layer 04:37:32 f581987b2513: Waiting 04:37:32 54011a49482f: Verifying Checksum 04:37:32 54011a49482f: Download complete 04:37:32 31603596830f: Verifying Checksum 04:37:32 31603596830f: Download complete 04:37:33 f581987b2513: Verifying Checksum 04:37:33 f581987b2513: Download complete 04:37:33 a6820b24f6d8: Verifying Checksum 04:37:33 a6820b24f6d8: Download complete 04:37:33 31603596830f: Pull complete 04:37:33 54011a49482f: Pull complete 04:37:34 a6820b24f6d8: Pull complete 04:37:34 f581987b2513: Pull complete 04:37:34 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 04:37:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:37:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:37:35 prd-centos7-docker-4c-2g-5002 does not seem to be running inside a container 04:37:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-93 -v /w/workspace/dgexfoundry_device-snmp-go_PR-93:/w/workspace/dgexfoundry_device-snmp-go_PR-93:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-93@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:37:37 $ docker top 3fdde2899522e8953abbbe069d374fcfc06f6bdfe7e36d295677d2aad0746e26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:37:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:37:37 [ssh-agent] Looking for ssh-agent implementation... 04:37:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:37:37 $ docker exec 3fdde2899522e8953abbbe069d374fcfc06f6bdfe7e36d295677d2aad0746e26 ssh-agent 04:37:38 SSH_AUTH_SOCK=/tmp/ssh-qVnZCGlJYvOh/agent.13 04:37:38 SSH_AGENT_PID=18 04:37:38 Running ssh-add (command line suppressed) 04:37:38 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_8940734734427717756.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_8940734734427717756.key) 04:37:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:37:38 + git tag --points-at HEAD [Pipeline] } 04:37:38 $ docker exec --env ******** --env ******** 3fdde2899522e8953abbbe069d374fcfc06f6bdfe7e36d295677d2aad0746e26 ssh-agent -k 04:37:38 unset SSH_AUTH_SOCK; 04:37:38 unset SSH_AGENT_PID; 04:37:38 echo Agent pid 18 killed; 04:37:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:37:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:37:38 [ssh-agent] Looking for ssh-agent implementation... 04:37:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:37:39 $ docker exec 3fdde2899522e8953abbbe069d374fcfc06f6bdfe7e36d295677d2aad0746e26 ssh-agent 04:37:39 SSH_AUTH_SOCK=/tmp/ssh-h0uxX7wCxUTm/agent.48 04:37:39 SSH_AGENT_PID=54 04:37:39 Running ssh-add (command line suppressed) 04:37:39 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_6319864522486985516.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_6319864522486985516.key) 04:37:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:37:39 + git semver init 04:37:39 # -> Open(): unable to determine branch for HEAD 04:37:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.git 04:37:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-93 04:37:39 # $SEMVER_REMOTE_NAME = origin 04:37:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:37:39 # $SEMVER_USER_NAME = edgex-jenkins 04:37:39 # $SEMVER_BRANCH = PR-93 04:37:39 # $SEMVER_TEMP = /tmp/semver-379805764 04:37:39 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 04:37:39 # '/tmp/semver-379805764' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver' 04:37:39 # -> Force: false 04:37:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver [Pipeline] } 04:37:40 $ docker exec --env ******** --env ******** 3fdde2899522e8953abbbe069d374fcfc06f6bdfe7e36d295677d2aad0746e26 ssh-agent -k 04:37:40 unset SSH_AUTH_SOCK; 04:37:40 unset SSH_AGENT_PID; 04:37:40 echo Agent pid 54 killed; 04:37:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:37:40 + git semver [Pipeline] } 04:37:40 $ docker stop --time=1 3fdde2899522e8953abbbe069d374fcfc06f6bdfe7e36d295677d2aad0746e26 04:37:42 $ docker rm -f 3fdde2899522e8953abbbe069d374fcfc06f6bdfe7e36d295677d2aad0746e26 [Pipeline] // withDockerContainer [Pipeline] sh 04:37:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:37:42 Stashed 1 file(s) [Pipeline] echo 04:37:42 [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 04:37:58 Still waiting to schedule task 04:37:58 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-5002’ 04:37:58 Still waiting to schedule task 04:37:58 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 04:39:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5003 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws 04:39:48 Running in /w/workspace/device-snmp-go/6 [Pipeline] { [Pipeline] checkout 04:39:54 using credential edgex-jenkins-ssh 04:39:54 Cloning the remote Git repository 04:39:54 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:39:54 > git init /w/workspace/device-snmp-go/6 # timeout=10 04:39:54 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:39:54 > git --version # timeout=10 04:39:54 > git --version # 'git version 2.17.1' 04:39:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:39:55 Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit 9b7b00a58de509e871e0dce873d7d6293bc9ce45 04:39:55 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:39:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:39:55 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:39:55 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:39:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:39:55 > git config core.sparsecheckout # timeout=10 04:39:55 > git checkout -f 9b7b00a58de509e871e0dce873d7d6293bc9ce45 # timeout=10 04:39:56 > git remote # timeout=10 04:39:56 Merge succeeded, producing 9b7b00a58de509e871e0dce873d7d6293bc9ce45 04:39:56 Checking out Revision 9b7b00a58de509e871e0dce873d7d6293bc9ce45 (PR-93) 04:39:56 > git config --get remote.origin.url # timeout=10 04:39:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:56 > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 04:39:56 > git rev-parse HEAD^{commit} # timeout=10 04:39:56 > git config core.sparsecheckout # timeout=10 04:39:56 > git checkout -f 9b7b00a58de509e871e0dce873d7d6293bc9ce45 # timeout=10 04:40:00 Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:40:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:40:02 + + true 04:40:02 sudo service docker restart 04:40:05 Running on prd-centos7-docker-4c-2g-5004 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws 04:40:05 Running in /w/workspace/device-snmp-go/6 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:40:05 provisioning config files... 04:40:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/6@tmp/config1350020483484513504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:05 ---> docker-login.sh 04:40:05 nexus3.edgexfoundry.org:10001 04:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:07 Configure a credential helper to remove this warning. See 04:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:07 04:40:07 Login Succeeded 04:40:07 nexus3.edgexfoundry.org:10002 04:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:07 Configure a credential helper to remove this warning. See 04:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:07 04:40:07 Login Succeeded 04:40:07 nexus3.edgexfoundry.org:10003 04:40:07 using credential edgex-jenkins-ssh 04:40:07 Cloning the remote Git repository 04:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:08 Configure a credential helper to remove this warning. See 04:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:08 04:40:08 Login Succeeded 04:40:08 nexus3.edgexfoundry.org:10004 04:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:08 Configure a credential helper to remove this warning. See 04:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:08 04:40:08 Login Succeeded 04:40:08 docker.io 04:40:07 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:40:07 > git init /w/workspace/device-snmp-go/6 # timeout=10 04:40:07 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:40:07 > git --version # timeout=10 04:40:07 > git --version # 'git version 2.24.3' 04:40:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:40:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:40:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:40:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:40:08 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:40:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:40:08 Merging remotes/origin/master commit b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 into PR head commit 9b7b00a58de509e871e0dce873d7d6293bc9ce45 04:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:09 Merge succeeded, producing 9b7b00a58de509e871e0dce873d7d6293bc9ce45 04:40:09 Checking out Revision 9b7b00a58de509e871e0dce873d7d6293bc9ce45 (PR-93) 04:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:09 Configure a credential helper to remove this warning. See 04:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:09 04:40:09 Login Succeeded 04:40:09 ---> docker-login.sh ends [Pipeline] } 04:40:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:40:08 > git config core.sparsecheckout # timeout=10 04:40:08 > git checkout -f 9b7b00a58de509e871e0dce873d7d6293bc9ce45 # timeout=10 04:40:09 > git remote # timeout=10 04:40:09 > git config --get remote.origin.url # timeout=10 04:40:09 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:09 > git merge b9bb0f464ba5331cbfb8b81286d8c6a09b387d39 # timeout=10 04:40:09 > git rev-parse HEAD^{commit} # timeout=10 04:40:09 > git config core.sparsecheckout # timeout=10 04:40:09 > git checkout -f 9b7b00a58de509e871e0dce873d7d6293bc9ce45 # timeout=10 [Pipeline] echo 04:40:09 ========================================================= 04:40:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:40:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:40:10 + 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 . 04:40:10 Sending build context to Docker daemon 383.5kB 04:40:10 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 04:40:10 Step 2/10 : FROM ${BASE} 04:40:10 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:40:10 595b0fe564bb: Pulling fs layer 04:40:10 7186ed65a4f7: Pulling fs layer 04:40:10 316046926c0a: Pulling fs layer 04:40:10 4ebd0625c992: Pulling fs layer 04:40:10 207e8628e3a3: Pulling fs layer 04:40:10 c791037a9be2: Pulling fs layer 04:40:10 ffd874e62e21: Pulling fs layer 04:40:10 4ebd0625c992: Waiting 04:40:10 207e8628e3a3: Waiting 04:40:10 c791037a9be2: Waiting 04:40:10 ffd874e62e21: Waiting 04:40:10 316046926c0a: Verifying Checksum 04:40:10 316046926c0a: Download complete 04:40:10 7186ed65a4f7: Download complete 04:40:10 207e8628e3a3: Verifying Checksum 04:40:10 207e8628e3a3: Download complete 04:40:10 c791037a9be2: Verifying Checksum 04:40:10 c791037a9be2: Download complete 04:40:10 595b0fe564bb: Verifying Checksum 04:40:10 595b0fe564bb: Download complete 04:40:11 595b0fe564bb: Pull complete 04:40:12 7186ed65a4f7: Pull complete 04:40:12 Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { 04:40:13 316046926c0a: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:13 ffd874e62e21: Verifying Checksum 04:40:13 ffd874e62e21: Download complete 04:40:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:40:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:40:14 + sudo service docker restart 04:40:14 + true 04:40:14 Redirecting to /bin/systemctl restart docker.service 04:40:14 4ebd0625c992: Verifying Checksum 04:40:14 4ebd0625c992: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:40:15 provisioning config files... 04:40:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/6@tmp/config3052542576552574972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:16 ---> docker-login.sh 04:40:16 nexus3.edgexfoundry.org:10001 04:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:16 Configure a credential helper to remove this warning. See 04:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:16 04:40:16 Login Succeeded 04:40:16 nexus3.edgexfoundry.org:10002 04:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:16 Configure a credential helper to remove this warning. See 04:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:16 04:40:16 Login Succeeded 04:40:16 nexus3.edgexfoundry.org:10003 04:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:16 Configure a credential helper to remove this warning. See 04:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:16 04:40:16 Login Succeeded 04:40:16 nexus3.edgexfoundry.org:10004 04:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:17 Configure a credential helper to remove this warning. See 04:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:17 04:40:17 Login Succeeded 04:40:17 docker.io 04:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:17 Configure a credential helper to remove this warning. See 04:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:17 04:40:17 Login Succeeded 04:40:17 ---> docker-login.sh ends [Pipeline] } 04:40:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:40:17 ========================================================= 04:40:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:40:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:40:17 + 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 . 04:40:17 Sending build context to Docker daemon 384.5kB 04:40:17 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 04:40:17 Step 2/10 : FROM ${BASE} 04:40:17 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:40:17 540db60ca938: Pulling fs layer 04:40:17 adcc1eea9eea: Pulling fs layer 04:40:17 4c4ab2625f07: Pulling fs layer 04:40:17 0510c868ecb4: Pulling fs layer 04:40:17 afea3b2eda06: Pulling fs layer 04:40:17 7809a108b3ef: Pulling fs layer 04:40:17 f706445af74f: Pulling fs layer 04:40:17 0510c868ecb4: Waiting 04:40:17 afea3b2eda06: Waiting 04:40:17 7809a108b3ef: Waiting 04:40:17 f706445af74f: Waiting 04:40:18 4c4ab2625f07: Verifying Checksum 04:40:18 4c4ab2625f07: Download complete 04:40:18 adcc1eea9eea: Verifying Checksum 04:40:18 adcc1eea9eea: Download complete 04:40:18 afea3b2eda06: Verifying Checksum 04:40:18 afea3b2eda06: Download complete 04:40:18 7809a108b3ef: Verifying Checksum 04:40:18 7809a108b3ef: Download complete 04:40:18 540db60ca938: Verifying Checksum 04:40:18 540db60ca938: Download complete 04:40:18 540db60ca938: Pull complete 04:40:18 adcc1eea9eea: Pull complete 04:40:18 4c4ab2625f07: Pull complete 04:40:19 f706445af74f: Verifying Checksum 04:40:19 f706445af74f: Download complete 04:40:20 0510c868ecb4: Verifying Checksum 04:40:20 0510c868ecb4: Download complete 04:40:24 4ebd0625c992: Pull complete 04:40:24 207e8628e3a3: Pull complete 04:40:24 c791037a9be2: Pull complete 04:40:25 0510c868ecb4: Pull complete 04:40:25 afea3b2eda06: Pull complete 04:40:25 7809a108b3ef: Pull complete 04:40:29 ffd874e62e21: Pull complete 04:40:29 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 04:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:40:29 ---> cfc18b08335c 04:40:29 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 04:40:31 ---> Running in 76b96d3cd2a9 04:40:31 Removing intermediate container 76b96d3cd2a9 04:40:31 ---> 7e168ab708c2 04:40:31 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 04:40:31 ---> Running in 596b1a8538ee 04:40:31 Removing intermediate container 596b1a8538ee 04:40:31 ---> e5251db09bd2 04:40:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 04:40:32 ---> Running in b8bb524ee5c4 04:40:32 f706445af74f: Pull complete 04:40:32 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 04:40:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:40:32 ---> b068be0155e3 04:40:32 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 04:40:32 ---> Running in e37cdfc013b2 04:40:32 Removing intermediate container b8bb524ee5c4 04:40:32 ---> 2178c2bfcee7 04:40:32 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:32 ---> Running in 2a393d1af497 04:40:33 Removing intermediate container e37cdfc013b2 04:40:33 ---> ad3c348b47f0 04:40:33 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 04:40:33 ---> Running in a2c2ff128516 04:40:33 Removing intermediate container a2c2ff128516 04:40:33 ---> 3bc283d86af1 04:40:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 04:40:33 ---> Running in 69009f97e639 04:40:33 Removing intermediate container 69009f97e639 04:40:33 ---> a1514c78e050 04:40:33 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:33 ---> Running in 9cfce793ce95 04:40:34 Removing intermediate container 9cfce793ce95 04:40:34 ---> 774efe9c24d5 04:40:34 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:40:34 ---> Running in d32e674886b4 04:40:35 Removing intermediate container 2a393d1af497 04:40:35 ---> f12c890ac76a 04:40:35 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:40:35 ---> Running in 8b98f5c9f166 04:40:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 04:40:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 04:40:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 04:40:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 04:40:37 (1/13) Installing libc-dev (0.7.2-r3) 04:40:37 (2/13) Installing libsodium (1.0.18-r0) 04:40:37 (3/13) Installing pkgconf (1.7.3-r0) 04:40:37 (4/13) Installing libsodium-dev (1.0.18-r0) 04:40:37 (5/13) Installing openssh-keygen (8.4_p1-r3) 04:40:37 (6/13) Installing libedit (20191231.3.1-r1) 04:40:37 (7/13) Installing openssh-client (8.4_p1-r3) 04:40:38 (1/13) Installing libc-dev (0.7.2-r3) 04:40:38 (2/13) Installing libsodium (1.0.18-r0) 04:40:38 (3/13) Installing pkgconf (1.7.3-r0) 04:40:38 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 04:40:38 (9/13) Installing openssh-server-common (8.4_p1-r3) 04:40:38 (10/13) Installing openssh-server (8.4_p1-r3) 04:40:38 (11/13) Installing openssh (8.4_p1-r3) 04:40:38 (4/13) Installing libsodium-dev (1.0.18-r0) 04:40:38 (5/13) Installing openssh-keygen (8.4_p1-r3) 04:40:38 (12/13) Installing libzmq (4.3.3-r1) 04:40:38 (13/13) Installing zeromq-dev (4.3.3-r1) 04:40:38 (6/13) Installing libedit (20191231.3.1-r1) 04:40:38 (7/13) Installing openssh-client (8.4_p1-r3) 04:40:38 Executing busybox-1.32.1-r6.trigger 04:40:38 OK: 156 MiB in 53 packages 04:40:38 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 04:40:39 (9/13) Installing openssh-server-common (8.4_p1-r3) 04:40:39 (10/13) Installing openssh-server (8.4_p1-r3) 04:40:39 (11/13) Installing openssh (8.4_p1-r3) 04:40:39 (12/13) Installing libzmq (4.3.3-r1) 04:40:39 (13/13) Installing zeromq-dev (4.3.3-r1) 04:40:39 Executing busybox-1.32.1-r6.trigger 04:40:39 OK: 145 MiB in 53 packages 04:40:39 Removing intermediate container d32e674886b4 04:40:39 ---> 5872765c2089 04:40:39 Step 8/10 : WORKDIR /device-snmp-go 04:40:39 ---> Running in 50091b1e4437 04:40:39 Removing intermediate container 50091b1e4437 04:40:39 ---> 6662c4b96ec3 04:40:39 Step 9/10 : COPY . . 04:40:40 ---> 53a538723a30 04:40:40 Step 10/10 : RUN go mod download 04:40:40 ---> Running in 6cd75e53c593 04:40:41 Removing intermediate container 8b98f5c9f166 04:40:41 ---> 2d6e9b0879d6 04:40:41 Step 8/10 : WORKDIR /device-snmp-go 04:40:41 ---> Running in c892c1007c95 04:40:41 Removing intermediate container c892c1007c95 04:40:41 ---> 84b72b9e4fcd 04:40:41 Step 9/10 : COPY . . 04:40:42 ---> 6b6f5432d2e0 04:40:42 Step 10/10 : RUN go mod download 04:40:42 ---> Running in 159f5e750862 04:41:07 Removing intermediate container 6cd75e53c593 04:41:07 ---> 85b8e74a6342 04:41:07 Successfully built 85b8e74a6342 04:41:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:41:07 + docker inspect -f . ci-base-image-x86_64 04:41:07 . [Pipeline] withDockerContainer 04:41:07 prd-centos7-docker-4c-2g-5004 does not seem to be running inside a container 04:41:08 $ 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 04:41:08 $ docker top d03f8e173f1b9b3ee97b6ac05085c824413d92f300fdae5a5e82c75b4af8a4eb -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:09 + go version 04:41:09 go version go1.16.3 linux/amd64 [Pipeline] } 04:41:09 $ docker stop --time=1 d03f8e173f1b9b3ee97b6ac05085c824413d92f300fdae5a5e82c75b4af8a4eb 04:41:09 Removing intermediate container 159f5e750862 04:41:09 ---> 554a6077fd9e 04:41:09 Successfully built 554a6077fd9e 04:41:09 Successfully tagged ci-base-image-arm64:latest 04:41:10 $ docker rm -f d03f8e173f1b9b3ee97b6ac05085c824413d92f300fdae5a5e82c75b4af8a4eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:41:11 + docker inspect -f . ci-base-image-arm64 04:41:11 . [Pipeline] withDockerContainer 04:41:11 + docker inspect -f . ci-base-image-x86_64 04:41:11 . 04:41:11 prd-ubuntu18.04-docker-arm64-4c-16g-5003 does not seem to be running inside a container 04:41:11 $ 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-arm64 cat 04:41:13 $ docker top 299c7de88d2c39390fbb539174ced0c5f3fa660277665b7817a903e634ccd414 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 04:41:13 prd-centos7-docker-4c-2g-5004 does not seem to be running inside a container 04:41:13 $ 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 04:41:14 $ docker top 674ee47089fba6c59714cac86e73d9efa0e5ccc8c91a1280f73eb8dad989d98f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 04:41:14 + go mod tidy [Pipeline] sh 04:41:15 + go version 04:41:15 go version go1.16.3 linux/arm64 [Pipeline] } 04:41:15 $ docker stop --time=1 299c7de88d2c39390fbb539174ced0c5f3fa660277665b7817a903e634ccd414 04:41:15 + make test 04:41:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:41:16 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:41:17 $ docker rm -f 299c7de88d2c39390fbb539174ced0c5f3fa660277665b7817a903e634ccd414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:41:17 + docker inspect -f . ci-base-image-arm64 04:41:17 . [Pipeline] withDockerContainer 04:41:18 prd-ubuntu18.04-docker-arm64-4c-16g-5003 does not seem to be running inside a container 04:41:18 $ 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-arm64 cat 04:41:19 $ docker top bd77fd315a99260b8fe7e457966194f6a5dff00d3e7cacdb094e8efb0ba4e8b8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:20 + go mod tidy [Pipeline] sh 04:41:22 + make test 04:41:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:41:23 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:41:34 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:41:34 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 04:41:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:41:42 gofmt -l . 04:41:42 [ "`gofmt -l .`" = "" ] 04:41:42 ./bin/test-attribution-txt.sh 04:41:43 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:41:43 $ docker stop --time=1 674ee47089fba6c59714cac86e73d9efa0e5ccc8c91a1280f73eb8dad989d98f 04:41:44 $ docker rm -f 674ee47089fba6c59714cac86e73d9efa0e5ccc8c91a1280f73eb8dad989d98f [Pipeline] // withDockerContainer [Pipeline] sh 04:41:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:41:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:41:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:48 + ls -al . 04:41:48 total 108 04:41:48 drwxrwxr-x. 7 jenkins jenkins 4096 May 13 04:41 . 04:41:48 drwxrwxr-x. 4 jenkins jenkins 28 May 13 04:40 .. 04:41:48 -rw-rw-r--. 1 jenkins jenkins 6520 May 13 04:40 Attribution.txt 04:41:48 drwxrwxr-x. 2 jenkins jenkins 87 May 13 04:40 bin 04:41:48 drwxrwxr-x. 3 jenkins jenkins 32 May 13 04:40 cmd 04:41:48 -rw-r--r--. 1 jenkins jenkins 8663 May 13 04:41 coverage.out 04:41:48 -rw-rw-r--. 1 jenkins jenkins 1446 May 13 04:40 Dockerfile 04:41:48 -rw-rw-r--. 1 jenkins jenkins 1057 May 13 04:40 Dockerfile.build 04:41:48 -rw-rw-r--. 1 jenkins jenkins 6 May 13 04:40 .dockerignore 04:41:48 drwxrwxr-x. 8 jenkins jenkins 179 May 13 04:40 .git 04:41:48 drwxrwxr-x. 2 jenkins jenkins 103 May 13 04:40 .github 04:41:48 -rw-rw-r--. 1 jenkins jenkins 272 May 13 04:40 .gitignore 04:41:48 -rw-r--r--. 1 jenkins jenkins 222 May 13 04:41 go.mod 04:41:48 -rw-r--r--. 1 jenkins jenkins 21043 May 13 04:41 go.sum 04:41:48 drwxrwxr-x. 3 jenkins jenkins 20 May 13 04:40 internal 04:41:48 -rw-rw-r--. 1 jenkins jenkins 656 May 13 04:40 Jenkinsfile 04:41:48 -rw-rw-r--. 1 jenkins jenkins 11340 May 13 04:40 LICENSE 04:41:48 -rw-rw-r--. 1 jenkins jenkins 978 May 13 04:40 Makefile 04:41:48 -rw-rw-r--. 1 jenkins jenkins 9079 May 13 04:40 README.md 04:41:48 -rw-rw-r--. 1 jenkins jenkins 5 May 13 04:37 VERSION 04:41:48 -rw-rw-r--. 1 jenkins jenkins 209 May 13 04:40 version.go [Pipeline] isUnix [Pipeline] sh 04:41:49 + 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=9b7b00a58de509e871e0dce873d7d6293bc9ce45 --label arch=amd64 --label version=0.0.0 . 04:41:49 Sending build context to Docker daemon 393.7kB 04:41:49 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 04:41:49 Step 2/23 : FROM ${BASE} AS builder 04:41:49 ---> 85b8e74a6342 04:41:49 Step 3/23 : ARG MAKE='make build' 04:41:49 ---> Running in 6fb473c78911 04:41:49 Removing intermediate container 6fb473c78911 04:41:49 ---> e28350989c5f 04:41:49 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:41:49 ---> Running in b814933b1809 04:41:49 Removing intermediate container b814933b1809 04:41:49 ---> 45e30f41dea2 04:41:49 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:41:50 ---> Running in 7b523a0398e6 04:41:50 Removing intermediate container 7b523a0398e6 04:41:50 ---> 9f5bd1ef35ec 04:41:50 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:41:50 ---> Running in 439cc2d49032 04:41:51 Removing intermediate container 439cc2d49032 04:41:51 ---> 8ea6cf29f692 04:41:51 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:41:51 ---> Running in 7be591fe5d2b 04:41:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 04:41:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 04:41:53 OK: 156 MiB in 53 packages 04:41:53 Removing intermediate container 7be591fe5d2b 04:41:53 ---> da6af0bed23d 04:41:53 Step 8/23 : WORKDIR /device-snmp-go 04:41:53 ---> Running in 8b8474ba59a1 04:41:53 Removing intermediate container 8b8474ba59a1 04:41:53 ---> be540d29a73b 04:41:53 Step 9/23 : COPY . . 04:41:54 ---> 75c574c9fb2c 04:41:54 Step 10/23 : RUN make update 04:41:54 ---> Running in fd69e15637f4 04:41:55 CGO_ENABLED=0 GO111MODULE=on go mod download 04:41:56 Removing intermediate container fd69e15637f4 04:41:56 ---> fa6171b0e942 04:41:56 Step 11/23 : RUN ${MAKE} 04:41:56 ---> Running in 565407e20a7f 04:41:56 go mod tidy 04:41:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 04:42:09 CGO_ENABLED=1 GO111MODULE=on go build ./... 04:42:13 Removing intermediate container 565407e20a7f 04:42:13 ---> 5c23e88a8c2c 04:42:13 Step 12/23 : FROM alpine:3.12 04:42:13 3.12: Pulling from library/alpine 04:42:13 339de151aab4: Pulling fs layer 04:42:14 339de151aab4: Verifying Checksum 04:42:14 339de151aab4: Download complete 04:42:14 339de151aab4: Pull complete 04:42:14 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 04:42:14 Status: Downloaded newer image for alpine:3.12 04:42:14 ---> 13621d1b12d4 04:42:14 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 04:42:14 ---> Running in 1465ff20ea59 04:42:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:42:15 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:42:15 (1/6) Installing dumb-init (1.2.2-r1) 04:42:15 (2/6) Installing libgcc (9.3.0-r2) 04:42:15 (3/6) Installing libsodium (1.0.18-r0) 04:42:15 (4/6) Installing libstdc++ (9.3.0-r2) 04:42:15 (5/6) Installing libzmq (4.3.3-r0) 04:42:15 (6/6) Installing zeromq (4.3.3-r0) 04:42:15 Executing busybox-1.31.1-r20.trigger 04:42:15 OK: 8 MiB in 20 packages 04:42:16 Removing intermediate container 1465ff20ea59 04:42:16 ---> 4b0b5d626e32 04:42:16 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 04:42:16 ---> c3950639f17e 04:42:16 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 04:42:16 ---> 4c5a65261aa1 04:42:16 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 04:42:17 ---> f3576d4d30ee 04:42:17 Step 17/23 : EXPOSE 49993 04:42:17 ---> Running in 537fcc672dfc 04:42:17 Removing intermediate container 537fcc672dfc 04:42:17 ---> e3609e32de4a 04:42:17 Step 18/23 : EXPOSE 161 04:42:17 ---> Running in 43deed174449 04:42:17 Removing intermediate container 43deed174449 04:42:17 ---> 49daa5c239c1 04:42:17 Step 19/23 : ENTRYPOINT ["/device-snmp-go"] 04:42:17 ---> Running in 6dbc21d4da3a 04:42:18 Removing intermediate container 6dbc21d4da3a 04:42:18 ---> 61f34d260f66 04:42:18 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:42:18 ---> Running in 45d8843b3d12 04:42:18 Removing intermediate container 45d8843b3d12 04:42:18 ---> d515c6e05ffa 04:42:18 Step 21/23 : LABEL arch=amd64 04:42:18 ---> Running in 0bc61ba5c076 04:42:18 Removing intermediate container 0bc61ba5c076 04:42:18 ---> f3580170f004 04:42:18 Step 22/23 : LABEL git_sha=9b7b00a58de509e871e0dce873d7d6293bc9ce45 04:42:18 ---> Running in 59fef5f0f8f9 04:42:18 Removing intermediate container 59fef5f0f8f9 04:42:18 ---> 0b55855b5074 04:42:18 Step 23/23 : LABEL version=0.0.0 04:42:18 ---> Running in d11f1f2bd459 04:42:18 Removing intermediate container d11f1f2bd459 04:42:18 ---> 7fbeac0159ae 04:42:18 [Warning] One or more build-args [ARCH] were not consumed 04:42:18 Successfully built 7fbeac0159ae 04:42:18 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 04:42:19 ---> job-cost.sh 04:42:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jSgE 04:42:19 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:42:19 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.025s coverage: 0.0% of statements 04:42:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:42:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:42:38 gofmt -l . 04:42:38 [ "`gofmt -l .`" = "" ] 04:42:38 ./bin/test-attribution-txt.sh 04:42:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:42:38 $ docker stop --time=1 bd77fd315a99260b8fe7e457966194f6a5dff00d3e7cacdb094e8efb0ba4e8b8 04:42:40 $ docker rm -f bd77fd315a99260b8fe7e457966194f6a5dff00d3e7cacdb094e8efb0ba4e8b8 [Pipeline] // withDockerContainer [Pipeline] sh 04:42:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:42:40 Warning: overwriting stash ‘coverage-report’ 04:42:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:42:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:42:42 + ls -al . 04:42:42 total 132 04:42:42 drwxrwxr-x 7 jenkins jenkins 4096 May 13 04:42 . 04:42:42 drwxrwxr-x 4 jenkins jenkins 4096 May 13 04:39 .. 04:42:42 -rw-rw-r-- 1 jenkins jenkins 6 May 13 04:39 .dockerignore 04:42:42 drwxrwxr-x 8 jenkins jenkins 4096 May 13 04:39 .git 04:42:42 drwxrwxr-x 2 jenkins jenkins 4096 May 13 04:39 .github 04:42:42 -rw-rw-r-- 1 jenkins jenkins 272 May 13 04:39 .gitignore 04:42:42 -rw-rw-r-- 1 jenkins jenkins 6520 May 13 04:39 Attribution.txt 04:42:42 -rw-rw-r-- 1 jenkins jenkins 1446 May 13 04:39 Dockerfile 04:42:42 -rw-rw-r-- 1 jenkins jenkins 1057 May 13 04:39 Dockerfile.build 04:42:42 -rw-rw-r-- 1 jenkins jenkins 656 May 13 04:39 Jenkinsfile 04:42:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 04:39 LICENSE 04:42:42 -rw-rw-r-- 1 jenkins jenkins 978 May 13 04:39 Makefile 04:42:42 -rw-rw-r-- 1 jenkins jenkins 9079 May 13 04:39 README.md 04:42:42 -rw-rw-r-- 1 jenkins jenkins 5 May 13 04:37 VERSION 04:42:42 drwxrwxr-x 2 jenkins jenkins 4096 May 13 04:39 bin 04:42:42 drwxrwxr-x 3 jenkins jenkins 4096 May 13 04:39 cmd 04:42:42 -rw-r--r-- 1 jenkins jenkins 8663 May 13 04:42 coverage.out 04:42:42 -rw-r--r-- 1 jenkins jenkins 222 May 13 04:42 go.mod 04:42:42 -rw-r--r-- 1 jenkins jenkins 21043 May 13 04:41 go.sum 04:42:42 drwxrwxr-x 3 jenkins jenkins 4096 May 13 04:39 internal 04:42:42 -rw-rw-r-- 1 jenkins jenkins 209 May 13 04:39 version.go [Pipeline] isUnix [Pipeline] sh 04:42:43 + 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=9b7b00a58de509e871e0dce873d7d6293bc9ce45 --label arch=arm64 --label version=0.0.0 . 04:42:43 Sending build context to Docker daemon 392.7kB 04:42:43 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 04:42:43 Step 2/23 : FROM ${BASE} AS builder 04:42:43 ---> 554a6077fd9e 04:42:43 Step 3/23 : ARG MAKE='make build' 04:42:43 ---> Running in 9ad02328e2ee 04:42:44 Removing intermediate container 9ad02328e2ee 04:42:44 ---> 953428010758 04:42:44 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:42:44 ---> Running in 2fbecff941d1 04:42:44 Removing intermediate container 2fbecff941d1 04:42:44 ---> 29b5a87af3c8 04:42:44 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:42:45 ---> Running in 12e6c7832c2d 04:42:45 Removing intermediate container 12e6c7832c2d 04:42:45 ---> c310214971eb 04:42:45 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:42:45 ---> Running in af86977e5840 04:42:47 Removing intermediate container af86977e5840 04:42:47 ---> ad1240b50c79 04:42:47 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:42:47 ---> Running in d8675e1e77fe 04:42:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 04:42:49 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 04:42:50 OK: 145 MiB in 53 packages 04:42:51 Removing intermediate container d8675e1e77fe 04:42:51 ---> fced452d5317 04:42:51 Step 8/23 : WORKDIR /device-snmp-go 04:42:52 ---> Running in 6e86f415f711 04:42:52 Removing intermediate container 6e86f415f711 04:42:52 ---> c475dedd3eae 04:42:52 Step 9/23 : COPY . . 04:42:53 ---> 9cc7323547b1 04:42:53 Step 10/23 : RUN make update 04:42:53 ---> Running in 4095de889449 04:42:54 CGO_ENABLED=0 GO111MODULE=on go mod download 04:42:56 Removing intermediate container 4095de889449 04:42:56 ---> 8acfce7dcadf 04:42:56 Step 11/23 : RUN ${MAKE} 04:42:56 ---> Running in d7b344162a2b 04:42:57 go mod tidy 04:42:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 04:43:04 lf-activate-venv(): INFO: Adding /tmp/venv-jSgE/bin to PATH 04:43:04 INFO: No Stack... 04:43:04 INFO: Retrieving Pricing Info for: v1-standard-2 04:43:04 INFO: Archiving Costs [Pipeline] sh 04:43:04 + cat /w/workspace/device-snmp-go/6/archives/cost.csv 04:43:04 + cut -d, -f6 [Pipeline] lock 04:43:04 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-6-stack-cost] 04:43:04 Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-6-stack-cost] did not exist. Created. 04:43:04 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:43:05 + echo total: 0.029999999329447746 [Pipeline] stash 04:43:05 Stashed 1 file(s) [Pipeline] } 04:43:05 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:43:30 CGO_ENABLED=1 GO111MODULE=on go build ./... 04:43:40 Removing intermediate container d7b344162a2b 04:43:40 ---> abd6c74fbebb 04:43:40 Step 12/23 : FROM alpine:3.12 04:43:40 3.12: Pulling from library/alpine 04:43:40 d2f70382dc9a: Pulling fs layer 04:43:40 d2f70382dc9a: Verifying Checksum 04:43:40 d2f70382dc9a: Download complete 04:43:41 d2f70382dc9a: Pull complete 04:43:41 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 04:43:41 Status: Downloaded newer image for alpine:3.12 04:43:41 ---> 9852663dfa18 04:43:41 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 04:43:41 ---> Running in ef8f00e2bc09 04:43:42 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:43:42 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:43:43 (1/6) Installing dumb-init (1.2.2-r1) 04:43:43 (2/6) Installing libgcc (9.3.0-r2) 04:43:43 (3/6) Installing libsodium (1.0.18-r0) 04:43:43 (4/6) Installing libstdc++ (9.3.0-r2) 04:43:43 (5/6) Installing libzmq (4.3.3-r0) 04:43:43 (6/6) Installing zeromq (4.3.3-r0) 04:43:43 Executing busybox-1.31.1-r20.trigger 04:43:43 OK: 8 MiB in 20 packages 04:43:44 Removing intermediate container ef8f00e2bc09 04:43:44 ---> c96dfc62377d 04:43:44 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 04:43:45 ---> f3aa27d9b57e 04:43:45 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 04:43:46 ---> ab6aab2d354d 04:43:46 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 04:43:47 ---> e0e76569c56f 04:43:47 Step 17/23 : EXPOSE 49993 04:43:47 ---> Running in e7cd38987812 04:43:47 Removing intermediate container e7cd38987812 04:43:47 ---> 75738f911d5e 04:43:47 Step 18/23 : EXPOSE 161 04:43:47 ---> Running in b4a17650960d 04:43:48 Removing intermediate container b4a17650960d 04:43:48 ---> 7f8c13212aa2 04:43:48 Step 19/23 : ENTRYPOINT ["/device-snmp-go"] 04:43:48 ---> Running in 895025baa270 04:43:49 Removing intermediate container 895025baa270 04:43:49 ---> 2183bf86379a 04:43:49 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:43:49 ---> Running in 0113ef3257be 04:43:49 Removing intermediate container 0113ef3257be 04:43:49 ---> 191a903382c6 04:43:49 Step 21/23 : LABEL arch=arm64 04:43:49 ---> Running in 4cb9c524cfe3 04:43:50 Removing intermediate container 4cb9c524cfe3 04:43:50 ---> cc7d180db1c9 04:43:50 Step 22/23 : LABEL git_sha=9b7b00a58de509e871e0dce873d7d6293bc9ce45 04:43:50 ---> Running in a86f5922928f 04:43:50 Removing intermediate container a86f5922928f 04:43:50 ---> e5349d4ea1c3 04:43:50 Step 23/23 : LABEL version=0.0.0 04:43:50 ---> Running in bf4f6293882c 04:43:51 Removing intermediate container bf4f6293882c 04:43:51 ---> 886eb97bb1c4 04:43:51 [Warning] One or more build-args [ARCH] were not consumed 04:43:51 Successfully built 886eb97bb1c4 04:43:51 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 04:43:51 ---> job-cost.sh 04:43:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DP4W 04:44:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:45:52 lf-activate-venv(): INFO: Adding /tmp/venv-DP4W/bin to PATH 04:45:52 INFO: No Stack... 04:45:52 INFO: Retrieving Pricing Info for: lf-standard-4 04:45:53 INFO: Archiving Costs [Pipeline] sh 04:45:53 + cat /w/workspace/device-snmp-go/6/archives/cost.csv 04:45:53 + cut -d, -f6 [Pipeline] lock 04:45:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-6-stack-cost] 04:45:53 Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-6-stack-cost] did not exist. Created. 04:45:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:45:53 /w/workspace/device-snmp-go/6@tmp/durable-2e7f7ac6/script.sh: 1: /w/workspace/device-snmp-go/6@tmp/durable-2e7f7ac6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:45:54 + echo total: 0.20999999344348907 [Pipeline] stash 04:45:54 Warning: overwriting stash ‘stack-cost’ 04:45:54 Stashed 1 file(s) [Pipeline] } 04:45:54 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-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] wrap 04:45:55 provisioning config files... 04:45:55 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config5500312134508266007tmp [Pipeline] { [Pipeline] sh 04:45:55 + set +x 04:45:55 + curl -s https://codecov.io/bash 04:45:55 + bash -s -- 04:45:55 04:45:55 _____ _ 04:45:55 / ____| | | 04:45:55 | | ___ __| | ___ ___ _____ __ 04:45:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:45:55 | |___| (_) | (_| | __/ (_| (_) \ V / 04:45:55 \_____\___/ \__,_|\___|\___\___/ \_/ 04:45:55 Bash-1.0.2 04:45:55 04:45:55 04:45:55 ==> git version 2.24.3 found 04:45:55 ==> 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 04:45:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:45:55 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:45:55 ==> Jenkins CI detected. 04:45:55 project root: . 04:45:55 --> token set from env 04:45:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:45:55 ==> Running gcov in . (disable via -X gcov) 04:45:55 ==> Python coveragepy not found 04:45:55 ==> Searching for coverage reports in: 04:45:55 + . 04:45:55 -> Found 1 reports 04:45:55 ==> Detecting git/mercurial file structure 04:45:55 ==> Reading reports 04:45:55 + ./coverage.out bytes=8663 04:45:55 ==> Appending adjustments 04:45:55 https://docs.codecov.io/docs/fixing-reports 04:45:55 + Found adjustments 04:45:55 ==> Gzipping contents 04:45:55 4.0K /tmp/codecov.iYKeJs.gz 04:45:55 ==> Uploading reports 04:45:55 url: https://codecov.io 04:45:55 query: branch=PR-93&commit=9b7b00a58de509e871e0dce873d7d6293bc9ce45&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= 04:45:55 -> Pinging Codecov 04:45:55 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-93&commit=9b7b00a58de509e871e0dce873d7d6293bc9ce45&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= 04:45:56 -> Uploading to 04:45:56 https://storage.googleapis.com/codecov/v4/raw/2021-05-13/6C56EA5C29638FB4528AC87E60AF5AE0/9b7b00a58de509e871e0dce873d7d6293bc9ce45/5ab7638e-13d2-4dbd-9569-13b7c11e4ffa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T044556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f76d2c3671a98860f2560d75def58725028a3288f1846f95d8dbe0e724ebcbbf 04:45:56 % Total % Received % Xferd Average Speed Time Time Time Current 04:45:56 Dload Upload Total Spent Left Speed 04:45:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1498 0 0 100 1498 0 3673 --:--:-- --:--:-- --:--:-- 3671 04:45:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/9b7b00a58de509e871e0dce873d7d6293bc9ce45 [Pipeline] } 04:45:56 Deleting 1 temporary files [Pipeline] // wrap [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 04:45:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:45:58 ---> package-listing.sh 04:45:58 ++ facter osfamily 04:45:58 ++ tr '[:upper:]' '[:lower:]' 04:45:58 + OS_FAMILY=redhat 04:45:58 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-93 04:45:58 + START_PACKAGES=/tmp/packages_start.txt 04:45:58 + END_PACKAGES=/tmp/packages_end.txt 04:45:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:45:58 + PACKAGES=/tmp/packages_start.txt 04:45:58 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' 04:45:58 + PACKAGES=/tmp/packages_end.txt 04:45:58 + case "${OS_FAMILY}" in 04:45:58 + rpm -qa 04:45:58 + sort 04:46:03 + '[' -f /tmp/packages_start.txt ']' 04:46:03 + '[' -f /tmp/packages_end.txt ']' 04:46:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:46:03 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' 04:46:03 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ 04:46:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ [Pipeline] echo 04:46:03 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/dgexfoundry_device-snmp-go_PR-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:46:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:46:04 04:46:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:46:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:46:04 alpine: Pulling from edgex-lftools-log-publisher 04:46:04 df20fa9351a1: Pulling fs layer 04:46:04 36b3adc4ff6f: Pulling fs layer 04:46:04 8ad3a11d3b57: Pulling fs layer 04:46:04 46f8f816bc3b: Pulling fs layer 04:46:04 93b61091891f: Pulling fs layer 04:46:04 93b9cdb0e59b: Pulling fs layer 04:46:04 5e14af77c1be: Pulling fs layer 04:46:04 01666e4c0597: Pulling fs layer 04:46:04 aa168da1d23b: Pulling fs layer 04:46:04 46f8f816bc3b: Waiting 04:46:04 93b9cdb0e59b: Waiting 04:46:04 5e14af77c1be: Waiting 04:46:04 01666e4c0597: Waiting 04:46:04 aa168da1d23b: Waiting 04:46:04 36b3adc4ff6f: Verifying Checksum 04:46:04 36b3adc4ff6f: Download complete 04:46:04 46f8f816bc3b: Verifying Checksum 04:46:04 46f8f816bc3b: Download complete 04:46:04 df20fa9351a1: Verifying Checksum 04:46:04 df20fa9351a1: Download complete 04:46:04 93b9cdb0e59b: Verifying Checksum 04:46:04 93b9cdb0e59b: Download complete 04:46:04 5e14af77c1be: Download complete 04:46:04 01666e4c0597: Verifying Checksum 04:46:04 01666e4c0597: Download complete 04:46:05 df20fa9351a1: Pull complete 04:46:05 8ad3a11d3b57: Verifying Checksum 04:46:05 8ad3a11d3b57: Download complete 04:46:05 36b3adc4ff6f: Pull complete 04:46:06 8ad3a11d3b57: Pull complete 04:46:06 46f8f816bc3b: Pull complete 04:46:07 aa168da1d23b: Verifying Checksum 04:46:07 aa168da1d23b: Download complete 04:46:07 93b61091891f: Pull complete 04:46:07 93b9cdb0e59b: Pull complete 04:46:08 5e14af77c1be: Pull complete 04:46:08 01666e4c0597: Pull complete 04:46:16 aa168da1d23b: Pull complete 04:46:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:46:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:46:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:46:16 prd-centos7-docker-4c-2g-5002 does not seem to be running inside a container 04:46:16 $ 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/dgexfoundry_device-snmp-go_PR-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-snmp-go_PR-93 -v /w/workspace/dgexfoundry_device-snmp-go_PR-93:/w/workspace/dgexfoundry_device-snmp-go_PR-93:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-93@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:46:19 $ docker top 9eedb2039091c0a21730243592320cf62d7469762558cce7595047c19d541a29 -eo pid,comm [Pipeline] { [Pipeline] sh 04:46:20 + touch /tmp/pre-build-complete [Pipeline] sh 04:46:20 + mkdir -p /var/log/sa [Pipeline] sh 04:46:20 + ls /var/log/sa-host 04:46:20 + sadf -c /var/log/sa-host/sa13 04:46:20 file_magic: OK 04:46:20 HZ: Using current value: 100 04:46:20 file_header: OK 04:46:20 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 04:46:20 Statistics: 04:46:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:46:20 File successfully converted to sysstat format version 12.2.1 04:46:20 + sadf -c /var/log/sa-host/sa23 04:46:20 file_magic: OK 04:46:20 HZ: Using current value: 100 04:46:20 file_header: OK 04:46:20 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 04:46:20 Statistics: 04:46:20 Hnuu...uuuununununu... 04:46:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:46:21 provisioning config files... 04:46:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config4911087940155677578tmp [Pipeline] { [Pipeline] echo 04:46:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:46:21 ---> create-netrc.sh [Pipeline] } 04:46:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:46:21 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:46:21 ---> python-tools-install.sh [Pipeline] echo 04:46:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:46:22 ---> sudo-logs.sh 04:46:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:46:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:46:22 ---> job-cost.sh 04:46:22 lf-activate-venv: SKIPPING 04:46:22 DEBUG: total: 0.20999999344348907 04:46:22 INFO: Retrieving Stack Cost... 04:46:24 INFO: Retrieving Pricing Info for: v1-standard-2 04:46:24 INFO: Archiving Costs [Pipeline] echo 04:46:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:46:24 ---> logs-deploy.sh 04:46:24 lf-activate-venv: SKIPPING 04:46:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-93/6 04:46:24 INFO: archiving workspace using pattern(s): 04:46:26 Archives upload complete. 04:46:26 INFO: archiving logs to Nexus 04:46:27 ---> uname -a: 04:46:27 Linux prd-centos7-docker-4c-2g-5002.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 04:46:27 04:46:27 04:46:27 ---> lscpu: 04:46:27 Architecture: x86_64 04:46:27 CPU op-mode(s): 32-bit, 64-bit 04:46:27 Byte Order: Little Endian 04:46:27 Address sizes: 40 bits physical, 48 bits virtual 04:46:27 CPU(s): 4 04:46:27 On-line CPU(s) list: 0-3 04:46:27 Thread(s) per core: 1 04:46:27 Core(s) per socket: 1 04:46:27 Socket(s): 4 04:46:27 NUMA node(s): 1 04:46:27 Vendor ID: GenuineIntel 04:46:27 CPU family: 6 04:46:27 Model: 44 04:46:27 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:46:27 Stepping: 1 04:46:27 CPU MHz: 2933.438 04:46:27 BogoMIPS: 5866.87 04:46:27 Virtualization: VT-x 04:46:27 Hypervisor vendor: KVM 04:46:27 Virtualization type: full 04:46:27 L1d cache: 128 KiB 04:46:27 L1i cache: 128 KiB 04:46:27 L2 cache: 16 MiB 04:46:27 L3 cache: 64 MiB 04:46:27 NUMA node0 CPU(s): 0-3 04:46:27 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:46:27 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:46:27 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:46:27 Vulnerability Meltdown: Mitigation; PTI 04:46:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:46:27 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:46:27 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:46:27 Vulnerability Srbds: Not affected 04:46:27 Vulnerability Tsx async abort: Not affected 04:46:27 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 04:46:27 04:46:27 04:46:27 ---> nproc: 04:46:27 4 04:46:27 04:46:27 04:46:27 ---> df -h: 04:46:27 Filesystem Size Used Available Use% Mounted on 04:46:27 overlay 50.0G 7.3G 42.7G 15% / 04:46:27 tmpfs 64.0M 0 64.0M 0% /dev 04:46:27 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 04:46:27 shm 64.0M 0 64.0M 0% /dev/shm 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-snmp-go_PR-93 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 04:46:27 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 04:46:27 04:46:27 04:46:27 ---> free -m: 04:46:27 total used free shared buff/cache available 04:46:27 Mem: 1837 731 114 0 991 1000 04:46:27 Swap: 1023 1 1022 04:46:27 04:46:27 04:46:27 ---> ip addr: 04:46:27 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:46:27 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:46:27 inet 127.0.0.1/8 scope host lo 04:46:27 valid_lft forever preferred_lft forever 04:46:27 inet6 ::1/128 scope host 04:46:27 valid_lft forever preferred_lft forever 04:46:27 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 04:46:27 link/ether fa:16:3e:b8:5c:b5 brd ff:ff:ff:ff:ff:ff 04:46:27 inet 10.30.122.147/23 brd 10.30.123.255 scope global dynamic eth0 04:46:27 valid_lft 85822sec preferred_lft 85822sec 04:46:27 inet6 fe80::f816:3eff:feb8:5cb5/64 scope link 04:46:27 valid_lft forever preferred_lft forever 04:46:27 3: docker0: mtu 1500 qdisc noqueue state DOWN 04:46:27 link/ether 02:42:45:56:94:a3 brd ff:ff:ff:ff:ff:ff 04:46:27 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 04:46:27 valid_lft forever preferred_lft forever 04:46:27 inet6 fe80::42:45ff:fe56:94a3/64 scope link 04:46:27 valid_lft forever preferred_lft forever 04:46:27 04:46:27