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 0dee0e27628480d7764d79be3c3eb57859c00315 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-ssh5434476721787647585.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-ssh4891945380709876170.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-ssh7310343152655824484.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-ssh510110341191752070.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-ssh3541914754809049980.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-13400 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-ssh6396517933089382284.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0dee0e27628480d7764d79be3c3eb57859c00315 Merge succeeded, producing 0dee0e27628480d7764d79be3c3eb57859c00315 Checking out Revision 0dee0e27628480d7764d79be3c3eb57859c00315 (PR-127) > 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-ssh8415507312813896073.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 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # 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-ssh1433458186494194338.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 Commit message: "feat(snap): add initial snap packaging (part 3)" > git rev-list --no-walk 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:52:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:52:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:52:29 ========================================================= 07:52:29 EdgeX Global Pipelines Version Info 07:52:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:52:31 ------------------- 07:52:31 stable info: 07:52:31 ------------------- 07:52:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:52:31 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 07:52:31 Message: update stable to v1.0.210 07:52:31 ------------------- 07:52:31 experimental info: 07:52:31 ------------------- 07:52:31 Commited By: **** collab-it+edgex@linuxfoundation.org 07:52:31 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 07:52:31 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo 07:52:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo 07:52:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo 07:52:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0dee0e27628480d7764d79be3c3eb57859c00315 [Pipeline] echo 07:52:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0dee0e2 [Pipeline] echo 07:52:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:32 provisioning config files... 07:52:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config7902551352414290751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:32 ---> docker-login.sh 07:52:32 nexus3.edgexfoundry.org:10001 07:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:32 Configure a credential helper to remove this warning. See 07:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:32 07:52:32 Login Succeeded 07:52:32 nexus3.edgexfoundry.org:10002 07:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:32 Configure a credential helper to remove this warning. See 07:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:32 07:52:32 Login Succeeded 07:52:32 nexus3.edgexfoundry.org:10003 07:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:32 Configure a credential helper to remove this warning. See 07:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:32 07:52:32 Login Succeeded 07:52:32 nexus3.edgexfoundry.org:10004 07:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:32 Configure a credential helper to remove this warning. See 07:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:32 07:52:32 Login Succeeded 07:52:32 docker.io 07:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:33 Configure a credential helper to remove this warning. See 07:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:33 07:52:33 Login Succeeded 07:52:33 ---> docker-login.sh ends [Pipeline] } 07:52:33 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 07:52:33 + git log --format=format:%s -1 0dee0e27628480d7764d79be3c3eb57859c00315 [Pipeline] echo 07:52:33 GIT_COMMIT: 0dee0e27628480d7764d79be3c3eb57859c00315, Commit Message: feat(snap): add initial snap packaging (part 3) [Pipeline] echo 07:52:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:52:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:52:34 07:52:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:52:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:52:34 latest: Pulling from edgex-devops/git-semver 07:52:34 a0d0a0d46f8b: Pulling fs layer 07:52:34 3e5f54012d9b: Pulling fs layer 07:52:34 4c7163046ea9: Pulling fs layer 07:52:34 0c2d73faf560: Pulling fs layer 07:52:34 0c2d73faf560: Waiting 07:52:34 3e5f54012d9b: Verifying Checksum 07:52:34 3e5f54012d9b: Download complete 07:52:34 a0d0a0d46f8b: Download complete 07:52:34 4c7163046ea9: Verifying Checksum 07:52:34 4c7163046ea9: Download complete 07:52:34 0c2d73faf560: Verifying Checksum 07:52:34 0c2d73faf560: Download complete 07:52:35 a0d0a0d46f8b: Pull complete 07:52:35 3e5f54012d9b: Pull complete 07:52:35 4c7163046ea9: Pull complete 07:52:35 0c2d73faf560: Pull complete 07:52:35 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:52:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:52:35 prd-centos7-docker-4c-2g-13400 does not seem to be running inside a container 07:52:35 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:52:36 $ docker top 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:52:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:36 [ssh-agent] Looking for ssh-agent implementation... 07:52:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:36 $ docker exec 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 ssh-agent 07:52:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiBeFmh/agent.14 07:52:36 SSH_AGENT_PID=20 07:52:36 Running ssh-add (command line suppressed) 07:52:36 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_368771269562854907.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_368771269562854907.key) 07:52:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:37 + git tag --points-at HEAD [Pipeline] } 07:52:37 $ docker exec --env ******** --env ******** 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 ssh-agent -k 07:52:37 unset SSH_AUTH_SOCK; 07:52:37 unset SSH_AGENT_PID; 07:52:37 echo Agent pid 20 killed; 07:52:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:52:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:37 [ssh-agent] Looking for ssh-agent implementation... 07:52:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:37 $ docker exec 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 ssh-agent 07:52:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXholdli/agent.54 07:52:37 SSH_AGENT_PID=60 07:52:37 Running ssh-add (command line suppressed) 07:52:37 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1670961618143242847.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1670961618143242847.key) 07:52:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:37 + git semver init 07:52:37 # -> Open(): unable to determine branch for HEAD 07:52:37 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git 07:52:37 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 07:52:37 # $SEMVER_REMOTE_NAME = origin 07:52:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:52:37 # $SEMVER_USER_NAME = edgex-jenkins 07:52:37 # $SEMVER_BRANCH = PR-127 07:52:37 # $SEMVER_TEMP = /tmp/semver-950612575 07:52:37 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 07:52:38 # '/tmp/semver-950612575' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' 07:52:38 # -> Force: false 07:52:38 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } 07:52:38 $ docker exec --env ******** --env ******** 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 ssh-agent -k 07:52:38 unset SSH_AUTH_SOCK; 07:52:38 unset SSH_AGENT_PID; 07:52:38 echo Agent pid 60 killed; 07:52:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:52:38 + git semver [Pipeline] } 07:52:39 $ docker stop --time=1 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 07:52:40 $ docker rm -f 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:52:40 Stashed 1 file(s) [Pipeline] echo 07:52:40 [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 07:52:48 Running on prd-centos7-docker-4c-2g-13401 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 07:52:48 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 07:52:48 Selected Git installation does not exist. Using Default 07:52:48 The recommended git tool is: NONE 07:52:50 using credential edgex-jenkins-ssh 07:52:50 Cloning the remote Git repository 07:52:49 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:52:49 > git init /w/workspace/device-snmp-go/2 # timeout=10 07:52:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:52:49 > git --version # timeout=10 07:52:49 > git --version # 'git version 2.24.4' 07:52:49 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:49 [INFO] Currently running in a labeled security context 07:52:49 [INFO] Currently SELinux is 'enforcing' on the host 07:52:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh3591551654469015571.key 07:52:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:51 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0dee0e27628480d7764d79be3c3eb57859c00315 07:52:49 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:52:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:49 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:52:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:52:49 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:49 [INFO] Currently running in a labeled security context 07:52:49 [INFO] Currently SELinux is 'enforcing' on the host 07:52:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh2759729439490688763.key 07:52:49 > 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 07:52:50 > git config core.sparsecheckout # timeout=10 07:52:50 > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 07:52:51 Merge succeeded, producing 0dee0e27628480d7764d79be3c3eb57859c00315 07:52:51 Checking out Revision 0dee0e27628480d7764d79be3c3eb57859c00315 (PR-127) 07:52:50 > git remote # timeout=10 07:52:50 > git config --get remote.origin.url # timeout=10 07:52:50 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:50 [INFO] Currently running in a labeled security context 07:52:50 [INFO] Currently SELinux is 'enforcing' on the host 07:52:50 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh1053170202050628656.key 07:52:50 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 07:52:50 > git rev-parse HEAD^{commit} # timeout=10 07:52:50 > git config core.sparsecheckout # timeout=10 07:52:50 > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 07:52:54 Commit message: "feat(snap): add initial snap packaging (part 3)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:54 provisioning config files... 07:52:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config8314226035638350153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:55 ---> docker-login.sh 07:52:55 nexus3.edgexfoundry.org:10001 07:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:55 Configure a credential helper to remove this warning. See 07:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:55 07:52:55 Login Succeeded 07:52:55 nexus3.edgexfoundry.org:10002 07:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:55 Configure a credential helper to remove this warning. See 07:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:55 07:52:55 Login Succeeded 07:52:55 nexus3.edgexfoundry.org:10003 07:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:55 Configure a credential helper to remove this warning. See 07:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:55 07:52:55 Login Succeeded 07:52:55 nexus3.edgexfoundry.org:10004 07:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:55 Configure a credential helper to remove this warning. See 07:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:55 07:52:55 Login Succeeded 07:52:55 docker.io 07:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:56 Still waiting to schedule task 07:52:56 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:56 Configure a credential helper to remove this warning. See 07:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:56 07:52:56 Login Succeeded 07:52:56 ---> docker-login.sh ends [Pipeline] } 07:52:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:52:56 ========================================================= 07:52:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:52:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:52:56 + 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 . 07:52:56 Sending build context to Docker daemon 470.5kB 07:52:56 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 07:52:56 Step 2/11 : FROM ${BASE} AS builder 07:52:56 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:52:56 a0d0a0d46f8b: Pulling fs layer 07:52:56 31adcdaf11c8: Pulling fs layer 07:52:56 b8b176561691: Pulling fs layer 07:52:56 4527c011a84f: Pulling fs layer 07:52:56 5d74067f8e1e: Pulling fs layer 07:52:56 e0aca202a116: Pulling fs layer 07:52:56 3a43be97a3b4: Pulling fs layer 07:52:56 34cad66bf833: Pulling fs layer 07:52:56 b4e3c513aaa6: Pulling fs layer 07:52:56 4527c011a84f: Waiting 07:52:56 5d74067f8e1e: Waiting 07:52:56 e0aca202a116: Waiting 07:52:56 3a43be97a3b4: Waiting 07:52:56 34cad66bf833: Waiting 07:52:56 b4e3c513aaa6: Waiting 07:52:56 b8b176561691: Verifying Checksum 07:52:56 b8b176561691: Download complete 07:52:56 31adcdaf11c8: Verifying Checksum 07:52:56 31adcdaf11c8: Download complete 07:52:56 5d74067f8e1e: Verifying Checksum 07:52:56 5d74067f8e1e: Download complete 07:52:56 e0aca202a116: Verifying Checksum 07:52:56 e0aca202a116: Download complete 07:52:56 a0d0a0d46f8b: Verifying Checksum 07:52:56 a0d0a0d46f8b: Download complete 07:52:56 3a43be97a3b4: Verifying Checksum 07:52:56 3a43be97a3b4: Download complete 07:52:56 34cad66bf833: Verifying Checksum 07:52:56 34cad66bf833: Download complete 07:52:57 a0d0a0d46f8b: Pull complete 07:52:57 b4e3c513aaa6: Verifying Checksum 07:52:57 b4e3c513aaa6: Download complete 07:52:57 4527c011a84f: Verifying Checksum 07:52:57 4527c011a84f: Download complete 07:52:57 31adcdaf11c8: Pull complete 07:52:57 b8b176561691: Pull complete 07:53:01 4527c011a84f: Pull complete 07:53:01 5d74067f8e1e: Pull complete 07:53:01 e0aca202a116: Pull complete 07:53:01 3a43be97a3b4: Pull complete 07:53:01 34cad66bf833: Pull complete 07:53:04 b4e3c513aaa6: Pull complete 07:53:04 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 07:53:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:53:04 ---> 9f6097aaca64 07:53:04 Step 3/11 : ARG MAKE='make build' 07:53:06 ---> Running in 73261a89325c 07:53:06 Removing intermediate container 73261a89325c 07:53:06 ---> e220b81f7ca3 07:53:06 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:53:06 ---> Running in 8f994f259fba 07:53:06 Removing intermediate container 8f994f259fba 07:53:06 ---> dbd85c65a201 07:53:06 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 07:53:06 ---> Running in c05caa775924 07:53:06 Removing intermediate container c05caa775924 07:53:06 ---> 7ee486fae908 07:53:06 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:53:06 ---> Running in ff0fb4019c16 07:53:07 Removing intermediate container ff0fb4019c16 07:53:07 ---> de1746932378 07:53:07 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:53:07 ---> Running in 3133adce2227 07:53:07 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:53:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:53:08 (1/4) Installing openssh-keygen (8.6_p1-r3) 07:53:08 (2/4) Installing libedit (20210216.3.1-r0) 07:53:08 (3/4) Installing openssh-client-common (8.6_p1-r3) 07:53:08 (4/4) Installing openssh-client-default (8.6_p1-r3) 07:53:09 Executing busybox-1.33.1-r3.trigger 07:53:09 OK: 224 MiB in 56 packages 07:53:09 Removing intermediate container 3133adce2227 07:53:09 ---> d48daf8fa334 07:53:09 Step 8/11 : WORKDIR /device-snmp-go 07:53:09 ---> Running in d9a6bcc07f15 07:53:09 Removing intermediate container d9a6bcc07f15 07:53:09 ---> addd88aef86f 07:53:09 Step 9/11 : COPY . . 07:53:09 ---> c8858134a41c 07:53:09 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:53:09 ---> Running in b34eec2df9b0 07:53:22 Removing intermediate container b34eec2df9b0 07:53:22 ---> d2eb6c5fed37 07:53:22 Step 11/11 : RUN ${MAKE} 07:53:22 ---> Running in a8b03840e450 07:53:22 noop 07:53:22 Removing intermediate container a8b03840e450 07:53:22 ---> f26f1f14e59d 07:53:22 Successfully built f26f1f14e59d 07:53:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:53:22 + docker inspect -f . ci-base-image-x86_64 07:53:22 . [Pipeline] withDockerContainer 07:53:22 prd-centos7-docker-4c-2g-13401 does not seem to be running inside a container 07:53:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 07:53:22 $ docker top dbf4c7b37f204154320c9466a5f33bb64f5ef88eab20ce393125e733b28a8782 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:23 + go version 07:53:23 go version go1.16.8 linux/amd64 [Pipeline] } 07:53:23 $ docker stop --time=1 dbf4c7b37f204154320c9466a5f33bb64f5ef88eab20ce393125e733b28a8782 07:53:24 $ docker rm -f dbf4c7b37f204154320c9466a5f33bb64f5ef88eab20ce393125e733b28a8782 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:53:25 + docker inspect -f . ci-base-image-x86_64 07:53:25 . [Pipeline] withDockerContainer 07:53:25 prd-centos7-docker-4c-2g-13401 does not seem to be running inside a container 07:53:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 07:53:25 $ docker top 7e287b2e4964cf10710a62695539e1da3118d3c9607d07d5f908f9e0a861a6bd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:53:25 + make test 07:53:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:53:26 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:53:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:53:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 07:53:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:53:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:53:47 ./snap/local/hooks/cmd/configure/configure.go 07:53:47 ./snap/local/hooks/cmd/install/install.go 07:53:47 ./snap/local/hooks/const.go 07:53:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:53:47 make: *** [Makefile:29: test] Error 1 [Pipeline] } 07:53:47 $ docker stop --time=1 7e287b2e4964cf10710a62695539e1da3118d3c9607d07d5f908f9e0a861a6bd 07:53:49 $ docker rm -f 7e287b2e4964cf10710a62695539e1da3118d3c9607d07d5f908f9e0a861a6bd [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 07:53:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:49 07:53:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:53:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:50 latest: Pulling from edgex-lftools-log-publisher 07:53:50 b4d181a07f80: Pulling fs layer 07:53:50 a1111a8f2ec3: Pulling fs layer 07:53:50 ed53099fbce6: Pulling fs layer 07:53:50 dc539afda2c1: Pulling fs layer 07:53:50 77bc0d833cb6: Pulling fs layer 07:53:50 9065ff56babe: Pulling fs layer 07:53:50 d287ab97295c: Pulling fs layer 07:53:50 77bc0d833cb6: Waiting 07:53:50 9065ff56babe: Waiting 07:53:50 d287ab97295c: Waiting 07:53:50 dc539afda2c1: Waiting 07:53:50 a1111a8f2ec3: Verifying Checksum 07:53:50 a1111a8f2ec3: Download complete 07:53:50 dc539afda2c1: Verifying Checksum 07:53:50 dc539afda2c1: Download complete 07:53:50 ed53099fbce6: Verifying Checksum 07:53:50 ed53099fbce6: Download complete 07:53:50 9065ff56babe: Verifying Checksum 07:53:50 9065ff56babe: Download complete 07:53:50 77bc0d833cb6: Verifying Checksum 07:53:50 77bc0d833cb6: Download complete 07:53:50 b4d181a07f80: Verifying Checksum 07:53:50 b4d181a07f80: Download complete 07:53:51 d287ab97295c: Verifying Checksum 07:53:51 d287ab97295c: Download complete 07:53:52 b4d181a07f80: Pull complete 07:53:52 a1111a8f2ec3: Pull complete 07:53:52 ed53099fbce6: Pull complete 07:53:52 dc539afda2c1: Pull complete 07:53:52 77bc0d833cb6: Pull complete 07:53:52 9065ff56babe: Pull complete 07:53:58 d287ab97295c: Pull complete 07:53:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:53:58 prd-centos7-docker-4c-2g-13401 does not seem to be running inside a container 07:53:58 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 07:54:01 $ docker top 2e65f13672dc6b562a9c8be5e8ed2718397228cee8f648f09a0833803a0da7c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:54:01 ---> job-cost.sh 07:54:01 lf-activate-venv: SKIPPING 07:54:01 INFO: No Stack... 07:54:02 INFO: Retrieving Pricing Info for: v3-standard-2 07:54:02 INFO: Archiving Costs [Pipeline] sh 07:54:02 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 07:54:02 + cut -d, -f6 [Pipeline] lock 07:54:02 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] 07:54:02 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] did not exist. Created. 07:54:02 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:54:03 + echo total: 0.05999999865889549 [Pipeline] stash 07:54:03 Stashed 1 file(s) [Pipeline] } 07:54:03 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:54:03 $ docker stop --time=1 2e65f13672dc6b562a9c8be5e8ed2718397228cee8f648f09a0833803a0da7c6 07:54:04 $ docker rm -f 2e65f13672dc6b562a9c8be5e8ed2718397228cee8f648f09a0833803a0da7c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:54:04 Failed in branch amd64 07:54:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13402 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 07:54:33 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 07:54:33 Selected Git installation does not exist. Using Default 07:54:33 The recommended git tool is: NONE 07:54:39 using credential edgex-jenkins-ssh 07:54:39 Cloning the remote Git repository 07:54:39 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:54:39 > git init /w/workspace/device-snmp-go/2 # timeout=10 07:54:39 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:54:39 > git --version # timeout=10 07:54:39 > git --version # 'git version 2.17.1' 07:54:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:54:40 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:54:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:54:40 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:54:40 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:54:40 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:40 > 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 07:54:41 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0dee0e27628480d7764d79be3c3eb57859c00315 07:54:41 Merge succeeded, producing 0dee0e27628480d7764d79be3c3eb57859c00315 07:54:41 Checking out Revision 0dee0e27628480d7764d79be3c3eb57859c00315 (PR-127) 07:54:41 > git config core.sparsecheckout # timeout=10 07:54:41 > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 07:54:41 > git remote # timeout=10 07:54:41 > git config --get remote.origin.url # timeout=10 07:54:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:41 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 07:54:41 > git rev-parse HEAD^{commit} # timeout=10 07:54:41 > git config core.sparsecheckout # timeout=10 07:54:41 > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 07:54:45 Commit message: "feat(snap): add initial snap packaging (part 3)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:54:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:54:46 % Total % Received % Xferd Average Speed Time Time Time Current 07:54:46 Dload Upload Total Spent Left Speed 07:54:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 61264 0 --:--:-- --:--:-- --:--:-- 61264 [Pipeline] sh 07:54:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:54:47 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 07:54:47 07:54:47 { 07:54:47 "registry-mirrors": [ 07:54:47 "https://nexus3.edgexfoundry.org:10001" 07:54:47 ], 07:54:47 "bip": "10.250.0.254/24", 07:54:47 "hosts": [ 07:54:47 "tcp://0.0.0.0:5555", 07:54:47 "unix:///var/run/docker.sock" 07:54:47 ], 07:54:47 "mtu": 1458, 07:54:47 "selinux-enabled": true, 07:54:47 "seccomp-profile": "/etc/docker/seccomp.json" 07:54:47 } [Pipeline] sh 07:54:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:54:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:06 provisioning config files... 07:55:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config6880832755574520699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:06 ---> docker-login.sh 07:55:06 nexus3.edgexfoundry.org:10001 07:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:08 Configure a credential helper to remove this warning. See 07:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:08 07:55:08 Login Succeeded 07:55:08 nexus3.edgexfoundry.org:10002 07:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:08 Configure a credential helper to remove this warning. See 07:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:08 07:55:08 Login Succeeded 07:55:08 nexus3.edgexfoundry.org:10003 07:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:08 Configure a credential helper to remove this warning. See 07:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:08 07:55:08 Login Succeeded 07:55:08 nexus3.edgexfoundry.org:10004 07:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:09 Configure a credential helper to remove this warning. See 07:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:09 07:55:09 Login Succeeded 07:55:09 docker.io 07:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:10 Configure a credential helper to remove this warning. See 07:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:10 07:55:10 Login Succeeded 07:55:10 ---> docker-login.sh ends [Pipeline] } 07:55:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:55:10 ========================================================= 07:55:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:55:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:55:11 + 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 . 07:55:11 Sending build context to Docker daemon 469.5kB 07:55:11 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 07:55:11 Step 2/11 : FROM ${BASE} AS builder 07:55:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:55:11 552d1f2373af: Pulling fs layer 07:55:11 ea3f2d53f512: Pulling fs layer 07:55:11 9e70ebbbe112: Pulling fs layer 07:55:11 7a9cfe048b4a: Pulling fs layer 07:55:11 72dc09318566: Pulling fs layer 07:55:11 f4f7b4309257: Pulling fs layer 07:55:11 0ac9a79272e3: Pulling fs layer 07:55:11 b78e95d17946: Pulling fs layer 07:55:11 72dc09318566: Waiting 07:55:11 f4f7b4309257: Waiting 07:55:11 0ac9a79272e3: Waiting 07:55:11 b78e95d17946: Waiting 07:55:11 7a9cfe048b4a: Waiting 07:55:11 9e70ebbbe112: Verifying Checksum 07:55:11 9e70ebbbe112: Download complete 07:55:11 ea3f2d53f512: Verifying Checksum 07:55:11 ea3f2d53f512: Download complete 07:55:11 72dc09318566: Verifying Checksum 07:55:11 72dc09318566: Download complete 07:55:11 f4f7b4309257: Verifying Checksum 07:55:11 f4f7b4309257: Download complete 07:55:11 552d1f2373af: Download complete 07:55:11 0ac9a79272e3: Verifying Checksum 07:55:11 0ac9a79272e3: Download complete 07:55:12 552d1f2373af: Pull complete 07:55:12 ea3f2d53f512: Pull complete 07:55:13 9e70ebbbe112: Pull complete 07:55:13 b78e95d17946: Verifying Checksum 07:55:13 b78e95d17946: Download complete 07:55:14 7a9cfe048b4a: Verifying Checksum 07:55:14 7a9cfe048b4a: Download complete 07:55:24 7a9cfe048b4a: Pull complete 07:55:24 72dc09318566: Pull complete 07:55:24 f4f7b4309257: Pull complete 07:55:24 0ac9a79272e3: Pull complete 07:55:28 b78e95d17946: Pull complete 07:55:28 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 07:55:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:55:28 ---> 8b459fc5aaf0 07:55:28 Step 3/11 : ARG MAKE='make build' 07:55:31 ---> Running in 92479a0814d9 07:55:31 Removing intermediate container 92479a0814d9 07:55:31 ---> af11870178d4 07:55:31 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:55:31 ---> Running in f54a826317aa 07:55:31 Removing intermediate container f54a826317aa 07:55:31 ---> 5da2ae283d23 07:55:31 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 07:55:31 ---> Running in 9b163b9adc65 07:55:31 Removing intermediate container 9b163b9adc65 07:55:31 ---> c5c243633604 07:55:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:55:32 ---> Running in a688d2e1ecbc 07:55:34 Removing intermediate container a688d2e1ecbc 07:55:34 ---> 7bcd2223d2df 07:55:34 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:55:34 ---> Running in e308e27588eb 07:55:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:55:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:55:37 (1/4) Installing openssh-keygen (8.6_p1-r3) 07:55:37 (2/4) Installing libedit (20210216.3.1-r0) 07:55:37 (3/4) Installing openssh-client-common (8.6_p1-r3) 07:55:37 (4/4) Installing openssh-client-default (8.6_p1-r3) 07:55:37 Executing busybox-1.33.1-r3.trigger 07:55:37 OK: 223 MiB in 56 packages 07:55:38 Removing intermediate container e308e27588eb 07:55:38 ---> 247025dcf69a 07:55:38 Step 8/11 : WORKDIR /device-snmp-go 07:55:38 ---> Running in f2eee3099919 07:55:39 Removing intermediate container f2eee3099919 07:55:39 ---> 2c328a8619ed 07:55:39 Step 9/11 : COPY . . 07:55:40 ---> 382a85e385c8 07:55:40 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:55:40 ---> Running in f00baabf488b 07:56:07 Removing intermediate container f00baabf488b 07:56:07 ---> de0f51496a31 07:56:07 Step 11/11 : RUN ${MAKE} 07:56:07 ---> Running in 97851ddd87ab 07:56:07 noop 07:56:07 Removing intermediate container 97851ddd87ab 07:56:07 ---> 31509ad690a4 07:56:07 Successfully built 31509ad690a4 07:56:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:56:07 + docker inspect -f . ci-base-image-arm64 07:56:07 . [Pipeline] withDockerContainer 07:56:07 prd-ubuntu18.04-docker-arm64-4c-16g-13402 does not seem to be running inside a container 07:56:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 07:56:09 $ docker top 97acbe468eccb241fefa63e55be936c49d2867093a123f9eed699e30d3283809 -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:10 + go version 07:56:10 go version go1.16.8 linux/arm64 [Pipeline] } 07:56:10 $ docker stop --time=1 97acbe468eccb241fefa63e55be936c49d2867093a123f9eed699e30d3283809 07:56:12 $ docker rm -f 97acbe468eccb241fefa63e55be936c49d2867093a123f9eed699e30d3283809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:56:13 + docker inspect -f . ci-base-image-arm64 07:56:13 . [Pipeline] withDockerContainer 07:56:13 prd-ubuntu18.04-docker-arm64-4c-16g-13402 does not seem to be running inside a container 07:56:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 07:56:15 $ docker top d58c481ed5f91c8bd1f697533572d4271de21c4ef1bdf7c37fece7629539606e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:56:15 + make test 07:56:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:56:17 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:57:04 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:57:04 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements 07:57:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:57:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:57:31 ./snap/local/hooks/const.go 07:57:31 ./snap/local/hooks/cmd/install/install.go 07:57:31 ./snap/local/hooks/cmd/configure/configure.go 07:57:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:57:31 make: *** [Makefile:29: test] Error 1 [Pipeline] } 07:57:31 $ docker stop --time=1 d58c481ed5f91c8bd1f697533572d4271de21c4ef1bdf7c37fece7629539606e 07:57:33 $ docker rm -f d58c481ed5f91c8bd1f697533572d4271de21c4ef1bdf7c37fece7629539606e [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 07:57:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:57:34 07:57:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:57:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:57:34 arm64: Pulling from edgex-lftools-log-publisher 07:57:34 448f6bf000e3: Pulling fs layer 07:57:34 f757da607395: Pulling fs layer 07:57:34 05883995daec: Pulling fs layer 07:57:34 8603b9c90790: Pulling fs layer 07:57:34 1560dd03e051: Pulling fs layer 07:57:34 27f5ce0e4adf: Pulling fs layer 07:57:34 c2d8d7efcc4b: Pulling fs layer 07:57:34 8603b9c90790: Waiting 07:57:34 1560dd03e051: Waiting 07:57:34 c2d8d7efcc4b: Waiting 07:57:34 27f5ce0e4adf: Waiting 07:57:34 f757da607395: Verifying Checksum 07:57:34 f757da607395: Download complete 07:57:34 8603b9c90790: Verifying Checksum 07:57:34 8603b9c90790: Download complete 07:57:35 1560dd03e051: Verifying Checksum 07:57:35 1560dd03e051: Download complete 07:57:35 27f5ce0e4adf: Verifying Checksum 07:57:35 27f5ce0e4adf: Download complete 07:57:35 05883995daec: Verifying Checksum 07:57:35 05883995daec: Download complete 07:57:35 448f6bf000e3: Verifying Checksum 07:57:35 448f6bf000e3: Download complete 07:57:38 c2d8d7efcc4b: Verifying Checksum 07:57:38 c2d8d7efcc4b: Download complete 07:57:39 448f6bf000e3: Pull complete 07:57:40 f757da607395: Pull complete 07:57:41 05883995daec: Pull complete 07:57:41 8603b9c90790: Pull complete 07:57:42 1560dd03e051: Pull complete 07:57:42 27f5ce0e4adf: Pull complete 07:57:57 c2d8d7efcc4b: Pull complete 07:57:57 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 07:57:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:57:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:57:58 prd-ubuntu18.04-docker-arm64-4c-16g-13402 does not seem to be running inside a container 07:57:58 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 07:58:00 $ docker top fb2f66a34f17acf676e4f5e7704382e5916574d39c037a0c5eaed6710dc6fae0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:01 ---> job-cost.sh 07:58:01 lf-activate-venv: SKIPPING 07:58:01 INFO: No Stack... 07:58:02 INFO: Retrieving Pricing Info for: v3-standard-4 07:58:02 INFO: Archiving Costs [Pipeline] sh 07:58:03 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 07:58:03 + cut -d, -f6 [Pipeline] lock 07:58:03 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] 07:58:03 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] did not exist. Created. 07:58:03 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:58:04 /w/workspace/device-snmp-go/2@tmp/durable-dbb396df/script.sh: 1: /w/workspace/device-snmp-go/2@tmp/durable-dbb396df/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:58:04 + echo total: 0.10999999940395355 [Pipeline] stash 07:58:04 Warning: overwriting stash ‘stack-cost’ 07:58:05 Stashed 1 file(s) [Pipeline] } 07:58:05 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:58:05 $ docker stop --time=1 fb2f66a34f17acf676e4f5e7704382e5916574d39c037a0c5eaed6710dc6fae0 07:58:06 $ docker rm -f fb2f66a34f17acf676e4f5e7704382e5916574d39c037a0c5eaed6710dc6fae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:58:07 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 07:58:08 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh 07:58:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:58:09 ---> package-listing.sh 07:58:09 ++ facter osfamily 07:58:09 ++ tr '[:upper:]' '[:lower:]' 07:58:09 + OS_FAMILY=redhat 07:58:09 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 07:58:09 + START_PACKAGES=/tmp/packages_start.txt 07:58:09 + END_PACKAGES=/tmp/packages_end.txt 07:58:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:58:09 + PACKAGES=/tmp/packages_start.txt 07:58:09 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 07:58:09 + PACKAGES=/tmp/packages_end.txt 07:58:09 + case "${OS_FAMILY}" in 07:58:09 + rpm -qa 07:58:09 + sort 07:58:10 + '[' -f /tmp/packages_start.txt ']' 07:58:10 + '[' -f /tmp/packages_end.txt ']' 07:58:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:58:10 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 07:58:10 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ 07:58:10 + 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 07:58:10 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 07:58:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:58:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:11 07:58:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:58:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:11 latest: Pulling from edgex-lftools-log-publisher 07:58:11 b4d181a07f80: Pulling fs layer 07:58:11 a1111a8f2ec3: Pulling fs layer 07:58:11 ed53099fbce6: Pulling fs layer 07:58:11 dc539afda2c1: Pulling fs layer 07:58:11 77bc0d833cb6: Pulling fs layer 07:58:11 9065ff56babe: Pulling fs layer 07:58:11 d287ab97295c: Pulling fs layer 07:58:11 dc539afda2c1: Waiting 07:58:11 77bc0d833cb6: Waiting 07:58:11 9065ff56babe: Waiting 07:58:11 d287ab97295c: Waiting 07:58:11 a1111a8f2ec3: Verifying Checksum 07:58:11 a1111a8f2ec3: Download complete 07:58:11 dc539afda2c1: Verifying Checksum 07:58:11 dc539afda2c1: Download complete 07:58:11 ed53099fbce6: Verifying Checksum 07:58:11 ed53099fbce6: Download complete 07:58:11 9065ff56babe: Verifying Checksum 07:58:11 9065ff56babe: Download complete 07:58:11 77bc0d833cb6: Verifying Checksum 07:58:11 77bc0d833cb6: Download complete 07:58:11 b4d181a07f80: Verifying Checksum 07:58:11 b4d181a07f80: Download complete 07:58:12 d287ab97295c: Verifying Checksum 07:58:12 d287ab97295c: Download complete 07:58:13 b4d181a07f80: Pull complete 07:58:13 a1111a8f2ec3: Pull complete 07:58:13 ed53099fbce6: Pull complete 07:58:13 dc539afda2c1: Pull complete 07:58:14 77bc0d833cb6: Pull complete 07:58:14 9065ff56babe: Pull complete 07:58:19 d287ab97295c: Pull complete 07:58:19 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:58:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:58:19 prd-centos7-docker-4c-2g-13400 does not seem to be running inside a container 07:58:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:58:21 $ docker top 8bc48de9ec281fb3023780e2208cc7c11b96795c817a163f15e318b137ba913b -eo pid,comm [Pipeline] { [Pipeline] sh 07:58:22 + touch /tmp/pre-build-complete [Pipeline] sh 07:58:22 + mkdir -p /var/log/sysstat [Pipeline] sh 07:58:22 + ls /var/log/sa-host 07:58:22 + sadf -c /var/log/sa-host/sa29 07:58:22 file_magic: OK 07:58:22 HZ: Using current value: 100 07:58:22 file_header: OK 07:58:22 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 07:58:22 Statistics: 07:58:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:58:22 File successfully converted to sysstat format version 12.0.3 07:58:22 + sadf -c /var/log/sa-host/sa30 07:58:22 file_magic: OK 07:58:22 HZ: Using current value: 100 07:58:22 file_header: OK 07:58:22 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 07:58:22 Statistics: 07:58:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:58:22 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:22 provisioning config files... 07:58:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config8474380578835351819tmp [Pipeline] { [Pipeline] echo 07:58:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:58:23 ---> create-netrc.sh [Pipeline] } 07:58:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:58:23 ---> python-tools-install.sh [Pipeline] echo 07:58:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:58:23 ---> sudo-logs.sh 07:58:23 Archiving 'sudo' log.. 07:58:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-13400.novalocal: Name or service not known 07:58:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-13400.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 07:58:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:58:24 ---> job-cost.sh 07:58:24 lf-activate-venv: SKIPPING 07:58:24 DEBUG: total: 0.10999999940395355 07:58:24 INFO: Retrieving Stack Cost... 07:58:24 INFO: Retrieving Pricing Info for: v3-standard-2 07:58:25 INFO: Archiving Costs [Pipeline] echo 07:58:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:58:25 ---> logs-deploy.sh 07:58:25 lf-activate-venv: SKIPPING 07:58:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/2 07:58:25 INFO: archiving workspace using pattern(s): 07:58:25 Archives upload complete. 07:58:26 INFO: archiving logs to Nexus