Pull request #164 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9+60c29c8ddffb83da8ea2aabad72ac966629b6d3c (f4e84d839fbecf4269c1294c12de875400c7ec81) 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-ssh11973247810775345148.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh13255865787044542955.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-164/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-164/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13628330517929173106.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7422890805146551102.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-164/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-164/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1343547664831516759.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-34828’ is offline Running on prd-ubuntu20.04-docker-8c-8g-35407 in /w/workspace/gexfoundry_device-snmp-go_PR-164 [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-164 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 60c29c8ddffb83da8ea2aabad72ac966629b6d3c into PR head commit 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 Merge succeeded, producing 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 Checking out Revision 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 (PR-164) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 60c29c8ddffb83da8ea2aabad72ac966629b6d3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk ec4e2bb25b85e98e951cb70b75cd43993a27e76d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:53:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:53:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:53:53 ========================================================= 02:53:53 EdgeX Global Pipelines Version Info 02:53:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:53:54 ------------------- 02:53:54 stable info: 02:53:54 ------------------- 02:53:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:53:54 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 02:53:54 Message: update stable to v1.0.227 02:53:54 ------------------- 02:53:54 experimental info: 02:53:54 ------------------- 02:53:54 Commited By: **** collab-it+edgex@linuxfoundation.org 02:53:54 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 02:53:54 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:53:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 02:53:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a8ef13 [Pipeline] echo 02:53:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:55 provisioning config files... 02:53:55 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/config7688612081794546120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:55 ---> docker-login.sh 02:53:55 nexus3.edgexfoundry.org:10001 02:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:56 Configure a credential helper to remove this warning. See 02:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:56 02:53:56 Login Succeeded 02:53:56 nexus3.edgexfoundry.org:10002 02:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:56 Configure a credential helper to remove this warning. See 02:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:56 02:53:56 Login Succeeded 02:53:56 nexus3.edgexfoundry.org:10003 02:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:56 Configure a credential helper to remove this warning. See 02:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:56 02:53:56 Login Succeeded 02:53:56 nexus3.edgexfoundry.org:10004 02:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:56 Configure a credential helper to remove this warning. See 02:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:56 02:53:56 Login Succeeded 02:53:56 docker.io 02:53:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:57 Configure a credential helper to remove this warning. See 02:53:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:57 02:53:57 Login Succeeded 02:53:57 ---> docker-login.sh ends [Pipeline] } 02:53:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:53:57 + git rev-list -1 --merges 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9~1..2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 [Pipeline] echo 02:53:57 -----------> git rev-list -1 --merges 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9~1..2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 [false] [Pipeline] sh 02:53:58 + git log --format=format:%s -1 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 [Pipeline] echo 02:53:58 ========================================================= 02:53:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:53:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:58 + git log --format=format:%s -1 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 [Pipeline] echo 02:53:58 [semverPrep] GIT_COMMIT: 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 02:53:58 [semverPrep] This is not a build commit. [Pipeline] sh 02:53:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:58 + grep -v github /etc/ssh/ssh_known_hosts 02:53:58 + [ -e /tmp/ssh_known_hosts ] 02:53:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:53:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:53:58 + sudo tee -a /etc/ssh/ssh_known_hosts 02:53:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:53:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:53:59 02:53:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:53:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:53:59 latest: Pulling from edgex-devops/py-git-semver 02:53:59 1fe172e4850f: Pulling fs layer 02:53:59 caf521ccaac6: Pulling fs layer 02:53:59 3ead6fa29328: Pulling fs layer 02:53:59 5c2a1cbceb83: Pulling fs layer 02:53:59 a8d5f1318db7: Pulling fs layer 02:53:59 c427282e49a2: Pulling fs layer 02:53:59 1827001aaf11: Pulling fs layer 02:53:59 0714d37db230: Pulling fs layer 02:53:59 ac28cf19c067: Pulling fs layer 02:53:59 ca983d60f3e2: Pulling fs layer 02:53:59 9f894cec8388: Pulling fs layer 02:53:59 1827001aaf11: Waiting 02:53:59 0714d37db230: Waiting 02:53:59 ac28cf19c067: Waiting 02:53:59 ca983d60f3e2: Waiting 02:53:59 9f894cec8388: Waiting 02:53:59 5c2a1cbceb83: Waiting 02:53:59 a8d5f1318db7: Waiting 02:53:59 c427282e49a2: Waiting 02:53:59 caf521ccaac6: Verifying Checksum 02:53:59 caf521ccaac6: Download complete 02:53:59 5c2a1cbceb83: Verifying Checksum 02:53:59 5c2a1cbceb83: Download complete 02:53:59 a8d5f1318db7: Verifying Checksum 02:53:59 a8d5f1318db7: Download complete 02:53:59 c427282e49a2: Download complete 02:53:59 3ead6fa29328: Verifying Checksum 02:53:59 3ead6fa29328: Download complete 02:53:59 ac28cf19c067: Download complete 02:53:59 ca983d60f3e2: Verifying Checksum 02:53:59 ca983d60f3e2: Download complete 02:53:59 9f894cec8388: Verifying Checksum 02:53:59 9f894cec8388: Download complete 02:53:59 1fe172e4850f: Verifying Checksum 02:53:59 1fe172e4850f: Download complete 02:54:00 1827001aaf11: Verifying Checksum 02:54:00 1827001aaf11: Download complete 02:54:01 1fe172e4850f: Pull complete 02:54:01 caf521ccaac6: Pull complete 02:54:01 3ead6fa29328: Pull complete 02:54:02 5c2a1cbceb83: Pull complete 02:54:02 a8d5f1318db7: Pull complete 02:54:02 c427282e49a2: Pull complete 02:54:04 1827001aaf11: Pull complete 02:54:04 0714d37db230: Pull complete 02:54:04 ac28cf19c067: Pull complete 02:54:04 ca983d60f3e2: Pull complete 02:54:04 9f894cec8388: Pull complete 02:54:04 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:54:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:54:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:54:05 prd-ubuntu20.04-docker-8c-8g-35407 does not seem to be running inside a container 02:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:54:06 $ docker top 7d61cecda2867a6c6381dc10e22f2b5a02c24fc939c11a549b64977774125563 -eo pid,comm 02:54:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:54:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:54:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:54:06 [ssh-agent] Looking for ssh-agent implementation... 02:54:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:54:07 $ docker exec 7d61cecda2867a6c6381dc10e22f2b5a02c24fc939c11a549b64977774125563 ssh-agent 02:54:07 SSH_AUTH_SOCK=/tmp/ssh-NWrBqetcpA3W/agent.34 02:54:07 SSH_AGENT_PID=41 02:54:07 Running ssh-add (command line suppressed) 02:54:07 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/private_key_4939030340940006008.key (/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/private_key_4939030340940006008.key) 02:54:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:54:07 + git tag --points-at HEAD [Pipeline] } 02:54:07 $ docker exec --env ******** --env ******** 7d61cecda2867a6c6381dc10e22f2b5a02c24fc939c11a549b64977774125563 ssh-agent -k 02:54:07 unset SSH_AUTH_SOCK; 02:54:07 unset SSH_AGENT_PID; 02:54:07 echo Agent pid 41 killed; 02:54:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:54:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:54:07 [ssh-agent] Looking for ssh-agent implementation... 02:54:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:54:07 $ docker exec 7d61cecda2867a6c6381dc10e22f2b5a02c24fc939c11a549b64977774125563 ssh-agent 02:54:08 SSH_AUTH_SOCK=/tmp/ssh-8Z4aClfxdfXI/agent.75 02:54:08 SSH_AGENT_PID=83 02:54:08 Running ssh-add (command line suppressed) 02:54:08 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/private_key_4603175818138313876.key (/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/private_key_4603175818138313876.key) 02:54:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:54:08 + git semver init 02:54:08 2022-05-03 02:54:08,776 [run_init] DEBUG init version:0.0.0 force:False 02:54:08 2022-05-03 02:54:08,777 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver 02:54:08 2022-05-03 02:54:08,777 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-164/.semver 02:54:08 2022-05-03 02:54:08,777 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-164, universal_newlines=False, shell=None, istream=None) 02:54:09 2022-05-03 02:54:09,566 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-164/.git/info/exclude 02:54:09 2022-05-03 02:54:09,567 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver/PR-164 with force:False 02:54:09 2022-05-03 02:54:09,567 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver/PR-164 02:54:09 2022-05-03 02:54:09,572 [execute] INFO git cat-file --batch-check 02:54:09 2022-05-03 02:54:09,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver, universal_newlines=False, shell=None, istream=) 02:54:09 2022-05-03 02:54:09,579 [execute] INFO git cat-file --batch 02:54:09 2022-05-03 02:54:09,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-164/.semver, universal_newlines=False, shell=None, istream=) 02:54:09 2022-05-03 02:54:09,584 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-164/.semver/PR-164 02:54:09 0.0.0 [Pipeline] } 02:54:09 $ docker exec --env ******** --env ******** 7d61cecda2867a6c6381dc10e22f2b5a02c24fc939c11a549b64977774125563 ssh-agent -k 02:54:09 unset SSH_AUTH_SOCK; 02:54:09 unset SSH_AGENT_PID; 02:54:09 echo Agent pid 83 killed; 02:54:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:54:10 + git semver [Pipeline] } 02:54:10 $ docker stop --time=1 7d61cecda2867a6c6381dc10e22f2b5a02c24fc939c11a549b64977774125563 02:54:11 $ docker rm -f 7d61cecda2867a6c6381dc10e22f2b5a02c24fc939c11a549b64977774125563 [Pipeline] // withDockerContainer [Pipeline] sh 02:54:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:54:12 Stashed 1 file(s) [Pipeline] echo 02:54:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:12 provisioning config files... 02:54:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/config7354453750616857610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:13 ---> docker-login.sh 02:54:13 nexus3.edgexfoundry.org:10001 02:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:13 Configure a credential helper to remove this warning. See 02:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:13 02:54:13 Login Succeeded 02:54:13 nexus3.edgexfoundry.org:10002 02:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:13 Configure a credential helper to remove this warning. See 02:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:13 02:54:13 Login Succeeded 02:54:13 nexus3.edgexfoundry.org:10003 02:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:13 Configure a credential helper to remove this warning. See 02:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:13 02:54:13 Login Succeeded 02:54:13 nexus3.edgexfoundry.org:10004 02:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:13 Configure a credential helper to remove this warning. See 02:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:13 02:54:13 Login Succeeded 02:54:13 docker.io 02:54:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:13 Configure a credential helper to remove this warning. See 02:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:13 02:54:13 Login Succeeded 02:54:13 ---> docker-login.sh ends [Pipeline] } 02:54:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:54:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:13 ========================================================= 02:54:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:54:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:54:14 + 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 . 02:54:14 Sending build context to Docker daemon 5.318MB 02:54:14 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:54:14 Step 2/12 : FROM ${BASE} AS builder 02:54:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:54:14 59bf1c3509f3: Pulling fs layer 02:54:14 666ba61612fd: Pulling fs layer 02:54:14 8ed8ca486205: Pulling fs layer 02:54:14 4fe6c5a15a65: Pulling fs layer 02:54:14 22a0e8bec74d: Pulling fs layer 02:54:14 ca2b28591e48: Pulling fs layer 02:54:14 a51346096db8: Pulling fs layer 02:54:14 daebc70d1ce1: Pulling fs layer 02:54:14 0e18a0eac166: Pulling fs layer 02:54:14 ca2b28591e48: Waiting 02:54:14 4fe6c5a15a65: Waiting 02:54:14 a51346096db8: Waiting 02:54:14 daebc70d1ce1: Waiting 02:54:14 0e18a0eac166: Waiting 02:54:14 8ed8ca486205: Verifying Checksum 02:54:14 8ed8ca486205: Download complete 02:54:14 666ba61612fd: Download complete 02:54:14 22a0e8bec74d: Verifying Checksum 02:54:14 22a0e8bec74d: Download complete 02:54:14 ca2b28591e48: Verifying Checksum 02:54:14 ca2b28591e48: Download complete 02:54:14 59bf1c3509f3: Verifying Checksum 02:54:14 59bf1c3509f3: Download complete 02:54:14 a51346096db8: Verifying Checksum 02:54:14 a51346096db8: Download complete 02:54:14 daebc70d1ce1: Verifying Checksum 02:54:14 daebc70d1ce1: Download complete 02:54:14 59bf1c3509f3: Pull complete 02:54:14 666ba61612fd: Pull complete 02:54:14 8ed8ca486205: Pull complete 02:54:14 0e18a0eac166: Verifying Checksum 02:54:14 0e18a0eac166: Download complete 02:54:15 4fe6c5a15a65: Verifying Checksum 02:54:15 4fe6c5a15a65: Download complete 02:54:19 4fe6c5a15a65: Pull complete 02:54:19 22a0e8bec74d: Pull complete 02:54:19 ca2b28591e48: Pull complete 02:54:19 a51346096db8: Pull complete 02:54:19 daebc70d1ce1: Pull complete 02:54:22 0e18a0eac166: Pull complete 02:54:22 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:54:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:54:22 ---> f018257e8ee9 02:54:22 Step 3/12 : ARG MAKE='make build' 02:54:23 ---> Running in 2ea95641e658 02:54:23 Removing intermediate container 2ea95641e658 02:54:23 ---> f4c1b9695fbc 02:54:23 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:54:23 ---> Running in bc5aa09b2326 02:54:23 Removing intermediate container bc5aa09b2326 02:54:23 ---> 05edd146b153 02:54:23 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 02:54:23 ---> Running in 269be3b007f9 02:54:23 Removing intermediate container 269be3b007f9 02:54:23 ---> f5f29838c0d6 02:54:23 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:54:23 ---> Running in 35e8641c23f4 02:54:24 Removing intermediate container 35e8641c23f4 02:54:24 ---> ec8eeff887de 02:54:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:54:24 ---> Running in 87b6bffb6515 02:54:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:54:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:54:26 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:54:26 (2/4) Installing libedit (20210910.3.1-r0) 02:54:26 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:54:26 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:54:26 Executing busybox-1.34.1-r3.trigger 02:54:26 OK: 224 MiB in 56 packages 02:54:27 Removing intermediate container 87b6bffb6515 02:54:27 ---> dee83e23b827 02:54:27 Step 8/12 : WORKDIR /device-snmp-go 02:54:27 ---> Running in 2cba34df673d 02:54:27 Removing intermediate container 2cba34df673d 02:54:27 ---> aca12dedf22e 02:54:27 Step 9/12 : COPY go.mod vendor* ./ 02:54:27 ---> 389ff435b19a 02:54:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:27 ---> Running in 9cf60858eec0 02:54:27 Still waiting to schedule task 02:54:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-35428’ is offline 02:54:45 Removing intermediate container 9cf60858eec0 02:54:45 ---> 4e43ba90e200 02:54:45 Step 11/12 : COPY . . 02:54:45 ---> 2a5be24cd256 02:54:45 Step 12/12 : RUN ${MAKE} 02:54:45 ---> Running in 190d00ee7f64 02:54:45 noop 02:54:45 Removing intermediate container 190d00ee7f64 02:54:45 ---> 401cd606069f 02:54:45 Successfully built 401cd606069f 02:54:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:54:45 + docker inspect -f . ci-base-image-x86_64 02:54:45 . [Pipeline] withDockerContainer 02:54:45 prd-ubuntu20.04-docker-8c-8g-35407 does not seem to be running inside a container 02:54:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@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 ******** ci-base-image-x86_64 cat 02:54:46 $ docker top 1065159557c6f5fd416901fa1622d689fb740f607f0958741ed561cd1a87f45c -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:46 + go version 02:54:46 go version go1.17.6 linux/amd64 [Pipeline] } 02:54:46 $ docker stop --time=1 1065159557c6f5fd416901fa1622d689fb740f607f0958741ed561cd1a87f45c 02:54:48 $ docker rm -f 1065159557c6f5fd416901fa1622d689fb740f607f0958741ed561cd1a87f45c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:54:48 + docker inspect -f . ci-base-image-x86_64 02:54:48 . [Pipeline] withDockerContainer 02:54:48 prd-ubuntu20.04-docker-8c-8g-35407 does not seem to be running inside a container 02:54:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@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 ******** ci-base-image-x86_64 cat 02:54:49 $ docker top 2d28c7c8b757355564774ac93c0da98c99c978b6c7a8677b1d30d3231a954541 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:54:49 + make test 02:54:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:54:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:55:00 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:55:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.034s coverage: 0.0% of statements 02:55:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:55:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:55:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:55:10 ./bin/test-attribution-txt.sh [Pipeline] echo 02:55:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:55:10 $ docker stop --time=1 2d28c7c8b757355564774ac93c0da98c99c978b6c7a8677b1d30d3231a954541 02:55:12 $ docker rm -f 2d28c7c8b757355564774ac93c0da98c99c978b6c7a8677b1d30d3231a954541 [Pipeline] // withDockerContainer [Pipeline] sh 02:55:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:55:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:55:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:55:13 + ls -al . 02:55:13 total 168 02:55:13 drwxrwxr-x 9 jenkins jenkins 4096 May 3 02:55 . 02:55:13 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:53 .. 02:55:13 -rw-rw-r-- 1 jenkins jenkins 6 May 3 02:53 .dockerignore 02:55:13 drwxrwxr-x 8 jenkins jenkins 4096 May 3 02:54 .git 02:55:13 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:53 .github 02:55:13 -rw-rw-r-- 1 jenkins jenkins 328 May 3 02:53 .gitignore 02:55:13 -rw-rw-r-- 1 jenkins jenkins 41 May 3 02:53 .golangci.yml 02:55:13 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:54 .semver 02:55:13 -rw-rw-r-- 1 jenkins jenkins 8296 May 3 02:53 Attribution.txt 02:55:13 -rw-rw-r-- 1 jenkins jenkins 4401 May 3 02:53 CHANGELOG.md 02:55:13 -rw-rw-r-- 1 jenkins jenkins 1516 May 3 02:53 Dockerfile 02:55:13 -rw-rw-r-- 1 jenkins jenkins 677 May 3 02:53 GOVERNANCE.md 02:55:13 -rw-rw-r-- 1 jenkins jenkins 656 May 3 02:53 Jenkinsfile 02:55:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 02:53 LICENSE 02:55:13 -rw-rw-r-- 1 jenkins jenkins 1938 May 3 02:53 Makefile 02:55:13 -rw-rw-r-- 1 jenkins jenkins 620 May 3 02:53 OWNERS.md 02:55:13 -rw-rw-r-- 1 jenkins jenkins 9074 May 3 02:53 README.md 02:55:13 -rw-rw-r-- 1 jenkins jenkins 5 May 3 02:54 VERSION 02:55:13 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:53 bin 02:55:13 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:53 cmd 02:55:13 -rw-r--r-- 1 jenkins jenkins 7631 May 3 02:54 coverage.out 02:55:13 -rw-rw-r-- 1 jenkins jenkins 3296 May 3 02:53 go.mod 02:55:13 -rw-rw-r-- 1 jenkins jenkins 35911 May 3 02:53 go.sum 02:55:13 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:53 internal 02:55:13 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:53 snap 02:55:13 -rw-rw-r-- 1 jenkins jenkins 209 May 3 02:53 version.go [Pipeline] isUnix [Pipeline] sh 02:55:14 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 --label arch=amd64 --label version=0.0.0 . 02:55:14 Sending build context to Docker daemon 5.326MB 02:55:14 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 02:55:14 Step 2/24 : FROM ${BASE} AS builder 02:55:14 ---> 401cd606069f 02:55:14 Step 3/24 : ARG MAKE='make build' 02:55:14 ---> Running in 6f7bf7567e5a 02:55:14 Removing intermediate container 6f7bf7567e5a 02:55:14 ---> f98be11bc5a0 02:55:14 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:55:14 ---> Running in fd6b16a3987a 02:55:14 Removing intermediate container fd6b16a3987a 02:55:14 ---> 8f8d2a308ef0 02:55:14 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 02:55:14 ---> Running in fa64296ed9a3 02:55:14 Removing intermediate container fa64296ed9a3 02:55:14 ---> 5f8ef675a313 02:55:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:55:14 ---> Running in 7bdbb6ec248d 02:55:15 Removing intermediate container 7bdbb6ec248d 02:55:15 ---> d36255731940 02:55:15 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:15 ---> Running in e347d5c912c4 02:55:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:55:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:55:16 OK: 224 MiB in 56 packages 02:55:16 Removing intermediate container e347d5c912c4 02:55:16 ---> 41025ab4e5a4 02:55:16 Step 8/24 : WORKDIR /device-snmp-go 02:55:16 ---> Running in 1f03d63830f3 02:55:17 Removing intermediate container 1f03d63830f3 02:55:17 ---> cb8eb49cac10 02:55:17 Step 9/24 : COPY go.mod vendor* ./ 02:55:17 ---> f5bd11010168 02:55:17 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:17 ---> Running in 0304de9f3669 02:55:18 Removing intermediate container 0304de9f3669 02:55:18 ---> c3dd010fa911 02:55:18 Step 11/24 : COPY . . 02:55:18 ---> e30377e10f61 02:55:18 Step 12/24 : RUN ${MAKE} 02:55:18 ---> Running in 20191e37059f 02:55:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 02:55:40 Removing intermediate container 20191e37059f 02:55:40 ---> d1baf732fb15 02:55:40 Step 13/24 : FROM alpine:3.14 02:55:40 3.14: Pulling from library/alpine 02:55:40 8663204ce13b: Pulling fs layer 02:55:40 8663204ce13b: Verifying Checksum 02:55:40 8663204ce13b: Download complete 02:55:40 8663204ce13b: Pull complete 02:55:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:55:40 Status: Downloaded newer image for alpine:3.14 02:55:40 ---> e04c818066af 02:55:40 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 02:55:40 ---> Running in ae49b59f882f 02:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:55:40 (1/6) Installing dumb-init (1.2.5-r1) 02:55:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:55:40 (3/6) Installing libsodium (1.0.18-r0) 02:55:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:55:40 (5/6) Installing libzmq (4.3.4-r0) 02:55:40 (6/6) Installing zeromq (4.3.4-r0) 02:55:40 Executing busybox-1.33.1-r7.trigger 02:55:40 OK: 8 MiB in 20 packages 02:55:40 Removing intermediate container ae49b59f882f 02:55:40 ---> 80b165698a5f 02:55:40 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 02:55:40 ---> 43c1bd77db52 02:55:40 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 02:55:41 ---> 63e4a053cfa3 02:55:41 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 02:55:41 ---> 2a22b54c87d2 02:55:41 Step 18/24 : EXPOSE 59993 02:55:41 ---> Running in 4537105ac38b 02:55:41 Removing intermediate container 4537105ac38b 02:55:41 ---> 904b47611e5d 02:55:41 Step 19/24 : EXPOSE 161 02:55:41 ---> Running in 349faebb3486 02:55:41 Removing intermediate container 349faebb3486 02:55:41 ---> ca560526590f 02:55:41 Step 20/24 : ENTRYPOINT ["/device-snmp"] 02:55:41 ---> Running in dbee5b694855 02:55:41 Removing intermediate container dbee5b694855 02:55:41 ---> 03d46b3940cb 02:55:41 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:55:41 ---> Running in e7fcf3581981 02:55:41 Removing intermediate container e7fcf3581981 02:55:41 ---> 5d8971790f07 02:55:41 Step 22/24 : LABEL arch=amd64 02:55:41 ---> Running in de0571da5dd6 02:55:41 Removing intermediate container de0571da5dd6 02:55:41 ---> 6e6517aaa6e1 02:55:41 Step 23/24 : LABEL git_sha=2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 02:55:41 ---> Running in 81b8f5b15ce9 02:55:42 Removing intermediate container 81b8f5b15ce9 02:55:42 ---> dfab2ed594c2 02:55:42 Step 24/24 : LABEL version=0.0.0 02:55:42 ---> Running in da71a4da2411 02:55:42 Removing intermediate container da71a4da2411 02:55:42 ---> e22397a2b78c 02:55:42 [Warning] One or more build-args [ARCH] were not consumed 02:55:42 Successfully built e22397a2b78c 02:55:42 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 02:55:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:42 02:55:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:55:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:42 latest: Pulling from edgex-lftools-log-publisher 02:55:42 5eb5b503b376: Pulling fs layer 02:55:42 5c69ac0246d0: Pulling fs layer 02:55:42 ec43610c2a17: Pulling fs layer 02:55:42 3a2ae6a8a46f: Pulling fs layer 02:55:42 33b1e0a273af: Pulling fs layer 02:55:42 5d3b04190fa2: Pulling fs layer 02:55:42 2f39f015ded8: Pulling fs layer 02:55:42 33b1e0a273af: Waiting 02:55:42 3a2ae6a8a46f: Waiting 02:55:42 5d3b04190fa2: Waiting 02:55:42 2f39f015ded8: Waiting 02:55:42 5c69ac0246d0: Verifying Checksum 02:55:42 5c69ac0246d0: Download complete 02:55:42 3a2ae6a8a46f: Download complete 02:55:42 33b1e0a273af: Verifying Checksum 02:55:42 33b1e0a273af: Download complete 02:55:42 5d3b04190fa2: Verifying Checksum 02:55:42 5d3b04190fa2: Download complete 02:55:42 ec43610c2a17: Verifying Checksum 02:55:42 ec43610c2a17: Download complete 02:55:43 5eb5b503b376: Verifying Checksum 02:55:43 5eb5b503b376: Download complete 02:55:43 2f39f015ded8: Download complete 02:55:44 5eb5b503b376: Pull complete 02:55:44 5c69ac0246d0: Pull complete 02:55:45 ec43610c2a17: Pull complete 02:55:45 3a2ae6a8a46f: Pull complete 02:55:45 33b1e0a273af: Pull complete 02:55:45 5d3b04190fa2: Pull complete 02:55:49 2f39f015ded8: Pull complete 02:55:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:55:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:55:49 prd-ubuntu20.04-docker-8c-8g-35407 does not seem to be running inside a container 02:55:49 $ 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-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@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 02:55:52 $ docker top f6a746be607ef5d3a5dbb8f5415e8429c839eda427144705cef209c5bfb4f937 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:52 ---> job-cost.sh 02:55:52 lf-activate-venv: SKIPPING 02:55:52 INFO: No Stack... 02:55:52 INFO: Retrieving Pricing Info for: v3-standard-8 02:55:53 INFO: Archiving Costs [Pipeline] sh 02:55:53 + cat /w/workspace/gexfoundry_device-snmp-go_PR-164/archives/cost.csv 02:55:53 + cut -d, -f6 [Pipeline] lock 02:55:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-164-2-stack-cost] 02:55:53 Resource [jenkins-edgexfoundry-device-snmp-go-PR-164-2-stack-cost] did not exist. Created. 02:55:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-164-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:55:54 + echo total: 0.2199999988079071 [Pipeline] stash 02:55:54 Stashed 1 file(s) [Pipeline] } 02:55:54 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-164-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:55:54 $ docker stop --time=1 f6a746be607ef5d3a5dbb8f5415e8429c839eda427144705cef209c5bfb4f937 02:55:55 $ docker rm -f f6a746be607ef5d3a5dbb8f5415e8429c839eda427144705cef209c5bfb4f937 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:04:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-39967 in /w/workspace/gexfoundry_device-snmp-go_PR-164 [Pipeline] { [Pipeline] ws 04:04:51 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 04:04:51 Selected Git installation does not exist. Using Default 04:04:51 The recommended git tool is: NONE 04:04:58 using credential edgex-jenkins-ssh 04:04:58 Cloning the remote Git repository 04:04:58 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:04:58 > git init /w/workspace/device-snmp-go/2 # timeout=10 04:04:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:04:58 > git --version # timeout=10 04:04:58 > git --version # 'git version 2.25.1' 04:04:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:04:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:05:00 Merging remotes/origin/main commit 60c29c8ddffb83da8ea2aabad72ac966629b6d3c into PR head commit 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 04:05:00 Merge succeeded, producing 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 04:05:00 Checking out Revision 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 (PR-164) 04:04:59 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:04:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:04:59 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:04:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:04:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:04:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:05:00 > git config core.sparsecheckout # timeout=10 04:05:00 > git checkout -f 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 # timeout=10 04:05:00 > git remote # timeout=10 04:05:00 > git config --get remote.origin.url # timeout=10 04:05:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:05:00 > git merge 60c29c8ddffb83da8ea2aabad72ac966629b6d3c # timeout=10 04:05:00 > git rev-parse HEAD^{commit} # timeout=10 04:05:00 > git config core.sparsecheckout # timeout=10 04:05:00 > git checkout -f 2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 # timeout=10 04:05:04 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:05:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:05:05 Dload Upload Total Spent Left Speed 04:05:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 04:05:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:05:06 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 04:05:06 04:05:06 { 04:05:06 "registry-mirrors": [ 04:05:06 "https://nexus3.edgexfoundry.org:10001" 04:05:06 ], 04:05:06 "bip": "10.250.0.254/24", 04:05:06 "hosts": [ 04:05:06 "tcp://0.0.0.0:5555", 04:05:06 "unix:///var/run/docker.sock" 04:05:06 ], 04:05:06 "mtu": 1458, 04:05:06 "selinux-enabled": true, 04:05:06 "seccomp-profile": "/etc/docker/seccomp.json" 04:05:06 } [Pipeline] sh 04:05:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:05:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:25 provisioning config files... 04:05:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config8055174178736990110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:25 ---> docker-login.sh 04:05:25 nexus3.edgexfoundry.org:10001 04:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:26 Configure a credential helper to remove this warning. See 04:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:26 04:05:26 Login Succeeded 04:05:26 nexus3.edgexfoundry.org:10002 04:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:27 Configure a credential helper to remove this warning. See 04:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:27 04:05:27 Login Succeeded 04:05:27 nexus3.edgexfoundry.org:10003 04:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:27 Configure a credential helper to remove this warning. See 04:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:27 04:05:27 Login Succeeded 04:05:27 nexus3.edgexfoundry.org:10004 04:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:28 Configure a credential helper to remove this warning. See 04:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:28 04:05:28 Login Succeeded 04:05:28 docker.io 04:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:28 Configure a credential helper to remove this warning. See 04:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:28 04:05:28 Login Succeeded 04:05:28 ---> docker-login.sh ends [Pipeline] } 04:05:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:05:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:29 ========================================================= 04:05:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:05:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:05:29 + 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 . 04:05:29 Sending build context to Docker daemon 2.753MB 04:05:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:05:29 Step 2/12 : FROM ${BASE} AS builder 04:05:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:05:30 9b3977197b4f: Pulling fs layer 04:05:30 1a89e8eeedd5: Pulling fs layer 04:05:30 94645a83ff95: Pulling fs layer 04:05:30 3f3a8bcf1eab: Pulling fs layer 04:05:30 0c92f367c5e7: Pulling fs layer 04:05:30 3096ccb668a1: Pulling fs layer 04:05:30 e8cf19c19ddd: Pulling fs layer 04:05:30 a4caa8a26152: Pulling fs layer 04:05:30 3096ccb668a1: Waiting 04:05:30 3f3a8bcf1eab: Waiting 04:05:30 0c92f367c5e7: Waiting 04:05:30 e8cf19c19ddd: Waiting 04:05:30 a4caa8a26152: Waiting 04:05:30 94645a83ff95: Download complete 04:05:30 0c92f367c5e7: Verifying Checksum 04:05:30 0c92f367c5e7: Download complete 04:05:30 3096ccb668a1: Verifying Checksum 04:05:30 3096ccb668a1: Download complete 04:05:30 9b3977197b4f: Verifying Checksum 04:05:30 9b3977197b4f: Download complete 04:05:30 e8cf19c19ddd: Verifying Checksum 04:05:30 e8cf19c19ddd: Download complete 04:05:31 9b3977197b4f: Pull complete 04:05:31 1a89e8eeedd5: Pull complete 04:05:31 94645a83ff95: Pull complete 04:05:32 a4caa8a26152: Verifying Checksum 04:05:32 a4caa8a26152: Download complete 04:05:32 3f3a8bcf1eab: Verifying Checksum 04:05:32 3f3a8bcf1eab: Download complete 04:05:45 3f3a8bcf1eab: Pull complete 04:05:45 0c92f367c5e7: Pull complete 04:05:45 3096ccb668a1: Pull complete 04:05:46 e8cf19c19ddd: Pull complete 04:05:52 a4caa8a26152: Pull complete 04:05:52 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:05:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:05:52 ---> 725f1c02e7f9 04:05:52 Step 3/12 : ARG MAKE='make build' 04:05:53 ---> Running in 9616438bc42a 04:05:53 Removing intermediate container 9616438bc42a 04:05:53 ---> 1e7a486d1f1a 04:05:53 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:05:54 ---> Running in 6178d140c53b 04:05:54 Removing intermediate container 6178d140c53b 04:05:54 ---> 91cfc882ca35 04:05:54 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 04:05:54 ---> Running in 3ec82ca1ad2a 04:05:54 Removing intermediate container 3ec82ca1ad2a 04:05:54 ---> 1fcfe9b6973d 04:05:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:54 ---> Running in 233232f5b1df 04:05:56 Removing intermediate container 233232f5b1df 04:05:56 ---> 1641196d5024 04:05:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:05:56 ---> Running in 257a5bfada18 04:05:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:06:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:06:01 (1/4) Installing openssh-keygen (8.8_p1-r1) 04:06:01 (2/4) Installing libedit (20210910.3.1-r0) 04:06:01 (3/4) Installing openssh-client-common (8.8_p1-r1) 04:06:01 (4/4) Installing openssh-client-default (8.8_p1-r1) 04:06:01 Executing busybox-1.34.1-r3.trigger 04:06:01 OK: 224 MiB in 56 packages 04:06:02 Removing intermediate container 257a5bfada18 04:06:02 ---> 0e0178146d13 04:06:02 Step 8/12 : WORKDIR /device-snmp-go 04:06:02 ---> Running in 44d5bdd19f3d 04:06:03 Removing intermediate container 44d5bdd19f3d 04:06:03 ---> 4d3c0812e79e 04:06:03 Step 9/12 : COPY go.mod vendor* ./ 04:06:03 ---> df40bffb99fb 04:06:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:03 ---> Running in bec76e1b6d03 04:06:50 Removing intermediate container bec76e1b6d03 04:06:50 ---> e0ad700e889d 04:06:50 Step 11/12 : COPY . . 04:06:51 ---> 80370e088e21 04:06:51 Step 12/12 : RUN ${MAKE} 04:06:51 ---> Running in eca47dac62de 04:06:52 noop 04:06:53 Removing intermediate container eca47dac62de 04:06:53 ---> 89881f5ab963 04:06:53 Successfully built 89881f5ab963 04:06:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:06:53 + docker inspect -f . ci-base-image-arm64 04:06:53 . [Pipeline] withDockerContainer 04:06:54 prd-ubuntu20.04-docker-arm64-4c-16g-39967 does not seem to be running inside a container 04:06:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:06:55 $ docker top 7691148b9a29fa62f3c75ca9de37dc36cae5e3851e50dfd4c537b2d5d1e34894 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:56 + go version 04:06:56 go version go1.17.6 linux/arm64 [Pipeline] } 04:06:56 $ docker stop --time=1 7691148b9a29fa62f3c75ca9de37dc36cae5e3851e50dfd4c537b2d5d1e34894 04:06:58 $ docker rm -f 7691148b9a29fa62f3c75ca9de37dc36cae5e3851e50dfd4c537b2d5d1e34894 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:06:58 + docker inspect -f . ci-base-image-arm64 04:06:58 . [Pipeline] withDockerContainer 04:06:59 prd-ubuntu20.04-docker-arm64-4c-16g-39967 does not seem to be running inside a container 04:06:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:07:00 $ docker top f2c3e7b4e923fcb178c324a32ba3248e6c67146dfe2fa3cb6f5382d9bc3c7a66 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:07:01 + make test 04:07:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:07:03 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:08:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:08:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 04:08:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:08:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:08:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:58 ./bin/test-attribution-txt.sh [Pipeline] echo 04:09:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:09:00 $ docker stop --time=1 f2c3e7b4e923fcb178c324a32ba3248e6c67146dfe2fa3cb6f5382d9bc3c7a66 04:09:02 $ docker rm -f f2c3e7b4e923fcb178c324a32ba3248e6c67146dfe2fa3cb6f5382d9bc3c7a66 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:03 Warning: overwriting stash ‘coverage-report’ 04:09:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:04 + ls -al . 04:09:04 total 164 04:09:04 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:09 . 04:09:04 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:04 .. 04:09:04 -rw-rw-r-- 1 jenkins jenkins 6 May 3 04:05 .dockerignore 04:09:04 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:05 .git 04:09:04 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:05 .github 04:09:04 -rw-rw-r-- 1 jenkins jenkins 328 May 3 04:05 .gitignore 04:09:04 -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:05 .golangci.yml 04:09:04 -rw-rw-r-- 1 jenkins jenkins 8296 May 3 04:05 Attribution.txt 04:09:04 -rw-rw-r-- 1 jenkins jenkins 4401 May 3 04:05 CHANGELOG.md 04:09:04 -rw-rw-r-- 1 jenkins jenkins 1516 May 3 04:05 Dockerfile 04:09:04 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:05 GOVERNANCE.md 04:09:04 -rw-rw-r-- 1 jenkins jenkins 656 May 3 04:05 Jenkinsfile 04:09:04 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:05 LICENSE 04:09:04 -rw-rw-r-- 1 jenkins jenkins 1938 May 3 04:05 Makefile 04:09:04 -rw-rw-r-- 1 jenkins jenkins 620 May 3 04:05 OWNERS.md 04:09:04 -rw-rw-r-- 1 jenkins jenkins 9074 May 3 04:05 README.md 04:09:04 -rw-rw-r-- 1 jenkins jenkins 5 May 3 02:54 VERSION 04:09:04 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:05 bin 04:09:04 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:05 cmd 04:09:04 -rw-r--r-- 1 jenkins jenkins 7631 May 3 04:08 coverage.out 04:09:04 -rw-rw-r-- 1 jenkins jenkins 3296 May 3 04:05 go.mod 04:09:04 -rw-rw-r-- 1 jenkins jenkins 35911 May 3 04:05 go.sum 04:09:04 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:05 internal 04:09:04 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:05 snap 04:09:04 -rw-rw-r-- 1 jenkins jenkins 209 May 3 04:05 version.go [Pipeline] isUnix [Pipeline] sh 04:09:05 + 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=2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 --label arch=arm64 --label version=0.0.0 . 04:09:05 Sending build context to Docker daemon 2.761MB 04:09:05 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 04:09:05 Step 2/24 : FROM ${BASE} AS builder 04:09:05 ---> 89881f5ab963 04:09:05 Step 3/24 : ARG MAKE='make build' 04:09:05 ---> Running in a3033aa2f4ee 04:09:06 Removing intermediate container a3033aa2f4ee 04:09:06 ---> 784f503682fb 04:09:06 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:09:06 ---> Running in 86d4b1bfb47b 04:09:06 Removing intermediate container 86d4b1bfb47b 04:09:06 ---> 36295430cce4 04:09:06 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 04:09:06 ---> Running in 6370057e1de2 04:09:06 Removing intermediate container 6370057e1de2 04:09:06 ---> 80d8ec51e87a 04:09:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:06 ---> Running in 78c4db10a71e 04:09:08 Removing intermediate container 78c4db10a71e 04:09:08 ---> adae76a3cd83 04:09:08 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:08 ---> Running in 8c356f316282 04:09:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:09:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:09:12 OK: 224 MiB in 56 packages 04:09:12 Removing intermediate container 8c356f316282 04:09:12 ---> f6baf61f46c0 04:09:12 Step 8/24 : WORKDIR /device-snmp-go 04:09:12 ---> Running in fc6a28d45b29 04:09:13 Removing intermediate container fc6a28d45b29 04:09:13 ---> b9890eab1d0c 04:09:13 Step 9/24 : COPY go.mod vendor* ./ 04:09:13 ---> c2ed3427428a 04:09:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:13 ---> Running in d0ffad43028a 04:09:15 Removing intermediate container d0ffad43028a 04:09:15 ---> abf6af63100e 04:09:15 Step 11/24 : COPY . . 04:09:16 ---> 910c23f68e2d 04:09:16 Step 12/24 : RUN ${MAKE} 04:09:16 ---> Running in e6cdf5a8a685 04:09:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 04:11:24 Removing intermediate container e6cdf5a8a685 04:11:24 ---> eefa66808dfb 04:11:24 Step 13/24 : FROM alpine:3.14 04:11:24 3.14: Pulling from library/alpine 04:11:24 455c02918c45: Pulling fs layer 04:11:24 455c02918c45: Download complete 04:11:24 455c02918c45: Pull complete 04:11:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:11:24 Status: Downloaded newer image for alpine:3.14 04:11:24 ---> ac73e934f311 04:11:24 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 04:11:24 ---> Running in d5edd3e59d12 04:11:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:11:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:11:27 (1/6) Installing dumb-init (1.2.5-r1) 04:11:27 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:11:27 (3/6) Installing libsodium (1.0.18-r0) 04:11:27 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:11:27 (5/6) Installing libzmq (4.3.4-r0) 04:11:27 (6/6) Installing zeromq (4.3.4-r0) 04:11:27 Executing busybox-1.33.1-r7.trigger 04:11:27 OK: 8 MiB in 20 packages 04:11:28 Removing intermediate container d5edd3e59d12 04:11:28 ---> 94bf28608b65 04:11:28 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 04:11:29 ---> 1438623ffdee 04:11:29 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 04:11:30 ---> 3da96b430fba 04:11:30 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 04:11:31 ---> 617620d27b23 04:11:31 Step 18/24 : EXPOSE 59993 04:11:31 ---> Running in de8b7ce25124 04:11:31 Removing intermediate container de8b7ce25124 04:11:31 ---> b19d0edbfd20 04:11:31 Step 19/24 : EXPOSE 161 04:11:31 ---> Running in f3fff867cf28 04:11:31 Removing intermediate container f3fff867cf28 04:11:31 ---> f9949bf017e2 04:11:31 Step 20/24 : ENTRYPOINT ["/device-snmp"] 04:11:31 ---> Running in 33784427c268 04:11:32 Removing intermediate container 33784427c268 04:11:32 ---> bfe3c443ab81 04:11:32 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:11:32 ---> Running in 459544cba992 04:11:32 Removing intermediate container 459544cba992 04:11:32 ---> f4f5c1b8a8a1 04:11:32 Step 22/24 : LABEL arch=arm64 04:11:32 ---> Running in 00300549e592 04:11:33 Removing intermediate container 00300549e592 04:11:33 ---> e76d71b71c2b 04:11:33 Step 23/24 : LABEL git_sha=2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 04:11:33 ---> Running in fa24f4341835 04:11:33 Removing intermediate container fa24f4341835 04:11:33 ---> 9788da569adf 04:11:33 Step 24/24 : LABEL version=0.0.0 04:11:33 ---> Running in 3d5c0f537f83 04:11:33 Removing intermediate container 3d5c0f537f83 04:11:33 ---> 23dad8561bed 04:11:33 [Warning] One or more build-args [ARCH] were not consumed 04:11:33 Successfully built 23dad8561bed 04:11:33 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 04:11:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:34 04:11:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:11:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:34 arm64: Pulling from edgex-lftools-log-publisher 04:11:34 8998bd30e6a1: Pulling fs layer 04:11:34 04944245beec: Pulling fs layer 04:11:34 699f458cf7ca: Pulling fs layer 04:11:34 765212b225bb: Pulling fs layer 04:11:34 f23df028b6ca: Pulling fs layer 04:11:34 d65c8cfc05b1: Pulling fs layer 04:11:34 2437ff75d9bd: Pulling fs layer 04:11:34 765212b225bb: Waiting 04:11:34 d65c8cfc05b1: Waiting 04:11:34 2437ff75d9bd: Waiting 04:11:34 04944245beec: Verifying Checksum 04:11:34 04944245beec: Download complete 04:11:34 765212b225bb: Verifying Checksum 04:11:34 765212b225bb: Download complete 04:11:34 f23df028b6ca: Verifying Checksum 04:11:34 d65c8cfc05b1: Verifying Checksum 04:11:34 d65c8cfc05b1: Download complete 04:11:35 699f458cf7ca: Verifying Checksum 04:11:35 699f458cf7ca: Download complete 04:11:35 8998bd30e6a1: Verifying Checksum 04:11:35 8998bd30e6a1: Download complete 04:11:38 2437ff75d9bd: Verifying Checksum 04:11:38 2437ff75d9bd: Download complete 04:11:40 8998bd30e6a1: Pull complete 04:11:40 04944245beec: Pull complete 04:11:42 699f458cf7ca: Pull complete 04:11:42 765212b225bb: Pull complete 04:11:43 f23df028b6ca: Pull complete 04:11:43 d65c8cfc05b1: Pull complete 04:12:01 2437ff75d9bd: Pull complete 04:12:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:12:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:12:01 prd-ubuntu20.04-docker-arm64-4c-16g-39967 does not seem to be running inside a container 04:12:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:12:04 $ docker top a0e07b9744ca47eef578d4c1f5134eb807cdc39a774a121009af00f566b7c2b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:05 ---> job-cost.sh 04:12:05 lf-activate-venv: SKIPPING 04:12:05 INFO: No Stack... 04:12:06 INFO: Retrieving Pricing Info for: v3-standard-4 04:12:06 INFO: Archiving Costs [Pipeline] sh 04:12:07 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 04:12:07 + cut -d, -f6 [Pipeline] lock 04:12:07 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-164-2-stack-cost] 04:12:07 Resource [jenkins-edgexfoundry-device-snmp-go-PR-164-2-stack-cost] did not exist. Created. 04:12:07 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-164-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:08 /w/workspace/device-snmp-go/2@tmp/durable-a5662557/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:12:09 + echo total: 0.10999999940395355 [Pipeline] stash 04:12:09 Warning: overwriting stash ‘stack-cost’ 04:12:09 Stashed 1 file(s) [Pipeline] } 04:12:09 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-164-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:09 $ docker stop --time=1 a0e07b9744ca47eef578d4c1f5134eb807cdc39a774a121009af00f566b7c2b9 04:12:10 $ docker rm -f a0e07b9744ca47eef578d4c1f5134eb807cdc39a774a121009af00f566b7c2b9 [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 04:12:11 provisioning config files... 04:12:11 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/config7338742567832794028tmp [Pipeline] { [Pipeline] sh 04:12:11 + set +x 04:12:11 + + curl -s https://codecov.io/bash 04:12:11 bash -s -- 04:12:11 04:12:11 _____ _ 04:12:11 / ____| | | 04:12:11 | | ___ __| | ___ ___ _____ __ 04:12:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:12:11 | |___| (_) | (_| | __/ (_| (_) \ V / 04:12:11 \_____\___/ \__,_|\___|\___\___/ \_/ 04:12:11 Bash-1.0.6 04:12:11 04:12:11 04:12:11 ==> git version 2.25.1 found 04:12:11 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:12:11 Release-Date: 2020-01-08 04:12:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:12:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:12:11 ==> Jenkins CI detected. 04:12:11 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-164 04:12:11 project root: . 04:12:11 --> token set from env 04:12:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:12:11 ==> Running gcov in . (disable via -X gcov) 04:12:11 ==> Python coveragepy not found 04:12:11 ==> Searching for coverage reports in: 04:12:11 + . 04:12:11 -> Found 1 reports 04:12:11 ==> Detecting git/mercurial file structure 04:12:11 ==> Reading reports 04:12:11 + ./coverage.out bytes=7631 04:12:12 ==> Appending adjustments 04:12:12 https://docs.codecov.io/docs/fixing-reports 04:12:12 + Found adjustments 04:12:12 ==> Gzipping contents 04:12:12 4.0K /tmp/codecov.oYctCI.gz 04:12:12 ==> Uploading reports 04:12:12 url: https://codecov.io 04:12:12 query: branch=PR-164&commit=2a8ef133b401d6cacd7e80e5a16909d7d1653cb9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-164%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=164&job=&cmd_args= 04:12:12 -> Pinging Codecov 04:12:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-164&commit=2a8ef133b401d6cacd7e80e5a16909d7d1653cb9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-164%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=164&job=&cmd_args= 04:12:12 -> Uploading to 04:12:12 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/6C56EA5C29638FB4528AC87E60AF5AE0/2a8ef133b401d6cacd7e80e5a16909d7d1653cb9/16e28a2c-490a-4ec4-94b8-7c7224be8870.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T041212Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6cc005812b02e022217d9ee2554e5d2b96297141a026a49cd1d5ab4bb7fffc29 04:12:12 % Total % Received % Xferd Average Speed Time Time Time Current 04:12:12 Dload Upload Total Spent Left Speed 04:12:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 5640 --:--:-- --:--:-- --:--:-- 5621 100 1602 0 0 100 1602 0 5640 --:--:-- --:--:-- --:--:-- 5621 04:12:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/2a8ef133b401d6cacd7e80e5a16909d7d1653cb9 [Pipeline] } 04:12:12 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 04:12:13 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-164/archives ] 04:12:13 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-164/archives 04:12:13 total 16 04:12:13 drwxr-xr-x 3 root root 4096 May 3 02:55 . 04:12:13 drwxrwxr-x 10 jenkins jenkins 4096 May 3 02:55 .. 04:12:13 drwxr-xr-x 2 root root 4096 May 3 02:55 cost 04:12:13 -rw-r--r-- 1 root root 85 May 3 02:55 cost.csv 04:12:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-164/archives 04:12:13 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-164/archives 04:12:13 total 16 04:12:13 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:55 . 04:12:13 drwxrwxr-x 10 jenkins jenkins 4096 May 3 02:55 .. 04:12:13 drwxr-xr-x 2 jenkins jenkins 4096 May 3 02:55 cost 04:12:13 -rw-r--r-- 1 jenkins jenkins 85 May 3 02:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:12:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:12:14 ---> package-listing.sh 04:12:14 ++ tr '[:upper:]' '[:lower:]' 04:12:14 ++ facter osfamily 04:12:14 + OS_FAMILY=debian 04:12:14 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-164 04:12:14 + START_PACKAGES=/tmp/packages_start.txt 04:12:14 + END_PACKAGES=/tmp/packages_end.txt 04:12:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:12:14 + PACKAGES=/tmp/packages_start.txt 04:12:14 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-164 ']' 04:12:14 + PACKAGES=/tmp/packages_end.txt 04:12:14 + case "${OS_FAMILY}" in 04:12:14 + dpkg -l 04:12:14 + grep '^ii' 04:12:14 + '[' -f /tmp/packages_start.txt ']' 04:12:14 + '[' -f /tmp/packages_end.txt ']' 04:12:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:12:14 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-164 ']' 04:12:14 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-164/archives/ 04:12:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-164/archives/ [Pipeline] echo 04:12:14 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:12:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:12:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:15 . [Pipeline] withDockerContainer 04:12:15 prd-ubuntu20.04-docker-8c-8g-35407 does not seem to be running inside a container 04:12:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-164/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-164 -v /w/workspace/gexfoundry_device-snmp-go_PR-164:/w/workspace/gexfoundry_device-snmp-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:12:15 $ docker top 3e26cfcd20619117e03314abd8043d66d179f5d3ca42f5ccb9fc2b88e76c0797 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:16 + touch /tmp/pre-build-complete [Pipeline] sh 04:12:16 + mkdir -p /var/log/sysstat [Pipeline] sh 04:12:16 + ls /var/log/sa-host 04:12:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:17 provisioning config files... 04:12:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-164@tmp/config3793818473312565484tmp [Pipeline] { [Pipeline] echo 04:12:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:12:17 ---> create-netrc.sh [Pipeline] } 04:12:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:12:17 ---> python-tools-install.sh [Pipeline] echo 04:12:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:12:18 ---> sudo-logs.sh 04:12:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:12:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:12:18 ---> job-cost.sh 04:12:18 lf-activate-venv: SKIPPING 04:12:18 DEBUG: total: 0.2199999988079071 04:12:18 INFO: Retrieving Stack Cost... 04:12:18 INFO: Retrieving Pricing Info for: v3-standard-8 04:12:19 INFO: Archiving Costs [Pipeline] echo 04:12:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:12:19 ---> logs-deploy.sh 04:12:19 lf-activate-venv: SKIPPING 04:12:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-164/2 04:12:19 INFO: archiving workspace using pattern(s): 04:12:20 Archives upload complete. 04:12:20 INFO: archiving logs to Nexus