Pull request #128 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 9e6018e9f2b7a8030ddb94953420ef599e70f3d3+8cef9076ddadae0bb4a2071504c212bd6ac7a64c (76686f4c4621a10cd80d6089573396730a759a47) 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-ssh3197309808719776071.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh3390300862944116934.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-128/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-128/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3856342933361248597.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh8904048570318379928.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-128/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-128/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1984787466792160897.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 USE_ALPINE: true 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-724 in /w/workspace/gexfoundry_device-snmp-go_PR-128 [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-128 # 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-128@tmp/jenkins-gitclient-ssh2417848771772835142.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 8cef9076ddadae0bb4a2071504c212bd6ac7a64c into PR head commit 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 Merge succeeded, producing 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 Checking out Revision 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 (PR-128) > 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-128@tmp/jenkins-gitclient-ssh1156306629657910395.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 # 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-128@tmp/jenkins-gitclient-ssh4778576434057523011.key > git merge 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 # timeout=10 Commit message: "build: Update to use released SDK and go-mods" First time build. Skipping changelog. > git rev-list --no-walk efb603a6ac693a095867cc8253d748648daa91ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:39:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:39:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:39:21 ========================================================= 23:39:21 EdgeX Global Pipelines Version Info 23:39:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:39:22 ------------------- 23:39:22 stable info: 23:39:22 ------------------- 23:39:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:39:22 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 23:39:22 Message: update stable to v1.0.215 23:39:22 ------------------- 23:39:22 experimental info: 23:39:22 ------------------- 23:39:22 Commited By: **** collab-it+edgex@linuxfoundation.org 23:39:22 Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 23:39:22 Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-128 [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-128 [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-128 [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e6018e [Pipeline] echo 23:39:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:39:23 provisioning config files... 23:39:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/config970235020864398356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:23 ---> docker-login.sh 23:39:23 nexus3.edgexfoundry.org:10001 23:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:23 Configure a credential helper to remove this warning. See 23:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:23 23:39:23 Login Succeeded 23:39:23 nexus3.edgexfoundry.org:10002 23:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:24 Configure a credential helper to remove this warning. See 23:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:24 23:39:24 Login Succeeded 23:39:24 nexus3.edgexfoundry.org:10003 23:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:24 Configure a credential helper to remove this warning. See 23:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:24 23:39:24 Login Succeeded 23:39:24 nexus3.edgexfoundry.org:10004 23:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:24 Configure a credential helper to remove this warning. See 23:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:24 23:39:24 Login Succeeded 23:39:24 docker.io 23:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:24 Configure a credential helper to remove this warning. See 23:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:24 23:39:24 Login Succeeded 23:39:24 ---> docker-login.sh ends [Pipeline] } 23:39:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:39:25 + git rev-list -1 --merges 9e6018e9f2b7a8030ddb94953420ef599e70f3d3~1..9e6018e9f2b7a8030ddb94953420ef599e70f3d3 [Pipeline] echo 23:39:25 -----------> git rev-list -1 --merges 9e6018e9f2b7a8030ddb94953420ef599e70f3d3~1..9e6018e9f2b7a8030ddb94953420ef599e70f3d3 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 [false] [Pipeline] sh 23:39:25 + git log --format=format:%s -1 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 [Pipeline] echo 23:39:25 ========================================================= 23:39:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:39:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:39:25 + git log --format=format:%s -1 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 [Pipeline] echo 23:39:25 [semverPrep] GIT_COMMIT: 9e6018e9f2b7a8030ddb94953420ef599e70f3d3, Commit Message: build: Update to use released SDK and go-mods [Pipeline] echo 23:39:25 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:39:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:39:26 23:39:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:39:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:39:26 latest: Pulling from edgex-devops/git-semver 23:39:26 a0d0a0d46f8b: Pulling fs layer 23:39:26 3e5f54012d9b: Pulling fs layer 23:39:26 4c7163046ea9: Pulling fs layer 23:39:26 0c2d73faf560: Pulling fs layer 23:39:26 0c2d73faf560: Waiting 23:39:26 3e5f54012d9b: Verifying Checksum 23:39:26 3e5f54012d9b: Download complete 23:39:26 a0d0a0d46f8b: Verifying Checksum 23:39:26 a0d0a0d46f8b: Download complete 23:39:26 4c7163046ea9: Verifying Checksum 23:39:26 4c7163046ea9: Download complete 23:39:26 0c2d73faf560: Verifying Checksum 23:39:26 0c2d73faf560: Download complete 23:39:26 a0d0a0d46f8b: Pull complete 23:39:26 3e5f54012d9b: Pull complete 23:39:27 4c7163046ea9: Pull complete 23:39:27 0c2d73faf560: Pull complete 23:39:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:39:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:39:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:39:27 prd-centos7-docker-4c-2g-724 does not seem to be running inside a container 23:39:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-128 -v /w/workspace/gexfoundry_device-snmp-go_PR-128:/w/workspace/gexfoundry_device-snmp-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-128@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 23:39:27 $ docker top 6026a25b3a07395c2e201ea42263d320f8c04ecf104af75b0e7101f344fc8f33 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:39:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:39:28 [ssh-agent] Looking for ssh-agent implementation... 23:39:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:39:28 $ docker exec 6026a25b3a07395c2e201ea42263d320f8c04ecf104af75b0e7101f344fc8f33 ssh-agent 23:39:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLoGLOG/agent.15 23:39:28 SSH_AGENT_PID=22 23:39:28 Running ssh-add (command line suppressed) 23:39:28 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/private_key_6144131127998499298.key (/w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/private_key_6144131127998499298.key) 23:39:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:39:28 + git tag --points-at HEAD [Pipeline] } 23:39:28 $ docker exec --env ******** --env ******** 6026a25b3a07395c2e201ea42263d320f8c04ecf104af75b0e7101f344fc8f33 ssh-agent -k 23:39:28 unset SSH_AUTH_SOCK; 23:39:28 unset SSH_AGENT_PID; 23:39:28 echo Agent pid 22 killed; 23:39:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:39:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:39:28 [ssh-agent] Looking for ssh-agent implementation... 23:39:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:39:28 $ docker exec 6026a25b3a07395c2e201ea42263d320f8c04ecf104af75b0e7101f344fc8f33 ssh-agent 23:39:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcLhgFE/agent.55 23:39:28 SSH_AGENT_PID=62 23:39:28 Running ssh-add (command line suppressed) 23:39:29 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/private_key_1173229796899538806.key (/w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/private_key_1173229796899538806.key) 23:39:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:39:29 + git semver init 23:39:29 # -> Open(): unable to determine branch for HEAD 23:39:29 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-128/.git 23:39:29 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-128 23:39:29 # $SEMVER_REMOTE_NAME = origin 23:39:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:39:29 # $SEMVER_USER_NAME = edgex-jenkins 23:39:29 # $SEMVER_BRANCH = PR-128 23:39:29 # $SEMVER_TEMP = /tmp/semver-455532107 23:39:29 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 23:39:29 # '/tmp/semver-455532107' -> '/w/workspace/gexfoundry_device-snmp-go_PR-128/.semver' 23:39:29 # -> Force: false 23:39:29 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-128/.semver [Pipeline] } 23:39:29 $ docker exec --env ******** --env ******** 6026a25b3a07395c2e201ea42263d320f8c04ecf104af75b0e7101f344fc8f33 ssh-agent -k 23:39:30 unset SSH_AUTH_SOCK; 23:39:30 unset SSH_AGENT_PID; 23:39:30 echo Agent pid 62 killed; 23:39:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:39:30 + git semver [Pipeline] } 23:39:30 $ docker stop --time=1 6026a25b3a07395c2e201ea42263d320f8c04ecf104af75b0e7101f344fc8f33 23:39:31 $ docker rm -f 6026a25b3a07395c2e201ea42263d320f8c04ecf104af75b0e7101f344fc8f33 [Pipeline] // withDockerContainer [Pipeline] sh 23:39:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:39:32 Stashed 1 file(s) [Pipeline] echo 23:39:32 [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 23:39:47 Still waiting to schedule task 23:39:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:39:47 Still waiting to schedule task 23:39:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:40:44 Running on prd-centos7-docker-4c-2g-727 in /w/workspace/gexfoundry_device-snmp-go_PR-128 [Pipeline] { [Pipeline] ws 23:40:44 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 23:40:44 Selected Git installation does not exist. Using Default 23:40:44 The recommended git tool is: NONE 23:40:46 using credential edgex-jenkins-ssh 23:40:46 Cloning the remote Git repository 23:40:45 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 23:40:45 > git init /w/workspace/device-snmp-go/2 # timeout=10 23:40:45 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:40:45 > git --version # timeout=10 23:40:45 > git --version # 'git version 2.24.4' 23:40:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:46 [INFO] Currently running in a labeled security context 23:40:46 [INFO] Currently SELinux is 'enforcing' on the host 23:40:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh8785987826123300736.key 23:40:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:47 Merging remotes/origin/main commit 8cef9076ddadae0bb4a2071504c212bd6ac7a64c into PR head commit 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 23:40:46 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:40:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:46 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:40:46 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:40:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:46 [INFO] Currently running in a labeled security context 23:40:46 [INFO] Currently SELinux is 'enforcing' on the host 23:40:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh8392796678461294212.key 23:40:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:40:47 > git config core.sparsecheckout # timeout=10 23:40:47 > git checkout -f 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 # timeout=10 23:40:47 > git remote # timeout=10 23:40:47 > git config --get remote.origin.url # timeout=10 23:40:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:47 [INFO] Currently running in a labeled security context 23:40:47 [INFO] Currently SELinux is 'enforcing' on the host 23:40:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh4411477055091046507.key 23:40:47 Merge succeeded, producing 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 23:40:47 Checking out Revision 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 (PR-128) 23:40:47 > git merge 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 23:40:47 > git rev-parse HEAD^{commit} # timeout=10 23:40:47 > git config core.sparsecheckout # timeout=10 23:40:47 > git checkout -f 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 # timeout=10 23:40:51 Commit message: "build: Update to use released SDK and go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:51 provisioning config files... 23:40:51 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config3569075978175924562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:51 ---> docker-login.sh 23:40:51 nexus3.edgexfoundry.org:10001 23:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:51 Configure a credential helper to remove this warning. See 23:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:51 23:40:51 Login Succeeded 23:40:51 nexus3.edgexfoundry.org:10002 23:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:52 Configure a credential helper to remove this warning. See 23:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:52 23:40:52 Login Succeeded 23:40:52 nexus3.edgexfoundry.org:10003 23:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:52 Configure a credential helper to remove this warning. See 23:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:52 23:40:52 Login Succeeded 23:40:52 nexus3.edgexfoundry.org:10004 23:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:52 Configure a credential helper to remove this warning. See 23:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:52 23:40:52 Login Succeeded 23:40:52 docker.io 23:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:52 Configure a credential helper to remove this warning. See 23:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:52 23:40:52 Login Succeeded 23:40:52 ---> docker-login.sh ends [Pipeline] } 23:40:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:52 ========================================================= 23:40:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:40:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:40:53 + 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 . 23:40:53 Sending build context to Docker daemon 487.4kB 23:40:53 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:40:53 Step 2/11 : FROM ${BASE} AS builder 23:40:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:40:53 a0d0a0d46f8b: Pulling fs layer 23:40:53 31adcdaf11c8: Pulling fs layer 23:40:53 b8b176561691: Pulling fs layer 23:40:53 4527c011a84f: Pulling fs layer 23:40:53 5d74067f8e1e: Pulling fs layer 23:40:53 e0aca202a116: Pulling fs layer 23:40:53 3a43be97a3b4: Pulling fs layer 23:40:53 34cad66bf833: Pulling fs layer 23:40:53 b4e3c513aaa6: Pulling fs layer 23:40:53 4527c011a84f: Waiting 23:40:53 3a43be97a3b4: Waiting 23:40:53 5d74067f8e1e: Waiting 23:40:53 e0aca202a116: Waiting 23:40:53 34cad66bf833: Waiting 23:40:53 b4e3c513aaa6: Waiting 23:40:53 b8b176561691: Verifying Checksum 23:40:53 b8b176561691: Download complete 23:40:53 31adcdaf11c8: Verifying Checksum 23:40:53 31adcdaf11c8: Download complete 23:40:53 5d74067f8e1e: Verifying Checksum 23:40:53 5d74067f8e1e: Download complete 23:40:53 e0aca202a116: Verifying Checksum 23:40:53 e0aca202a116: Download complete 23:40:53 a0d0a0d46f8b: Verifying Checksum 23:40:53 a0d0a0d46f8b: Download complete 23:40:53 3a43be97a3b4: Verifying Checksum 23:40:53 3a43be97a3b4: Download complete 23:40:53 34cad66bf833: Verifying Checksum 23:40:53 34cad66bf833: Download complete 23:40:53 a0d0a0d46f8b: Pull complete 23:40:53 4527c011a84f: Verifying Checksum 23:40:53 4527c011a84f: Download complete 23:40:53 b4e3c513aaa6: Verifying Checksum 23:40:53 b4e3c513aaa6: Download complete 23:40:53 31adcdaf11c8: Pull complete 23:40:53 b8b176561691: Pull complete 23:40:57 4527c011a84f: Pull complete 23:40:57 5d74067f8e1e: Pull complete 23:40:57 e0aca202a116: Pull complete 23:40:57 3a43be97a3b4: Pull complete 23:40:57 34cad66bf833: Pull complete 23:41:00 b4e3c513aaa6: Pull complete 23:41:00 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 23:41:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:41:00 ---> 9f6097aaca64 23:41:00 Step 3/11 : ARG MAKE='make build' 23:41:04 ---> Running in 3e80fec52d76 23:41:04 Removing intermediate container 3e80fec52d76 23:41:04 ---> db92d2f5647d 23:41:04 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:41:04 ---> Running in eead88e16cf2 23:41:04 Removing intermediate container eead88e16cf2 23:41:04 ---> c9fb74486887 23:41:04 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:41:04 ---> Running in c1c54c2b6352 23:41:04 Removing intermediate container c1c54c2b6352 23:41:04 ---> 107a515bcdd7 23:41:04 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:04 ---> Running in 0faa3c86de89 23:41:05 Removing intermediate container 0faa3c86de89 23:41:05 ---> 2b09b9a85a74 23:41:05 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:05 ---> Running in 38714bba3a51 23:41:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:41:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:41:06 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:41:06 (2/4) Installing libedit (20210216.3.1-r0) 23:41:06 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:41:06 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:41:06 Executing busybox-1.33.1-r3.trigger 23:41:06 OK: 224 MiB in 56 packages 23:41:07 Removing intermediate container 38714bba3a51 23:41:07 ---> 8684cd67234b 23:41:07 Step 8/11 : WORKDIR /device-snmp-go 23:41:07 ---> Running in 7cbcdd301228 23:41:07 Removing intermediate container 7cbcdd301228 23:41:07 ---> e7c0fe4d3c06 23:41:07 Step 9/11 : COPY . . 23:41:07 ---> 732ff9880ce4 23:41:07 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:07 ---> Running in 49fc8d950fd1 23:41:39 Removing intermediate container 49fc8d950fd1 23:41:39 ---> 6bbad4f738c3 23:41:39 Step 11/11 : RUN ${MAKE} 23:41:39 ---> Running in a273bfdc778d 23:41:39 noop 23:41:39 Removing intermediate container a273bfdc778d 23:41:39 ---> b30713a9e1f8 23:41:39 Successfully built b30713a9e1f8 23:41:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:41:40 + docker inspect -f . ci-base-image-x86_64 23:41:40 . [Pipeline] withDockerContainer 23:41:40 prd-centos7-docker-4c-2g-727 does not seem to be running inside a container 23:41:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:41:40 $ docker top fa9fc9423e21c76e73797e8493f7bed8b5d0a279613d309693dd5cb1595514a1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:41 + go version 23:41:41 go version go1.16.8 linux/amd64 [Pipeline] } 23:41:41 $ docker stop --time=1 fa9fc9423e21c76e73797e8493f7bed8b5d0a279613d309693dd5cb1595514a1 23:41:42 $ docker rm -f fa9fc9423e21c76e73797e8493f7bed8b5d0a279613d309693dd5cb1595514a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:41:42 + docker inspect -f . ci-base-image-x86_64 23:41:42 . [Pipeline] withDockerContainer 23:41:42 prd-centos7-docker-4c-2g-727 does not seem to be running inside a container 23:41:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:41:43 $ docker top 566015c991ec2573ba5586332f6d619d034e8d4afc05e42e95512433b227469d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:41:43 + make test 23:41:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:41:43 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:42:02 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:42:02 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 23:42:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:42:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:42:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:42:05 ./bin/test-attribution-txt.sh [Pipeline] echo 23:42:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:42:05 $ docker stop --time=1 566015c991ec2573ba5586332f6d619d034e8d4afc05e42e95512433b227469d 23:42:07 $ docker rm -f 566015c991ec2573ba5586332f6d619d034e8d4afc05e42e95512433b227469d [Pipeline] // withDockerContainer [Pipeline] sh 23:42:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:42:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:42:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:42:08 + ls -al . 23:42:08 total 144 23:42:08 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 15 23:42 . 23:42:08 drwxrwxr-x. 4 jenkins jenkins 28 Nov 15 23:40 .. 23:42:08 -rw-rw-r--. 1 jenkins jenkins 6926 Nov 15 23:40 Attribution.txt 23:42:08 drwxrwxr-x. 2 jenkins jenkins 60 Nov 15 23:40 bin 23:42:08 -rw-rw-r--. 1 jenkins jenkins 4401 Nov 15 23:40 CHANGELOG.md 23:42:08 drwxrwxr-x. 3 jenkins jenkins 32 Nov 15 23:40 cmd 23:42:08 -rw-r--r--. 1 jenkins jenkins 7631 Nov 15 23:41 coverage.out 23:42:08 -rw-rw-r--. 1 jenkins jenkins 1493 Nov 15 23:40 Dockerfile 23:42:08 -rw-rw-r--. 1 jenkins jenkins 6 Nov 15 23:40 .dockerignore 23:42:08 drwxrwxr-x. 8 jenkins jenkins 179 Nov 15 23:40 .git 23:42:08 drwxrwxr-x. 2 jenkins jenkins 103 Nov 15 23:40 .github 23:42:08 -rw-rw-r--. 1 jenkins jenkins 262 Nov 15 23:40 .gitignore 23:42:08 -rw-rw-r--. 1 jenkins jenkins 208 Nov 15 23:40 go.mod 23:42:08 -rw-rw-r--. 1 jenkins jenkins 49477 Nov 15 23:40 go.sum 23:42:08 -rw-rw-r--. 1 jenkins jenkins 677 Nov 15 23:40 GOVERNANCE.md 23:42:08 drwxrwxr-x. 3 jenkins jenkins 20 Nov 15 23:40 internal 23:42:08 -rw-rw-r--. 1 jenkins jenkins 656 Nov 15 23:40 Jenkinsfile 23:42:08 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 15 23:40 LICENSE 23:42:08 -rw-rw-r--. 1 jenkins jenkins 1057 Nov 15 23:40 Makefile 23:42:08 -rw-rw-r--. 1 jenkins jenkins 620 Nov 15 23:40 OWNERS.md 23:42:08 -rw-rw-r--. 1 jenkins jenkins 9073 Nov 15 23:40 README.md 23:42:08 drwxrwxr-x. 3 jenkins jenkins 58 Nov 15 23:40 snap 23:42:08 -rw-rw-r--. 1 jenkins jenkins 5 Nov 15 23:39 VERSION 23:42:08 -rw-rw-r--. 1 jenkins jenkins 209 Nov 15 23:40 version.go [Pipeline] isUnix [Pipeline] sh 23:42:08 + 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=9e6018e9f2b7a8030ddb94953420ef599e70f3d3 --label arch=amd64 --label version=0.0.0 . 23:42:08 Sending build context to Docker daemon 495.6kB 23:42:08 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 23:42:08 Step 2/23 : FROM ${BASE} AS builder 23:42:08 ---> b30713a9e1f8 23:42:08 Step 3/23 : ARG MAKE='make build' 23:42:08 ---> Running in 7ba0e50dc90f 23:42:09 Removing intermediate container 7ba0e50dc90f 23:42:09 ---> 57059bcfb775 23:42:09 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:42:09 ---> Running in ecd073e476de 23:42:09 Removing intermediate container ecd073e476de 23:42:09 ---> c43def1ca317 23:42:09 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 23:42:09 ---> Running in be713b58c075 23:42:09 Removing intermediate container be713b58c075 23:42:09 ---> 9d20149f11b7 23:42:09 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:09 ---> Running in 76fcf3c43733 23:42:09 Removing intermediate container 76fcf3c43733 23:42:09 ---> 32e6eaa0c4f4 23:42:09 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:10 ---> Running in 43bace6e1da7 23:42:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:42:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:42:11 OK: 224 MiB in 56 packages 23:42:11 Removing intermediate container 43bace6e1da7 23:42:11 ---> 304630684392 23:42:11 Step 8/23 : WORKDIR /device-snmp-go 23:42:11 ---> Running in 157a3d2d6fad 23:42:11 Removing intermediate container 157a3d2d6fad 23:42:11 ---> ef7ee38affbb 23:42:11 Step 9/23 : COPY . . 23:42:12 ---> 1cf9060503d4 23:42:12 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:12 ---> Running in 268bc8db3660 23:42:12 Removing intermediate container 268bc8db3660 23:42:12 ---> 5377a7fc50a8 23:42:12 Step 11/23 : RUN ${MAKE} 23:42:13 ---> Running in 0f356edc7f10 23:42:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 23:42:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-728 in /w/workspace/gexfoundry_device-snmp-go_PR-128 [Pipeline] { [Pipeline] ws 23:42:14 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 23:42:14 Selected Git installation does not exist. Using Default 23:42:14 The recommended git tool is: NONE 23:42:20 using credential edgex-jenkins-ssh 23:42:20 Cloning the remote Git repository 23:42:20 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 23:42:20 > git init /w/workspace/device-snmp-go/2 # timeout=10 23:42:21 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:42:21 > git --version # timeout=10 23:42:21 > git --version # 'git version 2.17.1' 23:42:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:21 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:42:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:21 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:42:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:42:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:42:22 Merging remotes/origin/main commit 8cef9076ddadae0bb4a2071504c212bd6ac7a64c into PR head commit 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 23:42:22 Merge succeeded, producing 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 23:42:22 Checking out Revision 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 (PR-128) 23:42:22 > git config core.sparsecheckout # timeout=10 23:42:22 > git checkout -f 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 # timeout=10 23:42:22 > git remote # timeout=10 23:42:22 > git config --get remote.origin.url # timeout=10 23:42:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:22 > git merge 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 23:42:22 > git rev-parse HEAD^{commit} # timeout=10 23:42:22 > git config core.sparsecheckout # timeout=10 23:42:22 > git checkout -f 9e6018e9f2b7a8030ddb94953420ef599e70f3d3 # timeout=10 23:42:25 Removing intermediate container 0f356edc7f10 23:42:25 ---> 4f954a5a64a3 23:42:25 Step 12/23 : FROM alpine:3.14 23:42:25 3.14: Pulling from library/alpine 23:42:25 97518928ae5f: Pulling fs layer 23:42:25 97518928ae5f: Verifying Checksum 23:42:25 97518928ae5f: Download complete 23:42:25 97518928ae5f: Pull complete 23:42:25 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 23:42:25 Status: Downloaded newer image for alpine:3.14 23:42:25 ---> 0a97eee8041e 23:42:25 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 23:42:25 ---> Running in 4a9219308eab 23:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:42:26 (1/6) Installing dumb-init (1.2.5-r1) 23:42:26 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:42:26 (3/6) Installing libsodium (1.0.18-r0) 23:42:26 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:42:26 (5/6) Installing libzmq (4.3.4-r0) 23:42:26 (6/6) Installing zeromq (4.3.4-r0) 23:42:26 Executing busybox-1.33.1-r6.trigger 23:42:26 OK: 8 MiB in 20 packages 23:42:26 Removing intermediate container 4a9219308eab 23:42:26 ---> 971a5dac8268 23:42:26 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 23:42:27 Commit message: "build: Update to use released SDK and go-mods" 23:42:27 ---> 07aab7d80154 23:42:27 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:42:27 ---> e8582d12f576 23:42:27 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:27 ---> 007fbc6f632a 23:42:27 Step 17/23 : EXPOSE 59993 23:42:27 ---> Running in 3fff0a7ccaa6 23:42:27 Removing intermediate container 3fff0a7ccaa6 23:42:27 ---> fa7851828900 23:42:27 Step 18/23 : EXPOSE 161 23:42:27 ---> Running in 15850e3a1406 23:42:27 Removing intermediate container 15850e3a1406 23:42:27 ---> 7469a32e1c8f 23:42:27 Step 19/23 : ENTRYPOINT ["/device-snmp"] 23:42:27 ---> Running in 86125e2ddcae 23:42:27 Removing intermediate container 86125e2ddcae 23:42:27 ---> d02a938433c3 23:42:27 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:42:27 ---> Running in 2fa6454ab05e 23:42:27 Removing intermediate container 2fa6454ab05e 23:42:27 ---> 79696ecb938b 23:42:27 Step 21/23 : LABEL arch=amd64 23:42:27 ---> Running in f1709f91b617 23:42:27 Removing intermediate container f1709f91b617 23:42:27 ---> 3fb31ea25eae 23:42:27 Step 22/23 : LABEL git_sha=9e6018e9f2b7a8030ddb94953420ef599e70f3d3 23:42:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:42:27 % Total % Received % Xferd Average Speed Time Time Time Current 23:42:27 Dload Upload Total Spent Left Speed 23:42:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 23:42:28 ---> Running in 18ade01ab17f 23:42:28 Removing intermediate container 18ade01ab17f 23:42:28 ---> 357153bb6be7 23:42:28 Step 23/23 : LABEL version=0.0.0 23:42:28 ---> Running in a64bad5bccb5 23:42:28 Removing intermediate container a64bad5bccb5 23:42:28 ---> 92997c59deaf 23:42:28 [Warning] One or more build-args [ARCH] were not consumed 23:42:28 Successfully built 92997c59deaf 23:42:28 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] } 23:42:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // stage Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:42:28 + sudo tee /etc/docker/daemon.new 23:42:28 { 23:42:28 "registry-mirrors": [ 23:42:28 "https://nexus3.edgexfoundry.org:10001" 23:42:28 ], 23:42:28 "bip": "10.250.0.254/24", 23:42:28 "hosts": [ 23:42:28 "tcp://0.0.0.0:5555", 23:42:28 "unix:///var/run/docker.sock" 23:42:28 ], 23:42:28 "mtu": 1458, 23:42:28 "selinux-enabled": true, 23:42:28 "seccomp-profile": "/etc/docker/seccomp.json" 23:42:28 } [Pipeline] sh 23:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:28 23:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:42:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:42:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:29 latest: Pulling from edgex-lftools-log-publisher 23:42:29 b4d181a07f80: Pulling fs layer 23:42:29 a1111a8f2ec3: Pulling fs layer 23:42:29 ed53099fbce6: Pulling fs layer 23:42:29 dc539afda2c1: Pulling fs layer 23:42:29 77bc0d833cb6: Pulling fs layer 23:42:29 9065ff56babe: Pulling fs layer 23:42:29 d287ab97295c: Pulling fs layer 23:42:29 dc539afda2c1: Waiting 23:42:29 77bc0d833cb6: Waiting 23:42:29 9065ff56babe: Waiting 23:42:29 d287ab97295c: Waiting 23:42:29 a1111a8f2ec3: Verifying Checksum 23:42:29 a1111a8f2ec3: Download complete 23:42:29 dc539afda2c1: Verifying Checksum 23:42:29 dc539afda2c1: Download complete 23:42:29 ed53099fbce6: Verifying Checksum 23:42:29 ed53099fbce6: Download complete 23:42:29 9065ff56babe: Verifying Checksum 23:42:29 9065ff56babe: Download complete 23:42:29 77bc0d833cb6: Verifying Checksum 23:42:29 77bc0d833cb6: Download complete 23:42:29 b4d181a07f80: Verifying Checksum 23:42:29 b4d181a07f80: Download complete 23:42:29 + sudo service docker restart 23:42:30 d287ab97295c: Verifying Checksum 23:42:30 d287ab97295c: Download complete 23:42:30 b4d181a07f80: Pull complete 23:42:30 a1111a8f2ec3: Pull complete 23:42:31 ed53099fbce6: Pull complete 23:42:31 dc539afda2c1: Pull complete 23:42:31 77bc0d833cb6: Pull complete 23:42:31 9065ff56babe: Pull complete 23:42:37 d287ab97295c: Pull complete 23:42:37 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:42:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:42:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:42:37 prd-centos7-docker-4c-2g-727 does not seem to be running inside a container 23:42:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:42:39 $ docker top f2af9bb851f10b61d70ce0d11e8dc83bcd85904dee4fd32701d719b93554e961 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:39 ---> job-cost.sh 23:42:39 lf-activate-venv: SKIPPING 23:42:39 INFO: No Stack... 23:42:40 INFO: Retrieving Pricing Info for: v3-standard-2 23:42:40 INFO: Archiving Costs [Pipeline] sh 23:42:40 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 23:42:40 + cut -d, -f6 [Pipeline] lock 23:42:40 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-128-2-stack-cost] 23:42:40 Resource [jenkins-edgexfoundry-device-snmp-go-PR-128-2-stack-cost] did not exist. Created. 23:42:40 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-128-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:42:41 + echo total: 0.05999999865889549 [Pipeline] stash 23:42:41 Stashed 1 file(s) [Pipeline] } 23:42:41 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-128-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:42:41 $ docker stop --time=1 f2af9bb851f10b61d70ce0d11e8dc83bcd85904dee4fd32701d719b93554e961 23:42:42 $ docker rm -f f2af9bb851f10b61d70ce0d11e8dc83bcd85904dee4fd32701d719b93554e961 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:47 provisioning config files... 23:42:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config504754037179213478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:48 ---> docker-login.sh 23:42:48 nexus3.edgexfoundry.org:10001 23:42:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:49 Configure a credential helper to remove this warning. See 23:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:49 23:42:49 Login Succeeded 23:42:49 nexus3.edgexfoundry.org:10002 23:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:49 Configure a credential helper to remove this warning. See 23:42:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:49 23:42:49 Login Succeeded 23:42:49 nexus3.edgexfoundry.org:10003 23:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:50 Configure a credential helper to remove this warning. See 23:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:50 23:42:50 Login Succeeded 23:42:50 nexus3.edgexfoundry.org:10004 23:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:50 Configure a credential helper to remove this warning. See 23:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:50 23:42:50 Login Succeeded 23:42:50 docker.io 23:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:51 Configure a credential helper to remove this warning. See 23:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:51 23:42:51 Login Succeeded 23:42:51 ---> docker-login.sh ends [Pipeline] } 23:42:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:42:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:52 ========================================================= 23:42:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:42:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:42:52 + 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 . 23:42:52 Sending build context to Docker daemon 486.4kB 23:42:52 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:42:52 Step 2/11 : FROM ${BASE} AS builder 23:42:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:42:53 552d1f2373af: Pulling fs layer 23:42:53 ea3f2d53f512: Pulling fs layer 23:42:53 9e70ebbbe112: Pulling fs layer 23:42:53 7a9cfe048b4a: Pulling fs layer 23:42:53 72dc09318566: Pulling fs layer 23:42:53 f4f7b4309257: Pulling fs layer 23:42:53 0ac9a79272e3: Pulling fs layer 23:42:53 b78e95d17946: Pulling fs layer 23:42:53 f4f7b4309257: Waiting 23:42:53 0ac9a79272e3: Waiting 23:42:53 b78e95d17946: Waiting 23:42:53 72dc09318566: Waiting 23:42:53 9e70ebbbe112: Download complete 23:42:53 ea3f2d53f512: Verifying Checksum 23:42:53 ea3f2d53f512: Download complete 23:42:53 72dc09318566: Verifying Checksum 23:42:53 72dc09318566: Download complete 23:42:53 f4f7b4309257: Verifying Checksum 23:42:53 f4f7b4309257: Download complete 23:42:53 552d1f2373af: Verifying Checksum 23:42:53 0ac9a79272e3: Verifying Checksum 23:42:53 0ac9a79272e3: Download complete 23:42:54 552d1f2373af: Pull complete 23:42:54 ea3f2d53f512: Pull complete 23:42:55 9e70ebbbe112: Pull complete 23:42:55 b78e95d17946: Verifying Checksum 23:42:55 b78e95d17946: Download complete 23:42:55 7a9cfe048b4a: Verifying Checksum 23:42:55 7a9cfe048b4a: Download complete 23:43:05 7a9cfe048b4a: Pull complete 23:43:06 72dc09318566: Pull complete 23:43:06 f4f7b4309257: Pull complete 23:43:06 0ac9a79272e3: Pull complete 23:43:12 b78e95d17946: Pull complete 23:43:12 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 23:43:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:43:12 ---> 8b459fc5aaf0 23:43:12 Step 3/11 : ARG MAKE='make build' 23:43:13 ---> Running in 8848ebdcc4e2 23:43:14 Removing intermediate container 8848ebdcc4e2 23:43:14 ---> 223004e3bb4f 23:43:14 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:43:14 ---> Running in 52eb47b56ad7 23:43:14 Removing intermediate container 52eb47b56ad7 23:43:14 ---> 407c1d48f232 23:43:14 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:43:14 ---> Running in 6d23ae75fedf 23:43:15 Removing intermediate container 6d23ae75fedf 23:43:15 ---> 6bfce175e3f2 23:43:15 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:43:15 ---> Running in 6a9db60edef2 23:43:17 Removing intermediate container 6a9db60edef2 23:43:17 ---> 83e80a21ffbb 23:43:17 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:43:17 ---> Running in 0c8678d15373 23:43:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:43:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:43:20 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:43:20 (2/4) Installing libedit (20210216.3.1-r0) 23:43:20 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:43:20 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:43:21 Executing busybox-1.33.1-r3.trigger 23:43:21 OK: 223 MiB in 56 packages 23:43:22 Removing intermediate container 0c8678d15373 23:43:22 ---> 62945e76e975 23:43:22 Step 8/11 : WORKDIR /device-snmp-go 23:43:22 ---> Running in 20288f1fabec 23:43:22 Removing intermediate container 20288f1fabec 23:43:22 ---> 4a0b57693bbc 23:43:22 Step 9/11 : COPY . . 23:43:23 ---> 114471fb1599 23:43:23 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:23 ---> Running in 1d26f3885031 23:44:45 Removing intermediate container 1d26f3885031 23:44:45 ---> 8fd36ba4ef6f 23:44:45 Step 11/11 : RUN ${MAKE} 23:44:45 ---> Running in 8bfeb4fe99dd 23:44:45 noop 23:44:45 Removing intermediate container 8bfeb4fe99dd 23:44:45 ---> c21398316a90 23:44:45 Successfully built c21398316a90 23:44:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:44:45 + docker inspect -f . ci-base-image-arm64 23:44:45 . [Pipeline] withDockerContainer 23:44:46 prd-ubuntu18.04-docker-arm64-4c-16g-728 does not seem to be running inside a container 23:44:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:44:47 $ docker top 220e8d94a38bc99bff59bc0f0890e2e047954ffccc265841d8fa5979e8a721b3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:48 + go version 23:44:48 go version go1.16.8 linux/arm64 [Pipeline] } 23:44:48 $ docker stop --time=1 220e8d94a38bc99bff59bc0f0890e2e047954ffccc265841d8fa5979e8a721b3 23:44:50 $ docker rm -f 220e8d94a38bc99bff59bc0f0890e2e047954ffccc265841d8fa5979e8a721b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:44:51 + docker inspect -f . ci-base-image-arm64 23:44:51 . [Pipeline] withDockerContainer 23:44:51 prd-ubuntu18.04-docker-arm64-4c-16g-728 does not seem to be running inside a container 23:44:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:44:53 $ docker top b293f634e953aca2b16e9da99343d439edd0b564a0c57b46b2b22522ce0192ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:44:54 + make test 23:44:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:44:55 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:45:52 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:45:52 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 23:45:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:46:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:46:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:46:14 ./bin/test-attribution-txt.sh [Pipeline] echo 23:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:46:14 $ docker stop --time=1 b293f634e953aca2b16e9da99343d439edd0b564a0c57b46b2b22522ce0192ed 23:46:16 $ docker rm -f b293f634e953aca2b16e9da99343d439edd0b564a0c57b46b2b22522ce0192ed [Pipeline] // withDockerContainer [Pipeline] sh 23:46:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:46:17 Warning: overwriting stash ‘coverage-report’ 23:46:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:46:18 + ls -al . 23:46:18 total 172 23:46:18 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:46 . 23:46:18 drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 23:42 .. 23:46:18 -rw-rw-r-- 1 jenkins jenkins 6 Nov 15 23:42 .dockerignore 23:46:18 drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:42 .git 23:46:18 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 23:42 .github 23:46:18 -rw-rw-r-- 1 jenkins jenkins 262 Nov 15 23:42 .gitignore 23:46:18 -rw-rw-r-- 1 jenkins jenkins 6926 Nov 15 23:42 Attribution.txt 23:46:18 -rw-rw-r-- 1 jenkins jenkins 4401 Nov 15 23:42 CHANGELOG.md 23:46:18 -rw-rw-r-- 1 jenkins jenkins 1493 Nov 15 23:42 Dockerfile 23:46:18 -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 23:42 GOVERNANCE.md 23:46:18 -rw-rw-r-- 1 jenkins jenkins 656 Nov 15 23:42 Jenkinsfile 23:46:18 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 23:42 LICENSE 23:46:18 -rw-rw-r-- 1 jenkins jenkins 1057 Nov 15 23:42 Makefile 23:46:18 -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 23:42 OWNERS.md 23:46:18 -rw-rw-r-- 1 jenkins jenkins 9073 Nov 15 23:42 README.md 23:46:18 -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 23:39 VERSION 23:46:18 drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 23:42 bin 23:46:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 23:42 cmd 23:46:18 -rw-r--r-- 1 jenkins jenkins 7631 Nov 15 23:45 coverage.out 23:46:18 -rw-rw-r-- 1 jenkins jenkins 208 Nov 15 23:42 go.mod 23:46:18 -rw-rw-r-- 1 jenkins jenkins 49477 Nov 15 23:42 go.sum 23:46:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 23:42 internal 23:46:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 23:42 snap 23:46:18 -rw-rw-r-- 1 jenkins jenkins 209 Nov 15 23:42 version.go [Pipeline] isUnix [Pipeline] sh 23:46:19 + 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=9e6018e9f2b7a8030ddb94953420ef599e70f3d3 --label arch=arm64 --label version=0.0.0 . 23:46:19 Sending build context to Docker daemon 494.6kB 23:46:19 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 23:46:19 Step 2/23 : FROM ${BASE} AS builder 23:46:19 ---> c21398316a90 23:46:19 Step 3/23 : ARG MAKE='make build' 23:46:19 ---> Running in f1d4ea272a4c 23:46:20 Removing intermediate container f1d4ea272a4c 23:46:20 ---> be7f413ca163 23:46:20 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:46:20 ---> Running in 04d2919a29e7 23:46:20 Removing intermediate container 04d2919a29e7 23:46:20 ---> c620d0a6c4d9 23:46:20 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 23:46:20 ---> Running in 64733eff3937 23:46:21 Removing intermediate container 64733eff3937 23:46:21 ---> 6a8d495a4e5d 23:46:21 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:46:21 ---> Running in 19d3a4010523 23:46:23 Removing intermediate container 19d3a4010523 23:46:23 ---> 9e7b24639818 23:46:23 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:46:23 ---> Running in 5e78f0359c00 23:46:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:46:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:46:26 OK: 223 MiB in 56 packages 23:46:27 Removing intermediate container 5e78f0359c00 23:46:27 ---> f14727441f85 23:46:27 Step 8/23 : WORKDIR /device-snmp-go 23:46:27 ---> Running in f46595c9d833 23:46:27 Removing intermediate container f46595c9d833 23:46:27 ---> 9c4952e09cc9 23:46:27 Step 9/23 : COPY . . 23:46:29 ---> 4e3f56bfc763 23:46:29 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:46:29 ---> Running in 85036e890005 23:46:31 Removing intermediate container 85036e890005 23:46:31 ---> b7aa6074d9dd 23:46:31 Step 11/23 : RUN ${MAKE} 23:46:31 ---> Running in 127b079a81ed 23:46:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 23:47:12 Removing intermediate container 127b079a81ed 23:47:12 ---> ea7c7494718b 23:47:12 Step 12/23 : FROM alpine:3.14 23:47:14 3.14: Pulling from library/alpine 23:47:14 be307f383ecc: Pulling fs layer 23:47:14 be307f383ecc: Verifying Checksum 23:47:14 be307f383ecc: Download complete 23:47:15 be307f383ecc: Pull complete 23:47:15 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 23:47:15 Status: Downloaded newer image for alpine:3.14 23:47:15 ---> 5b8b7b635229 23:47:15 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 23:47:15 ---> Running in 61698d9972c0 23:47:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:47:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:47:17 (1/6) Installing dumb-init (1.2.5-r1) 23:47:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:47:17 (3/6) Installing libsodium (1.0.18-r0) 23:47:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:47:17 (5/6) Installing libzmq (4.3.4-r0) 23:47:17 (6/6) Installing zeromq (4.3.4-r0) 23:47:17 Executing busybox-1.33.1-r6.trigger 23:47:17 OK: 8 MiB in 20 packages 23:47:18 Removing intermediate container 61698d9972c0 23:47:18 ---> 808ff1496a39 23:47:18 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 23:47:19 ---> ea9fe0fd4e2b 23:47:19 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:47:20 ---> a11b37c0e544 23:47:20 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 23:47:20 ---> f0f80dc8e13e 23:47:20 Step 17/23 : EXPOSE 59993 23:47:21 ---> Running in af8e8e1b3f38 23:47:21 Removing intermediate container af8e8e1b3f38 23:47:21 ---> 4a94aeeb6611 23:47:21 Step 18/23 : EXPOSE 161 23:47:21 ---> Running in e863884393dd 23:47:21 Removing intermediate container e863884393dd 23:47:21 ---> fa78930d68ab 23:47:21 Step 19/23 : ENTRYPOINT ["/device-snmp"] 23:47:21 ---> Running in 43cf904f59f0 23:47:22 Removing intermediate container 43cf904f59f0 23:47:22 ---> 024c07327dc3 23:47:22 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:47:22 ---> Running in 80db80fd32aa 23:47:22 Removing intermediate container 80db80fd32aa 23:47:22 ---> c62b8a62e17e 23:47:22 Step 21/23 : LABEL arch=arm64 23:47:22 ---> Running in 04c1936d07b8 23:47:23 Removing intermediate container 04c1936d07b8 23:47:23 ---> 582493ca655f 23:47:23 Step 22/23 : LABEL git_sha=9e6018e9f2b7a8030ddb94953420ef599e70f3d3 23:47:23 ---> Running in 3999726e3022 23:47:23 Removing intermediate container 3999726e3022 23:47:23 ---> 0074943febf1 23:47:23 Step 23/23 : LABEL version=0.0.0 23:47:23 ---> Running in b800c5b0e044 23:47:24 Removing intermediate container b800c5b0e044 23:47:24 ---> db5abc53eb26 23:47:24 [Warning] One or more build-args [ARCH] were not consumed 23:47:24 Successfully built db5abc53eb26 23:47:24 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 23:47:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:24 23:47:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:47:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:25 arm64: Pulling from edgex-lftools-log-publisher 23:47:25 448f6bf000e3: Pulling fs layer 23:47:25 f757da607395: Pulling fs layer 23:47:25 05883995daec: Pulling fs layer 23:47:25 8603b9c90790: Pulling fs layer 23:47:25 1560dd03e051: Pulling fs layer 23:47:25 27f5ce0e4adf: Pulling fs layer 23:47:25 c2d8d7efcc4b: Pulling fs layer 23:47:25 1560dd03e051: Waiting 23:47:25 27f5ce0e4adf: Waiting 23:47:25 c2d8d7efcc4b: Waiting 23:47:25 8603b9c90790: Waiting 23:47:25 f757da607395: Verifying Checksum 23:47:25 f757da607395: Download complete 23:47:25 8603b9c90790: Verifying Checksum 23:47:25 8603b9c90790: Download complete 23:47:25 1560dd03e051: Verifying Checksum 23:47:25 1560dd03e051: Download complete 23:47:25 05883995daec: Verifying Checksum 23:47:25 05883995daec: Download complete 23:47:25 27f5ce0e4adf: Verifying Checksum 23:47:25 27f5ce0e4adf: Download complete 23:47:25 448f6bf000e3: Verifying Checksum 23:47:25 448f6bf000e3: Download complete 23:47:28 c2d8d7efcc4b: Verifying Checksum 23:47:28 c2d8d7efcc4b: Download complete 23:47:29 448f6bf000e3: Pull complete 23:47:29 f757da607395: Pull complete 23:47:31 05883995daec: Pull complete 23:47:31 8603b9c90790: Pull complete 23:47:32 1560dd03e051: Pull complete 23:47:32 27f5ce0e4adf: Pull complete 23:47:47 c2d8d7efcc4b: Pull complete 23:47:47 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:47:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:47:48 prd-ubuntu18.04-docker-arm64-4c-16g-728 does not seem to be running inside a container 23:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:47:51 $ docker top 68678adf73d8632292391e2672be0a7f6263c43853bf49a7ffefa51b06ae80ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:51 ---> job-cost.sh 23:47:51 lf-activate-venv: SKIPPING 23:47:51 INFO: No Stack... 23:47:52 INFO: Retrieving Pricing Info for: v3-standard-4 23:47:52 INFO: Archiving Costs [Pipeline] sh 23:47:53 + cut -d, -f6 23:47:53 + cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock 23:47:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-128-2-stack-cost] 23:47:53 Resource [jenkins-edgexfoundry-device-snmp-go-PR-128-2-stack-cost] did not exist. Created. 23:47:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-128-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:47:53 /w/workspace/device-snmp-go/2@tmp/durable-4492df09/script.sh: 1: /w/workspace/device-snmp-go/2@tmp/durable-4492df09/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:47:54 + echo total: 0.10999999940395355 [Pipeline] stash 23:47:54 Warning: overwriting stash ‘stack-cost’ 23:47:54 Stashed 1 file(s) [Pipeline] } 23:47:54 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-128-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:47:54 $ docker stop --time=1 68678adf73d8632292391e2672be0a7f6263c43853bf49a7ffefa51b06ae80ea 23:47:56 $ docker rm -f 68678adf73d8632292391e2672be0a7f6263c43853bf49a7ffefa51b06ae80ea [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 23:47:56 provisioning config files... 23:47:56 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/config7836973507439469449tmp [Pipeline] { [Pipeline] sh 23:47:57 + set +x 23:47:57 + curl -s https://codecov.io/bash 23:47:57 + bash -s -- 23:47:57 23:47:57 _____ _ 23:47:57 / ____| | | 23:47:57 | | ___ __| | ___ ___ _____ __ 23:47:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:47:57 | |___| (_) | (_| | __/ (_| (_) \ V / 23:47:57 \_____\___/ \__,_|\___|\___\___/ \_/ 23:47:57 Bash-1.0.6 23:47:57 23:47:57 23:47:57 ==> git version 2.24.4 found 23:47:57 ==> 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 23:47:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:47:57 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:47:57 ==> Jenkins CI detected. 23:47:57 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-128 23:47:57 project root: . 23:47:57 --> token set from env 23:47:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:47:57 ==> Running gcov in . (disable via -X gcov) 23:47:57 ==> Python coveragepy not found 23:47:57 ==> Searching for coverage reports in: 23:47:57 + . 23:47:57 -> Found 1 reports 23:47:57 ==> Detecting git/mercurial file structure 23:47:57 ==> Reading reports 23:47:57 + ./coverage.out bytes=7631 23:47:57 ==> Appending adjustments 23:47:57 https://docs.codecov.io/docs/fixing-reports 23:47:57 + Found adjustments 23:47:57 ==> Gzipping contents 23:47:57 4.0K /tmp/codecov.NEijts.gz 23:47:57 ==> Uploading reports 23:47:57 url: https://codecov.io 23:47:57 query: branch=PR-128&commit=9e6018e9f2b7a8030ddb94953420ef599e70f3d3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-128%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=128&job=&cmd_args= 23:47:57 -> Pinging Codecov 23:47:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-128&commit=9e6018e9f2b7a8030ddb94953420ef599e70f3d3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-128%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=128&job=&cmd_args= 23:47:57 -> Uploading to 23:47:57 https://storage.googleapis.com/codecov/v4/raw/2021-11-15/6C56EA5C29638FB4528AC87E60AF5AE0/9e6018e9f2b7a8030ddb94953420ef599e70f3d3/42674200-b393-4a01-a52c-c5b0b8a5e699.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211115T234757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20ac252f8afb5c1d515b8d56b99ffd921cef70085f53e2ed7578e84b0eed6ca4 23:47:57 % Total % Received % Xferd Average Speed Time Time Time Current 23:47:57 Dload Upload Total Spent Left Speed 23:47:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4501 --:--:-- --:--:-- --:--:-- 4508 23:47:58 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/9e6018e9f2b7a8030ddb94953420ef599e70f3d3 [Pipeline] } 23:47:58 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:47:59 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-128/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:47:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:48:00 ---> package-listing.sh 23:48:00 ++ facter osfamily 23:48:00 ++ tr '[:upper:]' '[:lower:]' 23:48:00 + OS_FAMILY=redhat 23:48:00 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-128 23:48:00 + START_PACKAGES=/tmp/packages_start.txt 23:48:00 + END_PACKAGES=/tmp/packages_end.txt 23:48:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:48:00 + PACKAGES=/tmp/packages_start.txt 23:48:00 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-128 ']' 23:48:00 + PACKAGES=/tmp/packages_end.txt 23:48:00 + case "${OS_FAMILY}" in 23:48:00 + rpm -qa 23:48:00 + sort 23:48:01 + '[' -f /tmp/packages_start.txt ']' 23:48:01 + '[' -f /tmp/packages_end.txt ']' 23:48:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:48:01 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-128 ']' 23:48:01 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-128/archives/ 23:48:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-128/archives/ [Pipeline] echo 23:48:01 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-128/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:48:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:48:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:01 23:48:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:48:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:02 latest: Pulling from edgex-lftools-log-publisher 23:48:02 b4d181a07f80: Pulling fs layer 23:48:02 a1111a8f2ec3: Pulling fs layer 23:48:02 ed53099fbce6: Pulling fs layer 23:48:02 dc539afda2c1: Pulling fs layer 23:48:02 77bc0d833cb6: Pulling fs layer 23:48:02 9065ff56babe: Pulling fs layer 23:48:02 d287ab97295c: Pulling fs layer 23:48:02 dc539afda2c1: Waiting 23:48:02 77bc0d833cb6: Waiting 23:48:02 9065ff56babe: Waiting 23:48:02 d287ab97295c: Waiting 23:48:02 a1111a8f2ec3: Verifying Checksum 23:48:02 a1111a8f2ec3: Download complete 23:48:02 dc539afda2c1: Verifying Checksum 23:48:02 dc539afda2c1: Download complete 23:48:02 77bc0d833cb6: Verifying Checksum 23:48:02 77bc0d833cb6: Download complete 23:48:02 ed53099fbce6: Download complete 23:48:02 9065ff56babe: Verifying Checksum 23:48:02 9065ff56babe: Download complete 23:48:02 b4d181a07f80: Verifying Checksum 23:48:02 b4d181a07f80: Download complete 23:48:03 d287ab97295c: Verifying Checksum 23:48:03 d287ab97295c: Download complete 23:48:04 b4d181a07f80: Pull complete 23:48:04 a1111a8f2ec3: Pull complete 23:48:04 ed53099fbce6: Pull complete 23:48:04 dc539afda2c1: Pull complete 23:48:04 77bc0d833cb6: Pull complete 23:48:05 9065ff56babe: Pull complete 23:48:10 d287ab97295c: Pull complete 23:48:10 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:48:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:48:10 prd-centos7-docker-4c-2g-724 does not seem to be running inside a container 23:48:10 $ 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-128/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-128 -v /w/workspace/gexfoundry_device-snmp-go_PR-128:/w/workspace/gexfoundry_device-snmp-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-128@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 23:48:12 $ docker top 38b5143af5f9422ddd8c200f40e90605add9b83539845375ff653136f71a069a -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:13 + touch /tmp/pre-build-complete [Pipeline] sh 23:48:13 + mkdir -p /var/log/sysstat [Pipeline] sh 23:48:13 + ls /var/log/sa-host 23:48:13 + sadf -c /var/log/sa-host/sa15 23:48:13 file_magic: OK 23:48:13 HZ: Using current value: 100 23:48:13 file_header: OK 23:48:13 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 23:48:13 Statistics: 23:48:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:48:13 File successfully converted to sysstat format version 12.0.3 23:48:13 + sadf -c /var/log/sa-host/sa30 23:48:13 file_magic: OK 23:48:13 HZ: Using current value: 100 23:48:13 file_header: OK 23:48:13 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 23:48:13 Statistics: 23:48:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:48:13 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:48:13 provisioning config files... 23:48:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/config2021387823885986528tmp [Pipeline] { [Pipeline] echo 23:48:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:48:14 ---> create-netrc.sh [Pipeline] } 23:48:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:48:14 ---> python-tools-install.sh [Pipeline] echo 23:48:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:48:14 ---> sudo-logs.sh 23:48:14 Archiving 'sudo' log.. 23:48:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-724.novalocal: Name or service not known 23:48:14 sudo: unable to resolve host prd-centos7-docker-4c-2g-724.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:48:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:48:15 ---> job-cost.sh 23:48:15 lf-activate-venv: SKIPPING 23:48:15 DEBUG: total: 0.10999999940395355 23:48:15 INFO: Retrieving Stack Cost... 23:48:15 INFO: Retrieving Pricing Info for: v3-standard-2 23:48:16 INFO: Archiving Costs [Pipeline] echo 23:48:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:48:16 ---> logs-deploy.sh 23:48:16 lf-activate-venv: SKIPPING 23:48:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-128/2 23:48:16 INFO: archiving workspace using pattern(s): 23:48:17 Archives upload complete. 23:48:17 INFO: archiving logs to Nexus