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 dd9a9d848815c925435f7fd8d2711bc0a2ea26eb 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-ssh1858140131253642179.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-ssh5575942352711353608.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-ssh2853520311063285207.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-ssh7080625974607112314.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-ssh4219837684053700802.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 ‘prd-centos7-docker-4c-2g-13407’ Running on prd-centos7-docker-4c-2g-13410 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-ssh8523340534994041585.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 dd9a9d848815c925435f7fd8d2711bc0a2ea26eb Merge succeeded, producing dd9a9d848815c925435f7fd8d2711bc0a2ea26eb Checking out Revision dd9a9d848815c925435f7fd8d2711bc0a2ea26eb (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-ssh8636208026968388952.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 dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # 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-ssh8598195998486973231.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 Commit message: "feat(snap): add initial snap packaging (part 4)" First time build. Skipping changelog. > git rev-list --no-walk 9a08a510461eaf59e40d51060415424e250a91d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:23:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:23:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:23:02 ========================================================= 11:23:02 EdgeX Global Pipelines Version Info 11:23:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:23:03 ------------------- 11:23:03 stable info: 11:23:03 ------------------- 11:23:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:23:03 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 11:23:03 Message: update stable to v1.0.210 11:23:04 ------------------- 11:23:04 experimental info: 11:23:04 ------------------- 11:23:04 Commited By: **** collab-it+edgex@linuxfoundation.org 11:23:04 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 11:23:04 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd9a9d848815c925435f7fd8d2711bc0a2ea26eb [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd9a9d8 [Pipeline] echo 11:23:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:23:04 provisioning config files... 11:23:04 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config7998939201176494091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:23:05 ---> docker-login.sh 11:23:05 nexus3.edgexfoundry.org:10001 11:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:05 Configure a credential helper to remove this warning. See 11:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:05 11:23:05 Login Succeeded 11:23:05 nexus3.edgexfoundry.org:10002 11:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:05 Configure a credential helper to remove this warning. See 11:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:05 11:23:05 Login Succeeded 11:23:05 nexus3.edgexfoundry.org:10003 11:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:05 Configure a credential helper to remove this warning. See 11:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:05 11:23:05 Login Succeeded 11:23:05 nexus3.edgexfoundry.org:10004 11:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:05 Configure a credential helper to remove this warning. See 11:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:05 11:23:05 Login Succeeded 11:23:05 docker.io 11:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:23:06 Configure a credential helper to remove this warning. See 11:23:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:23:06 11:23:06 Login Succeeded 11:23:06 ---> docker-login.sh ends [Pipeline] } 11:23:06 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 11:23:06 + git log --format=format:%s -1 dd9a9d848815c925435f7fd8d2711bc0a2ea26eb [Pipeline] echo 11:23:06 GIT_COMMIT: dd9a9d848815c925435f7fd8d2711bc0a2ea26eb, Commit Message: feat(snap): add initial snap packaging (part 4) [Pipeline] echo 11:23:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:23:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:23:07 11:23:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:23:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:23:07 latest: Pulling from edgex-devops/git-semver 11:23:07 a0d0a0d46f8b: Pulling fs layer 11:23:07 3e5f54012d9b: Pulling fs layer 11:23:07 4c7163046ea9: Pulling fs layer 11:23:07 0c2d73faf560: Pulling fs layer 11:23:07 0c2d73faf560: Waiting 11:23:07 3e5f54012d9b: Verifying Checksum 11:23:07 3e5f54012d9b: Download complete 11:23:07 a0d0a0d46f8b: Verifying Checksum 11:23:07 a0d0a0d46f8b: Download complete 11:23:07 4c7163046ea9: Verifying Checksum 11:23:07 4c7163046ea9: Download complete 11:23:07 0c2d73faf560: Verifying Checksum 11:23:07 0c2d73faf560: Download complete 11:23:07 a0d0a0d46f8b: Pull complete 11:23:07 3e5f54012d9b: Pull complete 11:23:07 4c7163046ea9: Pull complete 11:23:08 0c2d73faf560: Pull complete 11:23:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:23:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:23:08 prd-centos7-docker-4c-2g-13410 does not seem to be running inside a container 11:23:07 $ 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 11:23:08 $ docker top e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:23:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:23:08 [ssh-agent] Looking for ssh-agent implementation... 11:23:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:23:08 $ docker exec e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 ssh-agent 11:23:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaECpHN/agent.14 11:23:09 SSH_AGENT_PID=21 11:23:09 Running ssh-add (command line suppressed) 11:23:08 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_4683413827049762863.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_4683413827049762863.key) 11:23:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:23:09 + git tag --points-at HEAD [Pipeline] } 11:23:09 $ docker exec --env ******** --env ******** e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 ssh-agent -k 11:23:09 unset SSH_AUTH_SOCK; 11:23:09 unset SSH_AGENT_PID; 11:23:09 echo Agent pid 21 killed; 11:23:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:23:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:23:09 [ssh-agent] Looking for ssh-agent implementation... 11:23:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:23:09 $ docker exec e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 ssh-agent 11:23:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpMBcNA/agent.54 11:23:09 SSH_AGENT_PID=61 11:23:09 Running ssh-add (command line suppressed) 11:23:09 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_5734134621121149346.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_5734134621121149346.key) 11:23:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:23:10 + git semver init 11:23:10 # -> Open(): unable to determine branch for HEAD 11:23:10 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git 11:23:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 11:23:10 # $SEMVER_REMOTE_NAME = origin 11:23:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:23:10 # $SEMVER_USER_NAME = edgex-jenkins 11:23:10 # $SEMVER_BRANCH = PR-127 11:23:10 # $SEMVER_TEMP = /tmp/semver-929323481 11:23:10 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 11:23:10 # '/tmp/semver-929323481' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' 11:23:10 # -> Force: false 11:23:10 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } 11:23:10 $ docker exec --env ******** --env ******** e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 ssh-agent -k 11:23:10 unset SSH_AUTH_SOCK; 11:23:10 unset SSH_AGENT_PID; 11:23:10 echo Agent pid 61 killed; 11:23:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:23:11 + git semver [Pipeline] } 11:23:11 $ docker stop --time=1 e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 11:23:12 $ docker rm -f e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 [Pipeline] // withDockerContainer [Pipeline] sh 11:23:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:23:12 Stashed 1 file(s) [Pipeline] echo 11:23:12 [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 11:23:28 Still waiting to schedule task 11:23:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 11:23:28 Still waiting to schedule task 11:23:28 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13408’ is offline 11:24:14 Running on prd-centos7-docker-4c-2g-13412 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 11:24:14 Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout 11:24:14 Selected Git installation does not exist. Using Default 11:24:14 The recommended git tool is: NONE 11:24:16 using credential edgex-jenkins-ssh 11:24:16 Cloning the remote Git repository 11:24:16 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 11:24:16 > git init /w/workspace/device-snmp-go/4 # timeout=10 11:24:16 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:24:16 > git --version # timeout=10 11:24:16 > git --version # 'git version 2.24.4' 11:24:16 using GIT_SSH to set credentials SSH Credentials for GitHub 11:24:16 [INFO] Currently running in a labeled security context 11:24:16 [INFO] Currently SELinux is 'enforcing' on the host 11:24:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/4@tmp/jenkins-gitclient-ssh1338486391476448610.key 11:24:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:24:17 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit dd9a9d848815c925435f7fd8d2711bc0a2ea26eb 11:24:17 Merge succeeded, producing dd9a9d848815c925435f7fd8d2711bc0a2ea26eb 11:24:17 Checking out Revision dd9a9d848815c925435f7fd8d2711bc0a2ea26eb (PR-127) 11:24:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:24:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:24:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:24:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:24:17 using GIT_SSH to set credentials SSH Credentials for GitHub 11:24:17 [INFO] Currently running in a labeled security context 11:24:17 [INFO] Currently SELinux is 'enforcing' on the host 11:24:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/4@tmp/jenkins-gitclient-ssh8592010540368393378.key 11:24:17 > 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 11:24:17 > git config core.sparsecheckout # timeout=10 11:24:17 > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 11:24:17 > git remote # timeout=10 11:24:17 > git config --get remote.origin.url # timeout=10 11:24:17 using GIT_SSH to set credentials SSH Credentials for GitHub 11:24:17 [INFO] Currently running in a labeled security context 11:24:17 [INFO] Currently SELinux is 'enforcing' on the host 11:24:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/4@tmp/jenkins-gitclient-ssh6122103225265728666.key 11:24:17 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 11:24:17 > git rev-parse HEAD^{commit} # timeout=10 11:24:17 > git config core.sparsecheckout # timeout=10 11:24:17 > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 11:24:21 Commit message: "feat(snap): add initial snap packaging (part 4)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:24:21 provisioning config files... 11:24:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config6329557452403098381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:24:22 ---> docker-login.sh 11:24:22 nexus3.edgexfoundry.org:10001 11:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:24:22 Configure a credential helper to remove this warning. See 11:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:24:22 11:24:22 Login Succeeded 11:24:22 nexus3.edgexfoundry.org:10002 11:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:24:22 Configure a credential helper to remove this warning. See 11:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:24:22 11:24:22 Login Succeeded 11:24:22 nexus3.edgexfoundry.org:10003 11:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:24:22 Configure a credential helper to remove this warning. See 11:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:24:22 11:24:22 Login Succeeded 11:24:22 nexus3.edgexfoundry.org:10004 11:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:24:22 Configure a credential helper to remove this warning. See 11:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:24:22 11:24:22 Login Succeeded 11:24:22 docker.io 11:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:24:23 Configure a credential helper to remove this warning. See 11:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:24:23 11:24:23 Login Succeeded 11:24:23 ---> docker-login.sh ends [Pipeline] } 11:24:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:24:23 ========================================================= 11:24:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:24:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:24:23 + 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 . 11:24:23 Sending build context to Docker daemon 487.9kB 11:24:23 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:24:23 Step 2/11 : FROM ${BASE} AS builder 11:24:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:24:23 a0d0a0d46f8b: Pulling fs layer 11:24:23 31adcdaf11c8: Pulling fs layer 11:24:23 b8b176561691: Pulling fs layer 11:24:23 4527c011a84f: Pulling fs layer 11:24:23 5d74067f8e1e: Pulling fs layer 11:24:23 e0aca202a116: Pulling fs layer 11:24:23 3a43be97a3b4: Pulling fs layer 11:24:23 34cad66bf833: Pulling fs layer 11:24:23 b4e3c513aaa6: Pulling fs layer 11:24:23 4527c011a84f: Waiting 11:24:23 5d74067f8e1e: Waiting 11:24:23 e0aca202a116: Waiting 11:24:23 3a43be97a3b4: Waiting 11:24:23 34cad66bf833: Waiting 11:24:23 b4e3c513aaa6: Waiting 11:24:23 b8b176561691: Download complete 11:24:23 31adcdaf11c8: Verifying Checksum 11:24:23 31adcdaf11c8: Download complete 11:24:23 5d74067f8e1e: Verifying Checksum 11:24:23 5d74067f8e1e: Download complete 11:24:23 e0aca202a116: Verifying Checksum 11:24:23 e0aca202a116: Download complete 11:24:23 a0d0a0d46f8b: Verifying Checksum 11:24:23 a0d0a0d46f8b: Download complete 11:24:23 3a43be97a3b4: Verifying Checksum 11:24:23 3a43be97a3b4: Download complete 11:24:23 34cad66bf833: Verifying Checksum 11:24:23 34cad66bf833: Download complete 11:24:24 4527c011a84f: Verifying Checksum 11:24:24 4527c011a84f: Download complete 11:24:24 b4e3c513aaa6: Verifying Checksum 11:24:24 b4e3c513aaa6: Download complete 11:24:24 a0d0a0d46f8b: Pull complete 11:24:24 31adcdaf11c8: Pull complete 11:24:24 b8b176561691: Pull complete 11:24:28 4527c011a84f: Pull complete 11:24:28 5d74067f8e1e: Pull complete 11:24:28 e0aca202a116: Pull complete 11:24:28 3a43be97a3b4: Pull complete 11:24:28 34cad66bf833: Pull complete 11:24:30 b4e3c513aaa6: Pull complete 11:24:30 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 11:24:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:24:30 ---> 9f6097aaca64 11:24:30 Step 3/11 : ARG MAKE='make build' 11:24:33 ---> Running in 09575dd177c8 11:24:34 Removing intermediate container 09575dd177c8 11:24:34 ---> 0a9fe6223ab3 11:24:34 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:24:34 ---> Running in 35e04da806e1 11:24:34 Removing intermediate container 35e04da806e1 11:24:34 ---> 45af777759e8 11:24:34 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 11:24:34 ---> Running in a22287fd6052 11:24:34 Removing intermediate container a22287fd6052 11:24:34 ---> b3f096c83c96 11:24:34 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:24:34 ---> Running in db2f51e28843 11:24:35 Removing intermediate container db2f51e28843 11:24:35 ---> 1b1409b01532 11:24:35 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:24:35 ---> Running in 3563cc012bc4 11:24:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:24:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:24:36 (1/4) Installing openssh-keygen (8.6_p1-r3) 11:24:36 (2/4) Installing libedit (20210216.3.1-r0) 11:24:36 (3/4) Installing openssh-client-common (8.6_p1-r3) 11:24:36 (4/4) Installing openssh-client-default (8.6_p1-r3) 11:24:36 Executing busybox-1.33.1-r3.trigger 11:24:36 OK: 224 MiB in 56 packages 11:24:37 Removing intermediate container 3563cc012bc4 11:24:37 ---> 6190e45633dc 11:24:37 Step 8/11 : WORKDIR /device-snmp-go 11:24:37 ---> Running in 841501e2156b 11:24:37 Removing intermediate container 841501e2156b 11:24:37 ---> 2fce3a461da6 11:24:37 Step 9/11 : COPY . . 11:24:37 ---> eb17e6c206e1 11:24:37 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:24:37 ---> Running in b8fc4dbf3bb7 11:24:52 Removing intermediate container b8fc4dbf3bb7 11:24:52 ---> 64feae14ec5e 11:24:52 Step 11/11 : RUN ${MAKE} 11:24:52 ---> Running in 5404aeb8211e 11:24:52 noop 11:24:52 Removing intermediate container 5404aeb8211e 11:24:52 ---> 6d066f3d5e9c 11:24:52 Successfully built 6d066f3d5e9c 11:24:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:24:52 + docker inspect -f . ci-base-image-x86_64 11:24:52 . [Pipeline] withDockerContainer 11:24:52 prd-centos7-docker-4c-2g-13412 does not seem to be running inside a container 11:24:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** ci-base-image-x86_64 cat 11:24:53 $ docker top c03191d254bd9f9558e5d50f11605f486d12b47f0b8385c008f901e01a3b666f -eo pid,comm [Pipeline] { [Pipeline] sh 11:24:53 + go version 11:24:53 go version go1.16.8 linux/amd64 [Pipeline] } 11:24:53 $ docker stop --time=1 c03191d254bd9f9558e5d50f11605f486d12b47f0b8385c008f901e01a3b666f 11:24:54 $ docker rm -f c03191d254bd9f9558e5d50f11605f486d12b47f0b8385c008f901e01a3b666f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:24:55 + docker inspect -f . ci-base-image-x86_64 11:24:55 . [Pipeline] withDockerContainer 11:24:55 prd-centos7-docker-4c-2g-13412 does not seem to be running inside a container 11:24:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** ci-base-image-x86_64 cat 11:24:55 $ docker top bb4a1262d44c9d61f69cd8795113821cdcb172dc691c2a0037694d9fc6ad84ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:24:56 + make test 11:24:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:24:56 /go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.3.5/netconn.go:26:2: missing go.sum entry for module providing package golang.org/x/net/proxy (imported by github.com/eclipse/paho.mqtt.golang); to add: 11:24:56 go get github.com/eclipse/paho.mqtt.golang@v1.3.5 11:24:56 /go/pkg/mod/github.com/go-playground/validator/v10@v10.6.1/baked_in.go:21:2: missing go.sum entry for module providing package golang.org/x/text/language (imported by github.com/go-playground/validator/v10); to add: 11:24:56 go get github.com/go-playground/validator/v10@v10.6.1 11:24:56 make: *** [Makefile:26: test] Error 1 [Pipeline] } 11:24:56 $ docker stop --time=1 bb4a1262d44c9d61f69cd8795113821cdcb172dc691c2a0037694d9fc6ad84ec 11:24:57 $ docker rm -f bb4a1262d44c9d61f69cd8795113821cdcb172dc691c2a0037694d9fc6ad84ec [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 11:24:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:24:58 11:24:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:24:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:24:58 latest: Pulling from edgex-lftools-log-publisher 11:24:58 b4d181a07f80: Pulling fs layer 11:24:58 a1111a8f2ec3: Pulling fs layer 11:24:58 ed53099fbce6: Pulling fs layer 11:24:58 dc539afda2c1: Pulling fs layer 11:24:58 77bc0d833cb6: Pulling fs layer 11:24:58 9065ff56babe: Pulling fs layer 11:24:58 d287ab97295c: Pulling fs layer 11:24:58 dc539afda2c1: Waiting 11:24:58 77bc0d833cb6: Waiting 11:24:58 9065ff56babe: Waiting 11:24:58 d287ab97295c: Waiting 11:24:58 a1111a8f2ec3: Verifying Checksum 11:24:58 a1111a8f2ec3: Download complete 11:24:58 dc539afda2c1: Verifying Checksum 11:24:58 dc539afda2c1: Download complete 11:24:58 ed53099fbce6: Verifying Checksum 11:24:58 ed53099fbce6: Download complete 11:24:58 9065ff56babe: Verifying Checksum 11:24:58 9065ff56babe: Download complete 11:24:58 77bc0d833cb6: Verifying Checksum 11:24:58 77bc0d833cb6: Download complete 11:24:58 b4d181a07f80: Verifying Checksum 11:24:58 b4d181a07f80: Download complete 11:24:59 d287ab97295c: Verifying Checksum 11:24:59 d287ab97295c: Download complete 11:25:00 b4d181a07f80: Pull complete 11:25:00 a1111a8f2ec3: Pull complete 11:25:01 ed53099fbce6: Pull complete 11:25:01 dc539afda2c1: Pull complete 11:25:01 77bc0d833cb6: Pull complete 11:25:01 9065ff56babe: Pull complete 11:25:06 d287ab97295c: Pull complete 11:25:06 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:25:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:25:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:25:06 prd-centos7-docker-4c-2g-13412 does not seem to be running inside a container 11:25:06 $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:25:09 $ docker top 3ebba768a0b10db2d71a4880a6692f6e61ec05df89d8188b2b3eb94d97575456 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:25:09 ---> job-cost.sh 11:25:09 lf-activate-venv: SKIPPING 11:25:09 INFO: No Stack... 11:25:09 INFO: Retrieving Pricing Info for: v3-standard-2 11:25:09 INFO: Archiving Costs [Pipeline] sh 11:25:10 + cat /w/workspace/device-snmp-go/4/archives/cost.csv 11:25:10 + cut -d, -f6 [Pipeline] lock 11:25:10 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] 11:25:10 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] did not exist. Created. 11:25:10 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:25:10 + echo total: 0.05999999865889549 [Pipeline] stash 11:25:10 Stashed 1 file(s) [Pipeline] } 11:25:10 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:25:10 $ docker stop --time=1 3ebba768a0b10db2d71a4880a6692f6e61ec05df89d8188b2b3eb94d97575456 11:25:11 $ docker rm -f 3ebba768a0b10db2d71a4880a6692f6e61ec05df89d8188b2b3eb94d97575456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:25:12 Failed in branch amd64 11:25:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13411 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 11:25:12 Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout 11:25:12 Selected Git installation does not exist. Using Default 11:25:12 The recommended git tool is: NONE 11:25:17 using credential edgex-jenkins-ssh 11:25:17 Cloning the remote Git repository 11:25:17 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 11:25:17 > git init /w/workspace/device-snmp-go/4 # timeout=10 11:25:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:25:17 > git --version # timeout=10 11:25:17 > git --version # 'git version 2.17.1' 11:25:17 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:25:19 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit dd9a9d848815c925435f7fd8d2711bc0a2ea26eb 11:25:19 Merge succeeded, producing dd9a9d848815c925435f7fd8d2711bc0a2ea26eb 11:25:19 Checking out Revision dd9a9d848815c925435f7fd8d2711bc0a2ea26eb (PR-127) 11:25:18 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:25:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:25:18 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:25:18 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:25:18 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:18 > 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 11:25:19 > git config core.sparsecheckout # timeout=10 11:25:19 > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 11:25:19 > git remote # timeout=10 11:25:19 > git config --get remote.origin.url # timeout=10 11:25:19 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:19 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 11:25:19 > git rev-parse HEAD^{commit} # timeout=10 11:25:19 > git config core.sparsecheckout # timeout=10 11:25:19 > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 11:25:23 Commit message: "feat(snap): add initial snap packaging (part 4)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:25:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:25:24 % Total % Received % Xferd Average Speed Time Time Time Current 11:25:24 Dload Upload Total Spent Left Speed 11:25:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 90259 0 --:--:-- --:--:-- --:--:-- 90259 [Pipeline] sh 11:25:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:25:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:25:25 + sudo tee /etc/docker/daemon.new 11:25:25 { 11:25:25 "registry-mirrors": [ 11:25:25 "https://nexus3.edgexfoundry.org:10001" 11:25:25 ], 11:25:25 "bip": "10.250.0.254/24", 11:25:25 "hosts": [ 11:25:25 "tcp://0.0.0.0:5555", 11:25:25 "unix:///var/run/docker.sock" 11:25:25 ], 11:25:25 "mtu": 1458, 11:25:25 "selinux-enabled": true, 11:25:25 "seccomp-profile": "/etc/docker/seccomp.json" 11:25:25 } [Pipeline] sh 11:25:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:25:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:25:44 provisioning config files... 11:25:44 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config6042010917568290917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:25:44 ---> docker-login.sh 11:25:44 nexus3.edgexfoundry.org:10001 11:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:46 Configure a credential helper to remove this warning. See 11:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:46 11:25:46 Login Succeeded 11:25:46 nexus3.edgexfoundry.org:10002 11:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:46 Configure a credential helper to remove this warning. See 11:25:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:46 11:25:46 Login Succeeded 11:25:46 nexus3.edgexfoundry.org:10003 11:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:47 Configure a credential helper to remove this warning. See 11:25:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:47 11:25:47 Login Succeeded 11:25:47 nexus3.edgexfoundry.org:10004 11:25:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:47 Configure a credential helper to remove this warning. See 11:25:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:47 11:25:47 Login Succeeded 11:25:47 docker.io 11:25:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:25:48 Configure a credential helper to remove this warning. See 11:25:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:25:48 11:25:48 Login Succeeded 11:25:48 ---> docker-login.sh ends [Pipeline] } 11:25:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:25:49 ========================================================= 11:25:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:25:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:25:49 + 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 . 11:25:50 Sending build context to Docker daemon 486.9kB 11:25:50 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:25:50 Step 2/11 : FROM ${BASE} AS builder 11:25:50 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:25:50 552d1f2373af: Pulling fs layer 11:25:50 ea3f2d53f512: Pulling fs layer 11:25:50 9e70ebbbe112: Pulling fs layer 11:25:50 7a9cfe048b4a: Pulling fs layer 11:25:50 72dc09318566: Pulling fs layer 11:25:50 f4f7b4309257: Pulling fs layer 11:25:50 0ac9a79272e3: Pulling fs layer 11:25:50 b78e95d17946: Pulling fs layer 11:25:50 f4f7b4309257: Waiting 11:25:50 0ac9a79272e3: Waiting 11:25:50 b78e95d17946: Waiting 11:25:50 72dc09318566: Waiting 11:25:50 7a9cfe048b4a: Waiting 11:25:50 9e70ebbbe112: Verifying Checksum 11:25:50 9e70ebbbe112: Download complete 11:25:50 ea3f2d53f512: Verifying Checksum 11:25:50 ea3f2d53f512: Download complete 11:25:50 72dc09318566: Verifying Checksum 11:25:50 72dc09318566: Download complete 11:25:50 f4f7b4309257: Verifying Checksum 11:25:50 f4f7b4309257: Download complete 11:25:50 552d1f2373af: Verifying Checksum 11:25:50 552d1f2373af: Download complete 11:25:50 0ac9a79272e3: Verifying Checksum 11:25:50 0ac9a79272e3: Download complete 11:25:51 552d1f2373af: Pull complete 11:25:51 ea3f2d53f512: Pull complete 11:25:52 9e70ebbbe112: Pull complete 11:25:52 b78e95d17946: Verifying Checksum 11:25:52 b78e95d17946: Download complete 11:25:52 7a9cfe048b4a: Verifying Checksum 11:25:52 7a9cfe048b4a: Download complete 11:26:03 7a9cfe048b4a: Pull complete 11:26:03 72dc09318566: Pull complete 11:26:03 f4f7b4309257: Pull complete 11:26:03 0ac9a79272e3: Pull complete 11:26:10 b78e95d17946: Pull complete 11:26:10 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 11:26:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:26:10 ---> 8b459fc5aaf0 11:26:10 Step 3/11 : ARG MAKE='make build' 11:26:12 ---> Running in 0abe75f8637e 11:26:12 Removing intermediate container 0abe75f8637e 11:26:12 ---> 85e6aae7a729 11:26:12 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:26:12 ---> Running in 64a6793fbb77 11:26:12 Removing intermediate container 64a6793fbb77 11:26:12 ---> 3252442c10c8 11:26:12 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 11:26:12 ---> Running in 8b8977faf3bd 11:26:13 Removing intermediate container 8b8977faf3bd 11:26:13 ---> 1e026b61d74d 11:26:13 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:26:13 ---> Running in 39779d2455f4 11:26:16 Removing intermediate container 39779d2455f4 11:26:16 ---> 140bb1821da2 11:26:16 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:26:16 ---> Running in 5cfa862298b7 11:26:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:26:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:26:18 (1/4) Installing openssh-keygen (8.6_p1-r3) 11:26:19 (2/4) Installing libedit (20210216.3.1-r0) 11:26:19 (3/4) Installing openssh-client-common (8.6_p1-r3) 11:26:19 (4/4) Installing openssh-client-default (8.6_p1-r3) 11:26:19 Executing busybox-1.33.1-r3.trigger 11:26:19 OK: 223 MiB in 56 packages 11:26:20 Removing intermediate container 5cfa862298b7 11:26:20 ---> e391327cd7ab 11:26:20 Step 8/11 : WORKDIR /device-snmp-go 11:26:20 ---> Running in 20cb7373ae79 11:26:21 Removing intermediate container 20cb7373ae79 11:26:21 ---> 134bcc93cc8c 11:26:21 Step 9/11 : COPY . . 11:26:22 ---> 54cc559e1d32 11:26:22 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:26:22 ---> Running in 905a6e7b92f2 11:26:49 Removing intermediate container 905a6e7b92f2 11:26:49 ---> a2c2ed52c0b6 11:26:49 Step 11/11 : RUN ${MAKE} 11:26:49 ---> Running in f38e3f279048 11:26:49 noop 11:26:49 Removing intermediate container f38e3f279048 11:26:49 ---> 4cd9a0c3d38d 11:26:49 Successfully built 4cd9a0c3d38d 11:26:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:26:49 + docker inspect -f . ci-base-image-arm64 11:26:49 . [Pipeline] withDockerContainer 11:26:49 prd-ubuntu18.04-docker-arm64-4c-16g-13411 does not seem to be running inside a container 11:26:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 11:26:51 $ docker top 61967ca01ee3ea006be856fc24c4a8de39b4d93f110ab2849b35a42b2b10a817 -eo pid,comm [Pipeline] { [Pipeline] sh 11:26:52 + go version 11:26:52 go version go1.16.8 linux/arm64 [Pipeline] } 11:26:52 $ docker stop --time=1 61967ca01ee3ea006be856fc24c4a8de39b4d93f110ab2849b35a42b2b10a817 11:26:54 $ docker rm -f 61967ca01ee3ea006be856fc24c4a8de39b4d93f110ab2849b35a42b2b10a817 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:26:54 + docker inspect -f . ci-base-image-arm64 11:26:54 . [Pipeline] withDockerContainer 11:26:55 prd-ubuntu18.04-docker-arm64-4c-16g-13411 does not seem to be running inside a container 11:26:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 11:26:56 $ docker top 453729a6e514dd4223455433fc2fe774dc3fc2ac69cd755b67c97483dba9a668 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:26:57 + make test 11:26:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:26:58 /go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.3.5/netconn.go:26:2: missing go.sum entry for module providing package golang.org/x/net/proxy (imported by github.com/eclipse/paho.mqtt.golang); to add: 11:26:58 go get github.com/eclipse/paho.mqtt.golang@v1.3.5 11:26:58 /go/pkg/mod/github.com/go-playground/validator/v10@v10.6.1/baked_in.go:21:2: missing go.sum entry for module providing package golang.org/x/text/language (imported by github.com/go-playground/validator/v10); to add: 11:26:58 go get github.com/go-playground/validator/v10@v10.6.1 11:26:58 make: *** [Makefile:26: test] Error 1 [Pipeline] } 11:26:58 $ docker stop --time=1 453729a6e514dd4223455433fc2fe774dc3fc2ac69cd755b67c97483dba9a668 11:27:00 $ docker rm -f 453729a6e514dd4223455433fc2fe774dc3fc2ac69cd755b67c97483dba9a668 [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 11:27:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:00 11:27:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:27:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:01 arm64: Pulling from edgex-lftools-log-publisher 11:27:01 448f6bf000e3: Pulling fs layer 11:27:01 f757da607395: Pulling fs layer 11:27:01 05883995daec: Pulling fs layer 11:27:01 8603b9c90790: Pulling fs layer 11:27:01 1560dd03e051: Pulling fs layer 11:27:01 27f5ce0e4adf: Pulling fs layer 11:27:01 c2d8d7efcc4b: Pulling fs layer 11:27:01 1560dd03e051: Waiting 11:27:01 27f5ce0e4adf: Waiting 11:27:01 8603b9c90790: Waiting 11:27:01 c2d8d7efcc4b: Waiting 11:27:01 f757da607395: Verifying Checksum 11:27:01 f757da607395: Download complete 11:27:01 8603b9c90790: Verifying Checksum 11:27:01 8603b9c90790: Download complete 11:27:01 1560dd03e051: Verifying Checksum 11:27:01 1560dd03e051: Download complete 11:27:01 27f5ce0e4adf: Verifying Checksum 11:27:01 27f5ce0e4adf: Download complete 11:27:01 05883995daec: Verifying Checksum 11:27:01 05883995daec: Download complete 11:27:02 448f6bf000e3: Download complete 11:27:04 c2d8d7efcc4b: Verifying Checksum 11:27:04 c2d8d7efcc4b: Download complete 11:27:05 448f6bf000e3: Pull complete 11:27:06 f757da607395: Pull complete 11:27:07 05883995daec: Pull complete 11:27:07 8603b9c90790: Pull complete 11:27:08 1560dd03e051: Pull complete 11:27:09 27f5ce0e4adf: Pull complete 11:27:24 c2d8d7efcc4b: Pull complete 11:27:24 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 11:27:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:27:24 prd-ubuntu18.04-docker-arm64-4c-16g-13411 does not seem to be running inside a container 11:27:24 $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 11:27:27 $ docker top bc262c07998c4d9028c50de289804d1f66d39d052198d83cf58381d0b2957dab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:27:28 ---> job-cost.sh 11:27:28 lf-activate-venv: SKIPPING 11:27:28 INFO: No Stack... 11:27:28 INFO: Retrieving Pricing Info for: v3-standard-4 11:27:29 INFO: Archiving Costs [Pipeline] sh 11:27:30 + cut -d, -f6 11:27:30 + cat /w/workspace/device-snmp-go/4/archives/cost.csv [Pipeline] lock 11:27:30 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] 11:27:30 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] did not exist. Created. 11:27:30 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:27:30 /w/workspace/device-snmp-go/4@tmp/durable-967a4955/script.sh: 1: /w/workspace/device-snmp-go/4@tmp/durable-967a4955/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:27:31 + echo total: 0.10999999940395355 [Pipeline] stash 11:27:31 Warning: overwriting stash ‘stack-cost’ 11:27:31 Stashed 1 file(s) [Pipeline] } 11:27:31 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:27:31 $ docker stop --time=1 bc262c07998c4d9028c50de289804d1f66d39d052198d83cf58381d0b2957dab 11:27:33 $ docker rm -f bc262c07998c4d9028c50de289804d1f66d39d052198d83cf58381d0b2957dab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:27:34 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 11:27:35 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh 11:27:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:27:36 ---> package-listing.sh 11:27:36 ++ facter osfamily 11:27:36 ++ tr '[:upper:]' '[:lower:]' 11:27:36 + OS_FAMILY=redhat 11:27:36 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 11:27:36 + START_PACKAGES=/tmp/packages_start.txt 11:27:36 + END_PACKAGES=/tmp/packages_end.txt 11:27:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:27:36 + PACKAGES=/tmp/packages_start.txt 11:27:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 11:27:36 + PACKAGES=/tmp/packages_end.txt 11:27:36 + case "${OS_FAMILY}" in 11:27:36 + sort 11:27:36 + rpm -qa 11:27:36 + '[' -f /tmp/packages_start.txt ']' 11:27:36 + '[' -f /tmp/packages_end.txt ']' 11:27:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:27:36 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 11:27:36 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ 11:27:36 + 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 11:27:36 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 11:27:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:27:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:27:37 11:27:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:27:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:27:38 latest: Pulling from edgex-lftools-log-publisher 11:27:38 b4d181a07f80: Pulling fs layer 11:27:38 a1111a8f2ec3: Pulling fs layer 11:27:38 ed53099fbce6: Pulling fs layer 11:27:38 dc539afda2c1: Pulling fs layer 11:27:38 77bc0d833cb6: Pulling fs layer 11:27:38 9065ff56babe: Pulling fs layer 11:27:38 d287ab97295c: Pulling fs layer 11:27:38 77bc0d833cb6: Waiting 11:27:38 9065ff56babe: Waiting 11:27:38 d287ab97295c: Waiting 11:27:38 dc539afda2c1: Waiting 11:27:38 a1111a8f2ec3: Verifying Checksum 11:27:38 a1111a8f2ec3: Download complete 11:27:38 dc539afda2c1: Verifying Checksum 11:27:38 dc539afda2c1: Download complete 11:27:38 ed53099fbce6: Download complete 11:27:38 9065ff56babe: Verifying Checksum 11:27:38 9065ff56babe: Download complete 11:27:38 77bc0d833cb6: Verifying Checksum 11:27:38 77bc0d833cb6: Download complete 11:27:38 b4d181a07f80: Verifying Checksum 11:27:38 b4d181a07f80: Download complete 11:27:38 d287ab97295c: Verifying Checksum 11:27:38 d287ab97295c: Download complete 11:27:39 b4d181a07f80: Pull complete 11:27:39 a1111a8f2ec3: Pull complete 11:27:40 ed53099fbce6: Pull complete 11:27:40 dc539afda2c1: Pull complete 11:27:40 77bc0d833cb6: Pull complete 11:27:41 9065ff56babe: Pull complete 11:27:46 d287ab97295c: Pull complete 11:27:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:27:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:27:46 prd-centos7-docker-4c-2g-13410 does not seem to be running inside a container 11:27:46 $ 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 11:27:48 $ docker top 5a988903561eca0e69e618f5b9a12f82772d0613207b174a9b8c31d6d64104e0 -eo pid,comm [Pipeline] { [Pipeline] sh 11:27:48 + touch /tmp/pre-build-complete [Pipeline] sh 11:27:49 + mkdir -p /var/log/sysstat [Pipeline] sh 11:27:49 + ls /var/log/sa-host 11:27:49 + sadf -c /var/log/sa-host/sa29 11:27:49 file_magic: OK 11:27:49 HZ: Using current value: 100 11:27:49 file_header: OK 11:27:49 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 11:27:49 Statistics: 11:27:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:27:49 File successfully converted to sysstat format version 12.0.3 11:27:49 + sadf -c /var/log/sa-host/sa30 11:27:49 file_magic: OK 11:27:49 HZ: Using current value: 100 11:27:49 file_header: OK 11:27:49 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 11:27:49 Statistics: 11:27:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:27:49 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:27:49 provisioning config files... 11:27:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config4406488177245423461tmp [Pipeline] { [Pipeline] echo 11:27:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:27:49 ---> create-netrc.sh [Pipeline] } 11:27:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:27:50 ---> python-tools-install.sh [Pipeline] echo 11:27:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:27:50 ---> sudo-logs.sh 11:27:50 Archiving 'sudo' log.. 11:27:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-13410.novalocal: Name or service not known 11:27:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-13410.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 11:27:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:27:51 ---> job-cost.sh 11:27:51 lf-activate-venv: SKIPPING 11:27:51 DEBUG: total: 0.10999999940395355 11:27:51 INFO: Retrieving Stack Cost... 11:27:52 INFO: Retrieving Pricing Info for: v3-standard-2 11:27:52 INFO: Archiving Costs [Pipeline] echo 11:27:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:27:52 ---> logs-deploy.sh 11:27:52 lf-activate-venv: SKIPPING 11:27:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/4 11:27:52 INFO: archiving workspace using pattern(s): 11:27:53 Archives upload complete. 11:27:53 INFO: archiving logs to Nexus