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 0226cd85567f66670c45d107f3711c83387ff73f Obtained Jenkinsfile from 8bb32805f03fb28af25e69a0648a2076882556f1 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh2152781715891323111.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-ssh6615405496483113245.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh6114721404774025540.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh455095556247578506.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh8289762536755716890.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh4472391384899957229.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-7 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-ssh6071163301991721820.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-ssh7621361573964907958.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 0226cd85567f66670c45d107f3711c83387ff73f Merge succeeded, producing 0226cd85567f66670c45d107f3711c83387ff73f Checking out Revision 0226cd85567f66670c45d107f3711c83387ff73f (PR-127) > git config core.sparsecheckout # timeout=10 > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # 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-ssh3747109774427297560.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 Commit message: "feat(snap): add initial snap packaging (part 2)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:33:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:33:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:33:30 ========================================================= 17:33:30 EdgeX Global Pipelines Version Info 17:33:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:33:31 ------------------- 17:33:31 stable info: 17:33:31 ------------------- 17:33:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:33:31 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 17:33:31 Message: update stable to v1.0.210 17:33:31 ------------------- 17:33:31 experimental info: 17:33:31 ------------------- 17:33:31 Commited By: **** collab-it+edgex@linuxfoundation.org 17:33:31 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 17:33:31 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:33:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:33:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:33:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:33:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:33:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo 17:33:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo 17:33:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo 17:33:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0226cd85567f66670c45d107f3711c83387ff73f [Pipeline] echo 17:33:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0226cd8 [Pipeline] echo 17:33:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:33 provisioning config files... 17:33:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config902191512497475883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:33 ---> docker-login.sh 17:33:33 nexus3.edgexfoundry.org:10001 17:33:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:34 Configure a credential helper to remove this warning. See 17:33:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:34 17:33:34 Login Succeeded 17:33:34 nexus3.edgexfoundry.org:10002 17:33:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:34 Configure a credential helper to remove this warning. See 17:33:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:34 17:33:34 Login Succeeded 17:33:34 nexus3.edgexfoundry.org:10003 17:33:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:34 Configure a credential helper to remove this warning. See 17:33:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:34 17:33:34 Login Succeeded 17:33:34 nexus3.edgexfoundry.org:10004 17:33:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:34 Configure a credential helper to remove this warning. See 17:33:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:34 17:33:34 Login Succeeded 17:33:34 docker.io 17:33:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:34 Configure a credential helper to remove this warning. See 17:33:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:34 17:33:34 Login Succeeded 17:33:34 ---> docker-login.sh ends [Pipeline] } 17:33:34 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 17:33:35 + git log --format=format:%s -1 0226cd85567f66670c45d107f3711c83387ff73f [Pipeline] echo 17:33:35 GIT_COMMIT: 0226cd85567f66670c45d107f3711c83387ff73f, Commit Message: feat(snap): add initial snap packaging (part 2) [Pipeline] echo 17:33:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:33:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:33:36 17:33:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:33:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:33:36 latest: Pulling from edgex-devops/git-semver 17:33:36 a0d0a0d46f8b: Pulling fs layer 17:33:36 3e5f54012d9b: Pulling fs layer 17:33:36 4c7163046ea9: Pulling fs layer 17:33:36 0c2d73faf560: Pulling fs layer 17:33:36 0c2d73faf560: Waiting 17:33:36 3e5f54012d9b: Verifying Checksum 17:33:36 3e5f54012d9b: Download complete 17:33:36 a0d0a0d46f8b: Verifying Checksum 17:33:36 a0d0a0d46f8b: Download complete 17:33:36 4c7163046ea9: Verifying Checksum 17:33:36 4c7163046ea9: Download complete 17:33:36 0c2d73faf560: Verifying Checksum 17:33:36 0c2d73faf560: Download complete 17:33:36 a0d0a0d46f8b: Pull complete 17:33:36 3e5f54012d9b: Pull complete 17:33:36 4c7163046ea9: Pull complete 17:33:37 0c2d73faf560: Pull complete 17:33:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:33:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:33:37 prd-centos7-docker-4c-2g-7 does not seem to be running inside a container 17:33:37 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:33:37 $ docker top 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:33:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:33:38 [ssh-agent] Looking for ssh-agent implementation... 17:33:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:33:38 $ docker exec 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e ssh-agent 17:33:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBBokPP/agent.13 17:33:38 SSH_AGENT_PID=19 17:33:38 Running ssh-add (command line suppressed) 17:33:38 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_4740479918689091669.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_4740479918689091669.key) 17:33:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:33:38 + git tag --points-at HEAD [Pipeline] } 17:33:38 $ docker exec --env ******** --env ******** 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e ssh-agent -k 17:33:38 unset SSH_AUTH_SOCK; 17:33:38 unset SSH_AGENT_PID; 17:33:38 echo Agent pid 19 killed; 17:33:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:33:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:33:38 [ssh-agent] Looking for ssh-agent implementation... 17:33:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:33:39 $ docker exec 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e ssh-agent 17:33:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkFneGL/agent.52 17:33:39 SSH_AGENT_PID=58 17:33:39 Running ssh-add (command line suppressed) 17:33:39 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1700190636443686657.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1700190636443686657.key) 17:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:33:39 + git semver init 17:33:39 # -> Open(): unable to determine branch for HEAD 17:33:39 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git 17:33:39 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 17:33:39 # $SEMVER_REMOTE_NAME = origin 17:33:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:33:39 # $SEMVER_USER_NAME = edgex-jenkins 17:33:39 # $SEMVER_BRANCH = PR-127 17:33:39 # $SEMVER_TEMP = /tmp/semver-133829270 17:33:39 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 17:33:40 # '/tmp/semver-133829270' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' 17:33:40 # -> Force: false 17:33:40 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } 17:33:40 $ docker exec --env ******** --env ******** 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e ssh-agent -k 17:33:40 unset SSH_AUTH_SOCK; 17:33:40 unset SSH_AGENT_PID; 17:33:40 echo Agent pid 58 killed; 17:33:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:33:40 + git semver [Pipeline] } 17:33:40 $ docker stop --time=1 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e 17:33:41 $ docker rm -f 5a2807c663846e1496b125e427184cb5eda15fe9dbce0df8d4b024d3d796156e [Pipeline] // withDockerContainer [Pipeline] sh 17:33:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:33:42 Stashed 1 file(s) [Pipeline] echo 17:33:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 17:33:57 Still waiting to schedule task 17:33:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:33:57 Still waiting to schedule task 17:33:57 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4’ is offline 17:35:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-8 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 17:35:42 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 17:35:42 Selected Git installation does not exist. Using Default 17:35:42 The recommended git tool is: NONE 17:35:47 using credential edgex-jenkins-ssh 17:35:47 Cloning the remote Git repository 17:35:47 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 17:35:47 > git init /w/workspace/device-snmp-go/1 # timeout=10 17:35:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:35:47 > git --version # timeout=10 17:35:48 > git --version # 'git version 2.17.1' 17:35:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:35:49 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0226cd85567f66670c45d107f3711c83387ff73f 17:35:48 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:35:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:35:49 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:35:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:35:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:49 > 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 17:35:49 > git config core.sparsecheckout # timeout=10 17:35:49 > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 17:35:49 > git remote # timeout=10 17:35:49 > git config --get remote.origin.url # timeout=10 17:35:49 Merge succeeded, producing 0226cd85567f66670c45d107f3711c83387ff73f 17:35:49 Checking out Revision 0226cd85567f66670c45d107f3711c83387ff73f (PR-127) 17:35:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:49 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 17:35:49 > git rev-parse HEAD^{commit} # timeout=10 17:35:49 > git config core.sparsecheckout # timeout=10 17:35:49 > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 17:35:54 Commit message: "feat(snap): add initial snap packaging (part 2)" 17:35:54 > git --version # timeout=10 17:35:54 > git --version # 'git version 2.17.1' 17:35:54 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:35:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:35:56 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:56 Dload Upload Total Spent Left Speed 17:35:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78304 0 --:--:-- --:--:-- --:--:-- 78304 [Pipeline] sh 17:35:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:35:56 + sudo tee /etc/docker/daemon.new 17:35:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:35:56 { 17:35:56 "registry-mirrors": [ 17:35:56 "https://nexus3.edgexfoundry.org:10001" 17:35:56 ], 17:35:56 "bip": "10.250.0.254/24", 17:35:56 "hosts": [ 17:35:56 "tcp://0.0.0.0:5555", 17:35:56 "unix:///var/run/docker.sock" 17:35:56 ], 17:35:56 "mtu": 1458, 17:35:56 "selinux-enabled": true, 17:35:56 "seccomp-profile": "/etc/docker/seccomp.json" 17:35:56 } [Pipeline] sh 17:35:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:35:57 + sudo service docker restart 17:36:07 Running on prd-centos7-docker-4c-2g-9 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 17:36:07 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 17:36:07 Selected Git installation does not exist. Using Default 17:36:07 The recommended git tool is: NONE 17:36:09 using credential edgex-jenkins-ssh 17:36:09 Cloning the remote Git repository 17:36:09 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 17:36:09 > git init /w/workspace/device-snmp-go/1 # timeout=10 17:36:09 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:36:09 > git --version # timeout=10 17:36:09 > git --version # 'git version 2.24.4' 17:36:09 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:09 [INFO] Currently running in a labeled security context 17:36:09 [INFO] Currently SELinux is 'enforcing' on the host 17:36:09 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh4487620145486425724.key 17:36:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:36:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:36:10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:36:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:10 [INFO] Currently running in a labeled security context 17:36:10 [INFO] Currently SELinux is 'enforcing' on the host 17:36:10 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh4187199811424468901.key 17:36:10 > 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 17:36:10 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0226cd85567f66670c45d107f3711c83387ff73f 17:36:10 Merge succeeded, producing 0226cd85567f66670c45d107f3711c83387ff73f 17:36:10 Checking out Revision 0226cd85567f66670c45d107f3711c83387ff73f (PR-127) 17:36:10 > git config core.sparsecheckout # timeout=10 17:36:10 > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 17:36:10 > git remote # timeout=10 17:36:10 > git config --get remote.origin.url # timeout=10 17:36:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:10 [INFO] Currently running in a labeled security context 17:36:10 [INFO] Currently SELinux is 'enforcing' on the host 17:36:10 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh1660204704950042233.key 17:36:10 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 17:36:10 > git rev-parse HEAD^{commit} # timeout=10 17:36:10 > git config core.sparsecheckout # timeout=10 17:36:11 > git checkout -f 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 17:36:14 Commit message: "feat(snap): add initial snap packaging (part 2)" 17:36:14 > git --version # timeout=10 17:36:14 > git --version # 'git version 2.24.4' 17:36:14 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:15 provisioning config files... 17:36:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1398095667425074787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:15 ---> docker-login.sh 17:36:15 nexus3.edgexfoundry.org:10001 17:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:15 Configure a credential helper to remove this warning. See 17:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:15 17:36:15 Login Succeeded 17:36:15 nexus3.edgexfoundry.org:10002 17:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:15 Configure a credential helper to remove this warning. See 17:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:15 17:36:15 Login Succeeded 17:36:15 nexus3.edgexfoundry.org:10003 17:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:16 Configure a credential helper to remove this warning. See 17:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:16 17:36:16 Login Succeeded 17:36:16 nexus3.edgexfoundry.org:10004 17:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:16 Configure a credential helper to remove this warning. See 17:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:16 17:36:16 Login Succeeded 17:36:16 docker.io 17:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:16 provisioning config files... 17:36:16 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6316507247948168436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:16 ---> docker-login.sh 17:36:16 nexus3.edgexfoundry.org:10001 17:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:16 Configure a credential helper to remove this warning. See 17:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:16 17:36:16 Login Succeeded 17:36:16 ---> docker-login.sh ends [Pipeline] } 17:36:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:36:16 ========================================================= 17:36:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:36:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:17 + 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 . 17:36:17 Sending build context to Docker daemon 460.8kB 17:36:17 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 17:36:17 Step 2/11 : FROM ${BASE} AS builder 17:36:17 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:36:17 a0d0a0d46f8b: Pulling fs layer 17:36:17 31adcdaf11c8: Pulling fs layer 17:36:17 b8b176561691: Pulling fs layer 17:36:17 4527c011a84f: Pulling fs layer 17:36:17 5d74067f8e1e: Pulling fs layer 17:36:17 e0aca202a116: Pulling fs layer 17:36:17 3a43be97a3b4: Pulling fs layer 17:36:17 34cad66bf833: Pulling fs layer 17:36:17 b4e3c513aaa6: Pulling fs layer 17:36:17 4527c011a84f: Waiting 17:36:17 5d74067f8e1e: Waiting 17:36:17 e0aca202a116: Waiting 17:36:17 34cad66bf833: Waiting 17:36:17 b4e3c513aaa6: Waiting 17:36:17 3a43be97a3b4: Waiting 17:36:17 b8b176561691: Verifying Checksum 17:36:17 b8b176561691: Download complete 17:36:17 31adcdaf11c8: Verifying Checksum 17:36:17 31adcdaf11c8: Download complete 17:36:17 5d74067f8e1e: Verifying Checksum 17:36:17 5d74067f8e1e: Download complete 17:36:17 a0d0a0d46f8b: Verifying Checksum 17:36:17 a0d0a0d46f8b: Download complete 17:36:17 e0aca202a116: Verifying Checksum 17:36:17 e0aca202a116: Download complete 17:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:17 Configure a credential helper to remove this warning. See 17:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:17 17:36:17 Login Succeeded 17:36:17 nexus3.edgexfoundry.org:10002 17:36:17 3a43be97a3b4: Verifying Checksum 17:36:17 3a43be97a3b4: Download complete 17:36:17 34cad66bf833: Verifying Checksum 17:36:17 34cad66bf833: Download complete 17:36:17 a0d0a0d46f8b: Pull complete 17:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:17 31adcdaf11c8: Pull complete 17:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:18 Configure a credential helper to remove this warning. See 17:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:18 17:36:18 Login Succeeded 17:36:18 nexus3.edgexfoundry.org:10003 17:36:18 4527c011a84f: Verifying Checksum 17:36:18 4527c011a84f: Download complete 17:36:18 b8b176561691: Pull complete 17:36:18 b4e3c513aaa6: Verifying Checksum 17:36:18 b4e3c513aaa6: Download complete 17:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:18 Configure a credential helper to remove this warning. See 17:36:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:18 17:36:18 Login Succeeded 17:36:18 nexus3.edgexfoundry.org:10004 17:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:19 Configure a credential helper to remove this warning. See 17:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:19 17:36:19 Login Succeeded 17:36:19 docker.io 17:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:20 Configure a credential helper to remove this warning. See 17:36:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:20 17:36:20 Login Succeeded 17:36:20 ---> docker-login.sh ends [Pipeline] } 17:36:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:36:20 ========================================================= 17:36:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:36:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:36:21 + 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 . 17:36:21 Sending build context to Docker daemon 459.8kB 17:36:21 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 17:36:21 Step 2/11 : FROM ${BASE} AS builder 17:36:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:36:21 552d1f2373af: Pulling fs layer 17:36:21 ea3f2d53f512: Pulling fs layer 17:36:21 9e70ebbbe112: Pulling fs layer 17:36:21 7a9cfe048b4a: Pulling fs layer 17:36:21 72dc09318566: Pulling fs layer 17:36:21 f4f7b4309257: Pulling fs layer 17:36:21 0ac9a79272e3: Pulling fs layer 17:36:21 b78e95d17946: Pulling fs layer 17:36:21 7a9cfe048b4a: Waiting 17:36:21 72dc09318566: Waiting 17:36:21 f4f7b4309257: Waiting 17:36:21 b78e95d17946: Waiting 17:36:21 0ac9a79272e3: Waiting 17:36:21 9e70ebbbe112: Verifying Checksum 17:36:21 9e70ebbbe112: Download complete 17:36:21 ea3f2d53f512: Verifying Checksum 17:36:21 ea3f2d53f512: Download complete 17:36:21 72dc09318566: Verifying Checksum 17:36:21 72dc09318566: Download complete 17:36:21 f4f7b4309257: Verifying Checksum 17:36:21 f4f7b4309257: Download complete 17:36:21 4527c011a84f: Pull complete 17:36:21 5d74067f8e1e: Pull complete 17:36:22 552d1f2373af: Verifying Checksum 17:36:22 552d1f2373af: Download complete 17:36:22 0ac9a79272e3: Verifying Checksum 17:36:22 0ac9a79272e3: Download complete 17:36:22 e0aca202a116: Pull complete 17:36:22 3a43be97a3b4: Pull complete 17:36:22 34cad66bf833: Pull complete 17:36:22 552d1f2373af: Pull complete 17:36:23 ea3f2d53f512: Pull complete 17:36:23 9e70ebbbe112: Pull complete 17:36:23 b78e95d17946: Verifying Checksum 17:36:23 b78e95d17946: Download complete 17:36:24 7a9cfe048b4a: Verifying Checksum 17:36:24 7a9cfe048b4a: Download complete 17:36:25 b4e3c513aaa6: Pull complete 17:36:25 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 17:36:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:36:25 ---> 9f6097aaca64 17:36:25 Step 3/11 : ARG MAKE='make build' 17:36:26 ---> Running in 1b21443a3451 17:36:26 Removing intermediate container 1b21443a3451 17:36:26 ---> 7845c38e21dc 17:36:26 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:36:26 ---> Running in e05685c8586e 17:36:26 Removing intermediate container e05685c8586e 17:36:26 ---> 08d3f7d8446d 17:36:26 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 17:36:26 ---> Running in f478795bc34a 17:36:26 Removing intermediate container f478795bc34a 17:36:26 ---> 4a8af066faaa 17:36:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:36:26 ---> Running in 3ecd8c7277ea 17:36:27 Removing intermediate container 3ecd8c7277ea 17:36:27 ---> 3257ec4fd159 17:36:27 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:27 ---> Running in b45fc2b92f3e 17:36:27 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:36:28 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:36:28 (1/4) Installing openssh-keygen (8.6_p1-r3) 17:36:28 (2/4) Installing libedit (20210216.3.1-r0) 17:36:28 (3/4) Installing openssh-client-common (8.6_p1-r3) 17:36:28 (4/4) Installing openssh-client-default (8.6_p1-r3) 17:36:29 Executing busybox-1.33.1-r3.trigger 17:36:29 OK: 224 MiB in 56 packages 17:36:29 Removing intermediate container b45fc2b92f3e 17:36:29 ---> 75f57628d95b 17:36:29 Step 8/11 : WORKDIR /device-snmp-go 17:36:29 ---> Running in 0bcd1bcaa44e 17:36:29 Removing intermediate container 0bcd1bcaa44e 17:36:29 ---> 1a60ea3f0130 17:36:29 Step 9/11 : COPY . . 17:36:29 ---> e3a4d4ade4a1 17:36:29 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:29 ---> Running in ff8f59357a55 17:36:34 7a9cfe048b4a: Pull complete 17:36:34 72dc09318566: Pull complete 17:36:34 f4f7b4309257: Pull complete 17:36:35 0ac9a79272e3: Pull complete 17:36:40 b78e95d17946: Pull complete 17:36:40 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 17:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:36:40 ---> 8b459fc5aaf0 17:36:40 Step 3/11 : ARG MAKE='make build' 17:36:42 Removing intermediate container ff8f59357a55 17:36:42 ---> 25cfd03836cc 17:36:42 Step 11/11 : RUN ${MAKE} 17:36:42 ---> Running in 43934d0e2125 17:36:42 noop 17:36:42 Removing intermediate container 43934d0e2125 17:36:42 ---> 053254b310d6 17:36:42 Successfully built 053254b310d6 17:36:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:36:42 + docker inspect -f . ci-base-image-x86_64 17:36:42 . [Pipeline] withDockerContainer 17:36:42 ---> Running in c76ebdc5e900 17:36:42 Removing intermediate container c76ebdc5e900 17:36:42 ---> 387a543e2682 17:36:42 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:36:42 prd-centos7-docker-4c-2g-9 does not seem to be running inside a container 17:36:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:36:42 ---> Running in 62d0ac3c3c7f 17:36:42 $ docker top f41dda103f03767403fb6770253ee4b41be348981c35e39d623de10e89d583c9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:43 Removing intermediate container 62d0ac3c3c7f 17:36:43 ---> 3bbd59968ac2 17:36:43 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 17:36:43 + go version 17:36:43 go version go1.16.8 linux/amd64 17:36:43 ---> Running in 0e8e31e846e7 [Pipeline] } 17:36:43 $ docker stop --time=1 f41dda103f03767403fb6770253ee4b41be348981c35e39d623de10e89d583c9 17:36:43 Removing intermediate container 0e8e31e846e7 17:36:43 ---> 062fa40a1d28 17:36:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:36:43 ---> Running in fdccdbcc368f 17:36:44 $ docker rm -f f41dda103f03767403fb6770253ee4b41be348981c35e39d623de10e89d583c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:36:45 + docker inspect -f . ci-base-image-x86_64 17:36:45 . [Pipeline] withDockerContainer 17:36:45 prd-centos7-docker-4c-2g-9 does not seem to be running inside a container 17:36:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:36:45 Removing intermediate container fdccdbcc368f 17:36:45 ---> 463c3db13a8e 17:36:45 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:45 $ docker top 435c9f6517966c0dfc6badac25e9670dbd167c8440e18c6bfebee07aa41d5152 -eo pid,comm [Pipeline] { [Pipeline] fileExists 17:36:45 ---> Running in e4a5379e08e8 [Pipeline] sh 17:36:46 + make test 17:36:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:36:46 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:36:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:36:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:36:48 (1/4) Installing openssh-keygen (8.6_p1-r3) 17:36:48 (2/4) Installing libedit (20210216.3.1-r0) 17:36:48 (3/4) Installing openssh-client-common (8.6_p1-r3) 17:36:49 (4/4) Installing openssh-client-default (8.6_p1-r3) 17:36:49 Executing busybox-1.33.1-r3.trigger 17:36:49 OK: 223 MiB in 56 packages 17:36:50 Removing intermediate container e4a5379e08e8 17:36:50 ---> 4ee24a2ead8a 17:36:50 Step 8/11 : WORKDIR /device-snmp-go 17:36:50 ---> Running in a64061c563b5 17:36:50 Removing intermediate container a64061c563b5 17:36:50 ---> 258be590272c 17:36:50 Step 9/11 : COPY . . 17:36:51 ---> 7c3ad2fafd03 17:36:51 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:51 ---> Running in f9734911a589 17:37:01 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:37:01 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 17:37:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:37:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:37:08 ./snap/local/hooks/cmd/configure/configure.go 17:37:08 ./snap/local/hooks/cmd/install/install.go 17:37:08 ./snap/local/hooks/const.go 17:37:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:37:08 make: *** [Makefile:29: test] Error 1 [Pipeline] } 17:37:08 $ docker stop --time=1 435c9f6517966c0dfc6badac25e9670dbd167c8440e18c6bfebee07aa41d5152 17:37:10 $ docker rm -f 435c9f6517966c0dfc6badac25e9670dbd167c8440e18c6bfebee07aa41d5152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:37:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:11 17:37:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:37:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:11 latest: Pulling from edgex-lftools-log-publisher 17:37:11 b4d181a07f80: Pulling fs layer 17:37:11 a1111a8f2ec3: Pulling fs layer 17:37:11 ed53099fbce6: Pulling fs layer 17:37:11 dc539afda2c1: Pulling fs layer 17:37:11 77bc0d833cb6: Pulling fs layer 17:37:11 9065ff56babe: Pulling fs layer 17:37:11 d287ab97295c: Pulling fs layer 17:37:11 dc539afda2c1: Waiting 17:37:11 77bc0d833cb6: Waiting 17:37:11 9065ff56babe: Waiting 17:37:11 d287ab97295c: Waiting 17:37:11 a1111a8f2ec3: Verifying Checksum 17:37:11 a1111a8f2ec3: Download complete 17:37:11 dc539afda2c1: Verifying Checksum 17:37:11 dc539afda2c1: Download complete 17:37:11 ed53099fbce6: Verifying Checksum 17:37:11 ed53099fbce6: Download complete 17:37:11 9065ff56babe: Verifying Checksum 17:37:11 9065ff56babe: Download complete 17:37:11 77bc0d833cb6: Verifying Checksum 17:37:11 77bc0d833cb6: Download complete 17:37:11 b4d181a07f80: Verifying Checksum 17:37:11 b4d181a07f80: Download complete 17:37:12 d287ab97295c: Verifying Checksum 17:37:12 d287ab97295c: Download complete 17:37:13 b4d181a07f80: Pull complete 17:37:13 a1111a8f2ec3: Pull complete 17:37:14 ed53099fbce6: Pull complete 17:37:14 dc539afda2c1: Pull complete 17:37:14 77bc0d833cb6: Pull complete 17:37:14 9065ff56babe: Pull complete 17:37:18 Removing intermediate container f9734911a589 17:37:18 ---> a2e903e2fe22 17:37:18 Step 11/11 : RUN ${MAKE} 17:37:18 ---> Running in 1bd1a4cda86e 17:37:18 noop 17:37:18 Removing intermediate container 1bd1a4cda86e 17:37:18 ---> 9188dfdbd088 17:37:18 Successfully built 9188dfdbd088 17:37:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:37:18 + docker inspect -f . ci-base-image-arm64 17:37:18 . [Pipeline] withDockerContainer 17:37:19 prd-ubuntu18.04-docker-arm64-4c-16g-8 does not seem to be running inside a container 17:37:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:37:19 d287ab97295c: Pull complete 17:37:19 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:20 $ docker top 3caa7f90e986c811c04a5f05e61616721ffeb11e21f57d86fab6d4424307a2a6 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 17:37:21 prd-centos7-docker-4c-2g-9 does not seem to be running inside a container 17:37:21 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:37:22 $ docker top 454d5071abb98e94dea0966b34d10451c87c2d1e40c1f623f3444740c5a9f563 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 17:37:23 ---> job-cost.sh 17:37:23 lf-activate-venv: SKIPPING 17:37:23 INFO: No Stack... 17:37:23 + go version 17:37:23 go version go1.16.8 linux/arm64 [Pipeline] } 17:37:23 $ docker stop --time=1 3caa7f90e986c811c04a5f05e61616721ffeb11e21f57d86fab6d4424307a2a6 17:37:23 INFO: Retrieving Pricing Info for: v3-standard-2 17:37:23 INFO: Archiving Costs 17:37:25 $ docker rm -f 3caa7f90e986c811c04a5f05e61616721ffeb11e21f57d86fab6d4424307a2a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage 17:37:25 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 17:37:25 + cut -d, -f6 [Pipeline] { (Test) [Pipeline] lock 17:37:25 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] 17:37:25 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] did not exist. Created. 17:37:25 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:37:26 + echo total: 0.05999999865889549 [Pipeline] stash 17:37:26 + docker inspect -f . ci-base-image-arm64 17:37:26 . [Pipeline] withDockerContainer 17:37:26 Stashed 1 file(s) 17:37:26 prd-ubuntu18.04-docker-arm64-4c-16g-8 does not seem to be running inside a container 17:37:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:37:28 $ docker top f87f0bd82e36e19e594d874da3e48e49aacd22a24d893ee7d811067bb4fe2fab -eo pid,comm [Pipeline] { [Pipeline] } 17:37:28 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:37:28 $ docker stop --time=1 454d5071abb98e94dea0966b34d10451c87c2d1e40c1f623f3444740c5a9f563 17:37:29 $ docker rm -f 454d5071abb98e94dea0966b34d10451c87c2d1e40c1f623f3444740c5a9f563 [Pipeline] fileExists [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:37:30 Failed in branch amd64 17:37:30 + make test 17:37:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:37:31 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:38:28 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:38:28 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements 17:38:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:38:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:38:43 ./snap/local/hooks/const.go 17:38:43 ./snap/local/hooks/cmd/install/install.go 17:38:43 ./snap/local/hooks/cmd/configure/configure.go 17:38:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:38:43 make: *** [Makefile:29: test] Error 1 [Pipeline] } 17:38:43 $ docker stop --time=1 f87f0bd82e36e19e594d874da3e48e49aacd22a24d893ee7d811067bb4fe2fab 17:38:45 $ docker rm -f f87f0bd82e36e19e594d874da3e48e49aacd22a24d893ee7d811067bb4fe2fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:38:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:47 17:38:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:38:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:47 arm64: Pulling from edgex-lftools-log-publisher 17:38:47 448f6bf000e3: Pulling fs layer 17:38:47 f757da607395: Pulling fs layer 17:38:47 05883995daec: Pulling fs layer 17:38:47 8603b9c90790: Pulling fs layer 17:38:47 1560dd03e051: Pulling fs layer 17:38:47 27f5ce0e4adf: Pulling fs layer 17:38:47 c2d8d7efcc4b: Pulling fs layer 17:38:47 8603b9c90790: Waiting 17:38:47 1560dd03e051: Waiting 17:38:47 27f5ce0e4adf: Waiting 17:38:47 c2d8d7efcc4b: Waiting 17:38:47 f757da607395: Verifying Checksum 17:38:47 f757da607395: Download complete 17:38:47 8603b9c90790: Verifying Checksum 17:38:47 8603b9c90790: Download complete 17:38:48 1560dd03e051: Verifying Checksum 17:38:48 1560dd03e051: Download complete 17:38:48 05883995daec: Verifying Checksum 17:38:48 05883995daec: Download complete 17:38:48 27f5ce0e4adf: Verifying Checksum 17:38:48 27f5ce0e4adf: Download complete 17:38:48 448f6bf000e3: Verifying Checksum 17:38:48 448f6bf000e3: Download complete 17:38:51 c2d8d7efcc4b: Verifying Checksum 17:38:51 c2d8d7efcc4b: Download complete 17:38:52 448f6bf000e3: Pull complete 17:38:52 f757da607395: Pull complete 17:38:54 05883995daec: Pull complete 17:38:54 8603b9c90790: Pull complete 17:38:55 1560dd03e051: Pull complete 17:38:55 27f5ce0e4adf: Pull complete 17:39:10 c2d8d7efcc4b: Pull complete 17:39:10 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 17:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:39:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:39:10 prd-ubuntu18.04-docker-arm64-4c-16g-8 does not seem to be running inside a container 17:39:11 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:39:13 $ docker top c4454e0b7b615747fabd7e40815177a935a88f0295502dedd20717de096da294 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:14 ---> job-cost.sh 17:39:14 lf-activate-venv: SKIPPING 17:39:14 INFO: No Stack... 17:39:15 INFO: Retrieving Pricing Info for: v3-standard-4 17:39:15 INFO: Archiving Costs [Pipeline] sh 17:39:16 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 17:39:16 + cut -d, -f6 [Pipeline] lock 17:39:16 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] 17:39:16 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] did not exist. Created. 17:39:16 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:17 /w/workspace/device-snmp-go/1@tmp/durable-c15cc0c5/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-c15cc0c5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 17:39:17 + echo total: 0.10999999940395355 [Pipeline] stash 17:39:17 Warning: overwriting stash ‘stack-cost’ 17:39:18 Stashed 1 file(s) [Pipeline] } 17:39:18 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:18 $ docker stop --time=1 c4454e0b7b615747fabd7e40815177a935a88f0295502dedd20717de096da294 17:39:19 $ docker rm -f c4454e0b7b615747fabd7e40815177a935a88f0295502dedd20717de096da294 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:39:20 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:39:22 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh 17:39:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:39:23 ---> package-listing.sh 17:39:23 ++ tr '[:upper:]' '[:lower:]' 17:39:23 ++ facter osfamily 17:39:24 + OS_FAMILY=redhat 17:39:24 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 17:39:24 + START_PACKAGES=/tmp/packages_start.txt 17:39:24 + END_PACKAGES=/tmp/packages_end.txt 17:39:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:39:24 + PACKAGES=/tmp/packages_start.txt 17:39:24 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 17:39:24 + PACKAGES=/tmp/packages_end.txt 17:39:24 + case "${OS_FAMILY}" in 17:39:24 + rpm -qa 17:39:24 + sort 17:39:24 + '[' -f /tmp/packages_start.txt ']' 17:39:24 + '[' -f /tmp/packages_end.txt ']' 17:39:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:39:24 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 17:39:24 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ 17:39:24 + 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 17:39:24 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 17:39:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:39:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:25 17:39:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:39:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:26 latest: Pulling from edgex-lftools-log-publisher 17:39:26 b4d181a07f80: Pulling fs layer 17:39:26 a1111a8f2ec3: Pulling fs layer 17:39:26 ed53099fbce6: Pulling fs layer 17:39:26 dc539afda2c1: Pulling fs layer 17:39:26 77bc0d833cb6: Pulling fs layer 17:39:26 9065ff56babe: Pulling fs layer 17:39:26 d287ab97295c: Pulling fs layer 17:39:26 dc539afda2c1: Waiting 17:39:26 77bc0d833cb6: Waiting 17:39:26 9065ff56babe: Waiting 17:39:26 d287ab97295c: Waiting 17:39:26 a1111a8f2ec3: Verifying Checksum 17:39:26 a1111a8f2ec3: Download complete 17:39:26 dc539afda2c1: Verifying Checksum 17:39:26 dc539afda2c1: Download complete 17:39:26 ed53099fbce6: Verifying Checksum 17:39:26 ed53099fbce6: Download complete 17:39:26 9065ff56babe: Verifying Checksum 17:39:26 9065ff56babe: Download complete 17:39:26 77bc0d833cb6: Verifying Checksum 17:39:26 77bc0d833cb6: Download complete 17:39:26 b4d181a07f80: Download complete 17:39:26 d287ab97295c: Verifying Checksum 17:39:26 d287ab97295c: Download complete 17:39:27 b4d181a07f80: Pull complete 17:39:27 a1111a8f2ec3: Pull complete 17:39:28 ed53099fbce6: Pull complete 17:39:28 dc539afda2c1: Pull complete 17:39:28 77bc0d833cb6: Pull complete 17:39:28 9065ff56babe: Pull complete 17:39:34 d287ab97295c: Pull complete 17:39:34 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 17:39:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:39:34 prd-centos7-docker-4c-2g-7 does not seem to be running inside a container 17:39:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:39:37 $ docker top 15cb44a790fa632a4682cd1366830d29ab6e56e22c4654afb92abc6c3f6e7713 -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:37 + touch /tmp/pre-build-complete [Pipeline] sh 17:39:37 + mkdir -p /var/log/sysstat [Pipeline] sh 17:39:38 + ls /var/log/sa-host 17:39:38 + sadf -c /var/log/sa-host/sa28 17:39:38 file_magic: OK 17:39:38 HZ: Using current value: 100 17:39:38 file_header: OK 17:39:38 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 17:39:38 Statistics: 17:39:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:39:38 File successfully converted to sysstat format version 12.0.3 17:39:38 + sadf -c /var/log/sa-host/sa30 17:39:38 file_magic: OK 17:39:38 HZ: Using current value: 100 17:39:38 file_header: OK 17:39:38 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 17:39:38 Statistics: 17:39:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:39:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:38 provisioning config files... 17:39:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config3092766731363967603tmp [Pipeline] { [Pipeline] echo 17:39:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:39:38 ---> create-netrc.sh [Pipeline] } 17:39:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:39:39 ---> python-tools-install.sh [Pipeline] echo 17:39:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:39:39 ---> sudo-logs.sh 17:39:39 Archiving 'sudo' log.. 17:39:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-7.novalocal: Name or service not known 17:39:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-7.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 17:39:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:39:39 ---> job-cost.sh 17:39:39 lf-activate-venv: SKIPPING 17:39:39 DEBUG: total: 0.10999999940395355 17:39:39 INFO: Retrieving Stack Cost... 17:39:42 INFO: Retrieving Pricing Info for: v3-standard-2 17:39:42 INFO: Archiving Costs [Pipeline] echo 17:39:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:39:43 ---> logs-deploy.sh 17:39:43 lf-activate-venv: SKIPPING 17:39:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/1 17:39:43 INFO: archiving workspace using pattern(s): 17:39:43 Archives upload complete. 17:39:43 INFO: archiving logs to Nexus