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 7aee666eab3f285687e6584be5e0596df2918f72 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-ssh5728399664659063432.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-ssh4018519251891945723.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-ssh6107506075862917322.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-ssh2601740297666460879.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-ssh4091714367726807387.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-13435 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-ssh2415111228224221655.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 7aee666eab3f285687e6584be5e0596df2918f72 Merge succeeded, producing 7aee666eab3f285687e6584be5e0596df2918f72 Checking out Revision 7aee666eab3f285687e6584be5e0596df2918f72 (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-ssh1572795792151476982.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 7aee666eab3f285687e6584be5e0596df2918f72 # 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-ssh8427877904207518118.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7aee666eab3f285687e6584be5e0596df2918f72 # timeout=10 Commit message: "fix(snap): update device-snmp parts in snapcraft.yaml" > git rev-list --no-walk 2281fc392d3f53691ecf65da3d547b33d6bb6472 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:32:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:32:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:32:38 ========================================================= 16:32:38 EdgeX Global Pipelines Version Info 16:32:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:32:39 ------------------- 16:32:39 stable info: 16:32:39 ------------------- 16:32:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:32:39 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 16:32:39 Message: update stable to v1.0.210 16:32:40 ------------------- 16:32:40 experimental info: 16:32:40 ------------------- 16:32:40 Commited By: **** collab-it+edgex@linuxfoundation.org 16:32:40 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 16:32:40 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7aee666eab3f285687e6584be5e0596df2918f72 [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7aee666 [Pipeline] echo 16:32:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:40 provisioning config files... 16:32:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config1246183355682662085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:40 ---> docker-login.sh 16:32:40 nexus3.edgexfoundry.org:10001 16:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:40 Configure a credential helper to remove this warning. See 16:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:40 16:32:40 Login Succeeded 16:32:40 nexus3.edgexfoundry.org:10002 16:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:41 Configure a credential helper to remove this warning. See 16:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:41 16:32:41 Login Succeeded 16:32:41 nexus3.edgexfoundry.org:10003 16:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:41 Configure a credential helper to remove this warning. See 16:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:41 16:32:41 Login Succeeded 16:32:41 nexus3.edgexfoundry.org:10004 16:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:41 Configure a credential helper to remove this warning. See 16:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:41 16:32:41 Login Succeeded 16:32:41 docker.io 16:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:41 Configure a credential helper to remove this warning. See 16:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:41 16:32:41 Login Succeeded 16:32:41 ---> docker-login.sh ends [Pipeline] } 16:32:41 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 16:32:42 + git log --format=format:%s -1 7aee666eab3f285687e6584be5e0596df2918f72 [Pipeline] echo 16:32:42 GIT_COMMIT: 7aee666eab3f285687e6584be5e0596df2918f72, Commit Message: fix(snap): update device-snmp parts in snapcraft.yaml [Pipeline] echo 16:32:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:32:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:42 16:32:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:32:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:42 latest: Pulling from edgex-devops/git-semver 16:32:42 a0d0a0d46f8b: Pulling fs layer 16:32:42 3e5f54012d9b: Pulling fs layer 16:32:42 4c7163046ea9: Pulling fs layer 16:32:42 0c2d73faf560: Pulling fs layer 16:32:42 0c2d73faf560: Waiting 16:32:42 3e5f54012d9b: Verifying Checksum 16:32:42 3e5f54012d9b: Download complete 16:32:42 a0d0a0d46f8b: Verifying Checksum 16:32:42 a0d0a0d46f8b: Download complete 16:32:42 0c2d73faf560: Verifying Checksum 16:32:42 0c2d73faf560: Download complete 16:32:42 4c7163046ea9: Verifying Checksum 16:32:42 4c7163046ea9: Download complete 16:32:43 a0d0a0d46f8b: Pull complete 16:32:43 3e5f54012d9b: Pull complete 16:32:43 4c7163046ea9: Pull complete 16:32:43 0c2d73faf560: Pull complete 16:32:43 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:32:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:32:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:32:43 prd-centos7-docker-4c-2g-13435 does not seem to be running inside a container 16:32:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:32:44 $ docker top 8f0fa39b9545d533214b516f780e7993e31825f937bea31910cfa03cadea1879 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:44 [ssh-agent] Looking for ssh-agent implementation... 16:32:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:44 $ docker exec 8f0fa39b9545d533214b516f780e7993e31825f937bea31910cfa03cadea1879 ssh-agent 16:32:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaLJjDP/agent.14 16:32:44 SSH_AGENT_PID=20 16:32:44 Running ssh-add (command line suppressed) 16:32:44 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_3320755367730138347.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_3320755367730138347.key) 16:32:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:45 + git tag --points-at HEAD [Pipeline] } 16:32:45 $ docker exec --env ******** --env ******** 8f0fa39b9545d533214b516f780e7993e31825f937bea31910cfa03cadea1879 ssh-agent -k 16:32:45 unset SSH_AUTH_SOCK; 16:32:45 unset SSH_AGENT_PID; 16:32:45 echo Agent pid 20 killed; 16:32:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:32:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:45 [ssh-agent] Looking for ssh-agent implementation... 16:32:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:45 $ docker exec 8f0fa39b9545d533214b516f780e7993e31825f937bea31910cfa03cadea1879 ssh-agent 16:32:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpFMDgH/agent.54 16:32:45 SSH_AGENT_PID=61 16:32:45 Running ssh-add (command line suppressed) 16:32:45 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_3131140070084351513.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_3131140070084351513.key) 16:32:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:45 + git semver init 16:32:45 # -> Open(): unable to determine branch for HEAD 16:32:45 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git 16:32:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 16:32:45 # $SEMVER_REMOTE_NAME = origin 16:32:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:32:45 # $SEMVER_USER_NAME = edgex-jenkins 16:32:45 # $SEMVER_BRANCH = PR-127 16:32:45 # $SEMVER_TEMP = /tmp/semver-700156024 16:32:45 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 16:32:46 # '/tmp/semver-700156024' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' 16:32:46 # -> Force: false 16:32:46 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } 16:32:46 $ docker exec --env ******** --env ******** 8f0fa39b9545d533214b516f780e7993e31825f937bea31910cfa03cadea1879 ssh-agent -k 16:32:46 unset SSH_AUTH_SOCK; 16:32:46 unset SSH_AGENT_PID; 16:32:46 echo Agent pid 61 killed; 16:32:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:46 + git semver [Pipeline] } 16:32:46 $ docker stop --time=1 8f0fa39b9545d533214b516f780e7993e31825f937bea31910cfa03cadea1879 16:32:48 $ docker rm -f 8f0fa39b9545d533214b516f780e7993e31825f937bea31910cfa03cadea1879 [Pipeline] // withDockerContainer [Pipeline] sh 16:32:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:32:48 Stashed 1 file(s) [Pipeline] echo 16:32:48 [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 16:33:03 Still waiting to schedule task 16:33:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:33:03 Still waiting to schedule task 16:33:03 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13433’ is offline 16:34:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13436 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 16:34:47 Running in /w/workspace/device-snmp-go/10 [Pipeline] { [Pipeline] checkout 16:34:47 Selected Git installation does not exist. Using Default 16:34:47 The recommended git tool is: NONE 16:34:52 using credential edgex-jenkins-ssh 16:34:52 Cloning the remote Git repository 16:34:52 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 16:34:52 > git init /w/workspace/device-snmp-go/10 # timeout=10 16:34:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:34:52 > git --version # timeout=10 16:34:53 > git --version # 'git version 2.17.1' 16:34:53 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:34:54 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 7aee666eab3f285687e6584be5e0596df2918f72 16:34:54 Merge succeeded, producing 7aee666eab3f285687e6584be5e0596df2918f72 16:34:54 Checking out Revision 7aee666eab3f285687e6584be5e0596df2918f72 (PR-127) 16:34:53 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:34:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:34:53 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:34:53 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:34:53 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:53 > 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 16:34:54 > git config core.sparsecheckout # timeout=10 16:34:54 > git checkout -f 7aee666eab3f285687e6584be5e0596df2918f72 # timeout=10 16:34:54 > git remote # timeout=10 16:34:54 > git config --get remote.origin.url # timeout=10 16:34:54 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:54 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 16:34:54 > git rev-parse HEAD^{commit} # timeout=10 16:34:54 > git config core.sparsecheckout # timeout=10 16:34:54 > git checkout -f 7aee666eab3f285687e6584be5e0596df2918f72 # timeout=10 16:34:59 Commit message: "fix(snap): update device-snmp parts in snapcraft.yaml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:34:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:34:59 % Total % Received % Xferd Average Speed Time Time Time Current 16:34:59 Dload Upload Total Spent Left Speed 16:34:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 85064 0 --:--:-- --:--:-- --:--:-- 85681 [Pipeline] sh 16:35:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:35:00 + + sudosudo tee /etc/docker/daemon.new 16:35:00 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:35:00 { 16:35:00 "registry-mirrors": [ 16:35:00 "https://nexus3.edgexfoundry.org:10001" 16:35:00 ], 16:35:00 "bip": "10.250.0.254/24", 16:35:00 "hosts": [ 16:35:00 "tcp://0.0.0.0:5555", 16:35:00 "unix:///var/run/docker.sock" 16:35:00 ], 16:35:00 "mtu": 1458, 16:35:00 "selinux-enabled": true, 16:35:00 "seccomp-profile": "/etc/docker/seccomp.json" 16:35:00 } [Pipeline] sh 16:35:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:35:01 + sudo service docker restart 16:35:02 Running on prd-centos7-docker-4c-2g-13437 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 16:35:02 Running in /w/workspace/device-snmp-go/10 [Pipeline] { [Pipeline] checkout 16:35:02 Selected Git installation does not exist. Using Default 16:35:02 The recommended git tool is: NONE 16:35:04 using credential edgex-jenkins-ssh 16:35:04 Cloning the remote Git repository 16:35:03 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 16:35:03 > git init /w/workspace/device-snmp-go/10 # timeout=10 16:35:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:35:03 > git --version # timeout=10 16:35:03 > git --version # 'git version 2.24.4' 16:35:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:03 [INFO] Currently running in a labeled security context 16:35:03 [INFO] Currently SELinux is 'enforcing' on the host 16:35:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/10@tmp/jenkins-gitclient-ssh671716658266150544.key 16:35:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:35:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:35:04 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:35:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:04 [INFO] Currently running in a labeled security context 16:35:04 [INFO] Currently SELinux is 'enforcing' on the host 16:35:04 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/10@tmp/jenkins-gitclient-ssh1253885089544741463.key 16:35:04 > 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 16:35:06 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 7aee666eab3f285687e6584be5e0596df2918f72 16:35:06 Merge succeeded, producing 7aee666eab3f285687e6584be5e0596df2918f72 16:35:06 Checking out Revision 7aee666eab3f285687e6584be5e0596df2918f72 (PR-127) 16:35:05 > git config core.sparsecheckout # timeout=10 16:35:05 > git checkout -f 7aee666eab3f285687e6584be5e0596df2918f72 # timeout=10 16:35:05 > git remote # timeout=10 16:35:05 > git config --get remote.origin.url # timeout=10 16:35:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:05 [INFO] Currently running in a labeled security context 16:35:05 [INFO] Currently SELinux is 'enforcing' on the host 16:35:05 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/10@tmp/jenkins-gitclient-ssh1423392304109868799.key 16:35:05 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 16:35:05 > git rev-parse HEAD^{commit} # timeout=10 16:35:05 > git config core.sparsecheckout # timeout=10 16:35:05 > git checkout -f 7aee666eab3f285687e6584be5e0596df2918f72 # timeout=10 16:35:09 Commit message: "fix(snap): update device-snmp parts in snapcraft.yaml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:10 provisioning config files... 16:35:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config6753411917583191051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:10 ---> docker-login.sh 16:35:10 nexus3.edgexfoundry.org:10001 16:35:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:10 Configure a credential helper to remove this warning. See 16:35:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:10 16:35:10 Login Succeeded 16:35:10 nexus3.edgexfoundry.org:10002 16:35:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:10 Configure a credential helper to remove this warning. See 16:35:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:10 16:35:10 Login Succeeded 16:35:10 nexus3.edgexfoundry.org:10003 16:35:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:10 Configure a credential helper to remove this warning. See 16:35:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:10 16:35:10 Login Succeeded 16:35:10 nexus3.edgexfoundry.org:10004 16:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:11 Configure a credential helper to remove this warning. See 16:35:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:11 16:35:11 Login Succeeded 16:35:11 docker.io 16:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:11 Configure a credential helper to remove this warning. See 16:35:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:11 16:35:11 Login Succeeded 16:35:11 ---> docker-login.sh ends [Pipeline] } 16:35:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:35:11 ========================================================= 16:35:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 16:35:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:35:12 + 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 . 16:35:12 Sending build context to Docker daemon 522.8kB 16:35:12 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 16:35:12 Step 2/11 : FROM ${BASE} AS builder 16:35:12 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 16:35:12 a0d0a0d46f8b: Pulling fs layer 16:35:12 31adcdaf11c8: Pulling fs layer 16:35:12 b8b176561691: Pulling fs layer 16:35:12 4527c011a84f: Pulling fs layer 16:35:12 5d74067f8e1e: Pulling fs layer 16:35:12 e0aca202a116: Pulling fs layer 16:35:12 3a43be97a3b4: Pulling fs layer 16:35:12 34cad66bf833: Pulling fs layer 16:35:12 b4e3c513aaa6: Pulling fs layer 16:35:12 4527c011a84f: Waiting 16:35:12 5d74067f8e1e: Waiting 16:35:12 b4e3c513aaa6: Waiting 16:35:12 e0aca202a116: Waiting 16:35:12 3a43be97a3b4: Waiting 16:35:12 34cad66bf833: Waiting 16:35:12 b8b176561691: Verifying Checksum 16:35:12 b8b176561691: Download complete 16:35:12 31adcdaf11c8: Verifying Checksum 16:35:12 31adcdaf11c8: Download complete 16:35:12 5d74067f8e1e: Verifying Checksum 16:35:12 5d74067f8e1e: Download complete 16:35:12 e0aca202a116: Verifying Checksum 16:35:12 e0aca202a116: Download complete 16:35:12 a0d0a0d46f8b: Verifying Checksum 16:35:12 a0d0a0d46f8b: Download complete 16:35:12 3a43be97a3b4: Download complete 16:35:12 34cad66bf833: Verifying Checksum 16:35:12 34cad66bf833: Download complete 16:35:12 a0d0a0d46f8b: Pull complete 16:35:12 4527c011a84f: Verifying Checksum 16:35:12 4527c011a84f: Download complete 16:35:12 b4e3c513aaa6: Verifying Checksum 16:35:12 b4e3c513aaa6: Download complete 16:35:12 31adcdaf11c8: Pull complete 16:35:12 b8b176561691: Pull complete 16:35:17 4527c011a84f: Pull complete 16:35:17 5d74067f8e1e: Pull complete 16:35:17 e0aca202a116: Pull complete 16:35:17 3a43be97a3b4: Pull complete 16:35:17 34cad66bf833: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:19 provisioning config files... 16:35:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/10@tmp/config5679908538578584156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:20 ---> docker-login.sh 16:35:20 nexus3.edgexfoundry.org:10001 16:35:20 b4e3c513aaa6: Pull complete 16:35:20 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 16:35:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 16:35:20 ---> 9f6097aaca64 16:35:20 Step 3/11 : ARG MAKE='make build' 16:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:21 Configure a credential helper to remove this warning. See 16:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:21 16:35:21 Login Succeeded 16:35:21 nexus3.edgexfoundry.org:10002 16:35:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:21 Configure a credential helper to remove this warning. See 16:35:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:21 16:35:21 Login Succeeded 16:35:21 nexus3.edgexfoundry.org:10003 16:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:22 Configure a credential helper to remove this warning. See 16:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:22 16:35:22 Login Succeeded 16:35:22 nexus3.edgexfoundry.org:10004 16:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:23 Configure a credential helper to remove this warning. See 16:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:23 16:35:23 Login Succeeded 16:35:23 docker.io 16:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:23 ---> Running in 88286c41aaec 16:35:23 Removing intermediate container 88286c41aaec 16:35:23 ---> 05d4d9f0766e 16:35:23 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:35:23 ---> Running in dd9127d47096 16:35:23 Removing intermediate container dd9127d47096 16:35:23 ---> 684816814445 16:35:23 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 16:35:23 ---> Running in f446f33c0c01 16:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:23 Configure a credential helper to remove this warning. See 16:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:23 16:35:23 Login Succeeded 16:35:23 ---> docker-login.sh ends [Pipeline] } 16:35:23 Deleting 1 temporary files [Pipeline] // configFileProvider 16:35:23 Removing intermediate container f446f33c0c01 16:35:23 ---> 28426ada9bd3 16:35:23 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:35:23 ---> Running in 35604fa87d32 [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:35:24 ========================================================= 16:35:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 16:35:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:35:24 Removing intermediate container 35604fa87d32 16:35:24 ---> 5399dec91478 16:35:24 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:35:24 ---> Running in 0d4871f9f750 16:35:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:35:24 + 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 . 16:35:25 Sending build context to Docker daemon 521.7kB 16:35:25 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 16:35:25 Step 2/11 : FROM ${BASE} AS builder 16:35:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:35:25 552d1f2373af: Pulling fs layer 16:35:25 ea3f2d53f512: Pulling fs layer 16:35:25 9e70ebbbe112: Pulling fs layer 16:35:25 7a9cfe048b4a: Pulling fs layer 16:35:25 72dc09318566: Pulling fs layer 16:35:25 f4f7b4309257: Pulling fs layer 16:35:25 0ac9a79272e3: Pulling fs layer 16:35:25 b78e95d17946: Pulling fs layer 16:35:25 72dc09318566: Waiting 16:35:25 f4f7b4309257: Waiting 16:35:25 0ac9a79272e3: Waiting 16:35:25 b78e95d17946: Waiting 16:35:25 7a9cfe048b4a: Waiting 16:35:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:35:25 9e70ebbbe112: Verifying Checksum 16:35:25 9e70ebbbe112: Download complete 16:35:25 ea3f2d53f512: Verifying Checksum 16:35:25 ea3f2d53f512: Download complete 16:35:25 72dc09318566: Download complete 16:35:25 f4f7b4309257: Verifying Checksum 16:35:25 f4f7b4309257: Download complete 16:35:25 552d1f2373af: Download complete 16:35:25 0ac9a79272e3: Download complete 16:35:26 (1/4) Installing openssh-keygen (8.6_p1-r3) 16:35:26 (2/4) Installing libedit (20210216.3.1-r0) 16:35:26 (3/4) Installing openssh-client-common (8.6_p1-r3) 16:35:26 552d1f2373af: Pull complete 16:35:26 (4/4) Installing openssh-client-default (8.6_p1-r3) 16:35:26 Executing busybox-1.33.1-r3.trigger 16:35:26 OK: 224 MiB in 56 packages 16:35:26 Removing intermediate container 0d4871f9f750 16:35:26 ---> ba64d16795d2 16:35:26 Step 8/11 : WORKDIR /device-snmp-go 16:35:26 ---> Running in 8c4835490135 16:35:26 Removing intermediate container 8c4835490135 16:35:26 ---> 21b1cbbf4eea 16:35:26 Step 9/11 : COPY . . 16:35:27 ---> 5ae4d4d9f59f 16:35:27 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:35:27 ---> Running in 08c5bfa1c62b 16:35:27 ea3f2d53f512: Pull complete 16:35:27 9e70ebbbe112: Pull complete 16:35:27 b78e95d17946: Verifying Checksum 16:35:27 b78e95d17946: Download complete 16:35:28 7a9cfe048b4a: Verifying Checksum 16:35:28 7a9cfe048b4a: Download complete 16:35:35 Removing intermediate container 08c5bfa1c62b 16:35:35 ---> 0265be534dad 16:35:35 Step 11/11 : RUN ${MAKE} 16:35:35 ---> Running in 9407af55adb2 16:35:35 noop 16:35:35 Removing intermediate container 9407af55adb2 16:35:35 ---> f928b58c3964 16:35:35 Successfully built f928b58c3964 16:35:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:35:35 + docker inspect -f . ci-base-image-x86_64 16:35:35 . [Pipeline] withDockerContainer 16:35:35 prd-centos7-docker-4c-2g-13437 does not seem to be running inside a container 16:35:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 16:35:36 $ docker top c9599816943be6007be9b01dfa3fbea18196e48eb51621952f65b7ba9931dfe1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:36 + go version 16:35:36 go version go1.16.8 linux/amd64 [Pipeline] } 16:35:36 $ docker stop --time=1 c9599816943be6007be9b01dfa3fbea18196e48eb51621952f65b7ba9931dfe1 16:35:37 $ docker rm -f c9599816943be6007be9b01dfa3fbea18196e48eb51621952f65b7ba9931dfe1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:35:38 7a9cfe048b4a: Pull complete 16:35:38 72dc09318566: Pull complete 16:35:38 + docker inspect -f . ci-base-image-x86_64 16:35:38 . [Pipeline] withDockerContainer 16:35:38 prd-centos7-docker-4c-2g-13437 does not seem to be running inside a container 16:35:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 16:35:38 $ docker top 6a31c073e316ecf31e2757971fec2452e79f81bfe52273ead6bc35cc2adbba52 -eo pid,comm 16:35:38 f4f7b4309257: Pull complete [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:35:39 0ac9a79272e3: Pull complete 16:35:39 + make test 16:35:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:35:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:35:44 b78e95d17946: Pull complete 16:35:44 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 16:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 16:35:44 ---> 8b459fc5aaf0 16:35:44 Step 3/11 : ARG MAKE='make build' 16:35:47 ---> Running in 9d5e5a0e188d 16:35:47 Removing intermediate container 9d5e5a0e188d 16:35:47 ---> 4241bd25d097 16:35:47 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:35:47 ---> Running in 1b31dd3c0e11 16:35:47 Removing intermediate container 1b31dd3c0e11 16:35:47 ---> b5160505e291 16:35:47 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 16:35:47 ---> Running in 48e78a1d828f 16:35:48 Removing intermediate container 48e78a1d828f 16:35:48 ---> b4a9723ecca9 16:35:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:35:48 ---> Running in f6df589b8a72 16:35:51 Removing intermediate container f6df589b8a72 16:35:51 ---> 1dbf82360aaa 16:35:51 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:35:51 ---> Running in 2f0da5cd8e3f 16:35:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:35:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:35:53 (1/4) Installing openssh-keygen (8.6_p1-r3) 16:35:53 (2/4) Installing libedit (20210216.3.1-r0) 16:35:53 (3/4) Installing openssh-client-common (8.6_p1-r3) 16:35:53 (4/4) Installing openssh-client-default (8.6_p1-r3) 16:35:54 Executing busybox-1.33.1-r3.trigger 16:35:54 OK: 223 MiB in 56 packages 16:35:54 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:35:54 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 16:35:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:35:55 Removing intermediate container 2f0da5cd8e3f 16:35:55 ---> a467f1d3fe17 16:35:55 Step 8/11 : WORKDIR /device-snmp-go 16:35:55 ---> Running in 7a114209ddf2 16:35:55 Removing intermediate container 7a114209ddf2 16:35:55 ---> 24206d8a894f 16:35:55 Step 9/11 : COPY . . 16:35:56 ---> 9ca7a6997ae6 16:35:56 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:35:56 ---> Running in 7a4584ad7a78 16:36:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:36:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:36:01 ./bin/test-attribution-txt.sh [Pipeline] } 16:36:01 $ docker stop --time=1 6a31c073e316ecf31e2757971fec2452e79f81bfe52273ead6bc35cc2adbba52 16:36:02 $ docker rm -f 6a31c073e316ecf31e2757971fec2452e79f81bfe52273ead6bc35cc2adbba52 [Pipeline] // withDockerContainer [Pipeline] sh 16:36:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:36:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:36:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:36:04 + ls -al . 16:36:04 total 116 16:36:04 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 29 16:36 . 16:36:04 drwxrwxr-x. 4 jenkins jenkins 30 Oct 29 16:35 .. 16:36:04 -rw-rw-r--. 1 jenkins jenkins 6520 Oct 29 16:35 Attribution.txt 16:36:04 drwxrwxr-x. 2 jenkins jenkins 60 Oct 29 16:35 bin 16:36:04 -rw-rw-r--. 1 jenkins jenkins 4401 Oct 29 16:35 CHANGELOG.md 16:36:04 drwxrwxr-x. 3 jenkins jenkins 32 Oct 29 16:35 cmd 16:36:04 -rw-r--r--. 1 jenkins jenkins 7631 Oct 29 16:35 coverage.out 16:36:04 -rw-rw-r--. 1 jenkins jenkins 1493 Oct 29 16:35 Dockerfile 16:36:04 -rw-rw-r--. 1 jenkins jenkins 6 Oct 29 16:35 .dockerignore 16:36:04 drwxrwxr-x. 8 jenkins jenkins 179 Oct 29 16:35 .git 16:36:04 drwxrwxr-x. 2 jenkins jenkins 103 Oct 29 16:35 .github 16:36:04 -rw-rw-r--. 1 jenkins jenkins 262 Oct 29 16:35 .gitignore 16:36:04 -rw-rw-r--. 1 jenkins jenkins 208 Oct 29 16:35 go.mod 16:36:04 -rw-rw-r--. 1 jenkins jenkins 20831 Oct 29 16:35 go.sum 16:36:04 -rw-rw-r--. 1 jenkins jenkins 677 Oct 29 16:35 GOVERNANCE.md 16:36:04 drwxrwxr-x. 3 jenkins jenkins 20 Oct 29 16:35 internal 16:36:04 -rw-rw-r--. 1 jenkins jenkins 656 Oct 29 16:35 Jenkinsfile 16:36:04 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 29 16:35 LICENSE 16:36:04 -rw-rw-r--. 1 jenkins jenkins 1057 Oct 29 16:35 Makefile 16:36:04 -rw-rw-r--. 1 jenkins jenkins 620 Oct 29 16:35 OWNERS.md 16:36:04 -rw-rw-r--. 1 jenkins jenkins 9073 Oct 29 16:35 README.md 16:36:04 drwxrwxr-x. 3 jenkins jenkins 41 Oct 29 16:35 snap 16:36:04 -rw-rw-r--. 1 jenkins jenkins 5 Oct 29 16:32 VERSION 16:36:04 -rw-rw-r--. 1 jenkins jenkins 209 Oct 29 16:35 version.go [Pipeline] isUnix [Pipeline] sh 16:36:04 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7aee666eab3f285687e6584be5e0596df2918f72 --label arch=amd64 --label version=0.0.0 . 16:36:04 Sending build context to Docker daemon 530.9kB 16:36:04 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 16:36:04 Step 2/23 : FROM ${BASE} AS builder 16:36:04 ---> f928b58c3964 16:36:04 Step 3/23 : ARG MAKE='make build' 16:36:04 ---> Running in cf5d352887b2 16:36:04 Removing intermediate container cf5d352887b2 16:36:04 ---> 1c79fa9afe2d 16:36:04 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:36:04 ---> Running in 401842a99ea1 16:36:05 Removing intermediate container 401842a99ea1 16:36:05 ---> b12094ad1d85 16:36:05 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 16:36:05 ---> Running in 8a35e94ecf2c 16:36:05 Removing intermediate container 8a35e94ecf2c 16:36:05 ---> 5e42d128f784 16:36:05 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:36:05 ---> Running in fecc6e1552a2 16:36:05 Removing intermediate container fecc6e1552a2 16:36:05 ---> 8bdf7ad88fd8 16:36:05 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:36:05 ---> Running in cd765a5216e6 16:36:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:36:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:36:07 OK: 224 MiB in 56 packages 16:36:07 Removing intermediate container cd765a5216e6 16:36:07 ---> 2636d5f8d490 16:36:07 Step 8/23 : WORKDIR /device-snmp-go 16:36:07 ---> Running in fd96388c0d75 16:36:07 Removing intermediate container fd96388c0d75 16:36:07 ---> 94059c4fc3a0 16:36:07 Step 9/23 : COPY . . 16:36:07 ---> c424c7f024eb 16:36:07 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:36:07 ---> Running in cde429805c2c 16:36:07 Removing intermediate container cde429805c2c 16:36:07 ---> fd668235364c 16:36:07 Step 11/23 : RUN ${MAKE} 16:36:08 ---> Running in bea4a35f512e 16:36:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 16:36:20 Removing intermediate container bea4a35f512e 16:36:20 ---> c62fcc4ed0de 16:36:20 Step 12/23 : FROM alpine:3.14 16:36:20 3.14: Pulling from library/alpine 16:36:20 a0d0a0d46f8b: Already exists 16:36:20 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 16:36:20 Status: Downloaded newer image for alpine:3.14 16:36:20 ---> 14119a10abf4 16:36:20 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 16:36:20 ---> Running in 662d6b8cf888 16:36:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:36:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:36:20 (1/6) Installing dumb-init (1.2.5-r1) 16:36:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:36:20 (3/6) Installing libsodium (1.0.18-r0) 16:36:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:36:20 (5/6) Installing libzmq (4.3.4-r0) 16:36:20 (6/6) Installing zeromq (4.3.4-r0) 16:36:20 Executing busybox-1.33.1-r3.trigger 16:36:20 OK: 8 MiB in 20 packages 16:36:21 Removing intermediate container 662d6b8cf888 16:36:21 ---> c65d6e38a725 16:36:21 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 16:36:21 ---> b3919b1f1840 16:36:21 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:36:21 ---> 4cfe4c0d2d58 16:36:21 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 16:36:21 ---> 9dec7eeb6d11 16:36:21 Step 17/23 : EXPOSE 59993 16:36:21 ---> Running in d6b267f1f6bb 16:36:21 Removing intermediate container d6b267f1f6bb 16:36:21 ---> 92160c7cacdc 16:36:21 Step 18/23 : EXPOSE 161 16:36:21 ---> Running in 6b5d0a969c01 16:36:22 Removing intermediate container 6b5d0a969c01 16:36:22 ---> 90b560cb718e 16:36:22 Step 19/23 : ENTRYPOINT ["/device-snmp"] 16:36:22 ---> Running in ab8fb59e4d40 16:36:22 Removing intermediate container ab8fb59e4d40 16:36:22 ---> 8dfe53db471d 16:36:22 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:36:22 ---> Running in 4b71f0a5fc65 16:36:22 Removing intermediate container 4b71f0a5fc65 16:36:22 ---> f9b9cfc55f3e 16:36:22 Step 21/23 : LABEL arch=amd64 16:36:22 ---> Running in 88119f3135a2 16:36:22 Removing intermediate container 88119f3135a2 16:36:22 ---> 4e1510fa1b86 16:36:22 Step 22/23 : LABEL git_sha=7aee666eab3f285687e6584be5e0596df2918f72 16:36:22 ---> Running in d08bd0fd93d6 16:36:22 Removing intermediate container d08bd0fd93d6 16:36:22 ---> ff55453fb0d5 16:36:22 Step 23/23 : LABEL version=0.0.0 16:36:22 ---> Running in de40f834610e 16:36:22 Removing intermediate container de40f834610e 16:36:22 ---> c6b599a46866 16:36:22 [Warning] One or more build-args [ARCH] were not consumed 16:36:22 Successfully built c6b599a46866 16:36:22 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:36:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:23 16:36:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:36:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:23 latest: Pulling from edgex-lftools-log-publisher 16:36:23 b4d181a07f80: Pulling fs layer 16:36:23 a1111a8f2ec3: Pulling fs layer 16:36:23 ed53099fbce6: Pulling fs layer 16:36:23 dc539afda2c1: Pulling fs layer 16:36:23 77bc0d833cb6: Pulling fs layer 16:36:23 9065ff56babe: Pulling fs layer 16:36:23 d287ab97295c: Pulling fs layer 16:36:23 dc539afda2c1: Waiting 16:36:23 77bc0d833cb6: Waiting 16:36:23 9065ff56babe: Waiting 16:36:23 d287ab97295c: Waiting 16:36:23 a1111a8f2ec3: Verifying Checksum 16:36:23 a1111a8f2ec3: Download complete 16:36:23 dc539afda2c1: Verifying Checksum 16:36:23 dc539afda2c1: Download complete 16:36:23 ed53099fbce6: Verifying Checksum 16:36:23 ed53099fbce6: Download complete 16:36:23 9065ff56babe: Verifying Checksum 16:36:23 9065ff56babe: Download complete 16:36:23 77bc0d833cb6: Verifying Checksum 16:36:23 77bc0d833cb6: Download complete 16:36:23 Removing intermediate container 7a4584ad7a78 16:36:23 ---> eb7aec68d245 16:36:23 Step 11/11 : RUN ${MAKE} 16:36:23 ---> Running in c2dff52e1767 16:36:23 noop 16:36:23 Removing intermediate container c2dff52e1767 16:36:23 ---> e1fc95fe871c 16:36:23 Successfully built e1fc95fe871c 16:36:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:36:23 b4d181a07f80: Verifying Checksum 16:36:23 b4d181a07f80: Download complete 16:36:24 + docker inspect -f . ci-base-image-arm64 16:36:24 . [Pipeline] withDockerContainer 16:36:24 prd-ubuntu18.04-docker-arm64-4c-16g-13436 does not seem to be running inside a container 16:36:24 d287ab97295c: Verifying Checksum 16:36:24 d287ab97295c: Download complete 16:36:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 16:36:25 b4d181a07f80: Pull complete 16:36:25 a1111a8f2ec3: Pull complete 16:36:25 ed53099fbce6: Pull complete 16:36:25 dc539afda2c1: Pull complete 16:36:25 $ docker top 72f33d20cff3af0555a64b722a246ede65b87d56f30cd872bbd72089f68fa2e9 -eo pid,comm 16:36:26 77bc0d833cb6: Pull complete 16:36:26 9065ff56babe: Pull complete [Pipeline] { [Pipeline] sh 16:36:26 + go version 16:36:26 go version go1.16.8 linux/arm64 [Pipeline] } 16:36:26 $ docker stop --time=1 72f33d20cff3af0555a64b722a246ede65b87d56f30cd872bbd72089f68fa2e9 16:36:28 $ docker rm -f 72f33d20cff3af0555a64b722a246ede65b87d56f30cd872bbd72089f68fa2e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:36:29 + docker inspect -f . ci-base-image-arm64 16:36:29 . [Pipeline] withDockerContainer 16:36:29 prd-ubuntu18.04-docker-arm64-4c-16g-13436 does not seem to be running inside a container 16:36:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 16:36:31 $ docker top 82c4ec1c1b337773ed41e277c8cc792d3aaec6d5604f230803b6cd36af117549 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:36:31 d287ab97295c: Pull complete 16:36:31 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:36:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:36:31 prd-centos7-docker-4c-2g-13437 does not seem to be running inside a container 16:36:31 $ 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/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 16:36:32 + make test 16:36:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:36:33 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:36:34 $ docker top 47bb5c0c3637d51e4e5e7295cff84bac4fe33c3ca6bf0582ee798f684aa0411a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:34 ---> job-cost.sh 16:36:34 lf-activate-venv: SKIPPING 16:36:34 INFO: No Stack... 16:36:35 INFO: Retrieving Pricing Info for: v3-standard-2 16:36:35 INFO: Archiving Costs [Pipeline] sh 16:36:35 + cat /w/workspace/device-snmp-go/10/archives/cost.csv 16:36:35 + cut -d, -f6 [Pipeline] lock 16:36:35 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-10-stack-cost] 16:36:35 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-10-stack-cost] did not exist. Created. 16:36:35 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:36:35 + echo total: 0.05999999865889549 [Pipeline] stash 16:36:36 Stashed 1 file(s) [Pipeline] } 16:36:36 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-10-stack-cost] [Pipeline] // lock [Pipeline] } 16:36:36 $ docker stop --time=1 47bb5c0c3637d51e4e5e7295cff84bac4fe33c3ca6bf0582ee798f684aa0411a 16:36:37 $ docker rm -f 47bb5c0c3637d51e4e5e7295cff84bac4fe33c3ca6bf0582ee798f684aa0411a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:37:20 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:37:20 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements 16:37:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:37:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:37:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:37:47 ./bin/test-attribution-txt.sh [Pipeline] } 16:37:47 $ docker stop --time=1 82c4ec1c1b337773ed41e277c8cc792d3aaec6d5604f230803b6cd36af117549 16:37:49 $ docker rm -f 82c4ec1c1b337773ed41e277c8cc792d3aaec6d5604f230803b6cd36af117549 [Pipeline] // withDockerContainer [Pipeline] sh 16:37:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:37:50 Warning: overwriting stash ‘coverage-report’ 16:37:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:37:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:37:51 + ls -al . 16:37:51 total 144 16:37:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 29 16:37 . 16:37:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 16:34 .. 16:37:51 -rw-rw-r-- 1 jenkins jenkins 6 Oct 29 16:34 .dockerignore 16:37:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 29 16:34 .git 16:37:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 16:34 .github 16:37:51 -rw-rw-r-- 1 jenkins jenkins 262 Oct 29 16:34 .gitignore 16:37:51 -rw-rw-r-- 1 jenkins jenkins 6520 Oct 29 16:34 Attribution.txt 16:37:51 -rw-rw-r-- 1 jenkins jenkins 4401 Oct 29 16:34 CHANGELOG.md 16:37:51 -rw-rw-r-- 1 jenkins jenkins 1493 Oct 29 16:34 Dockerfile 16:37:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 29 16:34 GOVERNANCE.md 16:37:51 -rw-rw-r-- 1 jenkins jenkins 656 Oct 29 16:34 Jenkinsfile 16:37:51 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 29 16:34 LICENSE 16:37:51 -rw-rw-r-- 1 jenkins jenkins 1057 Oct 29 16:34 Makefile 16:37:51 -rw-rw-r-- 1 jenkins jenkins 620 Oct 29 16:34 OWNERS.md 16:37:51 -rw-rw-r-- 1 jenkins jenkins 9073 Oct 29 16:34 README.md 16:37:51 -rw-rw-r-- 1 jenkins jenkins 5 Oct 29 16:32 VERSION 16:37:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 16:34 bin 16:37:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 29 16:34 cmd 16:37:51 -rw-r--r-- 1 jenkins jenkins 7631 Oct 29 16:37 coverage.out 16:37:51 -rw-rw-r-- 1 jenkins jenkins 208 Oct 29 16:34 go.mod 16:37:51 -rw-rw-r-- 1 jenkins jenkins 20831 Oct 29 16:34 go.sum 16:37:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 29 16:34 internal 16:37:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 29 16:34 snap 16:37:51 -rw-rw-r-- 1 jenkins jenkins 209 Oct 29 16:34 version.go [Pipeline] isUnix [Pipeline] sh 16:37:52 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7aee666eab3f285687e6584be5e0596df2918f72 --label arch=arm64 --label version=0.0.0 . 16:37:52 Sending build context to Docker daemon 529.9kB 16:37:52 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 16:37:52 Step 2/23 : FROM ${BASE} AS builder 16:37:52 ---> e1fc95fe871c 16:37:52 Step 3/23 : ARG MAKE='make build' 16:37:52 ---> Running in 11ec5cfb98a1 16:37:53 Removing intermediate container 11ec5cfb98a1 16:37:53 ---> d3adb0073630 16:37:53 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:37:53 ---> Running in f4eaacf5e190 16:37:53 Removing intermediate container f4eaacf5e190 16:37:53 ---> 980099c1cf8f 16:37:53 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 16:37:53 ---> Running in c5023f467e28 16:37:54 Removing intermediate container c5023f467e28 16:37:54 ---> 07d16821ed67 16:37:54 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:37:54 ---> Running in b9edf7398601 16:37:56 Removing intermediate container b9edf7398601 16:37:56 ---> 03713ce24141 16:37:56 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:37:56 ---> Running in 724f25e7e68b 16:37:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:37:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:37:59 OK: 223 MiB in 56 packages 16:38:00 Removing intermediate container 724f25e7e68b 16:38:00 ---> 14bda3e4cfd7 16:38:00 Step 8/23 : WORKDIR /device-snmp-go 16:38:00 ---> Running in c9f6da29d129 16:38:00 Removing intermediate container c9f6da29d129 16:38:00 ---> 3b603f58c0bb 16:38:00 Step 9/23 : COPY . . 16:38:02 ---> 74b40a66e759 16:38:02 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:38:02 ---> Running in 22105603212f 16:38:04 Removing intermediate container 22105603212f 16:38:04 ---> 89100743139c 16:38:04 Step 11/23 : RUN ${MAKE} 16:38:04 ---> Running in 3fbb7d467166 16:38:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 16:38:44 Removing intermediate container 3fbb7d467166 16:38:44 ---> c00f08e78791 16:38:44 Step 12/23 : FROM alpine:3.14 16:38:44 3.14: Pulling from library/alpine 16:38:44 552d1f2373af: Already exists 16:38:44 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 16:38:44 Status: Downloaded newer image for alpine:3.14 16:38:44 ---> bb3de5531c18 16:38:44 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 16:38:44 ---> Running in 8b3b15e5304e 16:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:38:44 (1/6) Installing dumb-init (1.2.5-r1) 16:38:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:38:44 (3/6) Installing libsodium (1.0.18-r0) 16:38:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:38:44 (5/6) Installing libzmq (4.3.4-r0) 16:38:44 (6/6) Installing zeromq (4.3.4-r0) 16:38:44 Executing busybox-1.33.1-r3.trigger 16:38:44 OK: 8 MiB in 20 packages 16:38:45 Removing intermediate container 8b3b15e5304e 16:38:45 ---> a996673e0c9c 16:38:45 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 16:38:46 ---> 84477fe26e9c 16:38:46 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:38:47 ---> 8aa970286f22 16:38:47 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 16:38:47 ---> c98c4d3b1cba 16:38:47 Step 17/23 : EXPOSE 59993 16:38:47 ---> Running in d4d450a9bef3 16:38:48 Removing intermediate container d4d450a9bef3 16:38:48 ---> 50ba94623585 16:38:48 Step 18/23 : EXPOSE 161 16:38:48 ---> Running in 2538a7bf3827 16:38:48 Removing intermediate container 2538a7bf3827 16:38:48 ---> 35c09294472c 16:38:48 Step 19/23 : ENTRYPOINT ["/device-snmp"] 16:38:48 ---> Running in 40a025d28ac0 16:38:49 Removing intermediate container 40a025d28ac0 16:38:49 ---> 0d25bccdfa6a 16:38:49 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:38:49 ---> Running in a5219d486f69 16:38:49 Removing intermediate container a5219d486f69 16:38:49 ---> 49be7f222bd4 16:38:49 Step 21/23 : LABEL arch=arm64 16:38:50 ---> Running in dbee92854191 16:38:50 Removing intermediate container dbee92854191 16:38:50 ---> 7737b3700b33 16:38:50 Step 22/23 : LABEL git_sha=7aee666eab3f285687e6584be5e0596df2918f72 16:38:50 ---> Running in 0fae039fc083 16:38:50 Removing intermediate container 0fae039fc083 16:38:50 ---> b0d11d9b8f38 16:38:50 Step 23/23 : LABEL version=0.0.0 16:38:51 ---> Running in 262b8789c5cc 16:38:51 Removing intermediate container 262b8789c5cc 16:38:51 ---> fde87e6cd379 16:38:51 [Warning] One or more build-args [ARCH] were not consumed 16:38:51 Successfully built fde87e6cd379 16:38:51 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:38:52 16:38:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:38:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:38:52 arm64: Pulling from edgex-lftools-log-publisher 16:38:52 448f6bf000e3: Pulling fs layer 16:38:52 f757da607395: Pulling fs layer 16:38:52 05883995daec: Pulling fs layer 16:38:52 8603b9c90790: Pulling fs layer 16:38:52 1560dd03e051: Pulling fs layer 16:38:52 27f5ce0e4adf: Pulling fs layer 16:38:52 c2d8d7efcc4b: Pulling fs layer 16:38:52 1560dd03e051: Waiting 16:38:52 27f5ce0e4adf: Waiting 16:38:52 c2d8d7efcc4b: Waiting 16:38:52 8603b9c90790: Waiting 16:38:52 f757da607395: Verifying Checksum 16:38:52 f757da607395: Download complete 16:38:52 8603b9c90790: Verifying Checksum 16:38:52 8603b9c90790: Download complete 16:38:53 1560dd03e051: Download complete 16:38:53 27f5ce0e4adf: Download complete 16:38:53 05883995daec: Verifying Checksum 16:38:53 05883995daec: Download complete 16:38:53 448f6bf000e3: Verifying Checksum 16:38:53 448f6bf000e3: Download complete 16:38:56 c2d8d7efcc4b: Verifying Checksum 16:38:56 c2d8d7efcc4b: Download complete 16:38:57 448f6bf000e3: Pull complete 16:38:57 f757da607395: Pull complete 16:38:59 05883995daec: Pull complete 16:38:59 8603b9c90790: Pull complete 16:39:00 1560dd03e051: Pull complete 16:39:01 27f5ce0e4adf: Pull complete 16:39:16 c2d8d7efcc4b: Pull complete 16:39:16 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 16:39:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:39:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:39:16 prd-ubuntu18.04-docker-arm64-4c-16g-13436 does not seem to be running inside a container 16:39:16 $ 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/10 -v /w/workspace/device-snmp-go/10:/w/workspace/device-snmp-go/10:rw,z -v /w/workspace/device-snmp-go/10@tmp:/w/workspace/device-snmp-go/10@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 16:39:19 $ docker top 75fc64af04676afbd4ecfbd97abfd1040eade83f1c9e1df6a890a829f1eaf8b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:20 ---> job-cost.sh 16:39:20 lf-activate-venv: SKIPPING 16:39:20 INFO: No Stack... 16:39:20 INFO: Retrieving Pricing Info for: v3-standard-4 16:39:20 INFO: Archiving Costs [Pipeline] sh 16:39:21 + cat /w/workspace/device-snmp-go/10/archives/cost.csv 16:39:21 + cut -d, -f6 [Pipeline] lock 16:39:21 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-10-stack-cost] 16:39:21 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-10-stack-cost] did not exist. Created. 16:39:21 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:39:22 /w/workspace/device-snmp-go/10@tmp/durable-0f29c0ef/script.sh: 1: /w/workspace/device-snmp-go/10@tmp/durable-0f29c0ef/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 16:39:22 + echo total: 0.10999999940395355 [Pipeline] stash 16:39:22 Warning: overwriting stash ‘stack-cost’ 16:39:22 Stashed 1 file(s) [Pipeline] } 16:39:22 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-10-stack-cost] [Pipeline] // lock [Pipeline] } 16:39:22 $ docker stop --time=1 75fc64af04676afbd4ecfbd97abfd1040eade83f1c9e1df6a890a829f1eaf8b7 16:39:24 $ docker rm -f 75fc64af04676afbd4ecfbd97abfd1040eade83f1c9e1df6a890a829f1eaf8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:39:25 provisioning config files... 16:39:25 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config6231924785816952422tmp [Pipeline] { [Pipeline] sh 16:39:25 + set +x 16:39:25 + bash -s -- 16:39:25 + curl -s https://codecov.io/bash 16:39:25 16:39:25 _____ _ 16:39:25 / ____| | | 16:39:25 | | ___ __| | ___ ___ _____ __ 16:39:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:39:25 | |___| (_) | (_| | __/ (_| (_) \ V / 16:39:25 \_____\___/ \__,_|\___|\___\___/ \_/ 16:39:25 Bash-1.0.6 16:39:25 16:39:25 16:39:25 ==> git version 2.24.4 found 16:39:25 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 16:39:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:39:25 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:39:25 ==> Jenkins CI detected. 16:39:25 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-127 16:39:25 project root: . 16:39:25 --> token set from env 16:39:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:39:25 ==> Running gcov in . (disable via -X gcov) 16:39:25 ==> Python coveragepy not found 16:39:25 ==> Searching for coverage reports in: 16:39:25 + . 16:39:25 -> Found 1 reports 16:39:25 ==> Detecting git/mercurial file structure 16:39:25 ==> Reading reports 16:39:25 + ./coverage.out bytes=7631 16:39:25 ==> Appending adjustments 16:39:25 https://docs.codecov.io/docs/fixing-reports 16:39:25 + Found adjustments 16:39:25 ==> Gzipping contents 16:39:25 4.0K /tmp/codecov.UgU6Z0.gz 16:39:25 ==> Uploading reports 16:39:25 url: https://codecov.io 16:39:25 query: branch=PR-127&commit=7aee666eab3f285687e6584be5e0596df2918f72&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-127%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=127&job=&cmd_args= 16:39:25 -> Pinging Codecov 16:39:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-127&commit=7aee666eab3f285687e6584be5e0596df2918f72&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-127%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=127&job=&cmd_args= 16:39:26 -> Uploading to 16:39:26 https://storage.googleapis.com/codecov/v4/raw/2021-10-29/6C56EA5C29638FB4528AC87E60AF5AE0/7aee666eab3f285687e6584be5e0596df2918f72/0f431485-1564-43a3-9332-96dec797e918.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211029%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211029T163925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe6e0c46769f138c5d39024b54f5eb6f29cc65364e51ecf2bb99ea790f383a24 16:39:26 % Total % Received % Xferd Average Speed Time Time Time Current 16:39:26 Dload Upload Total Spent Left Speed 16:39:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1591 0 0 100 1591 0 5412 --:--:-- --:--:-- --:--:-- 5430 16:39:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/7aee666eab3f285687e6584be5e0596df2918f72 [Pipeline] } 16:39:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:39:27 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh 16:39:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:39:28 ---> package-listing.sh 16:39:28 ++ facter osfamily 16:39:28 ++ tr '[:upper:]' '[:lower:]' 16:39:28 + OS_FAMILY=redhat 16:39:28 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 16:39:28 + START_PACKAGES=/tmp/packages_start.txt 16:39:28 + END_PACKAGES=/tmp/packages_end.txt 16:39:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:39:28 + PACKAGES=/tmp/packages_start.txt 16:39:28 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 16:39:28 + PACKAGES=/tmp/packages_end.txt 16:39:28 + case "${OS_FAMILY}" in 16:39:28 + sort 16:39:28 + rpm -qa 16:39:29 + '[' -f /tmp/packages_start.txt ']' 16:39:29 + '[' -f /tmp/packages_end.txt ']' 16:39:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:39:29 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 16:39:29 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ 16:39:29 + 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 16:39:29 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 16:39:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:39:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:30 16:39:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:39:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:30 latest: Pulling from edgex-lftools-log-publisher 16:39:30 b4d181a07f80: Pulling fs layer 16:39:30 a1111a8f2ec3: Pulling fs layer 16:39:30 ed53099fbce6: Pulling fs layer 16:39:30 dc539afda2c1: Pulling fs layer 16:39:30 77bc0d833cb6: Pulling fs layer 16:39:30 9065ff56babe: Pulling fs layer 16:39:30 d287ab97295c: Pulling fs layer 16:39:30 dc539afda2c1: Waiting 16:39:30 9065ff56babe: Waiting 16:39:30 d287ab97295c: Waiting 16:39:30 77bc0d833cb6: Waiting 16:39:30 a1111a8f2ec3: Verifying Checksum 16:39:30 a1111a8f2ec3: Download complete 16:39:30 dc539afda2c1: Verifying Checksum 16:39:30 dc539afda2c1: Download complete 16:39:30 ed53099fbce6: Verifying Checksum 16:39:30 ed53099fbce6: Download complete 16:39:30 77bc0d833cb6: Verifying Checksum 16:39:30 77bc0d833cb6: Download complete 16:39:30 9065ff56babe: Verifying Checksum 16:39:30 9065ff56babe: Download complete 16:39:30 b4d181a07f80: Verifying Checksum 16:39:30 b4d181a07f80: Download complete 16:39:31 d287ab97295c: Verifying Checksum 16:39:31 d287ab97295c: Download complete 16:39:32 b4d181a07f80: Pull complete 16:39:32 a1111a8f2ec3: Pull complete 16:39:33 ed53099fbce6: Pull complete 16:39:33 dc539afda2c1: Pull complete 16:39:33 77bc0d833cb6: Pull complete 16:39:33 9065ff56babe: Pull complete 16:39:38 d287ab97295c: Pull complete 16:39:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 16:39:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:39:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:39:38 prd-centos7-docker-4c-2g-13435 does not seem to be running inside a container 16:39:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:39:40 $ docker top c491dae3bf461dab0b6bf9c38f0812e8e69932863c76e8ab85cfdd666de31052 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:41 + touch /tmp/pre-build-complete [Pipeline] sh 16:39:41 + mkdir -p /var/log/sysstat [Pipeline] sh 16:39:41 + ls /var/log/sa-host 16:39:41 + sadf -c /var/log/sa-host/sa29 16:39:41 file_magic: OK 16:39:41 HZ: Using current value: 100 16:39:41 file_header: OK 16:39:41 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 16:39:41 Statistics: 16:39:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:39:41 File successfully converted to sysstat format version 12.0.3 16:39:41 + sadf -c /var/log/sa-host/sa30 16:39:41 file_magic: OK 16:39:41 HZ: Using current value: 100 16:39:41 file_header: OK 16:39:41 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 16:39:41 Statistics: 16:39:41 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:39:41 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:39:41 provisioning config files... 16:39:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config8818019283733476482tmp [Pipeline] { [Pipeline] echo 16:39:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:39:42 ---> create-netrc.sh [Pipeline] } 16:39:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:39:42 ---> python-tools-install.sh [Pipeline] echo 16:39:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:39:42 ---> sudo-logs.sh 16:39:42 Archiving 'sudo' log.. 16:39:42 sudo: unable to resolve host prd-centos7-docker-4c-2g-13435.novalocal: Name or service not known 16:39:42 sudo: unable to resolve host prd-centos7-docker-4c-2g-13435.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 16:39:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:39:43 ---> job-cost.sh 16:39:43 lf-activate-venv: SKIPPING 16:39:43 DEBUG: total: 0.10999999940395355 16:39:43 INFO: Retrieving Stack Cost... 16:39:43 INFO: Retrieving Pricing Info for: v3-standard-2 16:39:43 INFO: Archiving Costs [Pipeline] echo 16:39:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:39:44 ---> logs-deploy.sh 16:39:44 lf-activate-venv: SKIPPING 16:39:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/10 16:39:44 INFO: archiving workspace using pattern(s): 16:39:44 Archives upload complete. 16:39:44 INFO: archiving logs to Nexus