Pull request #135 opened 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 ernestojeda for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 3592ae59134c3b322d02927ef1e2dc844630e822+0686e34266a91fa2107915df6132c8d4297bd730 (b3a4f3cf49d13c3e25c4c38b3fc0cb5e0185b7f4) 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-ssh712384347921756274.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh5647734605868965130.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 dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-135/workspace@libs/edgex-global-pipelines # timeout=10 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-135/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5268646973801927491.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-135/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11119107930095291204.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh10763065234085067243.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-135/workspace@libs/lf-pipelines # timeout=10 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-135/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11572887495424980437.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2263 in /w/workspace/gexfoundry_device-snmp-go_PR-135 [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-135 # 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-135@tmp/jenkins-gitclient-ssh8219248375082123713.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-135@tmp/jenkins-gitclient-ssh7822415925919387340.key Merging remotes/origin/main commit 0686e34266a91fa2107915df6132c8d4297bd730 into PR head commit 3592ae59134c3b322d02927ef1e2dc844630e822 Merge succeeded, producing 3592ae59134c3b322d02927ef1e2dc844630e822 Checking out Revision 3592ae59134c3b322d02927ef1e2dc844630e822 (PR-135) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3592ae59134c3b322d02927ef1e2dc844630e822 # 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-135@tmp/jenkins-gitclient-ssh790759743488092967.key > git merge 0686e34266a91fa2107915df6132c8d4297bd730 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3592ae59134c3b322d02927ef1e2dc844630e822 # timeout=10 Commit message: "ci: gomod changes related for Go 1.17" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:05:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:05:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:05:03 ========================================================= 18:05:03 EdgeX Global Pipelines Version Info 18:05:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:05:04 ------------------- 18:05:04 stable info: 18:05:04 ------------------- 18:05:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:05:04 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:05:04 Message: update stable to v1.0.219 18:05:05 ------------------- 18:05:05 experimental info: 18:05:05 ------------------- 18:05:05 Commited By: **** collab-it+edgex@linuxfoundation.org 18:05:05 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:05:05 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:05:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-135 [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-135 [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-135 [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3592ae59134c3b322d02927ef1e2dc844630e822 [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3592ae5 [Pipeline] echo 18:05:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:06 provisioning config files... 18:05:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-135@tmp/config7097492909619142892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:07 ---> docker-login.sh 18:05:07 nexus3.edgexfoundry.org:10001 18:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:07 Configure a credential helper to remove this warning. See 18:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:07 18:05:07 Login Succeeded 18:05:07 nexus3.edgexfoundry.org:10002 18:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:07 Configure a credential helper to remove this warning. See 18:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:07 18:05:07 Login Succeeded 18:05:07 nexus3.edgexfoundry.org:10003 18:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:07 Configure a credential helper to remove this warning. See 18:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:07 18:05:07 Login Succeeded 18:05:07 nexus3.edgexfoundry.org:10004 18:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:07 Configure a credential helper to remove this warning. See 18:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:07 18:05:07 Login Succeeded 18:05:07 docker.io 18:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:08 Configure a credential helper to remove this warning. See 18:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:08 18:05:08 Login Succeeded 18:05:08 ---> docker-login.sh ends [Pipeline] } 18:05:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:05:08 + git rev-list -1 --merges 3592ae59134c3b322d02927ef1e2dc844630e822~1..3592ae59134c3b322d02927ef1e2dc844630e822 [Pipeline] echo 18:05:08 -----------> git rev-list -1 --merges 3592ae59134c3b322d02927ef1e2dc844630e822~1..3592ae59134c3b322d02927ef1e2dc844630e822 3592ae59134c3b322d02927ef1e2dc844630e822 [false] [Pipeline] sh 18:05:09 + git log --format=format:%s -1 3592ae59134c3b322d02927ef1e2dc844630e822 [Pipeline] echo 18:05:09 ========================================================= 18:05:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:05:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:09 + git log --format=format:%s -1 3592ae59134c3b322d02927ef1e2dc844630e822 [Pipeline] echo 18:05:09 [semverPrep] GIT_COMMIT: 3592ae59134c3b322d02927ef1e2dc844630e822, Commit Message: ci: gomod changes related for Go 1.17 [Pipeline] echo 18:05:09 [semverPrep] This is not a build commit. [Pipeline] sh 18:05:10 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:05:10 + grep -v github /etc/ssh/ssh_known_hosts 18:05:10 + '[' -e /tmp/ssh_known_hosts ']' 18:05:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:05:10 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 18:05:10 + sudo tee -a /etc/ssh/ssh_known_hosts 18:05:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:05:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:05:10 18:05:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:05:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:05:10 latest: Pulling from edgex-devops/git-semver 18:05:10 a0d0a0d46f8b: Pulling fs layer 18:05:10 3e5f54012d9b: Pulling fs layer 18:05:10 4c7163046ea9: Pulling fs layer 18:05:10 0c2d73faf560: Pulling fs layer 18:05:10 0c2d73faf560: Waiting 18:05:10 3e5f54012d9b: Verifying Checksum 18:05:10 3e5f54012d9b: Download complete 18:05:10 a0d0a0d46f8b: Verifying Checksum 18:05:10 a0d0a0d46f8b: Download complete 18:05:10 4c7163046ea9: Verifying Checksum 18:05:10 4c7163046ea9: Download complete 18:05:10 0c2d73faf560: Verifying Checksum 18:05:10 0c2d73faf560: Download complete 18:05:11 a0d0a0d46f8b: Pull complete 18:05:11 3e5f54012d9b: Pull complete 18:05:11 4c7163046ea9: Pull complete 18:05:11 0c2d73faf560: Pull complete 18:05:11 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:05:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:05:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:05:11 prd-centos7-docker-4c-2g-2263 does not seem to be running inside a container 18:05:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-135 -v /w/workspace/gexfoundry_device-snmp-go_PR-135:/w/workspace/gexfoundry_device-snmp-go_PR-135:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-135@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-135@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:05:12 $ docker top d2fc7e5700e66448a79544de0c9e4d7fc2e1a691570ebae385966a56606013c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:12 [ssh-agent] Looking for ssh-agent implementation... 18:05:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:12 $ docker exec d2fc7e5700e66448a79544de0c9e4d7fc2e1a691570ebae385966a56606013c5 ssh-agent 18:05:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKBMjHp/agent.15 18:05:12 SSH_AGENT_PID=22 18:05:12 Running ssh-add (command line suppressed) 18:05:12 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-135@tmp/private_key_3965013652442705866.key (/w/workspace/gexfoundry_device-snmp-go_PR-135@tmp/private_key_3965013652442705866.key) 18:05:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:13 + git tag --points-at HEAD [Pipeline] } 18:05:13 $ docker exec --env ******** --env ******** d2fc7e5700e66448a79544de0c9e4d7fc2e1a691570ebae385966a56606013c5 ssh-agent -k 18:05:13 unset SSH_AUTH_SOCK; 18:05:13 unset SSH_AGENT_PID; 18:05:13 echo Agent pid 22 killed; 18:05:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:05:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:13 [ssh-agent] Looking for ssh-agent implementation... 18:05:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:13 $ docker exec d2fc7e5700e66448a79544de0c9e4d7fc2e1a691570ebae385966a56606013c5 ssh-agent 18:05:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOpAEBp/agent.54 18:05:13 SSH_AGENT_PID=60 18:05:13 Running ssh-add (command line suppressed) 18:05:13 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-135@tmp/private_key_1468814258542798099.key (/w/workspace/gexfoundry_device-snmp-go_PR-135@tmp/private_key_1468814258542798099.key) 18:05:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:13 + git semver init 18:05:13 # -> Open(): unable to determine branch for HEAD 18:05:13 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-135/.git 18:05:13 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-135 18:05:13 # $SEMVER_REMOTE_NAME = origin 18:05:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:05:13 # $SEMVER_USER_NAME = edgex-jenkins 18:05:13 # $SEMVER_BRANCH = PR-135 18:05:13 # $SEMVER_TEMP = /tmp/semver-098442304 18:05:13 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 18:05:14 # '/tmp/semver-098442304' -> '/w/workspace/gexfoundry_device-snmp-go_PR-135/.semver' 18:05:14 # -> Force: false 18:05:14 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-135/.semver [Pipeline] } 18:05:14 $ docker exec --env ******** --env ******** d2fc7e5700e66448a79544de0c9e4d7fc2e1a691570ebae385966a56606013c5 ssh-agent -k 18:05:14 unset SSH_AUTH_SOCK; 18:05:14 unset SSH_AGENT_PID; 18:05:14 echo Agent pid 60 killed; 18:05:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:15 + git semver [Pipeline] } 18:05:15 $ docker stop --time=1 d2fc7e5700e66448a79544de0c9e4d7fc2e1a691570ebae385966a56606013c5 18:05:16 $ docker rm -f d2fc7e5700e66448a79544de0c9e4d7fc2e1a691570ebae385966a56606013c5 [Pipeline] // withDockerContainer [Pipeline] sh 18:05:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:05:17 Stashed 1 file(s) [Pipeline] echo 18:05:17 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:17 provisioning config files... 18:05:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-135@tmp/config3767815389080091341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:18 ---> docker-login.sh 18:05:18 nexus3.edgexfoundry.org:10001 18:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:18 Configure a credential helper to remove this warning. See 18:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:18 18:05:18 Login Succeeded 18:05:18 nexus3.edgexfoundry.org:10002 18:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:18 Configure a credential helper to remove this warning. See 18:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:18 18:05:18 Login Succeeded 18:05:18 nexus3.edgexfoundry.org:10003 18:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:18 Configure a credential helper to remove this warning. See 18:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:18 18:05:18 Login Succeeded 18:05:18 nexus3.edgexfoundry.org:10004 18:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:18 Configure a credential helper to remove this warning. See 18:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:18 18:05:18 Login Succeeded 18:05:18 docker.io 18:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:19 Configure a credential helper to remove this warning. See 18:05:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:19 18:05:19 Login Succeeded 18:05:19 ---> docker-login.sh ends [Pipeline] } 18:05:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:05:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:19 ========================================================= 18:05:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:05:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:05:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 18:05:19 Sending build context to Docker daemon 5.199MB 18:05:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:05:19 Step 2/12 : FROM ${BASE} AS builder 18:05:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:05:19 59bf1c3509f3: Pulling fs layer 18:05:19 666ba61612fd: Pulling fs layer 18:05:19 8ed8ca486205: Pulling fs layer 18:05:19 4fe6c5a15a65: Pulling fs layer 18:05:19 22a0e8bec74d: Pulling fs layer 18:05:19 f965cba54748: Pulling fs layer 18:05:19 861ffc35075e: Pulling fs layer 18:05:19 4b385c91608e: Pulling fs layer 18:05:19 560528eb2ebb: Pulling fs layer 18:05:19 4fe6c5a15a65: Waiting 18:05:19 22a0e8bec74d: Waiting 18:05:19 f965cba54748: Waiting 18:05:19 861ffc35075e: Waiting 18:05:19 4b385c91608e: Waiting 18:05:19 560528eb2ebb: Waiting 18:05:19 8ed8ca486205: Verifying Checksum 18:05:19 8ed8ca486205: Download complete 18:05:19 666ba61612fd: Verifying Checksum 18:05:19 666ba61612fd: Download complete 18:05:19 22a0e8bec74d: Verifying Checksum 18:05:19 22a0e8bec74d: Download complete 18:05:20 59bf1c3509f3: Verifying Checksum 18:05:20 59bf1c3509f3: Download complete 18:05:20 f965cba54748: Verifying Checksum 18:05:20 f965cba54748: Download complete 18:05:20 861ffc35075e: Verifying Checksum 18:05:20 861ffc35075e: Download complete 18:05:20 4b385c91608e: Verifying Checksum 18:05:20 4b385c91608e: Download complete 18:05:20 560528eb2ebb: Verifying Checksum 18:05:20 560528eb2ebb: Download complete 18:05:20 4fe6c5a15a65: Verifying Checksum 18:05:20 4fe6c5a15a65: Download complete 18:05:20 59bf1c3509f3: Pull complete 18:05:20 666ba61612fd: Pull complete 18:05:20 8ed8ca486205: Pull complete 18:05:24 4fe6c5a15a65: Pull complete 18:05:24 22a0e8bec74d: Pull complete 18:05:24 f965cba54748: Pull complete 18:05:24 861ffc35075e: Pull complete 18:05:24 4b385c91608e: Pull complete 18:05:27 560528eb2ebb: Pull complete 18:05:27 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 18:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:05:27 ---> dd4a08f94e63 18:05:27 Step 3/12 : ARG MAKE='make build' 18:05:28 ---> Running in a884ced7331a 18:05:28 Removing intermediate container a884ced7331a 18:05:28 ---> d9e9354d3fce 18:05:28 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:05:28 ---> Running in 96949d509b94 18:05:28 Removing intermediate container 96949d509b94 18:05:28 ---> 6cb084f09394 18:05:28 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:05:28 ---> Running in b0a17c30ba5a 18:05:28 Removing intermediate container b0a17c30ba5a 18:05:28 ---> 81a9c1b47eae 18:05:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:05:28 ---> Running in 9dad2e29a79f 18:05:29 Removing intermediate container 9dad2e29a79f 18:05:29 ---> 3e5869cbc996 18:05:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:05:29 ---> Running in 43f52fc89a62 18:05:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:05:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:05:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:05:30 (2/4) Installing libedit (20210910.3.1-r0) 18:05:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:05:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:05:31 Executing busybox-1.34.1-r3.trigger 18:05:31 OK: 224 MiB in 56 packages 18:05:31 Removing intermediate container 43f52fc89a62 18:05:31 ---> c330a28ba14c 18:05:31 Step 8/12 : WORKDIR /device-snmp-go 18:05:31 ---> Running in b8837a0045c5 18:05:31 Removing intermediate container b8837a0045c5 18:05:31 ---> 59627896452e 18:05:31 Step 9/12 : COPY go.mod vendor* ./ 18:05:31 ---> d589524a38f8 18:05:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:05:31 ---> Running in 9674d51c6a6e 18:05:32 Still waiting to schedule task 18:05:32 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 18:05:32 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2264’ is offline 18:06:03 Removing intermediate container 9674d51c6a6e 18:06:03 ---> dcc4e2ba4bff 18:06:03 Step 11/12 : COPY . . 18:06:03 ---> ae3e79d666c7 18:06:03 Step 12/12 : RUN ${MAKE} 18:06:03 ---> Running in ce0b2117233c 18:06:03 noop 18:06:03 Removing intermediate container ce0b2117233c 18:06:03 ---> fa19660c02ca 18:06:03 Successfully built fa19660c02ca 18:06:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:06:04 + docker inspect -f . ci-base-image-x86_64 18:06:04 . [Pipeline] withDockerContainer 18:06:04 prd-centos7-docker-4c-2g-2263 does not seem to be running inside a container 18:06:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-135 -v /w/workspace/gexfoundry_device-snmp-go_PR-135:/w/workspace/gexfoundry_device-snmp-go_PR-135:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-135@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-135@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 ******** ci-base-image-x86_64 cat 18:06:04 $ docker top 455f76b7193da7da5640dd74a6c242b872909db6012ad349af7f29cb5436c660 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:05 + go version 18:06:05 go version go1.17.6 linux/amd64 [Pipeline] } 18:06:05 $ docker stop --time=1 455f76b7193da7da5640dd74a6c242b872909db6012ad349af7f29cb5436c660 18:06:06 $ docker rm -f 455f76b7193da7da5640dd74a6c242b872909db6012ad349af7f29cb5436c660 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:06:06 + docker inspect -f . ci-base-image-x86_64 18:06:06 . [Pipeline] withDockerContainer 18:06:06 prd-centos7-docker-4c-2g-2263 does not seem to be running inside a container 18:06:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-135 -v /w/workspace/gexfoundry_device-snmp-go_PR-135:/w/workspace/gexfoundry_device-snmp-go_PR-135:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-135@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-135@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 ******** ci-base-image-x86_64 cat 18:06:07 $ docker top 083f9672876172e6590022feeff1c43bbd8b5ecf344518841d8c0374fce59559 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:06:07 + make test 18:06:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:06:08 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:06:23 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:06:23 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements 18:06:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:06:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:06:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:06:26 ./bin/test-attribution-txt.sh [Pipeline] echo 18:06:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:06:27 $ docker stop --time=1 083f9672876172e6590022feeff1c43bbd8b5ecf344518841d8c0374fce59559 18:06:28 $ docker rm -f 083f9672876172e6590022feeff1c43bbd8b5ecf344518841d8c0374fce59559 [Pipeline] // withDockerContainer [Pipeline] sh 18:06:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:06:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:06:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:06:30 + ls -al . 18:06:30 total 144 18:06:30 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:06 . 18:06:30 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:04 .. 18:06:30 -rw-rw-r--. 1 jenkins jenkins 6926 Jan 20 18:04 Attribution.txt 18:06:30 drwxrwxr-x. 2 jenkins jenkins 60 Jan 20 18:04 bin 18:06:30 -rw-rw-r--. 1 jenkins jenkins 4401 Jan 20 18:04 CHANGELOG.md 18:06:30 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:04 cmd 18:06:30 -rw-r--r--. 1 jenkins jenkins 7631 Jan 20 18:06 coverage.out 18:06:30 -rw-rw-r--. 1 jenkins jenkins 1516 Jan 20 18:04 Dockerfile 18:06:30 -rw-rw-r--. 1 jenkins jenkins 6 Jan 20 18:04 .dockerignore 18:06:30 drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 18:05 .git 18:06:30 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:04 .github 18:06:30 -rw-rw-r--. 1 jenkins jenkins 262 Jan 20 18:04 .gitignore 18:06:30 -rw-rw-r--. 1 jenkins jenkins 2820 Jan 20 18:04 go.mod 18:06:30 -rw-rw-r--. 1 jenkins jenkins 49501 Jan 20 18:04 go.sum 18:06:30 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:04 GOVERNANCE.md 18:06:30 drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 18:04 internal 18:06:30 -rw-rw-r--. 1 jenkins jenkins 656 Jan 20 18:04 Jenkinsfile 18:06:30 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:04 LICENSE 18:06:30 -rw-rw-r--. 1 jenkins jenkins 1057 Jan 20 18:04 Makefile 18:06:30 -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 18:04 OWNERS.md 18:06:30 -rw-rw-r--. 1 jenkins jenkins 9073 Jan 20 18:04 README.md 18:06:30 drwx------. 3 jenkins jenkins 88 Jan 20 18:05 .semver 18:06:30 drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 18:04 snap 18:06:30 -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 18:05 VERSION 18:06:30 -rw-rw-r--. 1 jenkins jenkins 209 Jan 20 18:04 version.go [Pipeline] isUnix [Pipeline] sh 18:06:30 + 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=3592ae59134c3b322d02927ef1e2dc844630e822 --label arch=amd64 --label version=0.0.0 . 18:06:30 Sending build context to Docker daemon 5.207MB 18:06:30 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:06:30 Step 2/24 : FROM ${BASE} AS builder 18:06:30 ---> fa19660c02ca 18:06:30 Step 3/24 : ARG MAKE='make build' 18:06:30 ---> Running in b2eb5e3b6024 18:06:30 Removing intermediate container b2eb5e3b6024 18:06:30 ---> 1c4a9735f581 18:06:30 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:06:30 ---> Running in 5ca5304e40cc 18:06:30 Removing intermediate container 5ca5304e40cc 18:06:30 ---> 815e08fd0e42 18:06:30 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:06:30 ---> Running in b4d5e76fbf10 18:06:30 Removing intermediate container b4d5e76fbf10 18:06:30 ---> a359a2473661 18:06:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:06:30 ---> Running in 48a8cc332fbb 18:06:31 Removing intermediate container 48a8cc332fbb 18:06:31 ---> 405a28531a6e 18:06:31 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:06:31 ---> Running in 0a9ec5471d0b 18:06:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:06:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:06:32 OK: 224 MiB in 56 packages 18:06:32 Removing intermediate container 0a9ec5471d0b 18:06:32 ---> 4b81465b9366 18:06:32 Step 8/24 : WORKDIR /device-snmp-go 18:06:32 ---> Running in b708fe5c95ef 18:06:33 Removing intermediate container b708fe5c95ef 18:06:33 ---> 2e6c01cfad9a 18:06:33 Step 9/24 : COPY go.mod vendor* ./ 18:06:33 ---> 95c05da51597 18:06:33 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:33 ---> Running in 88a9a4240ed9 18:06:33 Removing intermediate container 88a9a4240ed9 18:06:33 ---> 1e35cc3d786a 18:06:33 Step 11/24 : COPY . . 18:06:33 ---> 3a6f9cb717b9 18:06:33 Step 12/24 : RUN ${MAKE} 18:06:34 ---> Running in 85e5d4dced92 18:06:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 18:06:49 Removing intermediate container 85e5d4dced92 18:06:49 ---> 471c3eeeca82 18:06:49 Step 13/24 : FROM alpine:3.14 18:06:49 3.14: Pulling from library/alpine 18:06:49 97518928ae5f: Pulling fs layer 18:06:49 97518928ae5f: Verifying Checksum 18:06:49 97518928ae5f: Download complete 18:06:49 97518928ae5f: Pull complete 18:06:49 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:06:49 Status: Downloaded newer image for alpine:3.14 18:06:49 ---> 0a97eee8041e 18:06:49 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 18:06:49 ---> Running in 036a36b0020f 18:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:06:49 (1/6) Installing dumb-init (1.2.5-r1) 18:06:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:06:49 (3/6) Installing libsodium (1.0.18-r0) 18:06:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:06:49 (5/6) Installing libzmq (4.3.4-r0) 18:06:49 (6/6) Installing zeromq (4.3.4-r0) 18:06:49 Executing busybox-1.33.1-r6.trigger 18:06:49 OK: 8 MiB in 20 packages 18:06:49 Removing intermediate container 036a36b0020f 18:06:49 ---> c9df5a6fd791 18:06:49 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:06:49 ---> 546a9e1244ab 18:06:49 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:06:49 ---> 59e40f3774d4 18:06:49 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:06:49 ---> c395a6fcf283 18:06:49 Step 18/24 : EXPOSE 59993 18:06:49 ---> Running in 83c206cc911c 18:06:49 Removing intermediate container 83c206cc911c 18:06:49 ---> 301b1626674f 18:06:49 Step 19/24 : EXPOSE 161 18:06:49 ---> Running in 7ab557702aec 18:06:50 Removing intermediate container 7ab557702aec 18:06:50 ---> 4e9e037afa95 18:06:50 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:06:50 ---> Running in 0f01c1ddf413 18:06:50 Removing intermediate container 0f01c1ddf413 18:06:50 ---> a4a0c6ddb34d 18:06:50 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:06:50 ---> Running in dc883c97e1d5 18:06:50 Removing intermediate container dc883c97e1d5 18:06:50 ---> 4be7894d460b 18:06:50 Step 22/24 : LABEL arch=amd64 18:06:50 ---> Running in ee30d4718864 18:06:50 Removing intermediate container ee30d4718864 18:06:50 ---> 122b17bf97b5 18:06:50 Step 23/24 : LABEL git_sha=3592ae59134c3b322d02927ef1e2dc844630e822 18:06:50 ---> Running in a0280a83e0c8 18:06:50 Removing intermediate container a0280a83e0c8 18:06:50 ---> 255c4ba06e60 18:06:50 Step 24/24 : LABEL version=0.0.0 18:06:50 ---> Running in 59b9417e3a10 18:06:50 Removing intermediate container 59b9417e3a10 18:06:50 ---> 40f0f6c3eefc 18:06:50 [Warning] One or more build-args [ARCH] were not consumed 18:06:50 Successfully built 40f0f6c3eefc 18:06:50 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 18:06:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:51 18:06:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:06:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:51 latest: Pulling from edgex-lftools-log-publisher 18:06:51 b4d181a07f80: Pulling fs layer 18:06:51 a1111a8f2ec3: Pulling fs layer 18:06:51 ed53099fbce6: Pulling fs layer 18:06:51 dc539afda2c1: Pulling fs layer 18:06:51 77bc0d833cb6: Pulling fs layer 18:06:51 9065ff56babe: Pulling fs layer 18:06:51 d287ab97295c: Pulling fs layer 18:06:51 77bc0d833cb6: Waiting 18:06:51 9065ff56babe: Waiting 18:06:51 d287ab97295c: Waiting 18:06:51 dc539afda2c1: Waiting 18:06:51 a1111a8f2ec3: Verifying Checksum 18:06:51 a1111a8f2ec3: Download complete 18:06:51 dc539afda2c1: Verifying Checksum 18:06:51 dc539afda2c1: Download complete 18:06:51 ed53099fbce6: Verifying Checksum 18:06:51 ed53099fbce6: Download complete 18:06:51 9065ff56babe: Verifying Checksum 18:06:51 9065ff56babe: Download complete 18:06:52 77bc0d833cb6: Verifying Checksum 18:06:52 77bc0d833cb6: Download complete 18:06:52 b4d181a07f80: Verifying Checksum 18:06:52 b4d181a07f80: Download complete 18:06:52 d287ab97295c: Verifying Checksum 18:06:52 d287ab97295c: Download complete 18:06:53 b4d181a07f80: Pull complete 18:06:53 a1111a8f2ec3: Pull complete 18:06:54 ed53099fbce6: Pull complete 18:06:54 dc539afda2c1: Pull complete 18:06:54 77bc0d833cb6: Pull complete 18:06:54 9065ff56babe: Pull complete 18:07:00 d287ab97295c: Pull complete 18:07:00 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:07:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:07:00 prd-centos7-docker-4c-2g-2263 does not seem to be running inside a container 18:07:00 $ 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/gexfoundry_device-snmp-go_PR-135 -v /w/workspace/gexfoundry_device-snmp-go_PR-135:/w/workspace/gexfoundry_device-snmp-go_PR-135:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-135@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:07:04 $ docker top b58aab7916f8e13546d7dc6226399223eaac66bc02fb08d557008a261c20712d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:04 ---> job-cost.sh 18:07:04 lf-activate-venv: SKIPPING 18:07:04 INFO: No Stack... 18:07:04 INFO: Retrieving Pricing Info for: v3-standard-2 18:07:05 INFO: Archiving Costs [Pipeline] sh 18:07:05 + + cat /w/workspace/gexfoundry_device-snmp-go_PR-135/archives/cost.csv 18:07:05 cut -d, -f6 [Pipeline] lock 18:07:05 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-135-1-stack-cost] 18:07:05 Resource [jenkins-edgexfoundry-device-snmp-go-PR-135-1-stack-cost] did not exist. Created. 18:07:05 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-135-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:05 + echo total: 0.05999999865889549 [Pipeline] stash 18:07:06 Stashed 1 file(s) [Pipeline] } 18:07:06 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-135-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:07:06 $ docker stop --time=1 b58aab7916f8e13546d7dc6226399223eaac66bc02fb08d557008a261c20712d 18:07:07 $ docker rm -f b58aab7916f8e13546d7dc6226399223eaac66bc02fb08d557008a261c20712d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:07:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2269 in /w/workspace/gexfoundry_device-snmp-go_PR-135 [Pipeline] { [Pipeline] ws 18:07:30 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 18:07:30 Selected Git installation does not exist. Using Default 18:07:30 The recommended git tool is: NONE 18:07:35 using credential edgex-jenkins-ssh 18:07:35 Cloning the remote Git repository 18:07:36 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 18:07:36 > git init /w/workspace/device-snmp-go/1 # timeout=10 18:07:36 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 18:07:36 > git --version # timeout=10 18:07:36 > git --version # 'git version 2.17.1' 18:07:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:37 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 18:07:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:37 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 18:07:37 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 18:07:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/135/head:refs/remotes/origin/PR-135 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:07:38 Merging remotes/origin/main commit 0686e34266a91fa2107915df6132c8d4297bd730 into PR head commit 3592ae59134c3b322d02927ef1e2dc844630e822 18:07:38 Merge succeeded, producing 3592ae59134c3b322d02927ef1e2dc844630e822 18:07:38 Checking out Revision 3592ae59134c3b322d02927ef1e2dc844630e822 (PR-135) 18:07:38 > git config core.sparsecheckout # timeout=10 18:07:38 > git checkout -f 3592ae59134c3b322d02927ef1e2dc844630e822 # timeout=10 18:07:38 > git remote # timeout=10 18:07:38 > git config --get remote.origin.url # timeout=10 18:07:38 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:38 > git merge 0686e34266a91fa2107915df6132c8d4297bd730 # timeout=10 18:07:38 > git rev-parse HEAD^{commit} # timeout=10 18:07:38 > git config core.sparsecheckout # timeout=10 18:07:38 > git checkout -f 3592ae59134c3b322d02927ef1e2dc844630e822 # timeout=10 18:07:42 Commit message: "ci: gomod changes related for Go 1.17" 18:07:42 > git --version # timeout=10 18:07:43 > git --version # 'git version 2.17.1' 18:07:43 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:07:44 % Total % Received % Xferd Average Speed Time Time Time Current 18:07:44 Dload Upload Total Spent Left Speed 18:07:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 18:07:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:07:45 + sudo tee /etc/docker/daemon.new 18:07:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:07:45 { 18:07:45 "registry-mirrors": [ 18:07:45 "https://nexus3.edgexfoundry.org:10001" 18:07:45 ], 18:07:45 "bip": "10.250.0.254/24", 18:07:45 "hosts": [ 18:07:45 "tcp://0.0.0.0:5555", 18:07:45 "unix:///var/run/docker.sock" 18:07:45 ], 18:07:45 "mtu": 1458, 18:07:45 "selinux-enabled": true, 18:07:45 "seccomp-profile": "/etc/docker/seccomp.json" 18:07:45 } [Pipeline] sh 18:07:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:07:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:04 provisioning config files... 18:08:04 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8366700543443924390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:05 ---> docker-login.sh 18:08:05 nexus3.edgexfoundry.org:10001 18:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:05 Configure a credential helper to remove this warning. See 18:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:05 18:08:05 Login Succeeded 18:08:05 nexus3.edgexfoundry.org:10002 18:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:06 Configure a credential helper to remove this warning. See 18:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:06 18:08:06 Login Succeeded 18:08:06 nexus3.edgexfoundry.org:10003 18:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:07 Configure a credential helper to remove this warning. See 18:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:07 18:08:07 Login Succeeded 18:08:07 nexus3.edgexfoundry.org:10004 18:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:07 Configure a credential helper to remove this warning. See 18:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:07 18:08:07 Login Succeeded 18:08:07 docker.io 18:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:08 Configure a credential helper to remove this warning. See 18:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:08 18:08:08 Login Succeeded 18:08:08 ---> docker-login.sh ends [Pipeline] } 18:08:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:08:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:08:09 ========================================================= 18:08:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:08:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:08:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 18:08:09 Sending build context to Docker daemon 2.712MB 18:08:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:08:09 Step 2/12 : FROM ${BASE} AS builder 18:08:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:08:10 9b3977197b4f: Pulling fs layer 18:08:10 1a89e8eeedd5: Pulling fs layer 18:08:10 94645a83ff95: Pulling fs layer 18:08:10 3f3a8bcf1eab: Pulling fs layer 18:08:10 0c92f367c5e7: Pulling fs layer 18:08:10 4b8299f9d1f4: Pulling fs layer 18:08:10 9a6b49a46696: Pulling fs layer 18:08:10 cf05db05a679: Pulling fs layer 18:08:10 3f3a8bcf1eab: Waiting 18:08:10 0c92f367c5e7: Waiting 18:08:10 4b8299f9d1f4: Waiting 18:08:10 9a6b49a46696: Waiting 18:08:10 cf05db05a679: Waiting 18:08:10 94645a83ff95: Verifying Checksum 18:08:10 94645a83ff95: Download complete 18:08:10 1a89e8eeedd5: Verifying Checksum 18:08:10 1a89e8eeedd5: Download complete 18:08:10 0c92f367c5e7: Verifying Checksum 18:08:10 0c92f367c5e7: Download complete 18:08:10 4b8299f9d1f4: Verifying Checksum 18:08:10 4b8299f9d1f4: Download complete 18:08:10 9b3977197b4f: Download complete 18:08:10 9a6b49a46696: Verifying Checksum 18:08:10 9a6b49a46696: Download complete 18:08:11 9b3977197b4f: Pull complete 18:08:11 1a89e8eeedd5: Pull complete 18:08:11 94645a83ff95: Pull complete 18:08:12 cf05db05a679: Verifying Checksum 18:08:12 cf05db05a679: Download complete 18:08:12 3f3a8bcf1eab: Verifying Checksum 18:08:12 3f3a8bcf1eab: Download complete 18:08:25 3f3a8bcf1eab: Pull complete 18:08:25 0c92f367c5e7: Pull complete 18:08:25 4b8299f9d1f4: Pull complete 18:08:25 9a6b49a46696: Pull complete 18:08:32 cf05db05a679: Pull complete 18:08:32 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 18:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:08:32 ---> 0ccda1f7e2ee 18:08:32 Step 3/12 : ARG MAKE='make build' 18:08:33 ---> Running in 304409d2bb87 18:08:33 Removing intermediate container 304409d2bb87 18:08:33 ---> 61c9097eb154 18:08:33 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:08:34 ---> Running in ae41f1f3506c 18:08:34 Removing intermediate container ae41f1f3506c 18:08:34 ---> be5fa543a9f5 18:08:34 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:08:34 ---> Running in 729b9d8de1d7 18:08:35 Removing intermediate container 729b9d8de1d7 18:08:35 ---> 8b1e5ff58e48 18:08:35 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:08:35 ---> Running in f0b19773d2b8 18:08:37 Removing intermediate container f0b19773d2b8 18:08:37 ---> 347dc14710f7 18:08:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:08:37 ---> Running in cd653a35b1e0 18:08:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:08:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:08:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:08:40 (2/4) Installing libedit (20210910.3.1-r0) 18:08:40 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:08:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:08:41 Executing busybox-1.34.1-r3.trigger 18:08:41 OK: 224 MiB in 56 packages 18:08:42 Removing intermediate container cd653a35b1e0 18:08:42 ---> a725a1c5806e 18:08:42 Step 8/12 : WORKDIR /device-snmp-go 18:08:42 ---> Running in 4d1a12b70ef6 18:08:43 Removing intermediate container 4d1a12b70ef6 18:08:43 ---> d8ff5d60053a 18:08:43 Step 9/12 : COPY go.mod vendor* ./ 18:08:43 ---> 808dbcba78cb 18:08:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:08:43 ---> Running in 273bffc56977 18:10:05 Removing intermediate container 273bffc56977 18:10:05 ---> b7558638b136 18:10:05 Step 11/12 : COPY . . 18:10:05 ---> 56aeaa633e88 18:10:05 Step 12/12 : RUN ${MAKE} 18:10:05 ---> Running in e72c75d2b4c2 18:10:05 noop 18:10:05 Removing intermediate container e72c75d2b4c2 18:10:05 ---> b796a093262f 18:10:05 Successfully built b796a093262f 18:10:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:10:05 + docker inspect -f . ci-base-image-arm64 18:10:05 . [Pipeline] withDockerContainer 18:10:06 prd-ubuntu18.04-docker-arm64-4c-16g-2269 does not seem to be running inside a container 18:10:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 18:10:07 $ docker top 704ca9c8fbc144936e2921ef10ab6be2b428c61e6762901b0f142d193461cfb5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:08 + go version 18:10:08 go version go1.17.6 linux/arm64 [Pipeline] } 18:10:08 $ docker stop --time=1 704ca9c8fbc144936e2921ef10ab6be2b428c61e6762901b0f142d193461cfb5 18:10:10 $ docker rm -f 704ca9c8fbc144936e2921ef10ab6be2b428c61e6762901b0f142d193461cfb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:10:11 + docker inspect -f . ci-base-image-arm64 18:10:11 . [Pipeline] withDockerContainer 18:10:11 prd-ubuntu18.04-docker-arm64-4c-16g-2269 does not seem to be running inside a container 18:10:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** ci-base-image-arm64 cat 18:10:13 $ docker top 717a2ee5cbedd0b8f738df0dc1e7c4a8ea1b6f102bd46953a0eb97fe25eef43d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:10:14 + make test 18:10:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:10:15 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:11:12 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:11:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements 18:11:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:11:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:11:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:11:30 ./bin/test-attribution-txt.sh [Pipeline] echo 18:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:11:30 $ docker stop --time=1 717a2ee5cbedd0b8f738df0dc1e7c4a8ea1b6f102bd46953a0eb97fe25eef43d 18:11:32 $ docker rm -f 717a2ee5cbedd0b8f738df0dc1e7c4a8ea1b6f102bd46953a0eb97fe25eef43d [Pipeline] // withDockerContainer [Pipeline] sh 18:11:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:11:33 Warning: overwriting stash ‘coverage-report’ 18:11:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:11:34 + ls -al . 18:11:34 total 172 18:11:34 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:11 . 18:11:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:07 .. 18:11:34 -rw-rw-r-- 1 jenkins jenkins 6 Jan 20 18:07 .dockerignore 18:11:34 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:07 .git 18:11:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:07 .github 18:11:34 -rw-rw-r-- 1 jenkins jenkins 262 Jan 20 18:07 .gitignore 18:11:34 -rw-rw-r-- 1 jenkins jenkins 6926 Jan 20 18:07 Attribution.txt 18:11:34 -rw-rw-r-- 1 jenkins jenkins 4401 Jan 20 18:07 CHANGELOG.md 18:11:34 -rw-rw-r-- 1 jenkins jenkins 1516 Jan 20 18:07 Dockerfile 18:11:34 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:07 GOVERNANCE.md 18:11:34 -rw-rw-r-- 1 jenkins jenkins 656 Jan 20 18:07 Jenkinsfile 18:11:34 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:07 LICENSE 18:11:34 -rw-rw-r-- 1 jenkins jenkins 1057 Jan 20 18:07 Makefile 18:11:34 -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 18:07 OWNERS.md 18:11:34 -rw-rw-r-- 1 jenkins jenkins 9073 Jan 20 18:07 README.md 18:11:34 -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 18:05 VERSION 18:11:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:07 bin 18:11:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:07 cmd 18:11:34 -rw-r--r-- 1 jenkins jenkins 7631 Jan 20 18:11 coverage.out 18:11:34 -rw-rw-r-- 1 jenkins jenkins 2820 Jan 20 18:07 go.mod 18:11:34 -rw-rw-r-- 1 jenkins jenkins 49501 Jan 20 18:07 go.sum 18:11:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:07 internal 18:11:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:07 snap 18:11:34 -rw-rw-r-- 1 jenkins jenkins 209 Jan 20 18:07 version.go [Pipeline] isUnix [Pipeline] sh 18:11:35 + 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=3592ae59134c3b322d02927ef1e2dc844630e822 --label arch=arm64 --label version=0.0.0 . 18:11:35 Sending build context to Docker daemon 2.72MB 18:11:35 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:11:35 Step 2/24 : FROM ${BASE} AS builder 18:11:35 ---> b796a093262f 18:11:35 Step 3/24 : ARG MAKE='make build' 18:11:35 ---> Running in 9737c6abbfe9 18:11:36 Removing intermediate container 9737c6abbfe9 18:11:36 ---> e981b79b9ff2 18:11:36 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:11:36 ---> Running in 10b86849d54e 18:11:36 Removing intermediate container 10b86849d54e 18:11:36 ---> 25179450b0d3 18:11:36 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:11:36 ---> Running in 59fdce162bbd 18:11:37 Removing intermediate container 59fdce162bbd 18:11:37 ---> 60ebefa46d89 18:11:37 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:11:37 ---> Running in 229181a9d040 18:11:39 Removing intermediate container 229181a9d040 18:11:39 ---> 4d9b3a485a4b 18:11:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:39 ---> Running in 296b0bca142e 18:11:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:11:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:11:42 OK: 224 MiB in 56 packages 18:11:43 Removing intermediate container 296b0bca142e 18:11:43 ---> c8f7ca6e8961 18:11:43 Step 8/24 : WORKDIR /device-snmp-go 18:11:43 ---> Running in 81e9890bbc92 18:11:43 Removing intermediate container 81e9890bbc92 18:11:43 ---> 3fbdd9bdae49 18:11:43 Step 9/24 : COPY go.mod vendor* ./ 18:11:44 ---> aa75f6f7cb35 18:11:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:44 ---> Running in 2ab12a1bdc3e 18:11:46 Removing intermediate container 2ab12a1bdc3e 18:11:46 ---> ac8d39c7b2bc 18:11:46 Step 11/24 : COPY . . 18:11:47 ---> cbf383eb6912 18:11:47 Step 12/24 : RUN ${MAKE} 18:11:47 ---> Running in 217fdae6becd 18:11:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 18:12:35 Removing intermediate container 217fdae6becd 18:12:35 ---> 06c5696af183 18:12:35 Step 13/24 : FROM alpine:3.14 18:12:35 3.14: Pulling from library/alpine 18:12:35 be307f383ecc: Pulling fs layer 18:12:35 be307f383ecc: Verifying Checksum 18:12:35 be307f383ecc: Download complete 18:12:35 be307f383ecc: Pull complete 18:12:35 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:12:35 Status: Downloaded newer image for alpine:3.14 18:12:35 ---> 5b8b7b635229 18:12:35 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 18:12:35 ---> Running in 280194825b0e 18:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:12:35 (1/6) Installing dumb-init (1.2.5-r1) 18:12:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:12:35 (3/6) Installing libsodium (1.0.18-r0) 18:12:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:12:35 (5/6) Installing libzmq (4.3.4-r0) 18:12:35 (6/6) Installing zeromq (4.3.4-r0) 18:12:35 Executing busybox-1.33.1-r6.trigger 18:12:35 OK: 8 MiB in 20 packages 18:12:36 Removing intermediate container 280194825b0e 18:12:36 ---> 6db86f1efea9 18:12:36 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:12:37 ---> bbf6a903bbe8 18:12:37 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:12:38 ---> e3550a9e5e61 18:12:38 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:12:39 ---> b8ae5d394f92 18:12:39 Step 18/24 : EXPOSE 59993 18:12:39 ---> Running in e681be4e24c4 18:12:39 Removing intermediate container e681be4e24c4 18:12:39 ---> 4b6f0c0d908d 18:12:39 Step 19/24 : EXPOSE 161 18:12:39 ---> Running in 69f21a3f5b1d 18:12:40 Removing intermediate container 69f21a3f5b1d 18:12:40 ---> 6007c114d7d1 18:12:40 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:12:40 ---> Running in 37c4c75c943d 18:12:40 Removing intermediate container 37c4c75c943d 18:12:40 ---> 24c88de4ed6f 18:12:40 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:12:40 ---> Running in c43607b3104e 18:12:40 Removing intermediate container c43607b3104e 18:12:40 ---> fd1657f9a8d5 18:12:40 Step 22/24 : LABEL arch=arm64 18:12:41 ---> Running in 600a82d5b9be 18:12:41 Removing intermediate container 600a82d5b9be 18:12:41 ---> fca0ed78de93 18:12:41 Step 23/24 : LABEL git_sha=3592ae59134c3b322d02927ef1e2dc844630e822 18:12:41 ---> Running in cb408ee890f2 18:12:42 Removing intermediate container cb408ee890f2 18:12:42 ---> 75f6c359ad9d 18:12:42 Step 24/24 : LABEL version=0.0.0 18:12:42 ---> Running in 78697d8e12b0 18:12:42 Removing intermediate container 78697d8e12b0 18:12:42 ---> fd6a3286a14e 18:12:42 [Warning] One or more build-args [ARCH] were not consumed 18:12:42 Successfully built fd6a3286a14e 18:12:42 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 18:12:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:43 18:12:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:12:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:43 arm64: Pulling from edgex-lftools-log-publisher 18:12:43 448f6bf000e3: Pulling fs layer 18:12:43 f757da607395: Pulling fs layer 18:12:43 05883995daec: Pulling fs layer 18:12:43 8603b9c90790: Pulling fs layer 18:12:43 1560dd03e051: Pulling fs layer 18:12:43 27f5ce0e4adf: Pulling fs layer 18:12:43 c2d8d7efcc4b: Pulling fs layer 18:12:43 8603b9c90790: Waiting 18:12:43 27f5ce0e4adf: Waiting 18:12:43 1560dd03e051: Waiting 18:12:43 f757da607395: Verifying Checksum 18:12:43 f757da607395: Download complete 18:12:43 8603b9c90790: Verifying Checksum 18:12:43 8603b9c90790: Download complete 18:12:44 1560dd03e051: Verifying Checksum 18:12:44 1560dd03e051: Download complete 18:12:44 27f5ce0e4adf: Verifying Checksum 18:12:44 27f5ce0e4adf: Download complete 18:12:44 05883995daec: Verifying Checksum 18:12:44 05883995daec: Download complete 18:12:44 448f6bf000e3: Verifying Checksum 18:12:44 448f6bf000e3: Download complete 18:12:46 c2d8d7efcc4b: Verifying Checksum 18:12:46 c2d8d7efcc4b: Download complete 18:12:47 448f6bf000e3: Pull complete 18:12:48 f757da607395: Pull complete 18:12:49 05883995daec: Pull complete 18:12:50 8603b9c90790: Pull complete 18:12:51 1560dd03e051: Pull complete 18:12:51 27f5ce0e4adf: Pull complete 18:13:06 c2d8d7efcc4b: Pull complete 18:13:06 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:13:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:13:06 prd-ubuntu18.04-docker-arm64-4c-16g-2269 does not seem to be running inside a container 18:13:07 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:13:10 $ docker top 9719f6e4a1fac1529440a68fda7aa68461119746a08e281effcf0c8b82d013e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:11 ---> job-cost.sh 18:13:11 lf-activate-venv: SKIPPING 18:13:11 INFO: No Stack... 18:13:11 INFO: Retrieving Pricing Info for: v3-standard-4 18:13:12 INFO: Archiving Costs [Pipeline] sh 18:13:12 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 18:13:12 + cut -d, -f6 [Pipeline] lock 18:13:12 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-135-1-stack-cost] 18:13:12 Resource [jenkins-edgexfoundry-device-snmp-go-PR-135-1-stack-cost] did not exist. Created. 18:13:12 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-135-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:13:13 /w/workspace/device-snmp-go/1@tmp/durable-590e5158/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-590e5158/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:13:14 + echo total: 0.10999999940395355 [Pipeline] stash 18:13:14 Warning: overwriting stash ‘stack-cost’ 18:13:14 Stashed 1 file(s) [Pipeline] } 18:13:14 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-135-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:13:14 $ docker stop --time=1 9719f6e4a1fac1529440a68fda7aa68461119746a08e281effcf0c8b82d013e9 18:13:16 $ docker rm -f 9719f6e4a1fac1529440a68fda7aa68461119746a08e281effcf0c8b82d013e9 [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 18:13:17 provisioning config files... 18:13:17 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-135@tmp/config4049257494302477237tmp [Pipeline] { [Pipeline] sh 18:13:17 + set +x 18:13:17 + curl -s https://codecov.io/bash 18:13:17 + bash -s -- 18:13:17 18:13:17 _____ _ 18:13:17 / ____| | | 18:13:17 | | ___ __| | ___ ___ _____ __ 18:13:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:13:17 | |___| (_) | (_| | __/ (_| (_) \ V / 18:13:17 \_____\___/ \__,_|\___|\___\___/ \_/ 18:13:17 Bash-1.0.6 18:13:17 18:13:17 18:13:17 ==> git version 2.24.4 found 18:13:17 ==> 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 18:13:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:13:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:13:17 ==> Jenkins CI detected. 18:13:17 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-135 18:13:17 project root: . 18:13:17 --> token set from env 18:13:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:13:17 ==> Running gcov in . (disable via -X gcov) 18:13:17 ==> Python coveragepy not found 18:13:17 ==> Searching for coverage reports in: 18:13:17 + . 18:13:17 -> Found 1 reports 18:13:17 ==> Detecting git/mercurial file structure 18:13:17 ==> Reading reports 18:13:17 + ./coverage.out bytes=7631 18:13:17 ==> Appending adjustments 18:13:17 https://docs.codecov.io/docs/fixing-reports 18:13:17 + Found adjustments 18:13:17 ==> Gzipping contents 18:13:17 4.0K /tmp/codecov.f5lWzm.gz 18:13:17 ==> Uploading reports 18:13:17 url: https://codecov.io 18:13:17 query: branch=PR-135&commit=3592ae59134c3b322d02927ef1e2dc844630e822&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-135%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=135&job=&cmd_args= 18:13:17 -> Pinging Codecov 18:13:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-135&commit=3592ae59134c3b322d02927ef1e2dc844630e822&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-135%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=135&job=&cmd_args= 18:13:18 -> Uploading to 18:13:18 https://storage.googleapis.com/codecov/v4/raw/2022-01-20/6C56EA5C29638FB4528AC87E60AF5AE0/3592ae59134c3b322d02927ef1e2dc844630e822/6d6a7159-dbb5-42f0-8c00-bf2bd68fd7f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T181318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=428dd22465a5ec5c9f80c384d92c90e593815bed83e7c0b7ddecd38bdd7ae2c3 18:13:18 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:18 Dload Upload Total Spent Left Speed 18:13:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 5072 --:--:-- --:--:-- --:--:-- 5073 100 1578 0 0 100 1578 0 5069 --:--:-- --:--:-- --:--:-- 5057 18:13:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/3592ae59134c3b322d02927ef1e2dc844630e822 [Pipeline] } 18:13:18 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 18:13:20 + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-135/archives ']' 18:13:20 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-135/archives 18:13:20 total 8 18:13:20 drwxr-xr-x. 3 root root 34 Jan 20 18:07 . 18:13:20 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:07 .. 18:13:20 drwxr-xr-x. 2 root root 6 Jan 20 18:07 cost 18:13:20 -rw-r--r--. 1 root root 85 Jan 20 18:07 cost.csv 18:13:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-135/archives 18:13:20 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-135/archives 18:13:20 total 8 18:13:20 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:07 . 18:13:20 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:07 .. 18:13:20 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:07 cost 18:13:20 -rw-r--r--. 1 jenkins jenkins 85 Jan 20 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:13:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:13:21 ---> package-listing.sh 18:13:21 ++ facter osfamily 18:13:21 ++ tr '[:upper:]' '[:lower:]' 18:13:22 + OS_FAMILY=redhat 18:13:22 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-135 18:13:22 + START_PACKAGES=/tmp/packages_start.txt 18:13:22 + END_PACKAGES=/tmp/packages_end.txt 18:13:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:13:22 + PACKAGES=/tmp/packages_start.txt 18:13:22 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-135 ']' 18:13:22 + PACKAGES=/tmp/packages_end.txt 18:13:22 + case "${OS_FAMILY}" in 18:13:22 + sort 18:13:22 + rpm -qa 18:13:22 + '[' -f /tmp/packages_start.txt ']' 18:13:22 + '[' -f /tmp/packages_end.txt ']' 18:13:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:13:22 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-135 ']' 18:13:22 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-135/archives/ 18:13:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-135/archives/ [Pipeline] echo 18:13:22 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-135/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:13:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:13:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:23 . [Pipeline] withDockerContainer 18:13:23 prd-centos7-docker-4c-2g-2263 does not seem to be running inside a container 18:13:23 $ 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-135/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-135 -v /w/workspace/gexfoundry_device-snmp-go_PR-135:/w/workspace/gexfoundry_device-snmp-go_PR-135:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-135@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-135@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:10003/edgex-lftools-log-publisher:latest cat 18:13:23 $ docker top 7f4b16621ce06ec218d767abf9c6f1ab53f8bb49a5f3c779505240c770b8b131 -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:24 + touch /tmp/pre-build-complete [Pipeline] sh 18:13:24 + mkdir -p /var/log/sysstat [Pipeline] sh 18:13:24 + ls /var/log/sa-host 18:13:24 + sadf -c /var/log/sa-host/sa17 18:13:24 file_magic: OK 18:13:24 HZ: Using current value: 100 18:13:24 file_header: OK 18:13:24 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 18:13:24 Statistics: 18:13:24 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:13:24 File successfully converted to sysstat format version 12.0.3 18:13:24 + sadf -c /var/log/sa-host/sa20 18:13:24 file_magic: OK 18:13:24 HZ: Using current value: 100 18:13:24 file_header: OK 18:13:24 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 18:13:24 Statistics: 18:13:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:13:24 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:25 provisioning config files... 18:13:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-135@tmp/config8866375770549548280tmp [Pipeline] { [Pipeline] echo 18:13:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:13:25 ---> create-netrc.sh [Pipeline] } 18:13:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:13:25 ---> python-tools-install.sh [Pipeline] echo 18:13:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:13:26 ---> sudo-logs.sh 18:13:26 Archiving 'sudo' log.. 18:13:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-2263.novalocal: Name or service not known 18:13:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-2263.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:13:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:13:26 ---> job-cost.sh 18:13:26 lf-activate-venv: SKIPPING 18:13:26 DEBUG: total: 0.05999999865889549 18:13:26 INFO: Retrieving Stack Cost... 18:13:26 INFO: Retrieving Pricing Info for: v3-standard-2 18:13:27 INFO: Archiving Costs [Pipeline] echo 18:13:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:13:27 ---> logs-deploy.sh 18:13:27 lf-activate-venv: SKIPPING 18:13:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-135/1 18:13:27 INFO: archiving workspace using pattern(s): 18:13:28 Archives upload complete. 18:13:28 INFO: archiving logs to Nexus