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 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed+0ab86073b0269e161c45419c6956d6e22a89cd28 (7b3b01135fef5bc12ecf8ac5dc83df371498c0f7) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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: docker-device-snmp-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4307 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 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed Merge succeeded, producing 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed Checking out Revision 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed (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 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # 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 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # 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 03:07:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:07:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:07:49 ========================================================= 03:07:49 EdgeX Global Pipelines Version Info 03:07:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 143164d98a383c63759ddaa63adc3b98c6739614 # timeout=10 03:07:51 ------------------- 03:07:51 stable info: 03:07:51 ------------------- 03:07:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:07:51 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 03:07:51 Message: update stable to v1.0.191 03:07:52 ------------------- 03:07:52 experimental info: 03:07:52 ------------------- 03:07:52 Commited By: **** collab-it+edgex@linuxfoundation.org 03:07:52 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 03:07:52 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:07:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 922f1fb [Pipeline] echo 03:07:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:07:53 provisioning config files... 03:07:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config4192055159372126065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:07:53 ---> docker-login.sh 03:07:53 nexus3.edgexfoundry.org:10001 03:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:54 Configure a credential helper to remove this warning. See 03:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:54 03:07:54 Login Succeeded 03:07:54 nexus3.edgexfoundry.org:10002 03:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:54 Configure a credential helper to remove this warning. See 03:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:54 03:07:54 Login Succeeded 03:07:54 nexus3.edgexfoundry.org:10003 03:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:54 Configure a credential helper to remove this warning. See 03:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:54 03:07:54 Login Succeeded 03:07:54 nexus3.edgexfoundry.org:10004 03:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:54 Configure a credential helper to remove this warning. See 03:07:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:54 03:07:54 Login Succeeded 03:07:54 docker.io 03:07:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:55 Configure a credential helper to remove this warning. See 03:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:55 03:07:55 Login Succeeded 03:07:55 ---> docker-login.sh ends [Pipeline] } 03:07:55 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 03:07:55 + git log --format=format:%s -1 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [Pipeline] echo 03:07:55 GIT_COMMIT: 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed, Commit Message: build: update build files for v2 [Pipeline] echo 03:07:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:07:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:56 03:07:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:07:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:56 latest: Pulling from edgex-devops/git-semver 03:07:56 31603596830f: Pulling fs layer 03:07:56 54011a49482f: Pulling fs layer 03:07:56 a6820b24f6d8: Pulling fs layer 03:07:56 f581987b2513: Pulling fs layer 03:07:56 f581987b2513: Waiting 03:07:56 54011a49482f: Verifying Checksum 03:07:56 54011a49482f: Download complete 03:07:56 31603596830f: Verifying Checksum 03:07:56 31603596830f: Download complete 03:07:57 f581987b2513: Verifying Checksum 03:07:57 f581987b2513: Download complete 03:07:57 a6820b24f6d8: Download complete 03:07:57 31603596830f: Pull complete 03:07:57 54011a49482f: Pull complete 03:07:58 a6820b24f6d8: Pull complete 03:07:58 f581987b2513: Pull complete 03:07:58 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 03:07:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:07:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:07:58 prd-centos7-docker-4c-2g-4307 does not seem to be running inside a container 03:07:58 $ 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 03:08:00 $ docker top 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:08:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:08:01 [ssh-agent] Looking for ssh-agent implementation... 03:08:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:08:01 $ docker exec 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 ssh-agent 03:08:01 SSH_AUTH_SOCK=/tmp/ssh-oTcXTN9k8s5E/agent.11 03:08:01 SSH_AGENT_PID=17 03:08:01 Running ssh-add (command line suppressed) 03:08:01 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_2209069652427301823.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_2209069652427301823.key) 03:08:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:02 + git tag --points-at HEAD [Pipeline] } 03:08:02 $ docker exec --env ******** --env ******** 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 ssh-agent -k 03:08:02 unset SSH_AUTH_SOCK; 03:08:02 unset SSH_AGENT_PID; 03:08:02 echo Agent pid 17 killed; 03:08:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:08:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:08:02 [ssh-agent] Looking for ssh-agent implementation... 03:08:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:08:02 $ docker exec 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 ssh-agent 03:08:02 SSH_AUTH_SOCK=/tmp/ssh-i8JWL0KTN1DY/agent.45 03:08:02 SSH_AGENT_PID=51 03:08:02 Running ssh-add (command line suppressed) 03:08:02 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_839001265445063324.key (/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/private_key_839001265445063324.key) 03:08:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:08:03 + git semver init 03:08:03 # -> Open(): unable to determine branch for HEAD 03:08:03 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.git 03:08:03 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-93 03:08:03 # $SEMVER_REMOTE_NAME = origin 03:08:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:08:03 # $SEMVER_USER_NAME = edgex-jenkins 03:08:03 # $SEMVER_BRANCH = PR-93 03:08:03 # $SEMVER_TEMP = /tmp/semver-522969943 03:08:03 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 03:08:04 # '/tmp/semver-522969943' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver' 03:08:04 # -> Force: false 03:08:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-93/.semver [Pipeline] } 03:08:04 $ docker exec --env ******** --env ******** 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 ssh-agent -k 03:08:04 unset SSH_AUTH_SOCK; 03:08:04 unset SSH_AGENT_PID; 03:08:04 echo Agent pid 51 killed; 03:08:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:08:05 + git semver [Pipeline] } 03:08:05 $ docker stop --time=1 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 03:08:06 $ docker rm -f 70d9dfdee55cc5851753ff0aaf4a739a5832273f4d24ec6f575bda88147ad802 [Pipeline] // withDockerContainer [Pipeline] sh 03:08:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:08:07 Stashed 1 file(s) [Pipeline] echo 03:08:07 [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 03:08:22 Still waiting to schedule task 03:08:22 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4307’ 03:08:22 Still waiting to schedule task 03:08:22 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 03:10:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4308 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws 03:10:01 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 03:10:07 using credential edgex-jenkins-ssh 03:10:07 Cloning the remote Git repository 03:10:07 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 03:10:07 > git init /w/workspace/device-snmp-go/3 # timeout=10 03:10:07 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 03:10:07 > git --version # timeout=10 03:10:07 > git --version # 'git version 2.17.1' 03:10:07 using GIT_SSH to set credentials SSH Credentials for GitHub 03:10:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 03:10:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:10:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 03:10:08 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 03:10:08 using GIT_SSH to set credentials SSH Credentials for GitHub 03:10:08 > 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 03:10:08 Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed 03:10:09 Merge succeeded, producing 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed 03:10:09 Checking out Revision 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed (PR-93) 03:10:08 > git config core.sparsecheckout # timeout=10 03:10:08 > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # timeout=10 03:10:09 > git remote # timeout=10 03:10:09 > git config --get remote.origin.url # timeout=10 03:10:09 using GIT_SSH to set credentials SSH Credentials for GitHub 03:10:09 > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 03:10:09 > git rev-parse HEAD^{commit} # timeout=10 03:10:09 > git config core.sparsecheckout # timeout=10 03:10:09 > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # timeout=10 03:10:13 Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:10:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:10:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:10:15 + sudo service docker restart 03:10:15 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:10:17 provisioning config files... 03:10:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config3738406099350341254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:18 ---> docker-login.sh 03:10:18 nexus3.edgexfoundry.org:10001 03:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:19 Configure a credential helper to remove this warning. See 03:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:19 03:10:19 Login Succeeded 03:10:19 nexus3.edgexfoundry.org:10002 03:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:20 Configure a credential helper to remove this warning. See 03:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:20 03:10:20 Login Succeeded 03:10:20 nexus3.edgexfoundry.org:10003 03:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:20 Configure a credential helper to remove this warning. See 03:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:20 03:10:20 Login Succeeded 03:10:20 nexus3.edgexfoundry.org:10004 03:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:20 Configure a credential helper to remove this warning. See 03:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:20 03:10:20 Login Succeeded 03:10:21 docker.io 03:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:21 Configure a credential helper to remove this warning. See 03:10:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:21 03:10:21 Login Succeeded 03:10:21 ---> docker-login.sh ends [Pipeline] } 03:10:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:10:22 ========================================================= 03:10:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 03:10:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:10:22 + 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 . 03:10:22 Sending build context to Docker daemon 378.9kB 03:10:22 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 03:10:22 Step 2/10 : FROM ${BASE} 03:10:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:10:22 595b0fe564bb: Pulling fs layer 03:10:22 7186ed65a4f7: Pulling fs layer 03:10:22 316046926c0a: Pulling fs layer 03:10:22 4ebd0625c992: Pulling fs layer 03:10:22 207e8628e3a3: Pulling fs layer 03:10:22 c791037a9be2: Pulling fs layer 03:10:22 ffd874e62e21: Pulling fs layer 03:10:22 4ebd0625c992: Waiting 03:10:22 207e8628e3a3: Waiting 03:10:22 c791037a9be2: Waiting 03:10:22 ffd874e62e21: Waiting 03:10:22 316046926c0a: Verifying Checksum 03:10:22 316046926c0a: Download complete 03:10:22 7186ed65a4f7: Download complete 03:10:22 207e8628e3a3: Verifying Checksum 03:10:22 207e8628e3a3: Download complete 03:10:22 c791037a9be2: Verifying Checksum 03:10:22 c791037a9be2: Download complete 03:10:22 595b0fe564bb: Verifying Checksum 03:10:22 595b0fe564bb: Download complete 03:10:23 595b0fe564bb: Pull complete 03:10:24 7186ed65a4f7: Pull complete 03:10:24 316046926c0a: Pull complete 03:10:25 ffd874e62e21: Verifying Checksum 03:10:25 ffd874e62e21: Download complete 03:10:26 4ebd0625c992: Verifying Checksum 03:10:26 4ebd0625c992: Download complete 03:10:36 4ebd0625c992: Pull complete 03:10:36 207e8628e3a3: Pull complete 03:10:37 c791037a9be2: Pull complete 03:10:41 ffd874e62e21: Pull complete 03:10:41 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 03:10:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 03:10:41 ---> cfc18b08335c 03:10:41 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 03:10:43 ---> Running in 4093ef67be2f 03:10:43 Removing intermediate container 4093ef67be2f 03:10:43 ---> 51006b99bcd1 03:10:43 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 03:10:43 ---> Running in 06b69e294b84 03:10:44 Removing intermediate container 06b69e294b84 03:10:44 ---> 569347e46e7a 03:10:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 03:10:44 ---> Running in d39ffe93e342 03:10:45 Removing intermediate container d39ffe93e342 03:10:45 ---> 9ba3bdc68b09 03:10:45 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:10:45 ---> Running in e33861790a54 03:10:47 Removing intermediate container e33861790a54 03:10:47 ---> a4456fb475af 03:10:47 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:10:47 ---> Running in d0c94712a68f 03:10:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:10:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:10:56 (1/13) Installing libc-dev (0.7.2-r3) 03:10:56 (2/13) Installing libsodium (1.0.18-r0) 03:10:57 (3/13) Installing pkgconf (1.7.3-r0) 03:10:57 (4/13) Installing libsodium-dev (1.0.18-r0) 03:10:57 (5/13) Installing openssh-keygen (8.4_p1-r3) 03:10:58 (6/13) Installing libedit (20191231.3.1-r1) 03:10:58 (7/13) Installing openssh-client (8.4_p1-r3) 03:10:59 Running on prd-centos7-docker-4c-2g-4309 in /w/workspace/dgexfoundry_device-snmp-go_PR-93 [Pipeline] { [Pipeline] ws 03:10:59 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 03:11:01 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 03:11:01 (9/13) Installing openssh-server-common (8.4_p1-r3) 03:11:01 (10/13) Installing openssh-server (8.4_p1-r3) 03:11:01 (11/13) Installing openssh (8.4_p1-r3) 03:11:02 using credential edgex-jenkins-ssh 03:11:02 Cloning the remote Git repository 03:11:02 (12/13) Installing libzmq (4.3.3-r1) 03:11:01 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 03:11:01 > git init /w/workspace/device-snmp-go/3 # timeout=10 03:11:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 03:11:02 > git --version # timeout=10 03:11:02 > git --version # 'git version 2.24.3' 03:11:02 using GIT_SSH to set credentials SSH Credentials for GitHub 03:11:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:11:03 (13/13) Installing zeromq-dev (4.3.3-r1) 03:11:03 Executing busybox-1.32.1-r6.trigger 03:11:03 OK: 145 MiB in 53 packages 03:11:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 03:11:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:11:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 03:11:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 03:11:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:11:03 > 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 03:11:04 Merging remotes/origin/master commit 0ab86073b0269e161c45419c6956d6e22a89cd28 into PR head commit 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed 03:11:04 Merge succeeded, producing 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed 03:11:04 Checking out Revision 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed (PR-93) 03:11:04 Removing intermediate container d0c94712a68f 03:11:04 ---> d358b1fc0fe0 03:11:04 Step 8/10 : WORKDIR /device-snmp-go 03:11:04 ---> Running in b1256e4c65cf 03:11:05 Removing intermediate container b1256e4c65cf 03:11:05 ---> 92d590b1f2e6 03:11:05 Step 9/10 : COPY . . 03:11:04 > git config core.sparsecheckout # timeout=10 03:11:04 > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # timeout=10 03:11:04 > git remote # timeout=10 03:11:04 > git config --get remote.origin.url # timeout=10 03:11:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:11:04 > git merge 0ab86073b0269e161c45419c6956d6e22a89cd28 # timeout=10 03:11:04 > git rev-parse HEAD^{commit} # timeout=10 03:11:04 > git config core.sparsecheckout # timeout=10 03:11:04 > git checkout -f 922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed # timeout=10 03:11:05 ---> f98edad47138 03:11:05 Step 10/10 : RUN go mod download 03:11:05 ---> Running in 25f13f0dbb57 03:11:07 Commit message: "build: update build files for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:11:08 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:11:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:11:09 + sudo service docker restart 03:11:09 + true 03:11:09 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:11:10 provisioning config files... 03:11:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config5501556683039155024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:11:10 ---> docker-login.sh 03:11:10 nexus3.edgexfoundry.org:10001 03:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:11 Configure a credential helper to remove this warning. See 03:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:11 03:11:11 Login Succeeded 03:11:11 nexus3.edgexfoundry.org:10002 03:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:11 Configure a credential helper to remove this warning. See 03:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:11 03:11:11 Login Succeeded 03:11:11 nexus3.edgexfoundry.org:10003 03:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:11 Configure a credential helper to remove this warning. See 03:11:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:11 03:11:11 Login Succeeded 03:11:11 nexus3.edgexfoundry.org:10004 03:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:12 Configure a credential helper to remove this warning. See 03:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:12 03:11:12 Login Succeeded 03:11:12 docker.io 03:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:12 Configure a credential helper to remove this warning. See 03:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:12 03:11:12 Login Succeeded 03:11:12 ---> docker-login.sh ends [Pipeline] } 03:11:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:11:12 ========================================================= 03:11:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 03:11:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:11:12 + 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 . 03:11:12 Sending build context to Docker daemon 379.9kB 03:11:12 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 03:11:12 Step 2/10 : FROM ${BASE} 03:11:12 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 03:11:12 540db60ca938: Pulling fs layer 03:11:12 adcc1eea9eea: Pulling fs layer 03:11:12 4c4ab2625f07: Pulling fs layer 03:11:12 0510c868ecb4: Pulling fs layer 03:11:12 afea3b2eda06: Pulling fs layer 03:11:12 7809a108b3ef: Pulling fs layer 03:11:12 f706445af74f: Pulling fs layer 03:11:12 0510c868ecb4: Waiting 03:11:12 afea3b2eda06: Waiting 03:11:12 7809a108b3ef: Waiting 03:11:12 f706445af74f: Waiting 03:11:13 4c4ab2625f07: Verifying Checksum 03:11:13 4c4ab2625f07: Download complete 03:11:13 adcc1eea9eea: Verifying Checksum 03:11:13 adcc1eea9eea: Download complete 03:11:13 afea3b2eda06: Download complete 03:11:13 540db60ca938: Verifying Checksum 03:11:13 540db60ca938: Download complete 03:11:13 7809a108b3ef: Verifying Checksum 03:11:13 7809a108b3ef: Download complete 03:11:13 540db60ca938: Pull complete 03:11:13 adcc1eea9eea: Pull complete 03:11:13 4c4ab2625f07: Pull complete 03:11:14 f706445af74f: Verifying Checksum 03:11:14 f706445af74f: Download complete 03:11:15 0510c868ecb4: Download complete 03:11:20 0510c868ecb4: Pull complete 03:11:20 afea3b2eda06: Pull complete 03:11:20 7809a108b3ef: Pull complete 03:11:29 f706445af74f: Pull complete 03:11:29 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 03:11:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 03:11:29 ---> b068be0155e3 03:11:29 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh gcc libc-dev zeromq-dev libsodium-dev" 03:11:29 ---> Running in ac29cdf09669 03:11:29 Removing intermediate container ac29cdf09669 03:11:29 ---> 2ba2dd6b078c 03:11:29 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 03:11:29 ---> Running in bb89d718064c 03:11:29 Removing intermediate container bb89d718064c 03:11:29 ---> e5ff4f450d8c 03:11:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 03:11:29 ---> Running in a9fa73cbe5d3 03:11:29 Removing intermediate container a9fa73cbe5d3 03:11:29 ---> c93c31b3e893 03:11:29 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:11:29 ---> Running in 74bdc6ab82da 03:11:30 Removing intermediate container 74bdc6ab82da 03:11:30 ---> e1cbeab9afc5 03:11:30 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:11:30 ---> Running in ff9486ff2ccd 03:11:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:11:32 Removing intermediate container 25f13f0dbb57 03:11:32 ---> b21066c043ed 03:11:32 Successfully built b21066c043ed 03:11:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:11:33 + docker inspect -f . ci-base-image-arm64 03:11:33 . [Pipeline] withDockerContainer 03:11:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:11:33 prd-ubuntu18.04-docker-arm64-4c-16g-4308 does not seem to be running inside a container 03:11:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 03:11:33 (1/13) Installing libc-dev (0.7.2-r3) 03:11:33 (2/13) Installing libsodium (1.0.18-r0) 03:11:34 (3/13) Installing pkgconf (1.7.3-r0) 03:11:34 (4/13) Installing libsodium-dev (1.0.18-r0) 03:11:34 (5/13) Installing openssh-keygen (8.4_p1-r3) 03:11:34 (6/13) Installing libedit (20191231.3.1-r1) 03:11:34 (7/13) Installing openssh-client (8.4_p1-r3) 03:11:34 $ docker top 9b13011d113d3f3bb286c686cf9692508eea434234fa992ced42513bf682282d -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:35 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 03:11:35 (9/13) Installing openssh-server-common (8.4_p1-r3) 03:11:35 (10/13) Installing openssh-server (8.4_p1-r3) 03:11:35 + go version 03:11:35 go version go1.16.3 linux/arm64 [Pipeline] } 03:11:35 $ docker stop --time=1 9b13011d113d3f3bb286c686cf9692508eea434234fa992ced42513bf682282d 03:11:36 (11/13) Installing openssh (8.4_p1-r3) 03:11:36 (12/13) Installing libzmq (4.3.3-r1) 03:11:36 (13/13) Installing zeromq-dev (4.3.3-r1) 03:11:36 Executing busybox-1.32.1-r6.trigger 03:11:36 OK: 156 MiB in 53 packages 03:11:37 Removing intermediate container ff9486ff2ccd 03:11:37 ---> 92f707d63bc3 03:11:37 Step 8/10 : WORKDIR /device-snmp-go 03:11:37 ---> Running in ff1e2522d0b5 03:11:37 $ docker rm -f 9b13011d113d3f3bb286c686cf9692508eea434234fa992ced42513bf682282d 03:11:37 Removing intermediate container ff1e2522d0b5 03:11:37 ---> 68521c834037 03:11:37 Step 9/10 : COPY . . [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:11:38 + docker inspect -f . ci-base-image-arm64 03:11:38 . [Pipeline] withDockerContainer 03:11:38 prd-ubuntu18.04-docker-arm64-4c-16g-4308 does not seem to be running inside a container 03:11:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 03:11:38 ---> 880c9a687feb 03:11:38 Step 10/10 : RUN go mod download 03:11:38 ---> Running in 6614aeba3f51 03:11:40 $ docker top 1ef2f134d8a0df50c1e725f26db9bed6021260d7029ea0b7c545e12eab1f830a -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:41 + go mod tidy [Pipeline] sh 03:11:42 + make test 03:11:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:11:43 ? github.com/edgexfoundry/device-snmp-go [no test files] 03:12:05 Removing intermediate container 6614aeba3f51 03:12:05 ---> 9f6fad263bf9 03:12:05 Successfully built 9f6fad263bf9 03:12:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:12:05 + docker inspect -f . ci-base-image-x86_64 03:12:05 . [Pipeline] withDockerContainer 03:12:05 prd-centos7-docker-4c-2g-4309 does not seem to be running inside a container 03:12:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 03:12:06 $ docker top 936a0b201aed709f6ad71ec9e2fdfa9059884bdd2edeb30298555dfd76728032 -eo pid,comm [Pipeline] { [Pipeline] sh 03:12:07 + go version 03:12:07 go version go1.16.3 linux/amd64 [Pipeline] } 03:12:07 $ docker stop --time=1 936a0b201aed709f6ad71ec9e2fdfa9059884bdd2edeb30298555dfd76728032 03:12:08 $ docker rm -f 936a0b201aed709f6ad71ec9e2fdfa9059884bdd2edeb30298555dfd76728032 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:12:09 + docker inspect -f . ci-base-image-x86_64 03:12:09 . [Pipeline] withDockerContainer 03:12:09 prd-centos7-docker-4c-2g-4309 does not seem to be running inside a container 03:12:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 03:12:10 $ docker top d559d26cb533b4c8a65243bbf0711e44639e89e91cfe667ff0861ea90f4d538f -eo pid,comm [Pipeline] { [Pipeline] sh 03:12:10 + go mod tidy [Pipeline] sh 03:12:11 + make test 03:12:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:12:12 ? github.com/edgexfoundry/device-snmp-go [no test files] 03:12:31 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 03:12:31 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 03:12:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:12:37 gofmt -l . 03:12:37 [ "`gofmt -l .`" = "" ] 03:12:37 ./bin/test-attribution-txt.sh 03:12:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:12:38 $ docker stop --time=1 d559d26cb533b4c8a65243bbf0711e44639e89e91cfe667ff0861ea90f4d538f 03:12:39 $ docker rm -f d559d26cb533b4c8a65243bbf0711e44639e89e91cfe667ff0861ea90f4d538f [Pipeline] // withDockerContainer [Pipeline] sh 03:12:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:12:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 03:12:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.025s coverage: 0.0% of statements 03:12:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:12:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:12:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:12:43 + ls -al . 03:12:43 total 108 03:12:43 drwxrwxr-x. 7 jenkins jenkins 4096 May 11 03:12 . 03:12:43 drwxrwxr-x. 4 jenkins jenkins 28 May 11 03:11 .. 03:12:43 -rw-rw-r--. 1 jenkins jenkins 6520 May 11 03:11 Attribution.txt 03:12:43 drwxrwxr-x. 2 jenkins jenkins 87 May 11 03:11 bin 03:12:43 drwxrwxr-x. 3 jenkins jenkins 32 May 11 03:11 cmd 03:12:43 -rw-r--r--. 1 jenkins jenkins 8663 May 11 03:12 coverage.out 03:12:43 -rw-rw-r--. 1 jenkins jenkins 1446 May 11 03:11 Dockerfile 03:12:43 -rw-rw-r--. 1 jenkins jenkins 1057 May 11 03:11 Dockerfile.build 03:12:43 -rw-rw-r--. 1 jenkins jenkins 6 May 11 03:11 .dockerignore 03:12:43 drwxrwxr-x. 8 jenkins jenkins 179 May 11 03:11 .git 03:12:43 drwxrwxr-x. 2 jenkins jenkins 103 May 11 03:11 .github 03:12:43 -rw-rw-r--. 1 jenkins jenkins 272 May 11 03:11 .gitignore 03:12:43 -rw-r--r--. 1 jenkins jenkins 222 May 11 03:12 go.mod 03:12:43 -rw-r--r--. 1 jenkins jenkins 21272 May 11 03:12 go.sum 03:12:43 drwxrwxr-x. 3 jenkins jenkins 20 May 11 03:11 internal 03:12:43 -rw-rw-r--. 1 jenkins jenkins 656 May 11 03:11 Jenkinsfile 03:12:43 -rw-rw-r--. 1 jenkins jenkins 11340 May 11 03:11 LICENSE 03:12:43 -rw-rw-r--. 1 jenkins jenkins 965 May 11 03:11 Makefile 03:12:43 -rw-rw-r--. 1 jenkins jenkins 9079 May 11 03:11 README.md 03:12:43 -rw-rw-r--. 1 jenkins jenkins 5 May 11 03:08 VERSION 03:12:43 -rw-rw-r--. 1 jenkins jenkins 209 May 11 03:11 version.go [Pipeline] isUnix [Pipeline] sh 03:12:43 + docker build -t docker-device-snmp-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed --label arch=amd64 --label version=0.0.0 . 03:12:43 Sending build context to Docker daemon 389.1kB 03:12:44 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 03:12:44 Step 2/23 : FROM ${BASE} AS builder 03:12:44 ---> 9f6fad263bf9 03:12:44 Step 3/23 : ARG MAKE='make build' 03:12:44 ---> Running in 7002553b32f7 03:12:44 Removing intermediate container 7002553b32f7 03:12:44 ---> 4d7bc80c7f80 03:12:44 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:12:44 ---> Running in 45352bc24ca0 03:12:44 Removing intermediate container 45352bc24ca0 03:12:44 ---> 0f65687abfe4 03:12:44 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 03:12:44 ---> Running in 67e1b656cf8a 03:12:44 Removing intermediate container 67e1b656cf8a 03:12:44 ---> fe52e8567b47 03:12:44 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:12:44 ---> Running in 949fffe3a5fe 03:12:46 Removing intermediate container 949fffe3a5fe 03:12:46 ---> bf63ea3cd4bd 03:12:46 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:46 ---> Running in fb50cdc19b28 03:12:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:12:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:12:49 OK: 156 MiB in 53 packages 03:12:49 Removing intermediate container fb50cdc19b28 03:12:49 ---> e52c91e58265 03:12:49 Step 8/23 : WORKDIR /device-snmp-go 03:12:49 ---> Running in 208554a59a8c 03:12:50 Removing intermediate container 208554a59a8c 03:12:50 ---> 2b0f45862ea7 03:12:50 Step 9/23 : COPY . . 03:12:50 ---> 000fc36c9196 03:12:50 Step 10/23 : RUN make update 03:12:50 ---> Running in 10513c414266 03:12:51 CGO_ENABLED=0 GO111MODULE=on go mod download 03:12:52 Removing intermediate container 10513c414266 03:12:52 ---> e9bb28da6e38 03:12:52 Step 11/23 : RUN ${MAKE} 03:12:52 ---> Running in e64a824cb4a9 03:12:52 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 03:12:58 gofmt -l . 03:12:58 [ "`gofmt -l .`" = "" ] 03:12:58 ./bin/test-attribution-txt.sh 03:12:58 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:12:59 $ docker stop --time=1 1ef2f134d8a0df50c1e725f26db9bed6021260d7029ea0b7c545e12eab1f830a 03:13:01 $ docker rm -f 1ef2f134d8a0df50c1e725f26db9bed6021260d7029ea0b7c545e12eab1f830a [Pipeline] // withDockerContainer [Pipeline] sh 03:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:13:02 Warning: overwriting stash ‘coverage-report’ 03:13:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:13:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:13:03 + ls -al . 03:13:03 total 132 03:13:03 drwxrwxr-x 7 jenkins jenkins 4096 May 11 03:12 . 03:13:03 drwxrwxr-x 4 jenkins jenkins 4096 May 11 03:10 .. 03:13:03 -rw-rw-r-- 1 jenkins jenkins 6 May 11 03:10 .dockerignore 03:13:03 drwxrwxr-x 8 jenkins jenkins 4096 May 11 03:10 .git 03:13:03 drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:10 .github 03:13:03 -rw-rw-r-- 1 jenkins jenkins 272 May 11 03:10 .gitignore 03:13:03 -rw-rw-r-- 1 jenkins jenkins 6520 May 11 03:10 Attribution.txt 03:13:03 -rw-rw-r-- 1 jenkins jenkins 1446 May 11 03:10 Dockerfile 03:13:03 -rw-rw-r-- 1 jenkins jenkins 1057 May 11 03:10 Dockerfile.build 03:13:03 -rw-rw-r-- 1 jenkins jenkins 656 May 11 03:10 Jenkinsfile 03:13:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 03:10 LICENSE 03:13:03 -rw-rw-r-- 1 jenkins jenkins 965 May 11 03:10 Makefile 03:13:03 -rw-rw-r-- 1 jenkins jenkins 9079 May 11 03:10 README.md 03:13:03 -rw-rw-r-- 1 jenkins jenkins 5 May 11 03:08 VERSION 03:13:03 drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:10 bin 03:13:03 drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:10 cmd 03:13:03 -rw-r--r-- 1 jenkins jenkins 8663 May 11 03:12 coverage.out 03:13:03 -rw-r--r-- 1 jenkins jenkins 222 May 11 03:12 go.mod 03:13:03 -rw-r--r-- 1 jenkins jenkins 21272 May 11 03:11 go.sum 03:13:03 drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:10 internal 03:13:03 -rw-rw-r-- 1 jenkins jenkins 209 May 11 03:10 version.go [Pipeline] isUnix [Pipeline] sh 03:13:04 + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed --label arch=arm64 --label version=0.0.0 . 03:13:04 Sending build context to Docker daemon 388.1kB 03:13:04 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 03:13:04 Step 2/23 : FROM ${BASE} AS builder 03:13:04 ---> b21066c043ed 03:13:04 Step 3/23 : ARG MAKE='make build' 03:13:04 ---> Running in d5cf90c5aea6 03:13:05 CGO_ENABLED=1 GO111MODULE=on go build ./... 03:13:05 Removing intermediate container d5cf90c5aea6 03:13:05 ---> f1242bd795f7 03:13:05 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:13:05 ---> Running in 821b489f5cec 03:13:05 Removing intermediate container 821b489f5cec 03:13:05 ---> 428f1b712438 03:13:05 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 03:13:06 ---> Running in 2daa4459e7f9 03:13:06 Removing intermediate container 2daa4459e7f9 03:13:06 ---> aa10c5f2e986 03:13:06 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:13:06 ---> Running in c6ae6d89f3f5 03:13:08 Removing intermediate container e64a824cb4a9 03:13:08 ---> f8292724129a 03:13:08 Step 12/23 : FROM alpine:3.12 03:13:08 Removing intermediate container c6ae6d89f3f5 03:13:08 ---> 2ce3254123e4 03:13:08 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:09 ---> Running in 6297e579f8e8 03:13:09 3.12: Pulling from library/alpine 03:13:09 339de151aab4: Pulling fs layer 03:13:09 339de151aab4: Verifying Checksum 03:13:09 339de151aab4: Download complete 03:13:09 339de151aab4: Pull complete 03:13:09 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:13:09 Status: Downloaded newer image for alpine:3.12 03:13:09 ---> 13621d1b12d4 03:13:09 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 03:13:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:13:10 ---> Running in 8f08b5f572c8 03:13:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:13:10 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:13:10 (1/6) Installing dumb-init (1.2.2-r1) 03:13:10 (2/6) Installing libgcc (9.3.0-r2) 03:13:10 (3/6) Installing libsodium (1.0.18-r0) 03:13:10 (4/6) Installing libstdc++ (9.3.0-r2) 03:13:10 (5/6) Installing libzmq (4.3.3-r0) 03:13:10 (6/6) Installing zeromq (4.3.3-r0) 03:13:10 Executing busybox-1.31.1-r20.trigger 03:13:10 OK: 8 MiB in 20 packages 03:13:11 Removing intermediate container 8f08b5f572c8 03:13:11 ---> 5ed17585637e 03:13:11 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 03:13:11 ---> 7e08c2827d56 03:13:11 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 03:13:11 ---> 76737683e66d 03:13:11 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 03:13:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:13:12 ---> e1f768293aec 03:13:12 Step 17/23 : EXPOSE 49993 03:13:12 ---> Running in fdea08e94235 03:13:12 Removing intermediate container fdea08e94235 03:13:12 ---> 2d5a8fc94f88 03:13:12 Step 18/23 : EXPOSE 161 03:13:12 ---> Running in df49d0f6733d 03:13:12 Removing intermediate container df49d0f6733d 03:13:12 ---> bc8ca8b981c8 03:13:12 Step 19/23 : ENTRYPOINT ["/device-snmp-go"] 03:13:12 ---> Running in a918001e1e15 03:13:12 OK: 145 MiB in 53 packages 03:13:12 Removing intermediate container a918001e1e15 03:13:12 ---> 062f9063a666 03:13:12 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:13:12 ---> Running in 7fe2e55ee907 03:13:13 Removing intermediate container 7fe2e55ee907 03:13:13 ---> be171f62a9b2 03:13:13 Step 21/23 : LABEL arch=amd64 03:13:13 ---> Running in 73c10043415a 03:13:13 Removing intermediate container 73c10043415a 03:13:13 ---> d00b71dfaa0a 03:13:13 Step 22/23 : LABEL git_sha=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed 03:13:13 ---> Running in 7d9c4610e8e2 03:13:13 Removing intermediate container 7d9c4610e8e2 03:13:13 ---> 2f00a19587f0 03:13:13 Step 23/23 : LABEL version=0.0.0 03:13:13 ---> Running in c297ad27a135 03:13:13 Removing intermediate container c297ad27a135 03:13:13 ---> 8028e055a68f 03:13:13 [Warning] One or more build-args [ARCH] were not consumed 03:13:13 Successfully built 8028e055a68f 03:13:13 Successfully tagged docker-device-snmp-go: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 03:13:13 Removing intermediate container 6297e579f8e8 03:13:13 ---> c8479f2a317b 03:13:13 Step 8/23 : WORKDIR /device-snmp-go 03:13:13 ---> Running in 77371314f23c Post stage [Pipeline] libraryResource [Pipeline] sh 03:13:14 Removing intermediate container 77371314f23c 03:13:14 ---> 30b2461fb094 03:13:14 Step 9/23 : COPY . . 03:13:14 ---> job-cost.sh 03:13:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-R6TB 03:13:15 ---> 43ed5d8bf55e 03:13:15 Step 10/23 : RUN make update 03:13:15 ---> Running in 81365205c293 03:13:16 CGO_ENABLED=0 GO111MODULE=on go mod download 03:13:17 Removing intermediate container 81365205c293 03:13:17 ---> 3c8e4003678c 03:13:17 Step 11/23 : RUN ${MAKE} 03:13:17 ---> Running in a1c61e4e2f4e 03:13:18 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 03:13:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:13:51 CGO_ENABLED=1 GO111MODULE=on go build ./... 03:13:56 lf-activate-venv(): INFO: Adding /tmp/venv-R6TB/bin to PATH 03:13:56 INFO: No Stack... 03:13:56 INFO: Retrieving Pricing Info for: v1-standard-2 03:13:56 INFO: Archiving Costs [Pipeline] sh 03:13:56 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 03:13:56 + cut -d, -f6 [Pipeline] lock 03:13:56 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] 03:13:56 Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] did not exist. Created. 03:13:56 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:13:57 + echo total: 0.029999999329447746 [Pipeline] stash 03:13:57 Stashed 1 file(s) [Pipeline] } 03:13:57 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:14:01 Removing intermediate container a1c61e4e2f4e 03:14:01 ---> 4310eb5387ad 03:14:01 Step 12/23 : FROM alpine:3.12 03:14:01 3.12: Pulling from library/alpine 03:14:01 d2f70382dc9a: Pulling fs layer 03:14:01 d2f70382dc9a: Verifying Checksum 03:14:01 d2f70382dc9a: Download complete 03:14:01 d2f70382dc9a: Pull complete 03:14:01 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:14:01 Status: Downloaded newer image for alpine:3.12 03:14:01 ---> 9852663dfa18 03:14:01 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 03:14:01 ---> Running in eb8ba309e859 03:14:03 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:14:03 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:14:03 (1/6) Installing dumb-init (1.2.2-r1) 03:14:03 (2/6) Installing libgcc (9.3.0-r2) 03:14:03 (3/6) Installing libsodium (1.0.18-r0) 03:14:03 (4/6) Installing libstdc++ (9.3.0-r2) 03:14:03 (5/6) Installing libzmq (4.3.3-r0) 03:14:03 (6/6) Installing zeromq (4.3.3-r0) 03:14:03 Executing busybox-1.31.1-r20.trigger 03:14:03 OK: 8 MiB in 20 packages 03:14:05 Removing intermediate container eb8ba309e859 03:14:05 ---> 304edd32fe78 03:14:05 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 03:14:06 ---> 06f59eca213d 03:14:06 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 03:14:07 ---> 9b90b3638ed6 03:14:07 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 03:14:07 ---> c41b3394702c 03:14:07 Step 17/23 : EXPOSE 49993 03:14:07 ---> Running in 2d950c77b1fb 03:14:08 Removing intermediate container 2d950c77b1fb 03:14:08 ---> c548137ca6e0 03:14:08 Step 18/23 : EXPOSE 161 03:14:08 ---> Running in c349b0c060bf 03:14:09 Removing intermediate container c349b0c060bf 03:14:09 ---> 3e76fc86b2ef 03:14:09 Step 19/23 : ENTRYPOINT ["/device-snmp-go"] 03:14:09 ---> Running in 32d3237cb6d3 03:14:09 Removing intermediate container 32d3237cb6d3 03:14:09 ---> 0cabcb1d93c5 03:14:09 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:14:09 ---> Running in 69b9e87039b3 03:14:10 Removing intermediate container 69b9e87039b3 03:14:10 ---> 6d2b620c8e0d 03:14:10 Step 21/23 : LABEL arch=arm64 03:14:10 ---> Running in a016afc828fd 03:14:10 Removing intermediate container a016afc828fd 03:14:10 ---> fb271adfbb4a 03:14:10 Step 22/23 : LABEL git_sha=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed 03:14:10 ---> Running in 38204a8be560 03:14:11 Removing intermediate container 38204a8be560 03:14:11 ---> e70a947e1d3c 03:14:11 Step 23/23 : LABEL version=0.0.0 03:14:11 ---> Running in 4a95b8fb8f9a 03:14:11 Removing intermediate container 4a95b8fb8f9a 03:14:11 ---> 59e798153dc3 03:14:11 [Warning] One or more build-args [ARCH] were not consumed 03:14:11 Successfully built 59e798153dc3 03:14:11 Successfully tagged docker-device-snmp-go-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 03:14:12 ---> job-cost.sh 03:14:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1HX2 03:14:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:16:13 lf-activate-venv(): INFO: Adding /tmp/venv-1HX2/bin to PATH 03:16:13 INFO: No Stack... 03:16:13 INFO: Retrieving Pricing Info for: lf-standard-4 03:16:13 INFO: Archiving Costs [Pipeline] sh 03:16:13 + cat /w/workspace/device-snmp-go/3/archives/cost.csv+ 03:16:13 cut -d, -f6 [Pipeline] lock 03:16:13 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] 03:16:13 Resource [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] did not exist. Created. 03:16:13 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-93-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:13 /w/workspace/device-snmp-go/3@tmp/durable-3137e3a3/script.sh: 1: /w/workspace/device-snmp-go/3@tmp/durable-3137e3a3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 03:16:14 + echo total: 0.20999999344348907 [Pipeline] stash 03:16:14 Warning: overwriting stash ‘stack-cost’ 03:16:14 Stashed 1 file(s) [Pipeline] } 03:16:14 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-93-3-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 03:16:15 provisioning config files... 03:16:15 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config5613710102819419947tmp [Pipeline] { [Pipeline] sh 03:16:15 + set +x 03:16:15 + bash -s -- 03:16:15 + curl -s https://codecov.io/bash 03:16:15 03:16:15 _____ _ 03:16:15 / ____| | | 03:16:15 | | ___ __| | ___ ___ _____ __ 03:16:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:16:15 | |___| (_) | (_| | __/ (_| (_) \ V / 03:16:15 \_____\___/ \__,_|\___|\___\___/ \_/ 03:16:15 Bash-1.0.2 03:16:15 03:16:15 03:16:15 ==> git version 2.24.3 found 03:16:15 ==> 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 03:16:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:16:15 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:16:15 ==> Jenkins CI detected. 03:16:15 project root: . 03:16:15 --> token set from env 03:16:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:16:15 ==> Running gcov in . (disable via -X gcov) 03:16:15 ==> Python coveragepy not found 03:16:15 ==> Searching for coverage reports in: 03:16:15 + . 03:16:15 -> Found 1 reports 03:16:15 ==> Detecting git/mercurial file structure 03:16:15 ==> Reading reports 03:16:15 + ./coverage.out bytes=8663 03:16:15 ==> Appending adjustments 03:16:15 https://docs.codecov.io/docs/fixing-reports 03:16:16 + Found adjustments 03:16:16 ==> Gzipping contents 03:16:16 4.0K /tmp/codecov.ZIrNV4.gz 03:16:16 ==> Uploading reports 03:16:16 url: https://codecov.io 03:16:16 query: branch=PR-93&commit=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= 03:16:16 -> Pinging Codecov 03:16:16 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-93&commit=922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-93%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=93&job=&cmd_args= 03:16:16 -> Uploading to 03:16:16 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/6C56EA5C29638FB4528AC87E60AF5AE0/922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed/dc223780-0642-4ed6-8fcb-46f17d1d5f94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T031616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97723b9ce2fc991a4ae7e85a2deb9b3a881ec9d301b933574183520f9d22cb10 03:16:16 % Total % Received % Xferd Average Speed Time Time Time Current 03:16:16 Dload Upload Total Spent Left Speed 03:16:16 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 3577 --:--:-- --:--:-- --:--:-- 3575 03:16:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/922f1fb4ab1248dd92bd7b18ebd0e4f2baa247ed [Pipeline] } 03:16:16 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 03:16:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:16:18 ---> package-listing.sh 03:16:18 ++ facter osfamily 03:16:18 ++ tr '[:upper:]' '[:lower:]' 03:16:18 + OS_FAMILY=redhat 03:16:18 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-93 03:16:18 + START_PACKAGES=/tmp/packages_start.txt 03:16:18 + END_PACKAGES=/tmp/packages_end.txt 03:16:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:16:18 + PACKAGES=/tmp/packages_start.txt 03:16:18 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' 03:16:18 + PACKAGES=/tmp/packages_end.txt 03:16:18 + case "${OS_FAMILY}" in 03:16:18 + rpm -qa 03:16:18 + sort 03:16:23 + '[' -f /tmp/packages_start.txt ']' 03:16:23 + '[' -f /tmp/packages_end.txt ']' 03:16:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:16:23 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-93 ']' 03:16:23 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-93/archives/ 03:16:23 + 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 03:16:24 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 03:16:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:16:24 03:16:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:16:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:16:25 alpine: Pulling from edgex-lftools-log-publisher 03:16:25 df20fa9351a1: Pulling fs layer 03:16:25 36b3adc4ff6f: Pulling fs layer 03:16:25 8ad3a11d3b57: Pulling fs layer 03:16:25 46f8f816bc3b: Pulling fs layer 03:16:25 93b61091891f: Pulling fs layer 03:16:25 93b9cdb0e59b: Pulling fs layer 03:16:25 5e14af77c1be: Pulling fs layer 03:16:25 01666e4c0597: Pulling fs layer 03:16:25 aa168da1d23b: Pulling fs layer 03:16:25 93b9cdb0e59b: Waiting 03:16:25 5e14af77c1be: Waiting 03:16:25 01666e4c0597: Waiting 03:16:25 46f8f816bc3b: Waiting 03:16:25 93b61091891f: Waiting 03:16:25 aa168da1d23b: Waiting 03:16:25 36b3adc4ff6f: Verifying Checksum 03:16:25 36b3adc4ff6f: Download complete 03:16:25 46f8f816bc3b: Verifying Checksum 03:16:25 46f8f816bc3b: Download complete 03:16:25 df20fa9351a1: Verifying Checksum 03:16:25 df20fa9351a1: Download complete 03:16:25 93b9cdb0e59b: Verifying Checksum 03:16:25 93b9cdb0e59b: Download complete 03:16:25 5e14af77c1be: Verifying Checksum 03:16:25 5e14af77c1be: Download complete 03:16:25 93b61091891f: Verifying Checksum 03:16:25 93b61091891f: Download complete 03:16:25 01666e4c0597: Verifying Checksum 03:16:25 01666e4c0597: Download complete 03:16:25 8ad3a11d3b57: Verifying Checksum 03:16:25 8ad3a11d3b57: Download complete 03:16:25 df20fa9351a1: Pull complete 03:16:26 36b3adc4ff6f: Pull complete 03:16:26 8ad3a11d3b57: Pull complete 03:16:26 46f8f816bc3b: Pull complete 03:16:28 aa168da1d23b: Verifying Checksum 03:16:28 aa168da1d23b: Download complete 03:16:28 93b61091891f: Pull complete 03:16:28 93b9cdb0e59b: Pull complete 03:16:28 5e14af77c1be: Pull complete 03:16:28 01666e4c0597: Pull complete 03:16:35 aa168da1d23b: Pull complete 03:16:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:16:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:16:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:16:35 prd-centos7-docker-4c-2g-4307 does not seem to be running inside a container 03:16:35 $ 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 03:16:38 $ docker top 117dfe97d6c050bb1af232b181a0ba90206333ceef165a65a7eb32de5d75e866 -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:38 + touch /tmp/pre-build-complete [Pipeline] sh 03:16:38 + mkdir -p /var/log/sa [Pipeline] sh 03:16:39 + ls /var/log/sa-host 03:16:39 + sadf -c /var/log/sa-host/sa11 03:16:39 file_magic: OK 03:16:39 HZ: Using current value: 100 03:16:39 file_header: OK 03:16:39 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 03:16:39 Statistics: 03:16:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:16:39 File successfully converted to sysstat format version 12.2.1 03:16:39 + sadf -c /var/log/sa-host/sa23 03:16:39 file_magic: OK 03:16:39 HZ: Using current value: 100 03:16:39 file_header: OK 03:16:39 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 03:16:39 Statistics: 03:16:39 Hnuu...uuuununununu... 03:16:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:39 provisioning config files... 03:16:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-93@tmp/config2447693491184266151tmp [Pipeline] { [Pipeline] echo 03:16:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:16:40 ---> create-netrc.sh [Pipeline] } 03:16:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:16:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:16:40 ---> python-tools-install.sh [Pipeline] echo 03:16:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:16:40 ---> sudo-logs.sh 03:16:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:16:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:16:41 ---> job-cost.sh 03:16:41 lf-activate-venv: SKIPPING 03:16:41 DEBUG: total: 0.20999999344348907 03:16:41 INFO: Retrieving Stack Cost... 03:16:42 INFO: Retrieving Pricing Info for: v1-standard-2 03:16:42 INFO: Archiving Costs [Pipeline] echo 03:16:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:16:43 ---> logs-deploy.sh 03:16:43 lf-activate-venv: SKIPPING 03:16:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-93/3 03:16:43 INFO: archiving workspace using pattern(s): 03:16:45 Archives upload complete. 03:16:45 INFO: archiving logs to Nexus