Pull request #79 opened 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 ernestojeda for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 93095583d42b04d307859c593bf085d70cf89a19+dfea19939c3e5952b7f8a352ed4dd87bf2177730 (ad47b89b4fcaa1cf6de537058194835d0b36ca54) Running in Durability level: MAX_SURVIVABILITY 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-79/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-79/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16587 in /w/workspace/dgexfoundry_device-snmp-go_PR-79 [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-79 # 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 > 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/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit dfea19939c3e5952b7f8a352ed4dd87bf2177730 into PR head commit 93095583d42b04d307859c593bf085d70cf89a19 Merge succeeded, producing 93095583d42b04d307859c593bf085d70cf89a19 Checking out Revision 93095583d42b04d307859c593bf085d70cf89a19 (PR-79) > git config core.sparsecheckout # timeout=10 > git checkout -f 93095583d42b04d307859c593bf085d70cf89a19 # 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 dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93095583d42b04d307859c593bf085d70cf89a19 # timeout=10 Commit message: "ci: standardize dockerfiles" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:15:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:15:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:15:44 ========================================================= 19:15:44 EdgeX Global Pipelines Version Info 19:15:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:15:45 ------------------- 19:15:45 stable info: 19:15:45 ------------------- 19:15:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:15:45 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 19:15:45 Message: update stable to v1.0.173 19:15:46 ------------------- 19:15:46 experimental info: 19:15:46 ------------------- 19:15:46 Commited By: **** collab-it+edgex@linuxfoundation.org 19:15:46 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 19:15:46 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:15:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 19:15:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 19:15:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:15:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:15:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:15:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 19:15:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 19:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo 19:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:15:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:15:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:15:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:15:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:15:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:15:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:15:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:15:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:15:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:15:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:15:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:15:51 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 19:15:51 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 19:15:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo 19:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo 19:15:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo 19:15:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93095583d42b04d307859c593bf085d70cf89a19 [Pipeline] echo 19:15:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9309558 [Pipeline] echo 19:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:15:53 provisioning config files... 19:15:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp/config4801538931883778726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:15:53 ---> docker-login.sh 19:15:53 nexus3.edgexfoundry.org:10001 19:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:53 Configure a credential helper to remove this warning. See 19:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:53 19:15:53 Login Succeeded 19:15:53 nexus3.edgexfoundry.org:10002 19:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:54 Configure a credential helper to remove this warning. See 19:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:54 19:15:54 Login Succeeded 19:15:54 nexus3.edgexfoundry.org:10003 19:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:54 Configure a credential helper to remove this warning. See 19:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:54 19:15:54 Login Succeeded 19:15:54 nexus3.edgexfoundry.org:10004 19:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:54 Configure a credential helper to remove this warning. See 19:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:54 19:15:54 Login Succeeded 19:15:54 docker.io 19:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:54 Configure a credential helper to remove this warning. See 19:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:54 19:15:54 Login Succeeded 19:15:54 ---> docker-login.sh ends [Pipeline] } 19:15:54 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 19:15:55 + git log --format=format:%s -1 93095583d42b04d307859c593bf085d70cf89a19 [Pipeline] echo 19:15:55 GIT_COMMIT: 93095583d42b04d307859c593bf085d70cf89a19, Commit Message: ci: standardize dockerfiles [Pipeline] echo 19:15:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:15:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:15:56 19:15:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:15:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:15:57 latest: Pulling from edgex-devops/git-semver 19:15:57 31603596830f: Pulling fs layer 19:15:57 2a8b12db71e7: Pulling fs layer 19:15:57 6ca5941a6612: Pulling fs layer 19:15:57 ecc8261a40a4: Pulling fs layer 19:15:57 ecc8261a40a4: Waiting 19:15:57 2a8b12db71e7: Verifying Checksum 19:15:57 2a8b12db71e7: Download complete 19:15:57 31603596830f: Verifying Checksum 19:15:57 31603596830f: Download complete 19:15:57 6ca5941a6612: Verifying Checksum 19:15:57 6ca5941a6612: Download complete 19:15:57 ecc8261a40a4: Verifying Checksum 19:15:57 ecc8261a40a4: Download complete 19:15:57 31603596830f: Pull complete 19:15:57 2a8b12db71e7: Pull complete 19:15:58 6ca5941a6612: Pull complete 19:15:59 ecc8261a40a4: Pull complete 19:15:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:15:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:15:59 prd-centos7-docker-4c-2g-16587 does not seem to be running inside a container 19:15:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-snmp-go_PR-79 -v /w/workspace/dgexfoundry_device-snmp-go_PR-79:/w/workspace/dgexfoundry_device-snmp-go_PR-79:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-79@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:16:01 $ docker top 93245614e4cd15b47ebf1dc5535e9ab4d1289ac0bc86aca58b4475f0225f5221 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:16:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:16:01 [ssh-agent] Looking for ssh-agent implementation... 19:16:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:01 $ docker exec 93245614e4cd15b47ebf1dc5535e9ab4d1289ac0bc86aca58b4475f0225f5221 ssh-agent 19:16:02 SSH_AUTH_SOCK=/tmp/ssh-Tf26JLMsWVTl/agent.13 19:16:02 SSH_AGENT_PID=18 19:16:02 Running ssh-add (command line suppressed) 19:16:02 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp/private_key_129035225367819436.key (/w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp/private_key_129035225367819436.key) 19:16:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:16:02 + git tag --points-at HEAD [Pipeline] } 19:16:02 $ docker exec --env ******** --env ******** 93245614e4cd15b47ebf1dc5535e9ab4d1289ac0bc86aca58b4475f0225f5221 ssh-agent -k 19:16:02 unset SSH_AUTH_SOCK; 19:16:02 unset SSH_AGENT_PID; 19:16:02 echo Agent pid 18 killed; 19:16:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:16:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:16:02 [ssh-agent] Looking for ssh-agent implementation... 19:16:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:03 $ docker exec 93245614e4cd15b47ebf1dc5535e9ab4d1289ac0bc86aca58b4475f0225f5221 ssh-agent 19:16:03 SSH_AUTH_SOCK=/tmp/ssh-kw4zctoslaHQ/agent.46 19:16:03 SSH_AGENT_PID=51 19:16:03 Running ssh-add (command line suppressed) 19:16:03 Identity added: /w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp/private_key_7995208966645417310.key (/w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp/private_key_7995208966645417310.key) 19:16:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:16:03 + git semver init 19:16:03 # -> Open(): unable to determine branch for HEAD 19:16:03 # $GIT_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-79/.git 19:16:03 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-snmp-go_PR-79 19:16:03 # $SEMVER_REMOTE_NAME = origin 19:16:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:16:03 # $SEMVER_USER_NAME = edgex-jenkins 19:16:03 # $SEMVER_BRANCH = PR-79 19:16:03 # $SEMVER_TEMP = /tmp/semver-374945686 19:16:03 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 19:16:05 # '/tmp/semver-374945686' -> '/w/workspace/dgexfoundry_device-snmp-go_PR-79/.semver' 19:16:05 # -> Force: false 19:16:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-snmp-go_PR-79/.semver [Pipeline] } 19:16:05 $ docker exec --env ******** --env ******** 93245614e4cd15b47ebf1dc5535e9ab4d1289ac0bc86aca58b4475f0225f5221 ssh-agent -k 19:16:05 unset SSH_AUTH_SOCK; 19:16:05 unset SSH_AGENT_PID; 19:16:05 echo Agent pid 51 killed; 19:16:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:16:06 + git semver [Pipeline] } 19:16:06 $ docker stop --time=1 93245614e4cd15b47ebf1dc5535e9ab4d1289ac0bc86aca58b4475f0225f5221 19:16:07 $ docker rm -f 93245614e4cd15b47ebf1dc5535e9ab4d1289ac0bc86aca58b4475f0225f5221 [Pipeline] // withDockerContainer [Pipeline] sh 19:16:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:16:08 Stashed 1 file(s) [Pipeline] echo 19:16:08 [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 19:16:24 Still waiting to schedule task 19:16:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:16:24 Still waiting to schedule task 19:16:24 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 19:18:29 Running on prd-centos7-docker-4c-2g-16591 in /w/workspace/dgexfoundry_device-snmp-go_PR-79 [Pipeline] { [Pipeline] ws 19:18:29 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 19:18:31 using credential edgex-jenkins-ssh 19:18:32 Cloning the remote Git repository 19:18:31 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 19:18:31 > git init /w/workspace/device-snmp-go/1 # timeout=10 19:18:31 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:18:31 > git --version # timeout=10 19:18:31 > git --version # 'git version 2.24.3' 19:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:32 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:18:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:32 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:18:32 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:18:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:18:33 Merging remotes/origin/master commit dfea19939c3e5952b7f8a352ed4dd87bf2177730 into PR head commit 93095583d42b04d307859c593bf085d70cf89a19 19:18:33 Merge succeeded, producing 93095583d42b04d307859c593bf085d70cf89a19 19:18:33 Checking out Revision 93095583d42b04d307859c593bf085d70cf89a19 (PR-79) 19:18:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16590 in /w/workspace/dgexfoundry_device-snmp-go_PR-79 [Pipeline] { [Pipeline] ws 19:18:33 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 19:18:32 > git config core.sparsecheckout # timeout=10 19:18:32 > git checkout -f 93095583d42b04d307859c593bf085d70cf89a19 # timeout=10 19:18:32 > git remote # timeout=10 19:18:32 > git config --get remote.origin.url # timeout=10 19:18:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:32 > git merge dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 19:18:32 > git rev-parse HEAD^{commit} # timeout=10 19:18:32 > git config core.sparsecheckout # timeout=10 19:18:32 > git checkout -f 93095583d42b04d307859c593bf085d70cf89a19 # timeout=10 19:18:36 Commit message: "ci: standardize dockerfiles" 19:18:36 > git --version # timeout=10 19:18:36 > git --version # 'git version 2.24.3' 19:18:36 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:18:38 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:18:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:18:38 + sudo service docker restart 19:18:38 + true 19:18:38 Redirecting to /bin/systemctl restart docker.service 19:18:39 using credential edgex-jenkins-ssh 19:18:39 Cloning the remote Git repository 19:18:39 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 19:18:39 > git init /w/workspace/device-snmp-go/1 # timeout=10 19:18:39 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:18:39 > git --version # timeout=10 19:18:39 > git --version # 'git version 2.17.1' 19:18:39 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:18:40 provisioning config files... 19:18:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7112956967017902581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:18:40 ---> docker-login.sh 19:18:40 nexus3.edgexfoundry.org:10001 19:18:41 Merging remotes/origin/master commit dfea19939c3e5952b7f8a352ed4dd87bf2177730 into PR head commit 93095583d42b04d307859c593bf085d70cf89a19 19:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:41 Configure a credential helper to remove this warning. See 19:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:41 19:18:41 Login Succeeded 19:18:41 nexus3.edgexfoundry.org:10002 19:18:40 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:18:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:18:40 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:18:40 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:18:40 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:18:41 > git config core.sparsecheckout # timeout=10 19:18:41 > git checkout -f 93095583d42b04d307859c593bf085d70cf89a19 # timeout=10 19:18:41 > git remote # timeout=10 19:18:41 > git config --get remote.origin.url # timeout=10 19:18:41 using GIT_SSH to set credentials SSH Credentials for GitHub 19:18:41 > git merge dfea19939c3e5952b7f8a352ed4dd87bf2177730 # timeout=10 19:18:41 > git rev-parse HEAD^{commit} # timeout=10 19:18:41 Merge succeeded, producing 93095583d42b04d307859c593bf085d70cf89a19 19:18:41 Checking out Revision 93095583d42b04d307859c593bf085d70cf89a19 (PR-79) 19:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:41 Configure a credential helper to remove this warning. See 19:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:41 19:18:41 Login Succeeded 19:18:41 nexus3.edgexfoundry.org:10003 19:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:41 Configure a credential helper to remove this warning. See 19:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:41 19:18:41 Login Succeeded 19:18:41 nexus3.edgexfoundry.org:10004 19:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:41 Configure a credential helper to remove this warning. See 19:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:41 19:18:41 Login Succeeded 19:18:41 docker.io 19:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:42 Configure a credential helper to remove this warning. See 19:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:42 19:18:42 Login Succeeded 19:18:42 ---> docker-login.sh ends [Pipeline] } 19:18:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 19:18:41 > git config core.sparsecheckout # timeout=10 19:18:41 > git checkout -f 93095583d42b04d307859c593bf085d70cf89a19 # timeout=10 [Pipeline] echo 19:18:42 ========================================================= 19:18:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:18:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:18:43 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 19:18:43 Sending build context to Docker daemon 324.1kB 19:18:43 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 19:18:43 Step 2/10 : FROM ${BASE} 19:18:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:18:43 188c0c94c7c5: Pulling fs layer 19:18:43 0ef7d3d256c8: Pulling fs layer 19:18:43 de9db76c5a1d: Pulling fs layer 19:18:43 bca2f99d35d6: Pulling fs layer 19:18:43 93359f2a8cfa: Pulling fs layer 19:18:43 7c6f9722023f: Pulling fs layer 19:18:43 a35cf1a2eb13: Pulling fs layer 19:18:43 93359f2a8cfa: Waiting 19:18:43 7c6f9722023f: Waiting 19:18:43 a35cf1a2eb13: Waiting 19:18:43 bca2f99d35d6: Waiting 19:18:43 de9db76c5a1d: Verifying Checksum 19:18:43 de9db76c5a1d: Download complete 19:18:43 0ef7d3d256c8: Verifying Checksum 19:18:43 0ef7d3d256c8: Download complete 19:18:43 93359f2a8cfa: Download complete 19:18:43 7c6f9722023f: Verifying Checksum 19:18:43 7c6f9722023f: Download complete 19:18:43 188c0c94c7c5: Verifying Checksum 19:18:43 188c0c94c7c5: Download complete 19:18:43 188c0c94c7c5: Pull complete 19:18:43 0ef7d3d256c8: Pull complete 19:18:43 de9db76c5a1d: Pull complete 19:18:45 Commit message: "ci: standardize dockerfiles" 19:18:45 > git --version # timeout=10 19:18:45 > git --version # 'git version 2.17.1' 19:18:45 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 19:18:45 a35cf1a2eb13: Verifying Checksum 19:18:45 a35cf1a2eb13: Download complete [Pipeline] withEnv [Pipeline] { 19:18:46 bca2f99d35d6: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:18:47 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:18:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:18:48 + true+ 19:18:48 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:18:51 provisioning config files... 19:18:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3571558758424452033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:18:51 bca2f99d35d6: Pull complete 19:18:51 93359f2a8cfa: Pull complete 19:18:51 7c6f9722023f: Pull complete 19:18:51 ---> docker-login.sh 19:18:51 nexus3.edgexfoundry.org:10001 19:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:52 Configure a credential helper to remove this warning. See 19:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:52 19:18:52 Login Succeeded 19:18:52 nexus3.edgexfoundry.org:10002 19:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:53 Configure a credential helper to remove this warning. See 19:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:53 19:18:53 Login Succeeded 19:18:53 nexus3.edgexfoundry.org:10003 19:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:53 Configure a credential helper to remove this warning. See 19:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:53 19:18:53 Login Succeeded 19:18:53 nexus3.edgexfoundry.org:10004 19:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:54 Configure a credential helper to remove this warning. See 19:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:54 19:18:54 Login Succeeded 19:18:54 docker.io 19:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:55 Configure a credential helper to remove this warning. See 19:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:55 19:18:55 Login Succeeded 19:18:55 ---> docker-login.sh ends [Pipeline] } 19:18:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:18:55 ========================================================= 19:18:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:18:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:18:56 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 19:18:56 Sending build context to Docker daemon 323.1kB 19:18:56 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 19:18:56 Step 2/10 : FROM ${BASE} 19:18:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:18:56 5f621e34cdf4: Pulling fs layer 19:18:56 a4357932f1b6: Pulling fs layer 19:18:56 18c013af1878: Pulling fs layer 19:18:56 00ac8860ef70: Pulling fs layer 19:18:56 63d7cb157983: Pulling fs layer 19:18:56 b116817d02f9: Pulling fs layer 19:18:56 745a02a5169b: Pulling fs layer 19:18:56 00ac8860ef70: Waiting 19:18:56 63d7cb157983: Waiting 19:18:56 b116817d02f9: Waiting 19:18:56 745a02a5169b: Waiting 19:18:56 18c013af1878: Verifying Checksum 19:18:56 18c013af1878: Download complete 19:18:56 a4357932f1b6: Verifying Checksum 19:18:56 a4357932f1b6: Download complete 19:18:56 63d7cb157983: Verifying Checksum 19:18:56 63d7cb157983: Download complete 19:18:56 b116817d02f9: Verifying Checksum 19:18:56 b116817d02f9: Download complete 19:18:56 5f621e34cdf4: Verifying Checksum 19:18:56 5f621e34cdf4: Download complete 19:18:57 5f621e34cdf4: Pull complete 19:18:58 a4357932f1b6: Pull complete 19:18:58 18c013af1878: Pull complete 19:18:59 745a02a5169b: Verifying Checksum 19:18:59 745a02a5169b: Download complete 19:18:59 a35cf1a2eb13: Pull complete 19:18:59 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 19:18:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:18:59 ---> a62c8e92a672 19:18:59 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:18:59 ---> Running in 7fd64a0d1ce1 19:18:59 Removing intermediate container 7fd64a0d1ce1 19:18:59 ---> d9cd1b2b1398 19:18:59 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:18:59 ---> Running in aa7d19cdbf0f 19:18:59 Removing intermediate container aa7d19cdbf0f 19:18:59 ---> af043cdad849 19:18:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 19:18:59 ---> Running in eb354c33a138 19:18:59 Removing intermediate container eb354c33a138 19:18:59 ---> 912d17cec54d 19:18:59 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:18:59 ---> Running in 45db3fe5671a 19:19:00 00ac8860ef70: Verifying Checksum 19:19:00 00ac8860ef70: Download complete 19:19:00 Removing intermediate container 45db3fe5671a 19:19:00 ---> ee53896b5048 19:19:00 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:00 ---> Running in 70a2208b86fd 19:19:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:19:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:19:02 OK: 166 MiB in 39 packages 19:19:02 Removing intermediate container 70a2208b86fd 19:19:02 ---> 5aeec429d27b 19:19:02 Step 8/10 : WORKDIR /device-snmp-go 19:19:02 ---> Running in 9f7f49de5ef5 19:19:02 Removing intermediate container 9f7f49de5ef5 19:19:02 ---> cfc6c5fde7dd 19:19:02 Step 9/10 : COPY . . 19:19:03 ---> 096363851c24 19:19:03 Step 10/10 : RUN go mod download 19:19:03 ---> Running in 56195ba27442 19:19:10 00ac8860ef70: Pull complete 19:19:10 63d7cb157983: Pull complete 19:19:10 b116817d02f9: Pull complete 19:19:14 745a02a5169b: Pull complete 19:19:14 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 19:19:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:19:14 ---> b7e6874047d6 19:19:14 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:19:17 ---> Running in 5f75ae83ee1e 19:19:17 Removing intermediate container 5f75ae83ee1e 19:19:17 ---> f7574e7b08e9 19:19:17 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:19:18 ---> Running in 803412c472ff 19:19:18 Removing intermediate container 803412c472ff 19:19:18 ---> 715b4d86bdef 19:19:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 19:19:18 ---> Running in 96ed9abc8e8b 19:19:19 Removing intermediate container 96ed9abc8e8b 19:19:19 ---> ee5eace0c8e1 19:19:19 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:19:19 ---> Running in 806b03d84a54 19:19:21 Removing intermediate container 56195ba27442 19:19:21 ---> 20442cadc41a 19:19:21 Successfully built 20442cadc41a 19:19:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:19:22 Removing intermediate container 806b03d84a54 19:19:22 ---> b82af6338b9d 19:19:22 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:22 ---> Running in dbc32b9669b0 19:19:22 + docker inspect -f . ci-base-image-x86_64 19:19:22 . [Pipeline] withDockerContainer 19:19:22 prd-centos7-docker-4c-2g-16591 does not seem to be running inside a container 19:19:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-x86_64 cat 19:19:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:19:23 $ docker top 60a3a58ac180f009c368c69a76a6602c67fb6f59885be1da42354898d2cbe273 -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:23 + go version 19:19:23 go version go1.15.5 linux/amd64 [Pipeline] } 19:19:23 $ docker stop --time=1 60a3a58ac180f009c368c69a76a6602c67fb6f59885be1da42354898d2cbe273 19:19:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:19:24 OK: 142 MiB in 39 packages 19:19:25 $ docker rm -f 60a3a58ac180f009c368c69a76a6602c67fb6f59885be1da42354898d2cbe273 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 19:19:26 Removing intermediate container dbc32b9669b0 19:19:26 ---> 6e0fabda6258 19:19:26 Step 8/10 : WORKDIR /device-snmp-go 19:19:26 ---> Running in 195de4692b70 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:19:26 Removing intermediate container 195de4692b70 19:19:26 ---> dad3db196b11 19:19:26 Step 9/10 : COPY . . 19:19:26 + docker inspect -f . ci-base-image-x86_64 19:19:26 . [Pipeline] withDockerContainer 19:19:26 prd-centos7-docker-4c-2g-16591 does not seem to be running inside a container 19:19:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-x86_64 cat 19:19:27 ---> 4cdfb10c1d5c 19:19:27 Step 10/10 : RUN go mod download 19:19:27 $ docker top d9f5397b25af59472bdf895c50dcf937ed079c78da4db64074ba8d27416249f9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:27 ---> Running in c9b93617575a 19:19:27 + make test 19:19:27 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:19:28 ? github.com/edgexfoundry/device-snmp-go [no test files] 19:19:39 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 19:19:39 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements 19:19:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:19:41 gofmt -l . 19:19:41 [ "`gofmt -l .`" = "" ] 19:19:41 ./bin/test-attribution-txt.sh 19:19:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:19:42 $ docker stop --time=1 d9f5397b25af59472bdf895c50dcf937ed079c78da4db64074ba8d27416249f9 19:19:44 $ docker rm -f d9f5397b25af59472bdf895c50dcf937ed079c78da4db64074ba8d27416249f9 [Pipeline] // withDockerContainer [Pipeline] sh 19:19:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:19:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:19:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:19:47 + ls -al . 19:19:47 total 104 19:19:47 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 17 19:19 . 19:19:47 drwxrwxr-x. 4 jenkins jenkins 28 Dec 17 19:18 .. 19:19:47 -rw-rw-r--. 1 jenkins jenkins 5082 Dec 17 19:18 Attribution.txt 19:19:47 drwxrwxr-x. 2 jenkins jenkins 87 Dec 17 19:18 bin 19:19:47 drwxrwxr-x. 3 jenkins jenkins 32 Dec 17 19:18 cmd 19:19:47 -rw-r--r--. 1 jenkins jenkins 8493 Dec 17 19:19 coverage.out 19:19:47 -rw-rw-r--. 1 jenkins jenkins 1520 Dec 17 19:18 Dockerfile 19:19:47 -rw-rw-r--. 1 jenkins jenkins 997 Dec 17 19:18 Dockerfile.build 19:19:47 -rw-rw-r--. 1 jenkins jenkins 6 Dec 17 19:18 .dockerignore 19:19:47 drwxrwxr-x. 8 jenkins jenkins 179 Dec 17 19:18 .git 19:19:47 drwxrwxr-x. 2 jenkins jenkins 60 Dec 17 19:18 .github 19:19:47 -rw-rw-r--. 1 jenkins jenkins 272 Dec 17 19:18 .gitignore 19:19:47 -rw-r--r--. 1 jenkins jenkins 204 Dec 17 19:19 go.mod 19:19:47 -rw-r--r--. 1 jenkins jenkins 13961 Dec 17 19:19 go.sum 19:19:47 drwxrwxr-x. 3 jenkins jenkins 20 Dec 17 19:18 internal 19:19:47 -rw-rw-r--. 1 jenkins jenkins 656 Dec 17 19:18 Jenkinsfile 19:19:47 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 17 19:18 LICENSE 19:19:47 -rw-rw-r--. 1 jenkins jenkins 937 Dec 17 19:18 Makefile 19:19:47 drwxrwxr-x. 2 jenkins jenkins 84 Dec 17 19:18 profiles 19:19:47 -rw-rw-r--. 1 jenkins jenkins 12398 Dec 17 19:18 README.md 19:19:47 -rw-rw-r--. 1 jenkins jenkins 5 Dec 17 19:16 VERSION 19:19:47 -rw-rw-r--. 1 jenkins jenkins 209 Dec 17 19:18 version.go [Pipeline] isUnix [Pipeline] sh 19:19:47 + 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=93095583d42b04d307859c593bf085d70cf89a19 --label arch=amd64 --label version=0.0.0 . 19:19:48 Sending build context to Docker daemon 333.3kB 19:19:48 Step 1/26 : ARG BASE=golang:1.15-alpine3.12 19:19:48 Step 2/26 : FROM ${BASE} AS builder 19:19:48 ---> 20442cadc41a 19:19:48 Step 3/26 : ARG MAKE='make build' 19:19:48 ---> Running in 27467d63aeaa 19:19:48 Removing intermediate container 27467d63aeaa 19:19:48 ---> 24f7119c1e81 19:19:48 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 19:19:48 ---> Running in c8d519673dd0 19:19:48 Removing intermediate container c8d519673dd0 19:19:48 ---> eb8e396a3e8b 19:19:48 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 19:19:48 ---> Running in ac06b4f072dc 19:19:48 Removing intermediate container ac06b4f072dc 19:19:48 ---> d186d5e3fcb4 19:19:48 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:19:48 ---> Running in 1faaf9bed85b 19:19:49 Removing intermediate container 1faaf9bed85b 19:19:49 ---> d0fe3e5c624e 19:19:49 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:49 ---> Running in fa5d57f89827 19:19:49 Removing intermediate container c9b93617575a 19:19:49 ---> a6321b2c7863 19:19:49 Successfully built a6321b2c7863 19:19:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:19:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:19:50 + docker inspect -f . ci-base-image-arm64 19:19:50 . [Pipeline] withDockerContainer 19:19:50 prd-ubuntu18.04-docker-arm64-4c-16g-16590 does not seem to be running inside a container 19:19:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 19:19:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:19:51 OK: 166 MiB in 39 packages 19:19:51 Removing intermediate container fa5d57f89827 19:19:51 ---> 37e89d72c89f 19:19:51 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 19:19:51 ---> Running in b689c50e29d7 19:19:51 Removing intermediate container b689c50e29d7 19:19:51 ---> 27872ff64824 19:19:51 Step 9/26 : COPY go.mod . 19:19:52 ---> 7a480fb988fe 19:19:52 Step 10/26 : COPY Makefile . 19:19:52 $ docker top 815e64fe2f1f7e90a7cd9bd5d011a9943a1844bf88a24d948a568f0b6d1c4d33 -eo pid,comm 19:19:52 ---> f4c1ec16c074 19:19:52 Step 11/26 : RUN make update 19:19:52 ---> Running in aa01e5183d5e [Pipeline] { [Pipeline] sh 19:19:53 CGO_ENABLED=0 GO111MODULE=on go mod download 19:19:53 + go version 19:19:53 go version go1.15.5 linux/arm64 [Pipeline] } 19:19:53 $ docker stop --time=1 815e64fe2f1f7e90a7cd9bd5d011a9943a1844bf88a24d948a568f0b6d1c4d33 19:19:53 Removing intermediate container aa01e5183d5e 19:19:53 ---> aa31960c2258 19:19:53 Step 12/26 : COPY . . 19:19:54 ---> 3c90a2a057bf 19:19:54 Step 13/26 : RUN ${MAKE} 19:19:54 ---> Running in 4950ca7dde96 19:19:54 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 19:19:55 $ docker rm -f 815e64fe2f1f7e90a7cd9bd5d011a9943a1844bf88a24d948a568f0b6d1c4d33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:19:56 + docker inspect -f . ci-base-image-arm64 19:19:56 . [Pipeline] withDockerContainer 19:19:56 prd-ubuntu18.04-docker-arm64-4c-16g-16590 does not seem to be running inside a container 19:19:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 19:19:58 $ docker top 19ba54b0f06d0f9c679ad28af7414a4ea4a6043cabec6fa5bbe5b502125aaeb4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:59 + make test 19:19:59 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:20:00 ? github.com/edgexfoundry/device-snmp-go [no test files] 19:20:04 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:20:06 Removing intermediate container 4950ca7dde96 19:20:06 ---> 73ae3f5f438d 19:20:06 Step 14/26 : FROM alpine:3.12 19:20:08 3.12: Pulling from library/alpine 19:20:08 801bfaa63ef2: Pulling fs layer 19:20:08 801bfaa63ef2: Download complete 19:20:09 801bfaa63ef2: Pull complete 19:20:09 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 19:20:09 Status: Downloaded newer image for alpine:3.12 19:20:09 ---> 389fef711851 19:20:09 Step 15/26 : ENV APP_PORT=49993 19:20:09 ---> Running in 972ff1848fb1 19:20:09 Removing intermediate container 972ff1848fb1 19:20:09 ---> 28053d3f25fc 19:20:09 Step 16/26 : EXPOSE $APP_PORT 19:20:09 ---> Running in d55b34d58c72 19:20:09 Removing intermediate container d55b34d58c72 19:20:09 ---> 31fd68778c53 19:20:09 Step 17/26 : ENV DEVICE_PORT=161 19:20:09 ---> Running in 9284cf09b44c 19:20:09 Removing intermediate container 9284cf09b44c 19:20:09 ---> 2063e9de85b3 19:20:09 Step 18/26 : EXPOSE $DEVICE_PORT 19:20:09 ---> Running in a6d26b40f67d 19:20:09 Removing intermediate container a6d26b40f67d 19:20:09 ---> 96abd71b29bc 19:20:09 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 19:20:10 ---> e4cb84662e20 19:20:10 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 19:20:10 ---> 98b09d397557 19:20:10 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 19:20:10 ---> 2da8a36d8866 19:20:10 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 19:20:10 ---> Running in e80537e1b909 19:20:10 Removing intermediate container e80537e1b909 19:20:10 ---> ab530db8dcd7 19:20:10 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:20:11 ---> Running in 577832bc9465 19:20:11 Removing intermediate container 577832bc9465 19:20:11 ---> 4042fff0beaa 19:20:11 Step 24/26 : LABEL arch=amd64 19:20:11 ---> Running in b486407824e9 19:20:11 Removing intermediate container b486407824e9 19:20:11 ---> fb72c7d6713f 19:20:11 Step 25/26 : LABEL git_sha=93095583d42b04d307859c593bf085d70cf89a19 19:20:11 ---> Running in 545aeabf6838 19:20:11 Removing intermediate container 545aeabf6838 19:20:11 ---> bfe2d39c392f 19:20:11 Step 26/26 : LABEL version=0.0.0 19:20:11 ---> Running in 7d1efd3cea45 19:20:12 Removing intermediate container 7d1efd3cea45 19:20:12 ---> c21088412d29 19:20:12 [Warning] One or more build-args [ARCH] were not consumed 19:20:12 Successfully built c21088412d29 19:20:12 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:20:33 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 19:20:33 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements 19:20:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:20:41 gofmt -l . 19:20:41 [ "`gofmt -l .`" = "" ] 19:20:41 ./bin/test-attribution-txt.sh 19:20:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:20:41 $ docker stop --time=1 19ba54b0f06d0f9c679ad28af7414a4ea4a6043cabec6fa5bbe5b502125aaeb4 19:20:43 $ docker rm -f 19ba54b0f06d0f9c679ad28af7414a4ea4a6043cabec6fa5bbe5b502125aaeb4 [Pipeline] // withDockerContainer [Pipeline] sh 19:20:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:20:44 Warning: overwriting stash ‘coverage-report’ 19:20:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:20:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:20:46 + ls -al . 19:20:46 total 132 19:20:46 drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 19:20 . 19:20:46 drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:18 .. 19:20:46 -rw-rw-r-- 1 jenkins jenkins 6 Dec 17 19:18 .dockerignore 19:20:46 drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 19:18 .git 19:20:46 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:18 .github 19:20:46 -rw-rw-r-- 1 jenkins jenkins 272 Dec 17 19:18 .gitignore 19:20:46 -rw-rw-r-- 1 jenkins jenkins 5082 Dec 17 19:18 Attribution.txt 19:20:46 -rw-rw-r-- 1 jenkins jenkins 1520 Dec 17 19:18 Dockerfile 19:20:46 -rw-rw-r-- 1 jenkins jenkins 997 Dec 17 19:18 Dockerfile.build 19:20:46 -rw-rw-r-- 1 jenkins jenkins 656 Dec 17 19:18 Jenkinsfile 19:20:46 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 17 19:18 LICENSE 19:20:46 -rw-rw-r-- 1 jenkins jenkins 937 Dec 17 19:18 Makefile 19:20:46 -rw-rw-r-- 1 jenkins jenkins 12398 Dec 17 19:18 README.md 19:20:46 -rw-rw-r-- 1 jenkins jenkins 5 Dec 17 19:16 VERSION 19:20:46 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:18 bin 19:20:46 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 19:18 cmd 19:20:46 -rw-r--r-- 1 jenkins jenkins 8493 Dec 17 19:20 coverage.out 19:20:46 -rw-r--r-- 1 jenkins jenkins 204 Dec 17 19:20 go.mod 19:20:46 -rw-r--r-- 1 jenkins jenkins 13961 Dec 17 19:20 go.sum 19:20:46 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 19:18 internal 19:20:46 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:18 profiles 19:20:46 -rw-rw-r-- 1 jenkins jenkins 209 Dec 17 19:18 version.go [Pipeline] isUnix [Pipeline] sh 19:20:47 + 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=93095583d42b04d307859c593bf085d70cf89a19 --label arch=arm64 --label version=0.0.0 . 19:20:47 Sending build context to Docker daemon 332.3kB 19:20:47 Step 1/26 : ARG BASE=golang:1.15-alpine3.12 19:20:47 Step 2/26 : FROM ${BASE} AS builder 19:20:47 ---> a6321b2c7863 19:20:47 Step 3/26 : ARG MAKE='make build' 19:20:47 ---> Running in cb43fed2e46e 19:20:48 Removing intermediate container cb43fed2e46e 19:20:48 ---> c3d953405fde 19:20:48 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 19:20:48 ---> Running in 5ecc25fd12da 19:20:48 Removing intermediate container 5ecc25fd12da 19:20:48 ---> 3e90dbb1120c 19:20:48 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 19:20:48 ---> Running in 7b494a664600 19:20:49 Removing intermediate container 7b494a664600 19:20:49 ---> 087471ec1254 19:20:49 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:20:49 ---> Running in 599ada0df977 19:20:52 Removing intermediate container 599ada0df977 19:20:52 ---> 52d1d0dae516 19:20:52 Step 7/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:20:52 ---> Running in f1582730b871 19:20:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:20:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:20:54 OK: 142 MiB in 39 packages 19:20:55 Removing intermediate container f1582730b871 19:20:55 ---> 26a33606f13b 19:20:55 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 19:20:55 ---> Running in c0b6a7e6b54d 19:20:55 Removing intermediate container c0b6a7e6b54d 19:20:55 ---> 9554f72cab83 19:20:55 Step 9/26 : COPY go.mod . 19:20:56 ---> 1fda5cf5dd67 19:20:56 Step 10/26 : COPY Makefile . 19:20:57 ---> 1a6a1b25b442 19:20:57 Step 11/26 : RUN make update 19:20:57 ---> Running in c2bfffdd4c25 19:20:58 CGO_ENABLED=0 GO111MODULE=on go mod download 19:20:59 Removing intermediate container c2bfffdd4c25 19:20:59 ---> eacf317040bd 19:20:59 Step 12/26 : COPY . . 19:21:00 ---> 99cd9cfa6095 19:21:00 Step 13/26 : RUN ${MAKE} 19:21:00 ---> Running in a4470b776124 19:21:01 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp-go ./cmd 19:21:28 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:21:33 Removing intermediate container a4470b776124 19:21:33 ---> 70cc039e92b9 19:21:33 Step 14/26 : FROM alpine:3.12 19:21:33 3.12: Pulling from library/alpine 19:21:34 159e5727ea61: Pulling fs layer 19:21:34 159e5727ea61: Verifying Checksum 19:21:34 159e5727ea61: Download complete 19:21:35 159e5727ea61: Pull complete 19:21:35 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 19:21:35 Status: Downloaded newer image for alpine:3.12 19:21:35 ---> afeebe901d6b 19:21:35 Step 15/26 : ENV APP_PORT=49993 19:21:35 ---> Running in d100b21cec7a 19:21:35 Removing intermediate container d100b21cec7a 19:21:35 ---> 5a430f456dca 19:21:35 Step 16/26 : EXPOSE $APP_PORT 19:21:35 ---> Running in 89c705c6c10e 19:21:36 Removing intermediate container 89c705c6c10e 19:21:36 ---> d33a7319bccc 19:21:36 Step 17/26 : ENV DEVICE_PORT=161 19:21:36 ---> Running in eb4f02cb85d1 19:21:36 Removing intermediate container eb4f02cb85d1 19:21:36 ---> 346a4912e382 19:21:36 Step 18/26 : EXPOSE $DEVICE_PORT 19:21:36 ---> Running in ba62587199e6 19:21:37 Removing intermediate container ba62587199e6 19:21:37 ---> 51789bcf4430 19:21:37 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 19:21:38 ---> 469f32c39246 19:21:38 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 19:21:39 ---> a9950dc768b5 19:21:39 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 19:21:40 ---> 76725077f3ad 19:21:40 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 19:21:40 ---> Running in 1f3197b7061b 19:21:40 Removing intermediate container 1f3197b7061b 19:21:40 ---> 2d2b8aa310e9 19:21:40 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:21:40 ---> Running in 2df7eca02e7e 19:21:41 Removing intermediate container 2df7eca02e7e 19:21:41 ---> 89cd848d43f1 19:21:41 Step 24/26 : LABEL arch=arm64 19:21:41 ---> Running in 7065a3299a92 19:21:41 Removing intermediate container 7065a3299a92 19:21:41 ---> 357647563a14 19:21:41 Step 25/26 : LABEL git_sha=93095583d42b04d307859c593bf085d70cf89a19 19:21:41 ---> Running in 515789b8309e 19:21:42 Removing intermediate container 515789b8309e 19:21:42 ---> 6ea2eab6ebd1 19:21:42 Step 26/26 : LABEL version=0.0.0 19:21:42 ---> Running in 7b8a015e557d 19:21:43 Removing intermediate container 7b8a015e557d 19:21:43 ---> 7972eedfb523 19:21:43 [Warning] One or more build-args [ARCH] were not consumed 19:21:43 Successfully built 7972eedfb523 19:21:43 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 [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 19:21:45 provisioning config files... 19:21:45 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp/config4718941356384089417tmp [Pipeline] { [Pipeline] sh 19:21:46 + set +x 19:21:46 + curl -s https://codecov.io/bash 19:21:46 + bash -s -- 19:21:46 19:21:46 _____ _ 19:21:46 / ____| | | 19:21:46 | | ___ __| | ___ ___ _____ __ 19:21:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:21:46 | |___| (_) | (_| | __/ (_| (_) \ V / 19:21:46 \_____\___/ \__,_|\___|\___\___/ \_/ 19:21:46 Bash-20201130-cc6d3fe 19:21:46 19:21:46 19:21:46 ==> Jenkins CI detected. 19:21:46 project root: . 19:21:46 --> token set from env 19:21:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:21:46 ==> Running gcov in . (disable via -X gcov) 19:21:46 ==> Python coveragepy not found 19:21:46 ==> Searching for coverage reports in: 19:21:46 + . 19:21:46 -> Found 1 reports 19:21:46 ==> Detecting git/mercurial file structure 19:21:46 ==> Reading reports 19:21:46 + ./coverage.out bytes=8493 19:21:46 ==> Appending adjustments 19:21:46 https://docs.codecov.io/docs/fixing-reports 19:21:46 + Found adjustments 19:21:46 ==> Gzipping contents 19:21:46 4.0K /tmp/codecov.GOLsPh.gz 19:21:46 ==> Uploading reports 19:21:46 url: https://codecov.io 19:21:46 query: branch=PR-79&commit=93095583d42b04d307859c593bf085d70cf89a19&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=79&job=&cmd_args= 19:21:46 -> Pinging Codecov 19:21:46 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-79&commit=93095583d42b04d307859c593bf085d70cf89a19&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-79%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=79&job=&cmd_args= 19:21:46 -> Uploading to 19:21:46 https://storage.googleapis.com/codecov/v4/raw/2020-12-17/6C56EA5C29638FB4528AC87E60AF5AE0/93095583d42b04d307859c593bf085d70cf89a19/5e372ecb-7d0d-47da-98de-fc14d57adae7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201217T192146Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=50603ffefc2f1a2a9463f9f046bdd75959cd1fc68d29a1bb5128f01bfb51ffa1 19:21:46 % Total % Received % Xferd Average Speed Time Time Time Current 19:21:46 Dload Upload Total Spent Left Speed 19:21:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 3162 --:--:-- --:--:-- --:--:-- 3166 19:21:47 -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/93095583d42b04d307859c593bf085d70cf89a19 [Pipeline] } 19:21:47 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 19:21:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:21:51 ---> package-listing.sh 19:21:51 ++ facter osfamily 19:21:51 ++ tr '[:upper:]' '[:lower:]' 19:21:51 + OS_FAMILY=redhat 19:21:51 + workspace=/w/workspace/dgexfoundry_device-snmp-go_PR-79 19:21:51 + START_PACKAGES=/tmp/packages_start.txt 19:21:51 + END_PACKAGES=/tmp/packages_end.txt 19:21:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:51 + PACKAGES=/tmp/packages_start.txt 19:21:51 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-79 ']' 19:21:51 + PACKAGES=/tmp/packages_end.txt 19:21:51 + case "${OS_FAMILY}" in 19:21:51 + rpm -qa 19:21:51 + sort 19:21:55 + '[' -f /tmp/packages_start.txt ']' 19:21:55 + '[' -f /tmp/packages_end.txt ']' 19:21:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:55 + '[' /w/workspace/dgexfoundry_device-snmp-go_PR-79 ']' 19:21:55 + mkdir -p /w/workspace/dgexfoundry_device-snmp-go_PR-79/archives/ 19:21:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-snmp-go_PR-79/archives/ [Pipeline] echo 19:21:55 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-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:21:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:21:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:21:56 19:21:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:21:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:21:56 alpine: Pulling from edgex-lftools-log-publisher 19:21:56 df20fa9351a1: Pulling fs layer 19:21:56 36b3adc4ff6f: Pulling fs layer 19:21:56 8ad3a11d3b57: Pulling fs layer 19:21:56 46f8f816bc3b: Pulling fs layer 19:21:56 93b61091891f: Pulling fs layer 19:21:56 93b9cdb0e59b: Pulling fs layer 19:21:56 5e14af77c1be: Pulling fs layer 19:21:56 01666e4c0597: Pulling fs layer 19:21:56 aa168da1d23b: Pulling fs layer 19:21:56 93b9cdb0e59b: Waiting 19:21:56 5e14af77c1be: Waiting 19:21:56 01666e4c0597: Waiting 19:21:56 aa168da1d23b: Waiting 19:21:56 46f8f816bc3b: Waiting 19:21:56 93b61091891f: Waiting 19:21:56 36b3adc4ff6f: Download complete 19:21:56 46f8f816bc3b: Verifying Checksum 19:21:56 46f8f816bc3b: Download complete 19:21:57 93b61091891f: Verifying Checksum 19:21:57 93b61091891f: Download complete 19:21:57 93b9cdb0e59b: Verifying Checksum 19:21:57 93b9cdb0e59b: Download complete 19:21:57 df20fa9351a1: Download complete 19:21:57 5e14af77c1be: Verifying Checksum 19:21:57 5e14af77c1be: Download complete 19:21:57 01666e4c0597: Verifying Checksum 19:21:57 01666e4c0597: Download complete 19:21:57 df20fa9351a1: Pull complete 19:21:57 36b3adc4ff6f: Pull complete 19:21:58 8ad3a11d3b57: Verifying Checksum 19:21:58 8ad3a11d3b57: Download complete 19:21:58 8ad3a11d3b57: Pull complete 19:21:58 46f8f816bc3b: Pull complete 19:21:59 93b61091891f: Pull complete 19:21:59 93b9cdb0e59b: Pull complete 19:21:59 5e14af77c1be: Pull complete 19:21:59 01666e4c0597: Pull complete 19:22:00 aa168da1d23b: Verifying Checksum 19:22:00 aa168da1d23b: Download complete 19:22:08 aa168da1d23b: Pull complete 19:22:08 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:22:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:22:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:22:08 prd-centos7-docker-4c-2g-16587 does not seem to be running inside a container 19:22:08 $ 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-79/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-79 -v /w/workspace/dgexfoundry_device-snmp-go_PR-79:/w/workspace/dgexfoundry_device-snmp-go_PR-79:rw,z -v /w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp:/w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:22:12 $ docker top a1ab4b19d271880a16d86c74fe480c0b5c1345f04371e2653c7583e2bcfc8e91 -eo pid,comm [Pipeline] { [Pipeline] sh 19:22:13 + touch /tmp/pre-build-complete [Pipeline] sh 19:22:13 + mkdir -p /var/log/sa [Pipeline] sh 19:22:13 + ls /var/log/sa-host 19:22:13 + sadf -c /var/log/sa-host/sa17 19:22:13 file_magic: OK 19:22:13 HZ: Using current value: 100 19:22:13 file_header: OK 19:22:13 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 19:22:13 Statistics: 19:22:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:22:13 File successfully converted to sysstat format version 12.2.1 19:22:13 + sadf -c /var/log/sa-host/sa23 19:22:13 file_magic: OK 19:22:13 HZ: Using current value: 100 19:22:13 file_header: OK 19:22:13 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 19:22:13 Statistics: 19:22:13 Hnuu...uuuununununu... 19:22:13 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:22:14 provisioning config files... 19:22:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp/config1135930755711103119tmp [Pipeline] { [Pipeline] echo 19:22:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:22:14 ---> create-netrc.sh [Pipeline] } 19:22:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:22:14 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:22:15 ---> python-tools-install.sh [Pipeline] echo 19:22:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:22:15 ---> sudo-logs.sh 19:22:15 Archiving 'sudo' log.. [Pipeline] echo 19:22:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:22:15 ---> job-cost.sh 19:22:15 lf-activate-venv: SKIPPING 19:22:15 INFO: No Stack... 19:22:17 INFO: Retrieving Pricing Info for: v1-standard-2 19:22:17 INFO: Archiving Costs [Pipeline] echo 19:22:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:22:18 ---> logs-deploy.sh 19:22:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-79/1 19:22:18 INFO: archiving workspace using pattern(s): 19:22:20 Archives upload complete. 19:22:20 INFO: archiving logs to Nexus 19:22:21 ---> uname -a: 19:22:21 Linux prd-centos7-docker-4c-2g-16587.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 19:22:21 19:22:21 19:22:21 ---> lscpu: 19:22:21 Architecture: x86_64 19:22:21 CPU op-mode(s): 32-bit, 64-bit 19:22:21 Byte Order: Little Endian 19:22:21 Address sizes: 40 bits physical, 48 bits virtual 19:22:21 CPU(s): 4 19:22:21 On-line CPU(s) list: 0-3 19:22:21 Thread(s) per core: 1 19:22:21 Core(s) per socket: 1 19:22:21 Socket(s): 4 19:22:21 NUMA node(s): 1 19:22:21 Vendor ID: GenuineIntel 19:22:21 CPU family: 6 19:22:21 Model: 44 19:22:21 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 19:22:21 Stepping: 1 19:22:21 CPU MHz: 2933.438 19:22:21 BogoMIPS: 5866.87 19:22:21 Virtualization: VT-x 19:22:21 Hypervisor vendor: KVM 19:22:21 Virtualization type: full 19:22:21 L1d cache: 128 KiB 19:22:21 L1i cache: 128 KiB 19:22:21 L2 cache: 16 MiB 19:22:21 L3 cache: 64 MiB 19:22:21 NUMA node0 CPU(s): 0-3 19:22:21 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 19:22:21 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 19:22:21 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 19:22:21 Vulnerability Meltdown: Mitigation; PTI 19:22:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:22:21 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:22:21 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:22:21 Vulnerability Srbds: Not affected 19:22:21 Vulnerability Tsx async abort: Not affected 19:22:21 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 19:22:21 19:22:21 19:22:21 ---> nproc: 19:22:21 4 19:22:21 19:22:21 19:22:21 ---> df -h: 19:22:21 Filesystem Size Used Available Use% Mounted on 19:22:21 overlay 50.0G 7.3G 42.7G 15% / 19:22:21 tmpfs 64.0M 0 64.0M 0% /dev 19:22:21 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 19:22:21 shm 64.0M 0 64.0M 0% /dev/shm 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-snmp-go_PR-79 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-snmp-go_PR-79@tmp 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 19:22:21 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 19:22:21 19:22:21 19:22:21 ---> free -m: 19:22:21 total used free shared buff/cache available 19:22:21 Mem: 1837 707 78 0 1051 1025 19:22:21 Swap: 1023 1 1022 19:22:21 19:22:21 19:22:21 ---> ip addr: 19:22:21 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:22:21 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:22:21 inet 127.0.0.1/8 scope host lo 19:22:21 valid_lft forever preferred_lft forever 19:22:21 inet6 ::1/128 scope host 19:22:21 valid_lft forever preferred_lft forever 19:22:21 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 19:22:21 link/ether fa:16:3e:ee:50:7f brd ff:ff:ff:ff:ff:ff 19:22:21 inet 10.30.122.126/23 brd 10.30.123.255 scope global dynamic eth0 19:22:21 valid_lft 85965sec preferred_lft 85965sec 19:22:21 inet6 fe80::f816:3eff:feee:507f/64 scope link 19:22:21 valid_lft forever preferred_lft forever 19:22:21 3: docker0: mtu 1500 qdisc noqueue state DOWN 19:22:21 link/ether 02:42:00:1e:56:38 brd ff:ff:ff:ff:ff:ff 19:22:21 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 19:22:21 valid_lft forever preferred_lft forever 19:22:21 inet6 fe80::42:ff:fe1e:5638/64 scope link 19:22:21 valid_lft forever preferred_lft forever 19:22:21 19:22:21 19:22:21 ---> sar -b -r -n DEV: 19:22:21 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/17/20 _x86_64_ (4 CPU) 19:22:21 19:22:21 19:14:54 LINUX RESTART (4 CPU) 19:22:21 19:22:21 19:16:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:22:21 19:17:01 6.47 1.51 4.96 0.00 560.05 142.09 0.00 19:22:21 19:18:01 0.48 0.00 0.48 0.00 0.00 8.36 0.00 19:22:21 19:19:01 0.25 0.00 0.25 0.00 0.00 2.71 0.00 19:22:21 19:20:01 0.20 0.00 0.20 0.00 0.00 1.82 0.00 19:22:21 19:21:01 0.33 0.00 0.33 0.00 0.00 5.90 0.00 19:22:21 19:22:01 62.17 41.81 20.36 0.00 4002.80 7492.51 0.00 19:22:21 Average: 11.66 7.22 4.43 0.00 760.77 1276.06 0.00 19:22:21 19:22:21 19:16:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:22:21 19:17:01 164628 0 587828 31.24 2620 1126468 1091856 37.26 414072 1104828 24 19:22:21 19:18:01 166384 0 586064 31.15 2620 1126476 1076496 36.74 413588 1104064 12 19:22:21 19:19:01 164760 0 587684 31.23 2620 1126480 1073436 36.63 422096 1096928 12 19:22:21 19:20:01 165088 0 587356 31.22 2620 1126480 1073436 36.63 422188 1096928 28 19:22:21 19:21:01 162836 0 589600 31.34 2620 1126488 1073448 36.64 421660 1099712 20 19:22:21 19:22:01 71204 0 683916 36.35 2620 1123804 1509184 51.51 506044 1085208 46144 19:22:21 Average: 149150 0 603741 32.09 2620 1126033 1149643 39.24 433275 1097945 7707 19:22:21 19:22:21 19:16:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:22:21 19:17:01 eth0 22.05 14.73 23.17 6.68 0.00 0.00 0.00 0.00 19:22:21 19:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:17:01 docker0 1.55 1.28 0.27 1.89 0.00 0.00 0.00 0.00 19:22:21 19:18:01 eth0 2.28 0.62 0.68 0.41 0.00 0.00 0.00 0.00 19:22:21 19:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:19:01 eth0 0.77 0.32 0.30 0.20 0.00 0.00 0.00 0.00 19:22:21 19:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:20:01 eth0 1.57 0.27 0.37 0.20 0.00 0.00 0.00 0.00 19:22:21 19:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:21:01 eth0 1.58 0.58 0.72 0.46 0.00 0.00 0.00 0.00 19:22:21 19:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:22:01 eth0 219.86 191.01 2170.37 18.60 0.00 0.00 0.00 0.00 19:22:21 19:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 19:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 Average: eth0 41.37 34.60 366.08 4.43 0.00 0.00 0.00 0.00 19:22:21 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:22:21 Average: docker0 0.26 0.21 0.05 0.32 0.00 0.00 0.00 0.00 19:22:21 19:22:21 19:22:21 ---> sar -P ALL: 19:22:21 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/17/20 _x86_64_ (4 CPU) 19:22:21 19:22:21 19:14:54 LINUX RESTART (4 CPU) 19:22:21 19:22:21 19:16:01 CPU %user %nice %system %iowait %steal %idle 19:22:21 19:17:01 all 1.16 0.00 0.75 0.04 0.00 98.05 19:22:21 19:17:01 0 1.94 0.00 0.72 0.07 0.00 97.28 19:22:21 19:17:01 1 1.13 0.00 1.03 0.07 0.00 97.77 19:22:21 19:17:01 2 0.84 0.00 0.62 0.00 0.00 98.55 19:22:21 19:17:01 3 0.73 0.00 0.62 0.03 0.00 98.62 19:22:21 19:18:01 all 0.14 0.00 0.06 0.00 0.01 99.79 19:22:21 19:18:01 0 0.15 0.00 0.05 0.00 0.00 99.80 19:22:21 19:18:01 1 0.03 0.00 0.05 0.00 0.02 99.90 19:22:21 19:18:01 2 0.10 0.00 0.08 0.00 0.02 99.80 19:22:21 19:18:01 3 0.27 0.00 0.07 0.00 0.00 99.67 19:22:21 19:19:01 all 0.10 0.00 0.04 0.00 0.00 99.85 19:22:21 19:19:01 0 0.02 0.00 0.05 0.00 0.00 99.93 19:22:21 19:19:01 1 0.03 0.00 0.02 0.00 0.00 99.95 19:22:21 19:19:01 2 0.05 0.00 0.03 0.00 0.00 99.92 19:22:21 19:19:01 3 0.30 0.00 0.07 0.00 0.02 99.62 19:22:21 19:20:01 all 0.07 0.00 0.03 0.00 0.02 99.88 19:22:21 19:20:01 0 0.02 0.00 0.03 0.00 0.00 99.95 19:22:21 19:20:01 1 0.03 0.00 0.02 0.00 0.00 99.95 19:22:21 19:20:01 2 0.05 0.00 0.03 0.00 0.03 99.88 19:22:21 19:20:01 3 0.17 0.00 0.05 0.00 0.05 99.73 19:22:21 19:21:01 all 0.10 0.00 0.09 0.00 0.02 99.79 19:22:21 19:21:01 0 0.03 0.00 0.10 0.00 0.02 99.85 19:22:21 19:21:01 1 0.05 0.00 0.08 0.00 0.02 99.85 19:22:21 19:21:01 2 0.10 0.00 0.12 0.00 0.03 99.75 19:22:21 19:21:01 3 0.22 0.00 0.07 0.00 0.00 99.72 19:22:21 19:22:01 all 3.30 0.00 2.21 0.97 0.05 93.48 19:22:21 19:22:01 0 3.50 0.00 2.61 1.72 0.05 92.12 19:22:21 19:22:01 1 2.75 0.00 2.01 0.35 0.05 94.84 19:22:21 19:22:01 2 2.68 0.00 1.98 0.47 0.05 94.82 19:22:21 19:22:01 3 4.26 0.00 2.24 1.33 0.05 92.12 19:22:21 Average: all 0.81 0.00 0.53 0.17 0.02 98.48 19:22:21 Average: 0 0.94 0.00 0.59 0.29 0.01 98.17 19:22:21 Average: 1 0.67 0.00 0.53 0.07 0.01 98.71 19:22:21 Average: 2 0.63 0.00 0.48 0.08 0.02 98.79 19:22:21 Average: 3 0.99 0.00 0.52 0.23 0.02 98.25 19:22:21 19:22:21 19:22:21