Pull request #127 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 8bb32805f03fb28af25e69a0648a2076882556f1 rather than 2281fc392d3f53691ecf65da3d547b33d6bb6472 Obtained Jenkinsfile from 8bb32805f03fb28af25e69a0648a2076882556f1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5472754791286060135.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh280535327778913135.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7787789688241954869.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh783651449110120729.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh465438118921727463.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13426 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-127 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh139944498800538557.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh3499020540203168328.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 2281fc392d3f53691ecf65da3d547b33d6bb6472 Merge succeeded, producing 2281fc392d3f53691ecf65da3d547b33d6bb6472 Checking out Revision 2281fc392d3f53691ecf65da3d547b33d6bb6472 (PR-127) > git config core.sparsecheckout # timeout=10 > git checkout -f 2281fc392d3f53691ecf65da3d547b33d6bb6472 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh7916468782215252224.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2281fc392d3f53691ecf65da3d547b33d6bb6472 # timeout=10 Commit message: "Merge branch 'main' into add-snap-v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:19:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:19:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:19:06 ========================================================= 15:19:06 EdgeX Global Pipelines Version Info 15:19:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 23555039f11b83893705242e61d380220499f9d5 # timeout=10 15:19:07 ------------------- 15:19:07 stable info: 15:19:07 ------------------- 15:19:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:19:07 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 15:19:07 Message: update stable to v1.0.210 15:19:07 ------------------- 15:19:07 experimental info: 15:19:07 ------------------- 15:19:07 Commited By: **** collab-it+edgex@linuxfoundation.org 15:19:07 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 15:19:07 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2281fc392d3f53691ecf65da3d547b33d6bb6472 [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2281fc3 [Pipeline] echo 15:19:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:19:08 provisioning config files... 15:19:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config4324659075640556993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:08 ---> docker-login.sh 15:19:08 nexus3.edgexfoundry.org:10001 15:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:08 Configure a credential helper to remove this warning. See 15:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:08 15:19:08 Login Succeeded 15:19:08 nexus3.edgexfoundry.org:10002 15:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:08 Configure a credential helper to remove this warning. See 15:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:08 15:19:08 Login Succeeded 15:19:08 nexus3.edgexfoundry.org:10003 15:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:08 Configure a credential helper to remove this warning. See 15:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:08 15:19:08 Login Succeeded 15:19:08 nexus3.edgexfoundry.org:10004 15:19:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:09 Configure a credential helper to remove this warning. See 15:19:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:09 15:19:09 Login Succeeded 15:19:09 docker.io 15:19:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:09 Configure a credential helper to remove this warning. See 15:19:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:09 15:19:09 Login Succeeded 15:19:09 ---> docker-login.sh ends [Pipeline] } 15:19:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:19:09 + git log --format=format:%s -1 2281fc392d3f53691ecf65da3d547b33d6bb6472 [Pipeline] echo 15:19:09 GIT_COMMIT: 2281fc392d3f53691ecf65da3d547b33d6bb6472, Commit Message: Merge branch 'main' into add-snap-v2 [Pipeline] echo 15:19:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:19:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:19:10 15:19:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:19:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:19:10 latest: Pulling from edgex-devops/git-semver 15:19:10 a0d0a0d46f8b: Pulling fs layer 15:19:10 3e5f54012d9b: Pulling fs layer 15:19:10 4c7163046ea9: Pulling fs layer 15:19:10 0c2d73faf560: Pulling fs layer 15:19:10 0c2d73faf560: Waiting 15:19:10 3e5f54012d9b: Verifying Checksum 15:19:10 3e5f54012d9b: Download complete 15:19:10 a0d0a0d46f8b: Verifying Checksum 15:19:10 a0d0a0d46f8b: Download complete 15:19:10 0c2d73faf560: Verifying Checksum 15:19:10 0c2d73faf560: Download complete 15:19:10 4c7163046ea9: Verifying Checksum 15:19:10 4c7163046ea9: Download complete 15:19:10 a0d0a0d46f8b: Pull complete 15:19:10 3e5f54012d9b: Pull complete 15:19:11 4c7163046ea9: Pull complete 15:19:11 0c2d73faf560: Pull complete 15:19:11 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:19:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:19:11 prd-centos7-docker-4c-2g-13426 does not seem to be running inside a container 15:19:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@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:10004/edgex-devops/git-semver:latest cat 15:19:12 $ docker top 1bd65827379b7c9ad9692147b8cd97d1e5bb8548a5dafa496dbf858dfbdcab1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:19:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:12 [ssh-agent] Looking for ssh-agent implementation... 15:19:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:12 $ docker exec 1bd65827379b7c9ad9692147b8cd97d1e5bb8548a5dafa496dbf858dfbdcab1f ssh-agent 15:19:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIilgAd/agent.13 15:19:12 SSH_AGENT_PID=19 15:19:12 Running ssh-add (command line suppressed) 15:19:12 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_3531277144677341245.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_3531277144677341245.key) 15:19:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:13 + git tag --points-at HEAD [Pipeline] } 15:19:13 $ docker exec --env ******** --env ******** 1bd65827379b7c9ad9692147b8cd97d1e5bb8548a5dafa496dbf858dfbdcab1f ssh-agent -k 15:19:13 unset SSH_AUTH_SOCK; 15:19:13 unset SSH_AGENT_PID; 15:19:13 echo Agent pid 19 killed; 15:19:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:19:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:13 [ssh-agent] Looking for ssh-agent implementation... 15:19:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:13 $ docker exec 1bd65827379b7c9ad9692147b8cd97d1e5bb8548a5dafa496dbf858dfbdcab1f ssh-agent 15:19:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXABeJAN/agent.51 15:19:13 SSH_AGENT_PID=58 15:19:13 Running ssh-add (command line suppressed) 15:19:13 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_174920487147178862.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_174920487147178862.key) 15:19:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:13 + git semver init 15:19:13 # -> Open(): unable to determine branch for HEAD 15:19:13 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git 15:19:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 15:19:13 # $SEMVER_REMOTE_NAME = origin 15:19:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:19:13 # $SEMVER_USER_NAME = edgex-jenkins 15:19:13 # $SEMVER_BRANCH = PR-127 15:19:13 # $SEMVER_TEMP = /tmp/semver-162720011 15:19:13 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 15:19:14 # '/tmp/semver-162720011' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' 15:19:14 # -> Force: false 15:19:14 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } 15:19:14 $ docker exec --env ******** --env ******** 1bd65827379b7c9ad9692147b8cd97d1e5bb8548a5dafa496dbf858dfbdcab1f ssh-agent -k 15:19:14 unset SSH_AUTH_SOCK; 15:19:14 unset SSH_AGENT_PID; 15:19:14 echo Agent pid 58 killed; 15:19:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:19:14 + git semver [Pipeline] } 15:19:14 $ docker stop --time=1 1bd65827379b7c9ad9692147b8cd97d1e5bb8548a5dafa496dbf858dfbdcab1f 15:19:15 $ docker rm -f 1bd65827379b7c9ad9692147b8cd97d1e5bb8548a5dafa496dbf858dfbdcab1f [Pipeline] // withDockerContainer [Pipeline] sh 15:19:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:19:16 Stashed 1 file(s) [Pipeline] echo 15:19:16 [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 15:19:31 Still waiting to schedule task 15:19:31 ‘prd-centos7-docker-4c-2g-13420’ is offline 15:19:31 ‘prd-centos7-docker-4c-2g-13427’ is offline 15:19:31 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13421’ doesn’t have label ‘centos7-docker-4c-2g’ 15:19:31 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13425’ doesn’t have label ‘centos7-docker-4c-2g’ 15:19:31 Still waiting to schedule task 15:19:31 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:22:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13428 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 15:22:13 Running in /w/workspace/device-snmp-go/9 [Pipeline] { [Pipeline] checkout 15:22:13 Selected Git installation does not exist. Using Default 15:22:13 The recommended git tool is: NONE 15:22:19 using credential edgex-jenkins-ssh 15:22:19 Cloning the remote Git repository 15:22:19 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:22:19 > git init /w/workspace/device-snmp-go/9 # timeout=10 15:22:19 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:22:19 > git --version # timeout=10 15:22:20 > git --version # 'git version 2.17.1' 15:22:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:22:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:22:20 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:22:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:22:20 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:22:20 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:22:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:22:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:22:21 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 2281fc392d3f53691ecf65da3d547b33d6bb6472 15:22:21 Merge succeeded, producing 2281fc392d3f53691ecf65da3d547b33d6bb6472 15:22:21 Checking out Revision 2281fc392d3f53691ecf65da3d547b33d6bb6472 (PR-127) 15:22:21 > git config core.sparsecheckout # timeout=10 15:22:21 > git checkout -f 2281fc392d3f53691ecf65da3d547b33d6bb6472 # timeout=10 15:22:21 > git remote # timeout=10 15:22:21 > git config --get remote.origin.url # timeout=10 15:22:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:22:21 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 15:22:21 > git rev-parse HEAD^{commit} # timeout=10 15:22:21 > git config core.sparsecheckout # timeout=10 15:22:21 > git checkout -f 2281fc392d3f53691ecf65da3d547b33d6bb6472 # timeout=10 15:22:26 Commit message: "Merge branch 'main' into add-snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:22:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:22:27 % Total % Received % Xferd Average Speed Time Time Time Current 15:22:27 Dload Upload Total Spent Left Speed 15:22:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 15:22:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:22:28 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 15:22:28 tee /etc/docker/daemon.new 15:22:28 { 15:22:28 "registry-mirrors": [ 15:22:28 "https://nexus3.edgexfoundry.org:10001" 15:22:28 ], 15:22:28 "bip": "10.250.0.254/24", 15:22:28 "hosts": [ 15:22:28 "tcp://0.0.0.0:5555", 15:22:28 "unix:///var/run/docker.sock" 15:22:28 ], 15:22:28 "mtu": 1458, 15:22:28 "selinux-enabled": true, 15:22:28 "seccomp-profile": "/etc/docker/seccomp.json" 15:22:28 } [Pipeline] sh 15:22:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:22:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:22:47 provisioning config files... 15:22:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/9@tmp/config7900247678595346680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:22:47 ---> docker-login.sh 15:22:47 nexus3.edgexfoundry.org:10001 15:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:50 Configure a credential helper to remove this warning. See 15:22:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:50 15:22:50 Login Succeeded 15:22:50 nexus3.edgexfoundry.org:10002 15:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:50 Configure a credential helper to remove this warning. See 15:22:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:50 15:22:50 Login Succeeded 15:22:50 nexus3.edgexfoundry.org:10003 15:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:51 Configure a credential helper to remove this warning. See 15:22:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:51 15:22:51 Login Succeeded 15:22:51 nexus3.edgexfoundry.org:10004 15:22:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:51 Configure a credential helper to remove this warning. See 15:22:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:51 15:22:51 Login Succeeded 15:22:51 docker.io 15:22:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:52 Configure a credential helper to remove this warning. See 15:22:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:52 15:22:52 Login Succeeded 15:22:52 ---> docker-login.sh ends [Pipeline] } 15:22:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:22:53 ========================================================= 15:22:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 15:22:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:22:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 15:22:53 Sending build context to Docker daemon 514kB 15:22:54 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 15:22:54 Step 2/11 : FROM ${BASE} AS builder 15:22:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:22:54 552d1f2373af: Pulling fs layer 15:22:54 ea3f2d53f512: Pulling fs layer 15:22:54 9e70ebbbe112: Pulling fs layer 15:22:54 7a9cfe048b4a: Pulling fs layer 15:22:54 72dc09318566: Pulling fs layer 15:22:54 f4f7b4309257: Pulling fs layer 15:22:54 0ac9a79272e3: Pulling fs layer 15:22:54 b78e95d17946: Pulling fs layer 15:22:54 72dc09318566: Waiting 15:22:54 f4f7b4309257: Waiting 15:22:54 0ac9a79272e3: Waiting 15:22:54 b78e95d17946: Waiting 15:22:54 7a9cfe048b4a: Waiting 15:22:54 9e70ebbbe112: Download complete 15:22:54 ea3f2d53f512: Verifying Checksum 15:22:54 ea3f2d53f512: Download complete 15:22:54 72dc09318566: Verifying Checksum 15:22:54 72dc09318566: Download complete 15:22:54 f4f7b4309257: Verifying Checksum 15:22:54 f4f7b4309257: Download complete 15:22:54 552d1f2373af: Download complete 15:22:54 0ac9a79272e3: Verifying Checksum 15:22:54 0ac9a79272e3: Download complete 15:22:55 552d1f2373af: Pull complete 15:22:55 ea3f2d53f512: Pull complete 15:22:56 9e70ebbbe112: Pull complete 15:22:56 b78e95d17946: Verifying Checksum 15:22:56 b78e95d17946: Download complete 15:22:56 7a9cfe048b4a: Verifying Checksum 15:22:56 7a9cfe048b4a: Download complete 15:23:06 7a9cfe048b4a: Pull complete 15:23:06 72dc09318566: Pull complete 15:23:07 f4f7b4309257: Pull complete 15:23:07 0ac9a79272e3: Pull complete 15:23:14 b78e95d17946: Pull complete 15:23:14 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 15:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:23:14 ---> 8b459fc5aaf0 15:23:14 Step 3/11 : ARG MAKE='make build' 15:23:16 ---> Running in 850e2262c4bc 15:23:16 Removing intermediate container 850e2262c4bc 15:23:16 ---> 9522672394af 15:23:16 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:23:16 ---> Running in 4cea67fb8139 15:23:17 Removing intermediate container 4cea67fb8139 15:23:17 ---> 71a547e52ec2 15:23:17 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 15:23:17 ---> Running in fddbb6c03b15 15:23:17 Removing intermediate container fddbb6c03b15 15:23:17 ---> 61dad00a5e0e 15:23:17 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:23:17 ---> Running in caaee3bdb19f 15:23:20 Removing intermediate container caaee3bdb19f 15:23:20 ---> 2d75de6a54ba 15:23:20 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:23:20 ---> Running in 6ef61a307e84 15:23:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:23:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:23:22 (1/4) Installing openssh-keygen (8.6_p1-r3) 15:23:22 (2/4) Installing libedit (20210216.3.1-r0) 15:23:22 (3/4) Installing openssh-client-common (8.6_p1-r3) 15:23:23 (4/4) Installing openssh-client-default (8.6_p1-r3) 15:23:23 Executing busybox-1.33.1-r3.trigger 15:23:23 OK: 223 MiB in 56 packages 15:23:24 Removing intermediate container 6ef61a307e84 15:23:24 ---> c2cfaf2b803c 15:23:24 Step 8/11 : WORKDIR /device-snmp-go 15:23:24 ---> Running in b420a612b1f0 15:23:24 Removing intermediate container b420a612b1f0 15:23:24 ---> 5a0b99f36e5d 15:23:24 Step 9/11 : COPY . . 15:23:26 ---> e12948e1fa8e 15:23:26 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:23:26 ---> Running in 70eb8b604865 15:23:34 Running on prd-centos7-docker-4c-2g-13430 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 15:23:34 Running in /w/workspace/device-snmp-go/9 [Pipeline] { [Pipeline] checkout 15:23:34 Selected Git installation does not exist. Using Default 15:23:34 The recommended git tool is: NONE 15:23:36 using credential edgex-jenkins-ssh 15:23:36 Cloning the remote Git repository 15:23:35 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:23:35 > git init /w/workspace/device-snmp-go/9 # timeout=10 15:23:35 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:23:35 > git --version # timeout=10 15:23:35 > git --version # 'git version 2.24.4' 15:23:35 using GIT_SSH to set credentials SSH Credentials for GitHub 15:23:35 [INFO] Currently running in a labeled security context 15:23:35 [INFO] Currently SELinux is 'enforcing' on the host 15:23:35 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/9@tmp/jenkins-gitclient-ssh7204733265960442155.key 15:23:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:23:37 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 2281fc392d3f53691ecf65da3d547b33d6bb6472 15:23:37 Merge succeeded, producing 2281fc392d3f53691ecf65da3d547b33d6bb6472 15:23:37 Checking out Revision 2281fc392d3f53691ecf65da3d547b33d6bb6472 (PR-127) 15:23:36 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:23:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:23:36 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:23:36 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:23:36 using GIT_SSH to set credentials SSH Credentials for GitHub 15:23:36 [INFO] Currently running in a labeled security context 15:23:36 [INFO] Currently SELinux is 'enforcing' on the host 15:23:36 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/9@tmp/jenkins-gitclient-ssh7793124913047766580.key 15:23:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:23:37 > git config core.sparsecheckout # timeout=10 15:23:37 > git checkout -f 2281fc392d3f53691ecf65da3d547b33d6bb6472 # timeout=10 15:23:37 > git remote # timeout=10 15:23:37 > git config --get remote.origin.url # timeout=10 15:23:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:23:37 [INFO] Currently running in a labeled security context 15:23:37 [INFO] Currently SELinux is 'enforcing' on the host 15:23:37 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/9@tmp/jenkins-gitclient-ssh6218077762290528167.key 15:23:37 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 15:23:37 > git rev-parse HEAD^{commit} # timeout=10 15:23:37 > git config core.sparsecheckout # timeout=10 15:23:37 > git checkout -f 2281fc392d3f53691ecf65da3d547b33d6bb6472 # timeout=10 15:23:41 Commit message: "Merge branch 'main' into add-snap-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:23:41 provisioning config files... 15:23:41 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/9@tmp/config6487802834760209195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:41 ---> docker-login.sh 15:23:41 nexus3.edgexfoundry.org:10001 15:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:41 Configure a credential helper to remove this warning. See 15:23:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:41 15:23:41 Login Succeeded 15:23:41 nexus3.edgexfoundry.org:10002 15:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:42 Configure a credential helper to remove this warning. See 15:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:42 15:23:42 Login Succeeded 15:23:42 nexus3.edgexfoundry.org:10003 15:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:42 Configure a credential helper to remove this warning. See 15:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:42 15:23:42 Login Succeeded 15:23:42 nexus3.edgexfoundry.org:10004 15:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:42 Configure a credential helper to remove this warning. See 15:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:42 15:23:42 Login Succeeded 15:23:42 docker.io 15:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:42 Configure a credential helper to remove this warning. See 15:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:42 15:23:42 Login Succeeded 15:23:42 ---> docker-login.sh ends [Pipeline] } 15:23:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:23:42 ========================================================= 15:23:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 15:23:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:23:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 15:23:43 Sending build context to Docker daemon 515.1kB 15:23:43 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 15:23:43 Step 2/11 : FROM ${BASE} AS builder 15:23:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 15:23:43 a0d0a0d46f8b: Pulling fs layer 15:23:43 31adcdaf11c8: Pulling fs layer 15:23:43 b8b176561691: Pulling fs layer 15:23:43 4527c011a84f: Pulling fs layer 15:23:43 5d74067f8e1e: Pulling fs layer 15:23:43 e0aca202a116: Pulling fs layer 15:23:43 3a43be97a3b4: Pulling fs layer 15:23:43 34cad66bf833: Pulling fs layer 15:23:43 b4e3c513aaa6: Pulling fs layer 15:23:43 4527c011a84f: Waiting 15:23:43 5d74067f8e1e: Waiting 15:23:43 e0aca202a116: Waiting 15:23:43 3a43be97a3b4: Waiting 15:23:43 34cad66bf833: Waiting 15:23:43 b4e3c513aaa6: Waiting 15:23:43 b8b176561691: Verifying Checksum 15:23:43 b8b176561691: Download complete 15:23:43 31adcdaf11c8: Download complete 15:23:43 5d74067f8e1e: Verifying Checksum 15:23:43 5d74067f8e1e: Download complete 15:23:43 e0aca202a116: Verifying Checksum 15:23:43 e0aca202a116: Download complete 15:23:43 a0d0a0d46f8b: Verifying Checksum 15:23:43 a0d0a0d46f8b: Download complete 15:23:43 3a43be97a3b4: Verifying Checksum 15:23:43 3a43be97a3b4: Download complete 15:23:43 34cad66bf833: Verifying Checksum 15:23:43 34cad66bf833: Download complete 15:23:43 b4e3c513aaa6: Verifying Checksum 15:23:43 b4e3c513aaa6: Download complete 15:23:43 4527c011a84f: Verifying Checksum 15:23:43 4527c011a84f: Download complete 15:23:43 a0d0a0d46f8b: Pull complete 15:23:44 31adcdaf11c8: Pull complete 15:23:44 b8b176561691: Pull complete 15:23:48 4527c011a84f: Pull complete 15:23:48 5d74067f8e1e: Pull complete 15:23:48 e0aca202a116: Pull complete 15:23:48 3a43be97a3b4: Pull complete 15:23:48 34cad66bf833: Pull complete 15:23:50 b4e3c513aaa6: Pull complete 15:23:50 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 15:23:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:23:50 ---> 9f6097aaca64 15:23:50 Step 3/11 : ARG MAKE='make build' 15:23:53 Removing intermediate container 70eb8b604865 15:23:53 ---> 2a8058e2b246 15:23:53 Step 11/11 : RUN ${MAKE} 15:23:53 ---> Running in da9fc69cb476 15:23:53 noop 15:23:53 Removing intermediate container da9fc69cb476 15:23:53 ---> 3ef0bc0c3da3 15:23:53 Successfully built 3ef0bc0c3da3 15:23:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:23:53 + docker inspect -f . ci-base-image-arm64 15:23:53 . [Pipeline] withDockerContainer 15:23:53 prd-ubuntu18.04-docker-arm64-4c-16g-13428 does not seem to be running inside a container 15:23:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:23:54 ---> Running in 80991b4755d5 15:23:54 Removing intermediate container 80991b4755d5 15:23:54 ---> a12af0bfa4d6 15:23:54 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:23:54 ---> Running in f21f5fd35c9a 15:23:54 Removing intermediate container f21f5fd35c9a 15:23:54 ---> ef063f823dbf 15:23:54 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 15:23:54 ---> Running in 07bf279807b7 15:23:54 Removing intermediate container 07bf279807b7 15:23:54 ---> f62f2bf88e73 15:23:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:23:54 ---> Running in 34856a1897af 15:23:55 Removing intermediate container 34856a1897af 15:23:55 ---> 1f9b96286fde 15:23:55 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:23:55 ---> Running in 5120160d974c 15:23:55 $ docker top 928ea6d1dd6c2a051d36af877d4d4fd31bed136b301856e8130d744fdfafee31 -eo pid,comm 15:23:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh 15:23:56 + go version 15:23:56 go version go1.16.8 linux/arm64 [Pipeline] } 15:23:56 $ docker stop --time=1 928ea6d1dd6c2a051d36af877d4d4fd31bed136b301856e8130d744fdfafee31 15:23:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:23:56 (1/4) Installing openssh-keygen (8.6_p1-r3) 15:23:56 (2/4) Installing libedit (20210216.3.1-r0) 15:23:56 (3/4) Installing openssh-client-common (8.6_p1-r3) 15:23:56 (4/4) Installing openssh-client-default (8.6_p1-r3) 15:23:57 Executing busybox-1.33.1-r3.trigger 15:23:57 OK: 224 MiB in 56 packages 15:23:57 Removing intermediate container 5120160d974c 15:23:57 ---> d1420d07d939 15:23:57 Step 8/11 : WORKDIR /device-snmp-go 15:23:57 ---> Running in 38863ab0f47c 15:23:57 Removing intermediate container 38863ab0f47c 15:23:57 ---> de3e01c25c1b 15:23:57 Step 9/11 : COPY . . 15:23:57 ---> fcf49a64a6fb 15:23:57 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:23:57 ---> Running in 77830a37d0c4 15:23:58 $ docker rm -f 928ea6d1dd6c2a051d36af877d4d4fd31bed136b301856e8130d744fdfafee31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:23:58 + docker inspect -f . ci-base-image-arm64 15:23:58 . [Pipeline] withDockerContainer 15:23:59 prd-ubuntu18.04-docker-arm64-4c-16g-13428 does not seem to be running inside a container 15:23:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:24:00 $ docker top b03fc2613e0197455ac5d989c4d560c3b1c33aad041a2c030a91a1b9ad4e1cb1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:24:01 + make test 15:24:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:24:02 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:24:05 Removing intermediate container 77830a37d0c4 15:24:05 ---> c19410548715 15:24:05 Step 11/11 : RUN ${MAKE} 15:24:06 ---> Running in 7e2b9f5f7aef 15:24:06 noop 15:24:06 Removing intermediate container 7e2b9f5f7aef 15:24:06 ---> c1d670cd0227 15:24:06 Successfully built c1d670cd0227 15:24:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:24:06 + docker inspect -f . ci-base-image-x86_64 15:24:06 . [Pipeline] withDockerContainer 15:24:06 prd-centos7-docker-4c-2g-13430 does not seem to be running inside a container 15:24:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:24:07 $ docker top f841b717c1fe7f5c0b34c743d1d56a4525040f2035c4f24ea6f8aa18a42e35ea -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:07 + go version 15:24:07 go version go1.16.8 linux/amd64 [Pipeline] } 15:24:07 $ docker stop --time=1 f841b717c1fe7f5c0b34c743d1d56a4525040f2035c4f24ea6f8aa18a42e35ea 15:24:08 $ docker rm -f f841b717c1fe7f5c0b34c743d1d56a4525040f2035c4f24ea6f8aa18a42e35ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:24:09 + docker inspect -f . ci-base-image-x86_64 15:24:09 . [Pipeline] withDockerContainer 15:24:09 prd-centos7-docker-4c-2g-13430 does not seem to be running inside a container 15:24:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:24:09 $ docker top bdce3ee50cf647cb79276e5ed2e622903310de6bcf50fdf127cd7434fc88b112 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:24:10 + make test 15:24:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:24:10 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:24:25 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:24:25 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 15:24:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:24:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:24:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:24:32 ./bin/test-attribution-txt.sh [Pipeline] } 15:24:32 $ docker stop --time=1 bdce3ee50cf647cb79276e5ed2e622903310de6bcf50fdf127cd7434fc88b112 15:24:33 $ docker rm -f bdce3ee50cf647cb79276e5ed2e622903310de6bcf50fdf127cd7434fc88b112 [Pipeline] // withDockerContainer [Pipeline] sh 15:24:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:24:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:24:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:24:35 + ls -al . 15:24:35 total 116 15:24:35 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 29 15:24 . 15:24:35 drwxrwxr-x. 4 jenkins jenkins 28 Oct 29 15:23 .. 15:24:35 -rw-rw-r--. 1 jenkins jenkins 6520 Oct 29 15:23 Attribution.txt 15:24:35 drwxrwxr-x. 2 jenkins jenkins 60 Oct 29 15:23 bin 15:24:35 -rw-rw-r--. 1 jenkins jenkins 4401 Oct 29 15:23 CHANGELOG.md 15:24:35 drwxrwxr-x. 3 jenkins jenkins 32 Oct 29 15:23 cmd 15:24:35 -rw-r--r--. 1 jenkins jenkins 7631 Oct 29 15:24 coverage.out 15:24:35 -rw-rw-r--. 1 jenkins jenkins 1493 Oct 29 15:23 Dockerfile 15:24:35 -rw-rw-r--. 1 jenkins jenkins 6 Oct 29 15:23 .dockerignore 15:24:35 drwxrwxr-x. 8 jenkins jenkins 179 Oct 29 15:23 .git 15:24:35 drwxrwxr-x. 2 jenkins jenkins 103 Oct 29 15:23 .github 15:24:35 -rw-rw-r--. 1 jenkins jenkins 262 Oct 29 15:23 .gitignore 15:24:35 -rw-rw-r--. 1 jenkins jenkins 208 Oct 29 15:23 go.mod 15:24:35 -rw-rw-r--. 1 jenkins jenkins 20831 Oct 29 15:23 go.sum 15:24:35 -rw-rw-r--. 1 jenkins jenkins 677 Oct 29 15:23 GOVERNANCE.md 15:24:35 drwxrwxr-x. 3 jenkins jenkins 20 Oct 29 15:23 internal 15:24:35 -rw-rw-r--. 1 jenkins jenkins 656 Oct 29 15:23 Jenkinsfile 15:24:35 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 29 15:23 LICENSE 15:24:35 -rw-rw-r--. 1 jenkins jenkins 1057 Oct 29 15:23 Makefile 15:24:35 -rw-rw-r--. 1 jenkins jenkins 620 Oct 29 15:23 OWNERS.md 15:24:35 -rw-rw-r--. 1 jenkins jenkins 9073 Oct 29 15:23 README.md 15:24:35 drwxrwxr-x. 3 jenkins jenkins 41 Oct 29 15:23 snap 15:24:35 -rw-rw-r--. 1 jenkins jenkins 5 Oct 29 15:19 VERSION 15:24:35 -rw-rw-r--. 1 jenkins jenkins 209 Oct 29 15:23 version.go [Pipeline] isUnix [Pipeline] sh 15:24:35 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2281fc392d3f53691ecf65da3d547b33d6bb6472 --label arch=amd64 --label version=0.0.0 . 15:24:35 Sending build context to Docker daemon 523.3kB 15:24:35 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 15:24:35 Step 2/23 : FROM ${BASE} AS builder 15:24:35 ---> c1d670cd0227 15:24:35 Step 3/23 : ARG MAKE='make build' 15:24:35 ---> Running in ddbafd219d82 15:24:35 Removing intermediate container ddbafd219d82 15:24:35 ---> 097f8eb29922 15:24:35 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:24:35 ---> Running in e84e58c570ff 15:24:35 Removing intermediate container e84e58c570ff 15:24:35 ---> b721c7c233d5 15:24:35 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 15:24:35 ---> Running in cb7743b14c7e 15:24:35 Removing intermediate container cb7743b14c7e 15:24:35 ---> 9726988f13a5 15:24:35 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:35 ---> Running in 137df3e590c2 15:24:36 Removing intermediate container 137df3e590c2 15:24:36 ---> 4374e9dde816 15:24:36 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:24:36 ---> Running in 63cb28463e7a 15:24:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:24:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:24:37 OK: 224 MiB in 56 packages 15:24:37 Removing intermediate container 63cb28463e7a 15:24:37 ---> 2f35c839171e 15:24:37 Step 8/23 : WORKDIR /device-snmp-go 15:24:38 ---> Running in 7845cc33cdf8 15:24:38 Removing intermediate container 7845cc33cdf8 15:24:38 ---> 67aa5da89f76 15:24:38 Step 9/23 : COPY . . 15:24:38 ---> 04d781fc54d8 15:24:38 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:24:38 ---> Running in b51c83154619 15:24:39 Removing intermediate container b51c83154619 15:24:39 ---> a2f66b9d7f2c 15:24:39 Step 11/23 : RUN ${MAKE} 15:24:39 ---> Running in 3d9f99fa36fb 15:24:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 15:24:51 Removing intermediate container 3d9f99fa36fb 15:24:51 ---> 6d54f4c0b1ed 15:24:51 Step 12/23 : FROM alpine:3.14 15:24:51 3.14: Pulling from library/alpine 15:24:51 a0d0a0d46f8b: Already exists 15:24:51 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 15:24:51 Status: Downloaded newer image for alpine:3.14 15:24:51 ---> 14119a10abf4 15:24:51 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 15:24:51 ---> Running in 0acbb4ba909b 15:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:24:51 (1/6) Installing dumb-init (1.2.5-r1) 15:24:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:24:51 (3/6) Installing libsodium (1.0.18-r0) 15:24:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:24:51 (5/6) Installing libzmq (4.3.4-r0) 15:24:51 (6/6) Installing zeromq (4.3.4-r0) 15:24:51 Executing busybox-1.33.1-r3.trigger 15:24:51 OK: 8 MiB in 20 packages 15:24:52 Removing intermediate container 0acbb4ba909b 15:24:52 ---> ee2b74b1dcf3 15:24:52 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 15:24:52 ---> 9b85f4166630 15:24:52 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:24:52 ---> 45bf413c50eb 15:24:52 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 15:24:52 ---> a650501bb834 15:24:52 Step 17/23 : EXPOSE 59993 15:24:52 ---> Running in a5ea46d0cc11 15:24:52 Removing intermediate container a5ea46d0cc11 15:24:52 ---> 348e0f0f82ad 15:24:52 Step 18/23 : EXPOSE 161 15:24:52 ---> Running in 8afa2f5ab79a 15:24:52 Removing intermediate container 8afa2f5ab79a 15:24:52 ---> e3a9858e6240 15:24:52 Step 19/23 : ENTRYPOINT ["/device-snmp"] 15:24:52 ---> Running in 4dd3cfb9d2be 15:24:52 Removing intermediate container 4dd3cfb9d2be 15:24:52 ---> 4a630d0675e8 15:24:52 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:24:52 ---> Running in d40309606cff 15:24:53 Removing intermediate container d40309606cff 15:24:53 ---> 9dfaa3f3ba23 15:24:53 Step 21/23 : LABEL arch=amd64 15:24:53 ---> Running in 9c3e4efaf0b0 15:24:53 Removing intermediate container 9c3e4efaf0b0 15:24:53 ---> 41549dad63d8 15:24:53 Step 22/23 : LABEL git_sha=2281fc392d3f53691ecf65da3d547b33d6bb6472 15:24:53 ---> Running in f0f761550d91 15:24:53 Removing intermediate container f0f761550d91 15:24:53 ---> b38d6e70cac5 15:24:53 Step 23/23 : LABEL version=0.0.0 15:24:53 ---> Running in f8037403478a 15:24:53 Removing intermediate container f8037403478a 15:24:53 ---> bbb2b93c2bd4 15:24:53 [Warning] One or more build-args [ARCH] were not consumed 15:24:53 Successfully built bbb2b93c2bd4 15:24:53 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:24:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:53 15:24:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:24:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:54 latest: Pulling from edgex-lftools-log-publisher 15:24:54 b4d181a07f80: Pulling fs layer 15:24:54 a1111a8f2ec3: Pulling fs layer 15:24:54 ed53099fbce6: Pulling fs layer 15:24:54 dc539afda2c1: Pulling fs layer 15:24:54 77bc0d833cb6: Pulling fs layer 15:24:54 9065ff56babe: Pulling fs layer 15:24:54 d287ab97295c: Pulling fs layer 15:24:54 dc539afda2c1: Waiting 15:24:54 77bc0d833cb6: Waiting 15:24:54 9065ff56babe: Waiting 15:24:54 d287ab97295c: Waiting 15:24:54 a1111a8f2ec3: Verifying Checksum 15:24:54 a1111a8f2ec3: Download complete 15:24:54 dc539afda2c1: Verifying Checksum 15:24:54 dc539afda2c1: Download complete 15:24:54 ed53099fbce6: Verifying Checksum 15:24:54 ed53099fbce6: Download complete 15:24:54 9065ff56babe: Verifying Checksum 15:24:54 9065ff56babe: Download complete 15:24:54 b4d181a07f80: Verifying Checksum 15:24:54 b4d181a07f80: Download complete 15:24:54 77bc0d833cb6: Verifying Checksum 15:24:54 77bc0d833cb6: Download complete 15:24:55 d287ab97295c: Verifying Checksum 15:24:55 d287ab97295c: Download complete 15:24:55 b4d181a07f80: Pull complete 15:24:55 a1111a8f2ec3: Pull complete 15:24:56 ed53099fbce6: Pull complete 15:24:56 dc539afda2c1: Pull complete 15:24:56 77bc0d833cb6: Pull complete 15:24:56 9065ff56babe: Pull complete 15:24:59 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:24:59 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements 15:24:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:25:02 d287ab97295c: Pull complete 15:25:02 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:25:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:25:02 prd-centos7-docker-4c-2g-13430 does not seem to be running inside a container 15:25:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:25:04 $ docker top b39ce74babdb83cbec9c473ce1b357f98f96ee7e984d1031b8012a8a907c9bc6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:05 ---> job-cost.sh 15:25:05 lf-activate-venv: SKIPPING 15:25:05 INFO: No Stack... 15:25:06 INFO: Retrieving Pricing Info for: v3-standard-2 15:25:07 INFO: Archiving Costs [Pipeline] sh 15:25:07 + cut -d, -f6 15:25:07 + cat /w/workspace/device-snmp-go/9/archives/cost.csv [Pipeline] lock 15:25:07 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-9-stack-cost] 15:25:07 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-9-stack-cost] did not exist. Created. 15:25:07 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:25:07 + echo total: 0.05999999865889549 [Pipeline] stash 15:25:07 Stashed 1 file(s) [Pipeline] } 15:25:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-9-stack-cost] [Pipeline] // lock [Pipeline] } 15:25:07 $ docker stop --time=1 b39ce74babdb83cbec9c473ce1b357f98f96ee7e984d1031b8012a8a907c9bc6 15:25:08 $ docker rm -f b39ce74babdb83cbec9c473ce1b357f98f96ee7e984d1031b8012a8a907c9bc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:25:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:25:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:25:21 ./bin/test-attribution-txt.sh [Pipeline] } 15:25:21 $ docker stop --time=1 b03fc2613e0197455ac5d989c4d560c3b1c33aad041a2c030a91a1b9ad4e1cb1 15:25:23 $ docker rm -f b03fc2613e0197455ac5d989c4d560c3b1c33aad041a2c030a91a1b9ad4e1cb1 [Pipeline] // withDockerContainer [Pipeline] sh 15:25:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:25:24 Warning: overwriting stash ‘coverage-report’ 15:25:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:25:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:25:25 + ls -al . 15:25:25 total 144 15:25:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 29 15:25 . 15:25:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 15:22 .. 15:25:25 -rw-rw-r-- 1 jenkins jenkins 6 Oct 29 15:22 .dockerignore 15:25:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 29 15:22 .git 15:25:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 15:22 .github 15:25:25 -rw-rw-r-- 1 jenkins jenkins 262 Oct 29 15:22 .gitignore 15:25:25 -rw-rw-r-- 1 jenkins jenkins 6520 Oct 29 15:22 Attribution.txt 15:25:25 -rw-rw-r-- 1 jenkins jenkins 4401 Oct 29 15:22 CHANGELOG.md 15:25:25 -rw-rw-r-- 1 jenkins jenkins 1493 Oct 29 15:22 Dockerfile 15:25:25 -rw-rw-r-- 1 jenkins jenkins 677 Oct 29 15:22 GOVERNANCE.md 15:25:25 -rw-rw-r-- 1 jenkins jenkins 656 Oct 29 15:22 Jenkinsfile 15:25:25 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 29 15:22 LICENSE 15:25:25 -rw-rw-r-- 1 jenkins jenkins 1057 Oct 29 15:22 Makefile 15:25:25 -rw-rw-r-- 1 jenkins jenkins 620 Oct 29 15:22 OWNERS.md 15:25:25 -rw-rw-r-- 1 jenkins jenkins 9073 Oct 29 15:22 README.md 15:25:25 -rw-rw-r-- 1 jenkins jenkins 5 Oct 29 15:19 VERSION 15:25:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 15:22 bin 15:25:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 29 15:22 cmd 15:25:25 -rw-r--r-- 1 jenkins jenkins 7631 Oct 29 15:24 coverage.out 15:25:25 -rw-rw-r-- 1 jenkins jenkins 208 Oct 29 15:22 go.mod 15:25:25 -rw-rw-r-- 1 jenkins jenkins 20831 Oct 29 15:22 go.sum 15:25:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 29 15:22 internal 15:25:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 29 15:22 snap 15:25:25 -rw-rw-r-- 1 jenkins jenkins 209 Oct 29 15:22 version.go [Pipeline] isUnix [Pipeline] sh 15:25:26 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2281fc392d3f53691ecf65da3d547b33d6bb6472 --label arch=arm64 --label version=0.0.0 . 15:25:26 Sending build context to Docker daemon 522.2kB 15:25:26 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 15:25:26 Step 2/23 : FROM ${BASE} AS builder 15:25:26 ---> 3ef0bc0c3da3 15:25:26 Step 3/23 : ARG MAKE='make build' 15:25:26 ---> Running in 5b382a1ec149 15:25:27 Removing intermediate container 5b382a1ec149 15:25:27 ---> 328865288278 15:25:27 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:25:27 ---> Running in 1fedad3e43f3 15:25:28 Removing intermediate container 1fedad3e43f3 15:25:28 ---> e7c4912d56d1 15:25:28 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 15:25:28 ---> Running in 6dd547e41cfc 15:25:29 Removing intermediate container 6dd547e41cfc 15:25:29 ---> d0a6567d9257 15:25:29 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:25:29 ---> Running in 44027bfebce9 15:25:31 Removing intermediate container 44027bfebce9 15:25:31 ---> 8250130c2ea6 15:25:31 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:25:31 ---> Running in fd6969a06116 15:25:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:25:33 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:25:34 OK: 223 MiB in 56 packages 15:25:35 Removing intermediate container fd6969a06116 15:25:35 ---> 32b99090a6ff 15:25:35 Step 8/23 : WORKDIR /device-snmp-go 15:25:35 ---> Running in 99b8d5fe772e 15:25:36 Removing intermediate container 99b8d5fe772e 15:25:36 ---> 7d40c2b55e0d 15:25:36 Step 9/23 : COPY . . 15:25:38 ---> 768871156c93 15:25:38 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:38 ---> Running in face57175f7f 15:25:39 Removing intermediate container face57175f7f 15:25:39 ---> 7b7c0328ef94 15:25:39 Step 11/23 : RUN ${MAKE} 15:25:40 ---> Running in ce20be3640c3 15:25:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 15:26:20 Removing intermediate container ce20be3640c3 15:26:20 ---> 2117a99e510f 15:26:20 Step 12/23 : FROM alpine:3.14 15:26:20 3.14: Pulling from library/alpine 15:26:20 552d1f2373af: Already exists 15:26:20 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 15:26:20 Status: Downloaded newer image for alpine:3.14 15:26:20 ---> bb3de5531c18 15:26:20 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 15:26:20 ---> Running in d0ec25926e0c 15:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:26:20 (1/6) Installing dumb-init (1.2.5-r1) 15:26:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:26:20 (3/6) Installing libsodium (1.0.18-r0) 15:26:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:26:20 (5/6) Installing libzmq (4.3.4-r0) 15:26:20 (6/6) Installing zeromq (4.3.4-r0) 15:26:20 Executing busybox-1.33.1-r3.trigger 15:26:20 OK: 8 MiB in 20 packages 15:26:20 Removing intermediate container d0ec25926e0c 15:26:20 ---> 6e7fb20ffb77 15:26:20 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 15:26:21 ---> 602f86ffc99b 15:26:21 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:26:22 ---> ea066f2f008c 15:26:22 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 15:26:22 ---> 3d794942508a 15:26:22 Step 17/23 : EXPOSE 59993 15:26:22 ---> Running in 0f8573074854 15:26:23 Removing intermediate container 0f8573074854 15:26:23 ---> 41b8403c489f 15:26:23 Step 18/23 : EXPOSE 161 15:26:23 ---> Running in e1980df62be8 15:26:23 Removing intermediate container e1980df62be8 15:26:23 ---> 2029f6bd1d06 15:26:23 Step 19/23 : ENTRYPOINT ["/device-snmp"] 15:26:23 ---> Running in cb17a9b1f358 15:26:24 Removing intermediate container cb17a9b1f358 15:26:24 ---> 5f2ec8155a20 15:26:24 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:26:24 ---> Running in 36df376a93d4 15:26:24 Removing intermediate container 36df376a93d4 15:26:24 ---> 8c904903a9e5 15:26:24 Step 21/23 : LABEL arch=arm64 15:26:25 ---> Running in 86b1cfe004b5 15:26:25 Removing intermediate container 86b1cfe004b5 15:26:25 ---> 2714ff419a6b 15:26:25 Step 22/23 : LABEL git_sha=2281fc392d3f53691ecf65da3d547b33d6bb6472 15:26:25 ---> Running in b50f93804c5e 15:26:25 Removing intermediate container b50f93804c5e 15:26:25 ---> c02648162aff 15:26:25 Step 23/23 : LABEL version=0.0.0 15:26:26 ---> Running in 56d7f11e0ed6 15:26:26 Removing intermediate container 56d7f11e0ed6 15:26:26 ---> c3b69586a0ba 15:26:26 [Warning] One or more build-args [ARCH] were not consumed 15:26:26 Successfully built c3b69586a0ba 15:26:26 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:26:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:26 15:26:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:26:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:27 arm64: Pulling from edgex-lftools-log-publisher 15:26:27 448f6bf000e3: Pulling fs layer 15:26:27 f757da607395: Pulling fs layer 15:26:27 05883995daec: Pulling fs layer 15:26:27 8603b9c90790: Pulling fs layer 15:26:27 1560dd03e051: Pulling fs layer 15:26:27 27f5ce0e4adf: Pulling fs layer 15:26:27 c2d8d7efcc4b: Pulling fs layer 15:26:27 1560dd03e051: Waiting 15:26:27 27f5ce0e4adf: Waiting 15:26:27 c2d8d7efcc4b: Waiting 15:26:27 f757da607395: Verifying Checksum 15:26:27 f757da607395: Download complete 15:26:27 8603b9c90790: Verifying Checksum 15:26:27 8603b9c90790: Download complete 15:26:27 1560dd03e051: Verifying Checksum 15:26:27 1560dd03e051: Download complete 15:26:27 27f5ce0e4adf: Verifying Checksum 15:26:27 27f5ce0e4adf: Download complete 15:26:27 05883995daec: Verifying Checksum 15:26:27 05883995daec: Download complete 15:26:28 448f6bf000e3: Download complete 15:26:30 c2d8d7efcc4b: Verifying Checksum 15:26:30 c2d8d7efcc4b: Download complete 15:26:31 448f6bf000e3: Pull complete 15:26:32 f757da607395: Pull complete 15:26:33 05883995daec: Pull complete 15:26:34 8603b9c90790: Pull complete 15:26:35 1560dd03e051: Pull complete 15:26:35 27f5ce0e4adf: Pull complete 15:26:50 c2d8d7efcc4b: Pull complete 15:26:50 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:26:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:26:50 prd-ubuntu18.04-docker-arm64-4c-16g-13428 does not seem to be running inside a container 15:26:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:26:53 $ docker top 0f68a53682c0971db5edd57d944b96478457b5a39806a118a35e4629c98bb1b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:54 ---> job-cost.sh 15:26:54 lf-activate-venv: SKIPPING 15:26:54 INFO: No Stack... 15:26:56 INFO: Retrieving Pricing Info for: v3-standard-4 15:26:57 INFO: Archiving Costs [Pipeline] sh 15:26:57 + cat /w/workspace/device-snmp-go/9/archives/cost.csv 15:26:57 + cut -d, -f6 [Pipeline] lock 15:26:57 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-9-stack-cost] 15:26:57 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-9-stack-cost] did not exist. Created. 15:26:57 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:58 /w/workspace/device-snmp-go/9@tmp/durable-f81d3b89/script.sh: 1: /w/workspace/device-snmp-go/9@tmp/durable-f81d3b89/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:26:59 + echo total: 0.10999999940395355 [Pipeline] stash 15:26:59 Warning: overwriting stash ‘stack-cost’ 15:26:59 Stashed 1 file(s) [Pipeline] } 15:26:59 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-9-stack-cost] [Pipeline] // lock [Pipeline] } 15:26:59 $ docker stop --time=1 0f68a53682c0971db5edd57d944b96478457b5a39806a118a35e4629c98bb1b8 15:27:00 $ docker rm -f 0f68a53682c0971db5edd57d944b96478457b5a39806a118a35e4629c98bb1b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:27:01 provisioning config files... 15:27:01 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config2559616824135852912tmp [Pipeline] { [Pipeline] sh 15:27:01 + set +x 15:27:01 + curl -s https://codecov.io/bash 15:27:01 + bash -s -- 15:27:01 15:27:01 _____ _ 15:27:01 / ____| | | 15:27:01 | | ___ __| | ___ ___ _____ __ 15:27:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:27:01 | |___| (_) | (_| | __/ (_| (_) \ V / 15:27:01 \_____\___/ \__,_|\___|\___\___/ \_/ 15:27:01 Bash-1.0.6 15:27:01 15:27:01 15:27:01 ==> git version 2.24.4 found 15:27:01 ==> 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 15:27:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:27:01 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:27:01 ==> Jenkins CI detected. 15:27:01 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-127 15:27:01 project root: . 15:27:01 --> token set from env 15:27:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:27:01 ==> Running gcov in . (disable via -X gcov) 15:27:01 ==> Python coveragepy not found 15:27:01 ==> Searching for coverage reports in: 15:27:01 + . 15:27:01 -> Found 1 reports 15:27:01 ==> Detecting git/mercurial file structure 15:27:01 ==> Reading reports 15:27:01 + ./coverage.out bytes=7631 15:27:01 ==> Appending adjustments 15:27:01 https://docs.codecov.io/docs/fixing-reports 15:27:02 + Found adjustments 15:27:02 ==> Gzipping contents 15:27:02 4.0K /tmp/codecov.cKmf10.gz 15:27:02 ==> Uploading reports 15:27:02 url: https://codecov.io 15:27:02 query: branch=PR-127&commit=2281fc392d3f53691ecf65da3d547b33d6bb6472&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-127%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=127&job=&cmd_args= 15:27:02 -> Pinging Codecov 15:27:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-127&commit=2281fc392d3f53691ecf65da3d547b33d6bb6472&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-127%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=127&job=&cmd_args= 15:27:02 -> Uploading to 15:27:02 https://storage.googleapis.com/codecov/v4/raw/2021-10-29/6C56EA5C29638FB4528AC87E60AF5AE0/2281fc392d3f53691ecf65da3d547b33d6bb6472/bbae5b4a-512c-456c-a78d-994db4757b1c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211029%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211029T152702Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8693e3a1c4b77bb1914ab88a0a2b697d3532ad63aaa7618dcb93deeb73ceb4f 15:27:02 % Total % Received % Xferd Average Speed Time Time Time Current 15:27:02 Dload Upload Total Spent Left Speed 15:27:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1591 0 0 100 1591 0 5715 --:--:-- --:--:-- --:--:-- 5723 15:27:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/2281fc392d3f53691ecf65da3d547b33d6bb6472 [Pipeline] } 15:27:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:27:03 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh 15:27:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:27:04 ---> package-listing.sh 15:27:04 ++ facter osfamily 15:27:04 ++ tr '[:upper:]' '[:lower:]' 15:27:04 + OS_FAMILY=redhat 15:27:04 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 15:27:04 + START_PACKAGES=/tmp/packages_start.txt 15:27:04 + END_PACKAGES=/tmp/packages_end.txt 15:27:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:27:04 + PACKAGES=/tmp/packages_start.txt 15:27:04 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 15:27:04 + PACKAGES=/tmp/packages_end.txt 15:27:04 + case "${OS_FAMILY}" in 15:27:04 + sort 15:27:04 + rpm -qa 15:27:05 + '[' -f /tmp/packages_start.txt ']' 15:27:05 + '[' -f /tmp/packages_end.txt ']' 15:27:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:27:05 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 15:27:05 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ 15:27:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ [Pipeline] echo 15:27:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:27:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:27:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:06 15:27:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:27:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:06 latest: Pulling from edgex-lftools-log-publisher 15:27:06 b4d181a07f80: Pulling fs layer 15:27:06 a1111a8f2ec3: Pulling fs layer 15:27:06 ed53099fbce6: Pulling fs layer 15:27:06 dc539afda2c1: Pulling fs layer 15:27:06 77bc0d833cb6: Pulling fs layer 15:27:06 9065ff56babe: Pulling fs layer 15:27:06 d287ab97295c: Pulling fs layer 15:27:06 77bc0d833cb6: Waiting 15:27:06 9065ff56babe: Waiting 15:27:06 d287ab97295c: Waiting 15:27:06 dc539afda2c1: Waiting 15:27:06 a1111a8f2ec3: Verifying Checksum 15:27:06 a1111a8f2ec3: Download complete 15:27:06 dc539afda2c1: Verifying Checksum 15:27:06 dc539afda2c1: Download complete 15:27:06 ed53099fbce6: Verifying Checksum 15:27:06 ed53099fbce6: Download complete 15:27:06 9065ff56babe: Verifying Checksum 15:27:06 9065ff56babe: Download complete 15:27:06 77bc0d833cb6: Verifying Checksum 15:27:06 77bc0d833cb6: Download complete 15:27:06 b4d181a07f80: Verifying Checksum 15:27:06 b4d181a07f80: Download complete 15:27:07 d287ab97295c: Verifying Checksum 15:27:07 d287ab97295c: Download complete 15:27:08 b4d181a07f80: Pull complete 15:27:08 a1111a8f2ec3: Pull complete 15:27:09 ed53099fbce6: Pull complete 15:27:09 dc539afda2c1: Pull complete 15:27:09 77bc0d833cb6: Pull complete 15:27:09 9065ff56babe: Pull complete 15:27:14 d287ab97295c: Pull complete 15:27:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:27:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:27:14 prd-centos7-docker-4c-2g-13426 does not seem to be running inside a container 15:27:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:27:18 $ docker top b4433e4061ad5980b75880b36faab4b3a918709175a42aa4c79d8732c38616fd -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:18 + touch /tmp/pre-build-complete [Pipeline] sh 15:27:18 + mkdir -p /var/log/sysstat [Pipeline] sh 15:27:18 + ls /var/log/sa-host 15:27:18 + sadf -c /var/log/sa-host/sa29 15:27:18 file_magic: OK 15:27:18 HZ: Using current value: 100 15:27:18 file_header: OK 15:27:18 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 15:27:18 Statistics: 15:27:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:27:18 File successfully converted to sysstat format version 12.0.3 15:27:18 + sadf -c /var/log/sa-host/sa30 15:27:18 file_magic: OK 15:27:18 HZ: Using current value: 100 15:27:18 file_header: OK 15:27:18 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 15:27:18 Statistics: 15:27:18 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:27:18 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:19 provisioning config files... 15:27:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config6320384182444794331tmp [Pipeline] { [Pipeline] echo 15:27:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:27:19 ---> create-netrc.sh [Pipeline] } 15:27:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:27:19 ---> python-tools-install.sh [Pipeline] echo 15:27:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:27:20 ---> sudo-logs.sh 15:27:20 Archiving 'sudo' log.. 15:27:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-13426.novalocal: Name or service not known 15:27:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-13426.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 15:27:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:27:20 ---> job-cost.sh 15:27:20 lf-activate-venv: SKIPPING 15:27:20 DEBUG: total: 0.10999999940395355 15:27:20 INFO: Retrieving Stack Cost... 15:27:21 INFO: Retrieving Pricing Info for: v3-standard-2 15:27:21 INFO: Archiving Costs [Pipeline] echo 15:27:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:27:22 ---> logs-deploy.sh 15:27:22 lf-activate-venv: SKIPPING 15:27:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/9 15:27:22 INFO: archiving workspace using pattern(s): 15:27:22 Archives upload complete. 15:27:22 INFO: archiving logs to Nexus