Pull request #127 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 8bb32805f03fb28af25e69a0648a2076882556f1 rather than e0d79c548ac688cf743d558927d7f399e9d4b24f Obtained Jenkinsfile from 8bb32805f03fb28af25e69a0648a2076882556f1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1782275736985885356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh5293401136706229964.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8610899595234053947.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh1665681401236800969.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6416358257698481151.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 ‘prd-centos7-docker-4c-2g-28054’ is offline Running on prd-centos7-docker-4c-2g-28061 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-127 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh1141725058650740212.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh2389738177756737171.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit e0d79c548ac688cf743d558927d7f399e9d4b24f Merge succeeded, producing e0d79c548ac688cf743d558927d7f399e9d4b24f Checking out Revision e0d79c548ac688cf743d558927d7f399e9d4b24f (PR-127) > git config core.sparsecheckout # timeout=10 > git checkout -f e0d79c548ac688cf743d558927d7f399e9d4b24f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh1148842280095698261.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0d79c548ac688cf743d558927d7f399e9d4b24f # timeout=10 Commit message: "fix(snap): update snap/README.md" > git rev-list --no-walk f5f5f1d82da71f92d4bf88f3d282d1a023dd3b05 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:20:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:20:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:20:30 ========================================================= 07:20:30 EdgeX Global Pipelines Version Info 07:20:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:20:31 ------------------- 07:20:31 stable info: 07:20:31 ------------------- 07:20:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:20:31 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 07:20:31 Message: update stable to v1.0.211 07:20:31 ------------------- 07:20:31 experimental info: 07:20:31 ------------------- 07:20:31 Commited By: **** collab-it+edgex@linuxfoundation.org 07:20:31 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 07:20:31 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:20:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0d79c548ac688cf743d558927d7f399e9d4b24f [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0d79c5 [Pipeline] echo 07:20:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:32 provisioning config files... 07:20:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config8879856711996152088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:32 ---> docker-login.sh 07:20:32 nexus3.edgexfoundry.org:10001 07:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:32 Configure a credential helper to remove this warning. See 07:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:32 07:20:32 Login Succeeded 07:20:32 nexus3.edgexfoundry.org:10002 07:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:32 Configure a credential helper to remove this warning. See 07:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:32 07:20:32 Login Succeeded 07:20:32 nexus3.edgexfoundry.org:10003 07:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:33 Configure a credential helper to remove this warning. See 07:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:33 07:20:33 Login Succeeded 07:20:33 nexus3.edgexfoundry.org:10004 07:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:33 Configure a credential helper to remove this warning. See 07:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:33 07:20:33 Login Succeeded 07:20:33 docker.io 07:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:33 Configure a credential helper to remove this warning. See 07:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:33 07:20:33 Login Succeeded 07:20:33 ---> docker-login.sh ends [Pipeline] } 07:20:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:20:35 + git rev-list -1 --merges e0d79c548ac688cf743d558927d7f399e9d4b24f~1..e0d79c548ac688cf743d558927d7f399e9d4b24f [Pipeline] echo 07:20:35 -----------> git rev-list -1 --merges e0d79c548ac688cf743d558927d7f399e9d4b24f~1..e0d79c548ac688cf743d558927d7f399e9d4b24f e0d79c548ac688cf743d558927d7f399e9d4b24f [false] [Pipeline] sh 07:20:35 + git log --format=format:%s -1 e0d79c548ac688cf743d558927d7f399e9d4b24f [Pipeline] echo 07:20:35 ========================================================= 07:20:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:20:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:35 + git log --format=format:%s -1 e0d79c548ac688cf743d558927d7f399e9d4b24f [Pipeline] echo 07:20:35 [semverPrep] GIT_COMMIT: e0d79c548ac688cf743d558927d7f399e9d4b24f, Commit Message: fix(snap): update snap/README.md [Pipeline] echo 07:20:35 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:20:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:36 07:20:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:20:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:36 latest: Pulling from edgex-devops/git-semver 07:20:36 a0d0a0d46f8b: Pulling fs layer 07:20:36 3e5f54012d9b: Pulling fs layer 07:20:36 4c7163046ea9: Pulling fs layer 07:20:36 0c2d73faf560: Pulling fs layer 07:20:36 0c2d73faf560: Waiting 07:20:36 3e5f54012d9b: Verifying Checksum 07:20:36 3e5f54012d9b: Download complete 07:20:36 a0d0a0d46f8b: Verifying Checksum 07:20:36 a0d0a0d46f8b: Download complete 07:20:37 0c2d73faf560: Verifying Checksum 07:20:37 0c2d73faf560: Download complete 07:20:37 4c7163046ea9: Verifying Checksum 07:20:37 4c7163046ea9: Download complete 07:20:37 a0d0a0d46f8b: Pull complete 07:20:37 3e5f54012d9b: Pull complete 07:20:37 4c7163046ea9: Pull complete 07:20:37 0c2d73faf560: Pull complete 07:20:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:20:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:20:37 prd-centos7-docker-4c-2g-28061 does not seem to be running inside a container 07:20:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:20:38 $ docker top 9a5f7dee0f6d4e7e7840095b7bda5a1f34136c66d3150fbd9529a0228796c89f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:38 [ssh-agent] Looking for ssh-agent implementation... 07:20:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:38 $ docker exec 9a5f7dee0f6d4e7e7840095b7bda5a1f34136c66d3150fbd9529a0228796c89f ssh-agent 07:20:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkkOHKK/agent.14 07:20:38 SSH_AGENT_PID=20 07:20:38 Running ssh-add (command line suppressed) 07:20:38 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_2975328443014054785.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_2975328443014054785.key) 07:20:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:39 + git tag --points-at HEAD [Pipeline] } 07:20:39 $ docker exec --env ******** --env ******** 9a5f7dee0f6d4e7e7840095b7bda5a1f34136c66d3150fbd9529a0228796c89f ssh-agent -k 07:20:39 unset SSH_AUTH_SOCK; 07:20:39 unset SSH_AGENT_PID; 07:20:39 echo Agent pid 20 killed; 07:20:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:20:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:39 [ssh-agent] Looking for ssh-agent implementation... 07:20:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:39 $ docker exec 9a5f7dee0f6d4e7e7840095b7bda5a1f34136c66d3150fbd9529a0228796c89f ssh-agent 07:20:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLICfki/agent.53 07:20:39 SSH_AGENT_PID=59 07:20:39 Running ssh-add (command line suppressed) 07:20:39 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_7915466607152213381.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_7915466607152213381.key) 07:20:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:40 + git semver init 07:20:40 # -> Open(): unable to determine branch for HEAD 07:20:40 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git 07:20:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 07:20:40 # $SEMVER_REMOTE_NAME = origin 07:20:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:20:40 # $SEMVER_USER_NAME = edgex-jenkins 07:20:40 # $SEMVER_BRANCH = PR-127 07:20:40 # $SEMVER_TEMP = /tmp/semver-994059387 07:20:40 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 07:20:40 # '/tmp/semver-994059387' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' 07:20:40 # -> Force: false 07:20:40 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } 07:20:40 $ docker exec --env ******** --env ******** 9a5f7dee0f6d4e7e7840095b7bda5a1f34136c66d3150fbd9529a0228796c89f ssh-agent -k 07:20:40 unset SSH_AUTH_SOCK; 07:20:40 unset SSH_AGENT_PID; 07:20:40 echo Agent pid 59 killed; 07:20:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:20:41 + git semver [Pipeline] } 07:20:41 $ docker stop --time=1 9a5f7dee0f6d4e7e7840095b7bda5a1f34136c66d3150fbd9529a0228796c89f 07:20:42 $ docker rm -f 9a5f7dee0f6d4e7e7840095b7bda5a1f34136c66d3150fbd9529a0228796c89f [Pipeline] // withDockerContainer [Pipeline] sh 07:20:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:20:42 Stashed 1 file(s) [Pipeline] echo 07:20:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:20:57 Still waiting to schedule task 07:20:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:20:57 Still waiting to schedule task 07:20:57 ‘prd-ubuntu18.04-docker-arm64-4c-16g-28055’ is offline 07:22:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28062 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 07:22:45 Running in /w/workspace/device-snmp-go/14 [Pipeline] { [Pipeline] checkout 07:22:45 Selected Git installation does not exist. Using Default 07:22:45 The recommended git tool is: NONE 07:22:51 using credential edgex-jenkins-ssh 07:22:51 Cloning the remote Git repository 07:22:51 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:22:51 > git init /w/workspace/device-snmp-go/14 # timeout=10 07:22:51 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:22:51 > git --version # timeout=10 07:22:51 > git --version # 'git version 2.17.1' 07:22:51 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:53 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit e0d79c548ac688cf743d558927d7f399e9d4b24f 07:22:53 Merge succeeded, producing e0d79c548ac688cf743d558927d7f399e9d4b24f 07:22:53 Checking out Revision e0d79c548ac688cf743d558927d7f399e9d4b24f (PR-127) 07:22:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:22:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:22:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:22:52 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:22:53 > git config core.sparsecheckout # timeout=10 07:22:53 > git checkout -f e0d79c548ac688cf743d558927d7f399e9d4b24f # timeout=10 07:22:53 > git remote # timeout=10 07:22:53 > git config --get remote.origin.url # timeout=10 07:22:53 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:53 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 07:22:53 > git rev-parse HEAD^{commit} # timeout=10 07:22:53 > git config core.sparsecheckout # timeout=10 07:22:53 > git checkout -f e0d79c548ac688cf743d558927d7f399e9d4b24f # timeout=10 07:22:57 Commit message: "fix(snap): update snap/README.md" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:22:58 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:58 Dload Upload Total Spent Left Speed 07:22:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 23935 0 --:--:-- --:--:-- --:--:-- 23886 [Pipeline] sh 07:22:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:22:59 + sudo tee /etc/docker/daemon.new 07:22:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:22:59 { 07:22:59 "registry-mirrors": [ 07:22:59 "https://nexus3.edgexfoundry.org:10001" 07:22:59 ], 07:22:59 "bip": "10.250.0.254/24", 07:22:59 "hosts": [ 07:22:59 "tcp://0.0.0.0:5555", 07:22:59 "unix:///var/run/docker.sock" 07:22:59 ], 07:22:59 "mtu": 1458, 07:22:59 "selinux-enabled": true, 07:22:59 "seccomp-profile": "/etc/docker/seccomp.json" 07:22:59 } [Pipeline] sh 07:22:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:23:00 + sudo service docker restart 07:23:08 Running on prd-centos7-docker-4c-2g-28063 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws 07:23:08 Running in /w/workspace/device-snmp-go/14 [Pipeline] { [Pipeline] checkout 07:23:08 Selected Git installation does not exist. Using Default 07:23:08 The recommended git tool is: NONE 07:23:11 using credential edgex-jenkins-ssh 07:23:11 Cloning the remote Git repository 07:23:11 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:23:11 > git init /w/workspace/device-snmp-go/14 # timeout=10 07:23:11 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:23:11 > git --version # timeout=10 07:23:11 > git --version # 'git version 2.24.4' 07:23:11 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:11 [INFO] Currently running in a labeled security context 07:23:11 [INFO] Currently SELinux is 'enforcing' on the host 07:23:11 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/14@tmp/jenkins-gitclient-ssh5665738555767480587.key 07:23:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:12 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit e0d79c548ac688cf743d558927d7f399e9d4b24f 07:23:13 Merge succeeded, producing e0d79c548ac688cf743d558927d7f399e9d4b24f 07:23:13 Checking out Revision e0d79c548ac688cf743d558927d7f399e9d4b24f (PR-127) 07:23:11 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:23:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:11 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:23:11 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:23:11 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:11 [INFO] Currently running in a labeled security context 07:23:11 [INFO] Currently SELinux is 'enforcing' on the host 07:23:11 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/14@tmp/jenkins-gitclient-ssh2466293455945708498.key 07:23:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:23:12 > git config core.sparsecheckout # timeout=10 07:23:12 > git checkout -f e0d79c548ac688cf743d558927d7f399e9d4b24f # timeout=10 07:23:12 > git remote # timeout=10 07:23:12 > git config --get remote.origin.url # timeout=10 07:23:12 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:12 [INFO] Currently running in a labeled security context 07:23:12 [INFO] Currently SELinux is 'enforcing' on the host 07:23:12 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/14@tmp/jenkins-gitclient-ssh2711944399030598919.key 07:23:12 > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 07:23:12 > git rev-parse HEAD^{commit} # timeout=10 07:23:12 > git config core.sparsecheckout # timeout=10 07:23:12 > git checkout -f e0d79c548ac688cf743d558927d7f399e9d4b24f # timeout=10 07:23:16 Commit message: "fix(snap): update snap/README.md" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:17 provisioning config files... 07:23:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/14@tmp/config6926083622443190639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:17 ---> docker-login.sh 07:23:17 nexus3.edgexfoundry.org:10001 07:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:17 Configure a credential helper to remove this warning. See 07:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:17 07:23:17 Login Succeeded 07:23:17 nexus3.edgexfoundry.org:10002 07:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:17 Configure a credential helper to remove this warning. See 07:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:17 07:23:17 Login Succeeded 07:23:17 nexus3.edgexfoundry.org:10003 07:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:17 Configure a credential helper to remove this warning. See 07:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:17 07:23:17 Login Succeeded 07:23:17 nexus3.edgexfoundry.org:10004 07:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:18 Configure a credential helper to remove this warning. See 07:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:18 07:23:18 Login Succeeded 07:23:18 docker.io 07:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:18 Configure a credential helper to remove this warning. See 07:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:18 07:23:18 Login Succeeded 07:23:18 ---> docker-login.sh ends [Pipeline] } 07:23:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:18 ========================================================= 07:23:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:23:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:18 provisioning config files... 07:23:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/14@tmp/config2233817629388456479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 07:23:18 Sending build context to Docker daemon 590.3kB 07:23:18 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 07:23:18 Step 2/11 : FROM ${BASE} AS builder 07:23:18 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:23:18 a0d0a0d46f8b: Pulling fs layer 07:23:18 31adcdaf11c8: Pulling fs layer 07:23:18 b8b176561691: Pulling fs layer 07:23:18 4527c011a84f: Pulling fs layer 07:23:18 5d74067f8e1e: Pulling fs layer 07:23:18 e0aca202a116: Pulling fs layer 07:23:18 3a43be97a3b4: Pulling fs layer 07:23:18 34cad66bf833: Pulling fs layer 07:23:18 b4e3c513aaa6: Pulling fs layer 07:23:18 4527c011a84f: Waiting 07:23:18 5d74067f8e1e: Waiting 07:23:18 e0aca202a116: Waiting 07:23:18 3a43be97a3b4: Waiting 07:23:18 34cad66bf833: Waiting 07:23:18 b4e3c513aaa6: Waiting 07:23:19 b8b176561691: Verifying Checksum 07:23:19 b8b176561691: Download complete 07:23:19 31adcdaf11c8: Verifying Checksum 07:23:19 31adcdaf11c8: Download complete 07:23:19 5d74067f8e1e: Verifying Checksum 07:23:19 5d74067f8e1e: Download complete 07:23:19 e0aca202a116: Verifying Checksum 07:23:19 e0aca202a116: Download complete 07:23:19 3a43be97a3b4: Verifying Checksum 07:23:19 3a43be97a3b4: Download complete 07:23:19 a0d0a0d46f8b: Verifying Checksum 07:23:19 a0d0a0d46f8b: Download complete 07:23:19 34cad66bf833: Verifying Checksum 07:23:19 34cad66bf833: Download complete 07:23:19 ---> docker-login.sh 07:23:19 nexus3.edgexfoundry.org:10001 07:23:19 a0d0a0d46f8b: Pull complete 07:23:19 31adcdaf11c8: Pull complete 07:23:19 b8b176561691: Pull complete 07:23:19 4527c011a84f: Verifying Checksum 07:23:19 4527c011a84f: Download complete 07:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:19 b4e3c513aaa6: Verifying Checksum 07:23:19 b4e3c513aaa6: Download complete 07:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:19 Configure a credential helper to remove this warning. See 07:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:19 07:23:19 Login Succeeded 07:23:19 nexus3.edgexfoundry.org:10002 07:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:20 Configure a credential helper to remove this warning. See 07:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:20 07:23:20 Login Succeeded 07:23:20 nexus3.edgexfoundry.org:10003 07:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:21 Configure a credential helper to remove this warning. See 07:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:21 07:23:21 Login Succeeded 07:23:21 nexus3.edgexfoundry.org:10004 07:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:21 Configure a credential helper to remove this warning. See 07:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:21 07:23:21 Login Succeeded 07:23:21 docker.io 07:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:22 Configure a credential helper to remove this warning. See 07:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:22 07:23:22 Login Succeeded 07:23:22 ---> docker-login.sh ends [Pipeline] } 07:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:22 ========================================================= 07:23:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:23:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:23:23 4527c011a84f: Pull complete 07:23:23 5d74067f8e1e: Pull complete 07:23:23 e0aca202a116: Pull complete 07:23:23 3a43be97a3b4: Pull complete 07:23:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 07:23:23 34cad66bf833: Pull complete 07:23:23 Sending build context to Docker daemon 589.3kB 07:23:23 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 07:23:23 Step 2/11 : FROM ${BASE} AS builder 07:23:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:23:23 552d1f2373af: Pulling fs layer 07:23:23 ea3f2d53f512: Pulling fs layer 07:23:23 9e70ebbbe112: Pulling fs layer 07:23:23 7a9cfe048b4a: Pulling fs layer 07:23:23 72dc09318566: Pulling fs layer 07:23:23 f4f7b4309257: Pulling fs layer 07:23:23 0ac9a79272e3: Pulling fs layer 07:23:23 b78e95d17946: Pulling fs layer 07:23:23 7a9cfe048b4a: Waiting 07:23:23 72dc09318566: Waiting 07:23:23 f4f7b4309257: Waiting 07:23:23 0ac9a79272e3: Waiting 07:23:23 b78e95d17946: Waiting 07:23:23 9e70ebbbe112: Verifying Checksum 07:23:23 9e70ebbbe112: Download complete 07:23:23 ea3f2d53f512: Verifying Checksum 07:23:23 ea3f2d53f512: Download complete 07:23:23 72dc09318566: Verifying Checksum 07:23:23 72dc09318566: Download complete 07:23:24 f4f7b4309257: Verifying Checksum 07:23:24 f4f7b4309257: Download complete 07:23:24 552d1f2373af: Verifying Checksum 07:23:24 552d1f2373af: Download complete 07:23:24 0ac9a79272e3: Verifying Checksum 07:23:24 0ac9a79272e3: Download complete 07:23:24 552d1f2373af: Pull complete 07:23:25 b4e3c513aaa6: Pull complete 07:23:25 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 07:23:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:23:25 ---> 9f6097aaca64 07:23:25 Step 3/11 : ARG MAKE='make build' 07:23:25 ea3f2d53f512: Pull complete 07:23:26 9e70ebbbe112: Pull complete 07:23:26 b78e95d17946: Verifying Checksum 07:23:26 b78e95d17946: Download complete 07:23:26 7a9cfe048b4a: Verifying Checksum 07:23:26 7a9cfe048b4a: Download complete 07:23:27 ---> Running in f38bb0e9416b 07:23:27 Removing intermediate container f38bb0e9416b 07:23:27 ---> 2a7adc54fa50 07:23:27 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:23:27 ---> Running in d87a08ef9a69 07:23:27 Removing intermediate container d87a08ef9a69 07:23:27 ---> 5a5726db34dd 07:23:27 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 07:23:27 ---> Running in b6288636a085 07:23:27 Removing intermediate container b6288636a085 07:23:27 ---> b53ea4edd9bb 07:23:27 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:23:27 ---> Running in 6a26a2a3e62b 07:23:28 Removing intermediate container 6a26a2a3e62b 07:23:28 ---> 5c5ee016cdf5 07:23:28 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:23:28 ---> Running in 07d8ef8a548a 07:23:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:23:29 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:23:29 (1/4) Installing openssh-keygen (8.6_p1-r3) 07:23:29 (2/4) Installing libedit (20210216.3.1-r0) 07:23:29 (3/4) Installing openssh-client-common (8.6_p1-r3) 07:23:29 (4/4) Installing openssh-client-default (8.6_p1-r3) 07:23:30 Executing busybox-1.33.1-r3.trigger 07:23:30 OK: 224 MiB in 56 packages 07:23:30 Removing intermediate container 07d8ef8a548a 07:23:30 ---> 48761c2b4e28 07:23:30 Step 8/11 : WORKDIR /device-snmp-go 07:23:30 ---> Running in 11160e105382 07:23:30 Removing intermediate container 11160e105382 07:23:30 ---> 11f954e8f140 07:23:30 Step 9/11 : COPY . . 07:23:30 ---> 56297d04a3a4 07:23:30 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:30 ---> Running in 5797d6d35320 07:23:36 7a9cfe048b4a: Pull complete 07:23:36 72dc09318566: Pull complete 07:23:37 f4f7b4309257: Pull complete 07:23:37 0ac9a79272e3: Pull complete 07:23:42 Removing intermediate container 5797d6d35320 07:23:42 ---> 1a0dc15f1aed 07:23:42 Step 11/11 : RUN ${MAKE} 07:23:42 ---> Running in c9321637ad85 07:23:43 noop 07:23:43 Removing intermediate container c9321637ad85 07:23:43 ---> 677515f064b7 07:23:43 Successfully built 677515f064b7 07:23:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:23:43 + docker inspect -f . ci-base-image-x86_64 07:23:43 . [Pipeline] withDockerContainer 07:23:43 prd-centos7-docker-4c-2g-28063 does not seem to be running inside a container 07:23:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:23:44 $ docker top 41bee0446f886ff590b4fecb9aef0bb204f85853cb89adca69a19c77a109a3d1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:23:44 b78e95d17946: Pull complete 07:23:44 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 07:23:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:23:44 ---> 8b459fc5aaf0 07:23:44 Step 3/11 : ARG MAKE='make build' 07:23:44 + go version 07:23:44 go version go1.16.8 linux/amd64 [Pipeline] } 07:23:44 $ docker stop --time=1 41bee0446f886ff590b4fecb9aef0bb204f85853cb89adca69a19c77a109a3d1 07:23:45 ---> Running in 592f3094e32b 07:23:45 Removing intermediate container 592f3094e32b 07:23:45 ---> 39ca802d7ea8 07:23:45 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:23:45 ---> Running in 7a6a7a19bb5a 07:23:45 Removing intermediate container 7a6a7a19bb5a 07:23:45 ---> 3020c29df781 07:23:45 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 07:23:45 ---> Running in e23d94341e96 07:23:45 $ docker rm -f 41bee0446f886ff590b4fecb9aef0bb204f85853cb89adca69a19c77a109a3d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:23:46 + docker inspect -f . ci-base-image-x86_64 07:23:46 . [Pipeline] withDockerContainer 07:23:46 prd-centos7-docker-4c-2g-28063 does not seem to be running inside a container 07:23:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:23:46 Removing intermediate container e23d94341e96 07:23:46 ---> 45af0f2dd823 07:23:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:23:46 ---> Running in 9c5b36597479 07:23:46 $ docker top a6e6ef4c5b8827a280886ba507b8eb005e6cfa8976d8f94fbf4731e0ed0fc91e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:23:47 + make test 07:23:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:23:47 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:23:48 Removing intermediate container 9c5b36597479 07:23:48 ---> 6c4b988d77f4 07:23:48 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:23:48 ---> Running in 0fc6dff6d569 07:23:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:23:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:23:51 (1/4) Installing openssh-keygen (8.6_p1-r3) 07:23:51 (2/4) Installing libedit (20210216.3.1-r0) 07:23:51 (3/4) Installing openssh-client-common (8.6_p1-r3) 07:23:51 (4/4) Installing openssh-client-default (8.6_p1-r3) 07:23:51 Executing busybox-1.33.1-r3.trigger 07:23:51 OK: 223 MiB in 56 packages 07:23:52 Removing intermediate container 0fc6dff6d569 07:23:52 ---> abd557a1bb22 07:23:52 Step 8/11 : WORKDIR /device-snmp-go 07:23:52 ---> Running in 9caeebb14c18 07:23:53 Removing intermediate container 9caeebb14c18 07:23:53 ---> 7aa6a85a6908 07:23:53 Step 9/11 : COPY . . 07:23:54 ---> 3b4c81b5e7c7 07:23:54 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:54 ---> Running in c2d4ba9538a0 07:24:02 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:24:02 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 07:24:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:24:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:24:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:24:09 ./bin/test-attribution-txt.sh [Pipeline] } 07:24:09 $ docker stop --time=1 a6e6ef4c5b8827a280886ba507b8eb005e6cfa8976d8f94fbf4731e0ed0fc91e 07:24:11 $ docker rm -f a6e6ef4c5b8827a280886ba507b8eb005e6cfa8976d8f94fbf4731e0ed0fc91e [Pipeline] // withDockerContainer [Pipeline] sh 07:24:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:24:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:24:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:24:14 + ls -al . 07:24:14 total 116 07:24:14 drwxrwxr-x. 8 jenkins jenkins 4096 Nov 9 07:24 . 07:24:14 drwxrwxr-x. 4 jenkins jenkins 30 Nov 9 07:23 .. 07:24:14 -rw-rw-r--. 1 jenkins jenkins 6520 Nov 9 07:23 Attribution.txt 07:24:14 drwxrwxr-x. 2 jenkins jenkins 60 Nov 9 07:23 bin 07:24:14 -rw-rw-r--. 1 jenkins jenkins 4401 Nov 9 07:23 CHANGELOG.md 07:24:14 drwxrwxr-x. 3 jenkins jenkins 32 Nov 9 07:23 cmd 07:24:14 -rw-r--r--. 1 jenkins jenkins 7631 Nov 9 07:24 coverage.out 07:24:14 -rw-rw-r--. 1 jenkins jenkins 1493 Nov 9 07:23 Dockerfile 07:24:14 -rw-rw-r--. 1 jenkins jenkins 6 Nov 9 07:23 .dockerignore 07:24:14 drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 07:23 .git 07:24:14 drwxrwxr-x. 2 jenkins jenkins 103 Nov 9 07:23 .github 07:24:14 -rw-rw-r--. 1 jenkins jenkins 262 Nov 9 07:23 .gitignore 07:24:14 -rw-rw-r--. 1 jenkins jenkins 208 Nov 9 07:23 go.mod 07:24:14 -rw-rw-r--. 1 jenkins jenkins 20831 Nov 9 07:23 go.sum 07:24:14 -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 07:23 GOVERNANCE.md 07:24:14 drwxrwxr-x. 3 jenkins jenkins 20 Nov 9 07:23 internal 07:24:14 -rw-rw-r--. 1 jenkins jenkins 656 Nov 9 07:23 Jenkinsfile 07:24:14 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 9 07:23 LICENSE 07:24:14 -rw-rw-r--. 1 jenkins jenkins 1057 Nov 9 07:23 Makefile 07:24:14 -rw-rw-r--. 1 jenkins jenkins 620 Nov 9 07:23 OWNERS.md 07:24:14 -rw-rw-r--. 1 jenkins jenkins 9073 Nov 9 07:23 README.md 07:24:14 drwxrwxr-x. 3 jenkins jenkins 58 Nov 9 07:23 snap 07:24:14 -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 07:20 VERSION 07:24:14 -rw-rw-r--. 1 jenkins jenkins 209 Nov 9 07:23 version.go [Pipeline] isUnix [Pipeline] sh 07:24:14 + 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=e0d79c548ac688cf743d558927d7f399e9d4b24f --label arch=amd64 --label version=0.0.0 . 07:24:14 Sending build context to Docker daemon 598.5kB 07:24:14 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 07:24:14 Step 2/23 : FROM ${BASE} AS builder 07:24:14 ---> 677515f064b7 07:24:14 Step 3/23 : ARG MAKE='make build' 07:24:14 ---> Running in b1608b2f8d89 07:24:14 Removing intermediate container b1608b2f8d89 07:24:14 ---> b46cd9e2f125 07:24:14 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:24:14 ---> Running in 7055c2d031c4 07:24:15 Removing intermediate container 7055c2d031c4 07:24:15 ---> e07afc4b376b 07:24:15 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:24:15 ---> Running in 1a42bc9402ff 07:24:15 Removing intermediate container 1a42bc9402ff 07:24:15 ---> 5e6c2a018b55 07:24:15 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:24:15 ---> Running in 172a58492c1b 07:24:15 Removing intermediate container 172a58492c1b 07:24:15 ---> 90713b86ae86 07:24:15 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:24:15 ---> Running in 90302412102c 07:24:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:24:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:24:17 OK: 224 MiB in 56 packages 07:24:17 Removing intermediate container c2d4ba9538a0 07:24:17 ---> acb1548fa55d 07:24:17 Step 11/11 : RUN ${MAKE} 07:24:17 ---> Running in 0f4aece0450e 07:24:17 Removing intermediate container 90302412102c 07:24:17 ---> 74fd56a27896 07:24:17 Step 8/23 : WORKDIR /device-snmp-go 07:24:17 ---> Running in 00447134cef5 07:24:17 Removing intermediate container 00447134cef5 07:24:17 ---> e5efde220aa5 07:24:17 Step 9/23 : COPY . . 07:24:17 ---> 039e5a59d76d 07:24:17 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:17 ---> Running in 000fd1842e6b 07:24:17 noop 07:24:18 Removing intermediate container 000fd1842e6b 07:24:18 ---> 61a2a2f553fe 07:24:18 Step 11/23 : RUN ${MAKE} 07:24:18 ---> Running in 2f1820873d3c 07:24:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 07:24:18 Removing intermediate container 0f4aece0450e 07:24:18 ---> fb78282dadf4 07:24:18 Successfully built fb78282dadf4 07:24:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:24:19 + docker inspect -f . ci-base-image-arm64 07:24:19 . [Pipeline] withDockerContainer 07:24:19 prd-ubuntu18.04-docker-arm64-4c-16g-28062 does not seem to be running inside a container 07:24:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@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 ******** -e ******** ci-base-image-arm64 cat 07:24:20 $ docker top 130ca96b70f6d40cf9104f19520ad69899c78849cd75952929b5ca59f201a4fb -eo pid,comm [Pipeline] { [Pipeline] sh 07:24:21 + go version 07:24:21 go version go1.16.8 linux/arm64 [Pipeline] } 07:24:21 $ docker stop --time=1 130ca96b70f6d40cf9104f19520ad69899c78849cd75952929b5ca59f201a4fb 07:24:23 $ docker rm -f 130ca96b70f6d40cf9104f19520ad69899c78849cd75952929b5ca59f201a4fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:24:24 + docker inspect -f . ci-base-image-arm64 07:24:24 . [Pipeline] withDockerContainer 07:24:24 prd-ubuntu18.04-docker-arm64-4c-16g-28062 does not seem to be running inside a container 07:24:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@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 ******** -e ******** ci-base-image-arm64 cat 07:24:25 $ docker top c9adccb8e242bfdeab81babf383e8b147e664b3d32b34db00bd6464d2c907526 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:24:26 + make test 07:24:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:24:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:24:30 Removing intermediate container 2f1820873d3c 07:24:30 ---> a5ceb065990d 07:24:30 Step 12/23 : FROM alpine:3.14 07:24:33 3.14: Pulling from library/alpine 07:24:33 a0d0a0d46f8b: Already exists 07:24:33 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 07:24:33 Status: Downloaded newer image for alpine:3.14 07:24:33 ---> 14119a10abf4 07:24:33 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 07:24:33 ---> Running in 380ddbb773ef 07:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:24:34 (1/6) Installing dumb-init (1.2.5-r1) 07:24:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:24:34 (3/6) Installing libsodium (1.0.18-r0) 07:24:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:24:34 (5/6) Installing libzmq (4.3.4-r0) 07:24:34 (6/6) Installing zeromq (4.3.4-r0) 07:24:34 Executing busybox-1.33.1-r3.trigger 07:24:34 OK: 8 MiB in 20 packages 07:24:34 Removing intermediate container 380ddbb773ef 07:24:34 ---> 5e2a8d6ec99e 07:24:34 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 07:24:34 ---> d6e85e07fd36 07:24:34 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:24:34 ---> acb40ddaad5d 07:24:34 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 07:24:34 ---> c00098d4bbc9 07:24:34 Step 17/23 : EXPOSE 59993 07:24:34 ---> Running in 145b129234e7 07:24:35 Removing intermediate container 145b129234e7 07:24:35 ---> b122f94d20fb 07:24:35 Step 18/23 : EXPOSE 161 07:24:35 ---> Running in 4caf3c2bc64f 07:24:35 Removing intermediate container 4caf3c2bc64f 07:24:35 ---> 87bf0070c261 07:24:35 Step 19/23 : ENTRYPOINT ["/device-snmp"] 07:24:36 ---> Running in 4897bfd81a5d 07:24:36 Removing intermediate container 4897bfd81a5d 07:24:36 ---> cce2be0ce4ad 07:24:36 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:24:36 ---> Running in f5c21a18f9be 07:24:36 Removing intermediate container f5c21a18f9be 07:24:36 ---> 7026a4a57d0b 07:24:36 Step 21/23 : LABEL arch=amd64 07:24:36 ---> Running in 6025d9229cb4 07:24:36 Removing intermediate container 6025d9229cb4 07:24:36 ---> f5c8d96ff662 07:24:36 Step 22/23 : LABEL git_sha=e0d79c548ac688cf743d558927d7f399e9d4b24f 07:24:36 ---> Running in 2c2fe26d88ed 07:24:36 Removing intermediate container 2c2fe26d88ed 07:24:36 ---> 1d348156af47 07:24:36 Step 23/23 : LABEL version=0.0.0 07:24:36 ---> Running in 9c526327f7ae 07:24:36 Removing intermediate container 9c526327f7ae 07:24:36 ---> a0e2c235eecf 07:24:36 [Warning] One or more build-args [ARCH] were not consumed 07:24:36 Successfully built a0e2c235eecf 07:24:36 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:24:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:24:36 07:24:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:24:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:24:36 latest: Pulling from edgex-lftools-log-publisher 07:24:36 b4d181a07f80: Pulling fs layer 07:24:36 a1111a8f2ec3: Pulling fs layer 07:24:36 ed53099fbce6: Pulling fs layer 07:24:36 dc539afda2c1: Pulling fs layer 07:24:36 77bc0d833cb6: Pulling fs layer 07:24:36 9065ff56babe: Pulling fs layer 07:24:36 d287ab97295c: Pulling fs layer 07:24:36 dc539afda2c1: Waiting 07:24:36 77bc0d833cb6: Waiting 07:24:36 9065ff56babe: Waiting 07:24:36 d287ab97295c: Waiting 07:24:36 a1111a8f2ec3: Verifying Checksum 07:24:36 a1111a8f2ec3: Download complete 07:24:36 dc539afda2c1: Verifying Checksum 07:24:36 dc539afda2c1: Download complete 07:24:36 ed53099fbce6: Verifying Checksum 07:24:36 ed53099fbce6: Download complete 07:24:36 9065ff56babe: Verifying Checksum 07:24:36 9065ff56babe: Download complete 07:24:37 77bc0d833cb6: Verifying Checksum 07:24:37 77bc0d833cb6: Download complete 07:24:37 b4d181a07f80: Verifying Checksum 07:24:37 b4d181a07f80: Download complete 07:24:37 d287ab97295c: Verifying Checksum 07:24:37 d287ab97295c: Download complete 07:24:38 b4d181a07f80: Pull complete 07:24:38 a1111a8f2ec3: Pull complete 07:24:39 ed53099fbce6: Pull complete 07:24:39 dc539afda2c1: Pull complete 07:24:39 77bc0d833cb6: Pull complete 07:24:39 9065ff56babe: Pull complete 07:24:45 d287ab97295c: Pull complete 07:24:45 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:24:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:24:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:24:45 prd-centos7-docker-4c-2g-28063 does not seem to be running inside a container 07:24:45 $ 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/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:24:47 $ docker top d903617e68c7c29da918e27f740e782160f4619d9b1c81ac7af19d6f34645795 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:47 ---> job-cost.sh 07:24:47 lf-activate-venv: SKIPPING 07:24:47 INFO: No Stack... 07:24:47 INFO: Retrieving Pricing Info for: v3-standard-2 07:24:48 INFO: Archiving Costs [Pipeline] sh 07:24:48 + cut -d, -f6 07:24:48 + cat /w/workspace/device-snmp-go/14/archives/cost.csv [Pipeline] lock 07:24:48 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-14-stack-cost] 07:24:48 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-14-stack-cost] did not exist. Created. 07:24:48 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:24:49 + echo total: 0.05999999865889549 [Pipeline] stash 07:24:49 Stashed 1 file(s) [Pipeline] } 07:24:49 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-14-stack-cost] [Pipeline] // lock [Pipeline] } 07:24:49 $ docker stop --time=1 d903617e68c7c29da918e27f740e782160f4619d9b1c81ac7af19d6f34645795 07:24:50 $ docker rm -f d903617e68c7c29da918e27f740e782160f4619d9b1c81ac7af19d6f34645795 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:25:24 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:25:24 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.034s coverage: 0.0% of statements 07:25:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:25:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:25:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:25:42 ./bin/test-attribution-txt.sh [Pipeline] } 07:25:42 $ docker stop --time=1 c9adccb8e242bfdeab81babf383e8b147e664b3d32b34db00bd6464d2c907526 07:25:44 $ docker rm -f c9adccb8e242bfdeab81babf383e8b147e664b3d32b34db00bd6464d2c907526 [Pipeline] // withDockerContainer [Pipeline] sh 07:25:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:25:45 Warning: overwriting stash ‘coverage-report’ 07:25:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:25:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:25:46 + ls -al . 07:25:46 total 144 07:25:46 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 07:25 . 07:25:46 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 07:22 .. 07:25:46 -rw-rw-r-- 1 jenkins jenkins 6 Nov 9 07:22 .dockerignore 07:25:46 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 07:22 .git 07:25:46 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 07:22 .github 07:25:46 -rw-rw-r-- 1 jenkins jenkins 262 Nov 9 07:22 .gitignore 07:25:46 -rw-rw-r-- 1 jenkins jenkins 6520 Nov 9 07:22 Attribution.txt 07:25:46 -rw-rw-r-- 1 jenkins jenkins 4401 Nov 9 07:22 CHANGELOG.md 07:25:46 -rw-rw-r-- 1 jenkins jenkins 1493 Nov 9 07:22 Dockerfile 07:25:46 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 07:22 GOVERNANCE.md 07:25:46 -rw-rw-r-- 1 jenkins jenkins 656 Nov 9 07:22 Jenkinsfile 07:25:46 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 07:22 LICENSE 07:25:46 -rw-rw-r-- 1 jenkins jenkins 1057 Nov 9 07:22 Makefile 07:25:46 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 07:22 OWNERS.md 07:25:46 -rw-rw-r-- 1 jenkins jenkins 9073 Nov 9 07:22 README.md 07:25:46 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 07:20 VERSION 07:25:46 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 07:22 bin 07:25:46 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 07:22 cmd 07:25:46 -rw-r--r-- 1 jenkins jenkins 7631 Nov 9 07:25 coverage.out 07:25:46 -rw-rw-r-- 1 jenkins jenkins 208 Nov 9 07:22 go.mod 07:25:46 -rw-rw-r-- 1 jenkins jenkins 20831 Nov 9 07:22 go.sum 07:25:46 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 07:22 internal 07:25:46 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 07:22 snap 07:25:46 -rw-rw-r-- 1 jenkins jenkins 209 Nov 9 07:22 version.go [Pipeline] isUnix [Pipeline] sh 07:25:47 + 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=e0d79c548ac688cf743d558927d7f399e9d4b24f --label arch=arm64 --label version=0.0.0 . 07:25:47 Sending build context to Docker daemon 597.5kB 07:25:47 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 07:25:47 Step 2/23 : FROM ${BASE} AS builder 07:25:47 ---> fb78282dadf4 07:25:47 Step 3/23 : ARG MAKE='make build' 07:25:47 ---> Running in 451f2578de72 07:25:47 Removing intermediate container 451f2578de72 07:25:47 ---> b66f6cdd5166 07:25:47 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:25:48 ---> Running in a58ee591c8ba 07:25:48 Removing intermediate container a58ee591c8ba 07:25:48 ---> 22a2585a789a 07:25:48 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:25:48 ---> Running in bef9b84cc394 07:25:49 Removing intermediate container bef9b84cc394 07:25:49 ---> 69f58d683b3c 07:25:49 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:25:49 ---> Running in b24478b52ca5 07:25:51 Removing intermediate container b24478b52ca5 07:25:51 ---> 51ff92a201b4 07:25:51 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:25:51 ---> Running in e185e1229b85 07:25:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:25:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:25:53 OK: 223 MiB in 56 packages 07:25:54 Removing intermediate container e185e1229b85 07:25:54 ---> 48f7cd7a73f3 07:25:54 Step 8/23 : WORKDIR /device-snmp-go 07:25:54 ---> Running in a18c68119ca8 07:25:55 Removing intermediate container a18c68119ca8 07:25:55 ---> 1cdd8c5ea260 07:25:55 Step 9/23 : COPY . . 07:25:56 ---> 53e937ecc53a 07:25:56 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:25:56 ---> Running in 115743ca0ba2 07:25:58 Removing intermediate container 115743ca0ba2 07:25:58 ---> 071bbf281d6f 07:25:58 Step 11/23 : RUN ${MAKE} 07:25:58 ---> Running in a76d8f45d92b 07:25:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 07:26:38 Removing intermediate container a76d8f45d92b 07:26:38 ---> 403413abff47 07:26:38 Step 12/23 : FROM alpine:3.14 07:26:38 3.14: Pulling from library/alpine 07:26:38 552d1f2373af: Already exists 07:26:38 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 07:26:38 Status: Downloaded newer image for alpine:3.14 07:26:38 ---> bb3de5531c18 07:26:38 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 07:26:38 ---> Running in 8c97274bb515 07:26:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:26:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:26:40 (1/6) Installing dumb-init (1.2.5-r1) 07:26:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:26:40 (3/6) Installing libsodium (1.0.18-r0) 07:26:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:26:40 (5/6) Installing libzmq (4.3.4-r0) 07:26:40 (6/6) Installing zeromq (4.3.4-r0) 07:26:40 Executing busybox-1.33.1-r3.trigger 07:26:40 OK: 8 MiB in 20 packages 07:26:41 Removing intermediate container 8c97274bb515 07:26:41 ---> 20f8337b308d 07:26:41 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 07:26:42 ---> 318d0fe45739 07:26:42 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:26:42 ---> c042e7c7da56 07:26:42 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 07:26:43 ---> f57298fa414b 07:26:43 Step 17/23 : EXPOSE 59993 07:26:43 ---> Running in 6cce7e4052e2 07:26:44 Removing intermediate container 6cce7e4052e2 07:26:44 ---> 7ddb9132a70f 07:26:44 Step 18/23 : EXPOSE 161 07:26:44 ---> Running in 82f4d7b84295 07:26:44 Removing intermediate container 82f4d7b84295 07:26:44 ---> 4b713ac44297 07:26:44 Step 19/23 : ENTRYPOINT ["/device-snmp"] 07:26:44 ---> Running in 28ef4aef54df 07:26:45 Removing intermediate container 28ef4aef54df 07:26:45 ---> 56e733f99e68 07:26:45 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:26:45 ---> Running in 86481f5d2b14 07:26:45 Removing intermediate container 86481f5d2b14 07:26:45 ---> 1b847e6aa783 07:26:45 Step 21/23 : LABEL arch=arm64 07:26:45 ---> Running in c83748906e2d 07:26:46 Removing intermediate container c83748906e2d 07:26:46 ---> ed716db6a8e7 07:26:46 Step 22/23 : LABEL git_sha=e0d79c548ac688cf743d558927d7f399e9d4b24f 07:26:46 ---> Running in b6503e254107 07:26:46 Removing intermediate container b6503e254107 07:26:46 ---> 5abfe24a4278 07:26:46 Step 23/23 : LABEL version=0.0.0 07:26:46 ---> Running in 5883b11b7d42 07:26:47 Removing intermediate container 5883b11b7d42 07:26:47 ---> 29e031c2441e 07:26:47 [Warning] One or more build-args [ARCH] were not consumed 07:26:47 Successfully built 29e031c2441e 07:26:47 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 07:26:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:26:47 07:26:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:26:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:26:48 arm64: Pulling from edgex-lftools-log-publisher 07:26:48 448f6bf000e3: Pulling fs layer 07:26:48 f757da607395: Pulling fs layer 07:26:48 05883995daec: Pulling fs layer 07:26:48 8603b9c90790: Pulling fs layer 07:26:48 1560dd03e051: Pulling fs layer 07:26:48 27f5ce0e4adf: Pulling fs layer 07:26:48 c2d8d7efcc4b: Pulling fs layer 07:26:48 8603b9c90790: Waiting 07:26:48 1560dd03e051: Waiting 07:26:48 27f5ce0e4adf: Waiting 07:26:48 c2d8d7efcc4b: Waiting 07:26:48 f757da607395: Verifying Checksum 07:26:48 f757da607395: Download complete 07:26:48 8603b9c90790: Verifying Checksum 07:26:48 8603b9c90790: Download complete 07:26:48 1560dd03e051: Verifying Checksum 07:26:48 1560dd03e051: Download complete 07:26:48 27f5ce0e4adf: Verifying Checksum 07:26:48 27f5ce0e4adf: Download complete 07:26:48 05883995daec: Verifying Checksum 07:26:48 05883995daec: Download complete 07:26:48 448f6bf000e3: Verifying Checksum 07:26:48 448f6bf000e3: Download complete 07:26:51 c2d8d7efcc4b: Verifying Checksum 07:26:51 c2d8d7efcc4b: Download complete 07:26:52 448f6bf000e3: Pull complete 07:26:53 f757da607395: Pull complete 07:26:54 05883995daec: Pull complete 07:26:54 8603b9c90790: Pull complete 07:26:55 1560dd03e051: Pull complete 07:26:55 27f5ce0e4adf: Pull complete 07:27:11 c2d8d7efcc4b: Pull complete 07:27:11 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 07:27:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:27:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:27:11 prd-ubuntu18.04-docker-arm64-4c-16g-28062 does not seem to be running inside a container 07:27:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:27:14 $ docker top 8a31a9abfa8581e7e78701ba315867199ca54945cbbeb916ff97cb006cb83c98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:15 ---> job-cost.sh 07:27:15 lf-activate-venv: SKIPPING 07:27:15 INFO: No Stack... 07:27:15 INFO: Retrieving Pricing Info for: v3-standard-4 07:27:15 INFO: Archiving Costs [Pipeline] sh 07:27:16 + cat /w/workspace/device-snmp-go/14/archives/cost.csv 07:27:16 + cut -d, -f6 [Pipeline] lock 07:27:16 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-14-stack-cost] 07:27:16 Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-14-stack-cost] did not exist. Created. 07:27:16 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:27:17 /w/workspace/device-snmp-go/14@tmp/durable-6a17f80b/script.sh: 1: /w/workspace/device-snmp-go/14@tmp/durable-6a17f80b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:27:17 + echo total: 0.10999999940395355 [Pipeline] stash 07:27:17 Warning: overwriting stash ‘stack-cost’ 07:27:17 Stashed 1 file(s) [Pipeline] } 07:27:17 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-14-stack-cost] [Pipeline] // lock [Pipeline] } 07:27:17 $ docker stop --time=1 8a31a9abfa8581e7e78701ba315867199ca54945cbbeb916ff97cb006cb83c98 07:27:19 $ docker rm -f 8a31a9abfa8581e7e78701ba315867199ca54945cbbeb916ff97cb006cb83c98 [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 07:27:21 provisioning config files... 07:27:21 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config4838082148490798421tmp [Pipeline] { [Pipeline] sh 07:27:22 + set +x 07:27:22 + curl -s https://codecov.io/bash 07:27:22 + bash -s -- 07:27:22 07:27:22 _____ _ 07:27:22 / ____| | | 07:27:22 | | ___ __| | ___ ___ _____ __ 07:27:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:27:22 | |___| (_) | (_| | __/ (_| (_) \ V / 07:27:22 \_____\___/ \__,_|\___|\___\___/ \_/ 07:27:22 Bash-1.0.6 07:27:22 07:27:22 07:27:22 ==> git version 2.24.4 found 07:27:22 ==> 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 07:27:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:27:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:27:22 ==> Jenkins CI detected. 07:27:22 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-127 07:27:22 project root: . 07:27:22 --> token set from env 07:27:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:27:22 ==> Running gcov in . (disable via -X gcov) 07:27:22 ==> Python coveragepy not found 07:27:22 ==> Searching for coverage reports in: 07:27:22 + . 07:27:22 -> Found 1 reports 07:27:22 ==> Detecting git/mercurial file structure 07:27:22 ==> Reading reports 07:27:22 + ./coverage.out bytes=7631 07:27:22 ==> Appending adjustments 07:27:22 https://docs.codecov.io/docs/fixing-reports 07:27:22 + Found adjustments 07:27:22 ==> Gzipping contents 07:27:22 4.0K /tmp/codecov.jnt1ue.gz 07:27:22 ==> Uploading reports 07:27:22 url: https://codecov.io 07:27:22 query: branch=PR-127&commit=e0d79c548ac688cf743d558927d7f399e9d4b24f&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-127%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=127&job=&cmd_args= 07:27:22 -> Pinging Codecov 07:27:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-127&commit=e0d79c548ac688cf743d558927d7f399e9d4b24f&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-127%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=127&job=&cmd_args= 07:27:22 -> Uploading to 07:27:22 https://storage.googleapis.com/codecov/v4/raw/2021-11-09/6C56EA5C29638FB4528AC87E60AF5AE0/e0d79c548ac688cf743d558927d7f399e9d4b24f/9b7a84a7-f53a-4753-9eea-2e587da92a2f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T072722Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f0f8f35b5f8afd8aa8cac18c11cc989d89d2234ccafc9b71ce4d3c16910bbf8 07:27:22 % Total % Received % Xferd Average Speed Time Time Time Current 07:27:22 Dload Upload Total Spent Left Speed 07:27:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 4049 --:--:-- --:--:-- --:--:-- 4056 07:27:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/e0d79c548ac688cf743d558927d7f399e9d4b24f [Pipeline] } 07:27:23 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 07:27:24 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh 07:27:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:27:25 ---> package-listing.sh 07:27:25 ++ tr '[:upper:]' '[:lower:]' 07:27:25 ++ facter osfamily 07:27:25 + OS_FAMILY=redhat 07:27:25 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 07:27:25 + START_PACKAGES=/tmp/packages_start.txt 07:27:25 + END_PACKAGES=/tmp/packages_end.txt 07:27:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:27:25 + PACKAGES=/tmp/packages_start.txt 07:27:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 07:27:25 + PACKAGES=/tmp/packages_end.txt 07:27:25 + case "${OS_FAMILY}" in 07:27:25 + sort 07:27:25 + rpm -qa 07:27:26 + '[' -f /tmp/packages_start.txt ']' 07:27:26 + '[' -f /tmp/packages_end.txt ']' 07:27:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:27:26 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' 07:27:26 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ 07:27:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ [Pipeline] echo 07:27:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:27:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:27:27 07:27:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:27:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:27:27 latest: Pulling from edgex-lftools-log-publisher 07:27:27 b4d181a07f80: Pulling fs layer 07:27:27 a1111a8f2ec3: Pulling fs layer 07:27:27 ed53099fbce6: Pulling fs layer 07:27:27 dc539afda2c1: Pulling fs layer 07:27:27 77bc0d833cb6: Pulling fs layer 07:27:27 9065ff56babe: Pulling fs layer 07:27:27 d287ab97295c: Pulling fs layer 07:27:27 dc539afda2c1: Waiting 07:27:27 77bc0d833cb6: Waiting 07:27:27 9065ff56babe: Waiting 07:27:27 d287ab97295c: Waiting 07:27:27 a1111a8f2ec3: Verifying Checksum 07:27:27 a1111a8f2ec3: Download complete 07:27:27 dc539afda2c1: Verifying Checksum 07:27:27 dc539afda2c1: Download complete 07:27:27 ed53099fbce6: Download complete 07:27:27 9065ff56babe: Verifying Checksum 07:27:27 9065ff56babe: Download complete 07:27:27 77bc0d833cb6: Verifying Checksum 07:27:27 77bc0d833cb6: Download complete 07:27:27 b4d181a07f80: Verifying Checksum 07:27:27 b4d181a07f80: Download complete 07:27:28 d287ab97295c: Verifying Checksum 07:27:28 d287ab97295c: Download complete 07:27:29 b4d181a07f80: Pull complete 07:27:29 a1111a8f2ec3: Pull complete 07:27:29 ed53099fbce6: Pull complete 07:27:29 dc539afda2c1: Pull complete 07:27:30 77bc0d833cb6: Pull complete 07:27:30 9065ff56babe: Pull complete 07:27:35 d287ab97295c: Pull complete 07:27:35 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:27:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:27:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:27:35 prd-centos7-docker-4c-2g-28061 does not seem to be running inside a container 07:27:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:27:37 $ docker top d8c1b0a2b5562db4280343314d7adf04e8b3659fb3c7a52e2105870f5387bad2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:38 + touch /tmp/pre-build-complete [Pipeline] sh 07:27:38 + mkdir -p /var/log/sysstat [Pipeline] sh 07:27:38 + ls /var/log/sa-host 07:27:38 + sadf -c /var/log/sa-host/sa09 07:27:38 file_magic: OK 07:27:38 HZ: Using current value: 100 07:27:38 file_header: OK 07:27:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:27:38 Statistics: 07:27:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:27:38 File successfully converted to sysstat format version 12.0.3 07:27:38 + sadf -c /var/log/sa-host/sa30 07:27:38 file_magic: OK 07:27:38 HZ: Using current value: 100 07:27:38 file_header: OK 07:27:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:27:38 Statistics: 07:27:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:27:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:27:39 provisioning config files... 07:27:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config8641053633589279148tmp [Pipeline] { [Pipeline] echo 07:27:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:27:39 ---> create-netrc.sh [Pipeline] } 07:27:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:27:41 ---> python-tools-install.sh [Pipeline] echo 07:27:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:27:41 ---> sudo-logs.sh 07:27:41 Archiving 'sudo' log.. 07:27:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-28061.novalocal: Name or service not known 07:27:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-28061.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 07:27:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:27:42 ---> job-cost.sh 07:27:42 lf-activate-venv: SKIPPING 07:27:42 DEBUG: total: 0.10999999940395355 07:27:42 INFO: Retrieving Stack Cost... 07:27:42 INFO: Retrieving Pricing Info for: v3-standard-2 07:27:43 INFO: Archiving Costs [Pipeline] echo 07:27:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:27:43 ---> logs-deploy.sh 07:27:43 lf-activate-venv: SKIPPING 07:27:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/14 07:27:43 INFO: archiving workspace using pattern(s): 07:27:44 Archives upload complete. 07:27:44 INFO: archiving logs to Nexus