Pull request #166 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed+60c29c8ddffb83da8ea2aabad72ac966629b6d3c (d784e91c02249e1935d519544b085ad0809ac5e3) 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-ssh4773751072019077865.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-ssh14035323099108168740.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-166/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13650256400521976691.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8032672007421003455.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4418154056022030106.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-166/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-166/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2101911277313678291.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-37022 in /w/workspace/gexfoundry_device-snmp-go_PR-166 [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-166 # 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 e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed Merge succeeded, producing e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed Checking out Revision e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed (PR-166) > 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/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed # 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 e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:14:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:14:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:14:22 ========================================================= 03:14:22 EdgeX Global Pipelines Version Info 03:14:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:14:23 ------------------- 03:14:23 stable info: 03:14:23 ------------------- 03:14:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:14:23 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 03:14:23 Message: update stable to v1.0.227 03:14:24 ------------------- 03:14:24 experimental info: 03:14:24 ------------------- 03:14:24 Commited By: **** collab-it+edgex@linuxfoundation.org 03:14:24 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 03:14:24 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:14:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e63ca4d [Pipeline] echo 03:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:25 provisioning config files... 03:14:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-166@tmp/config5127776096967177745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:26 ---> docker-login.sh 03:14:26 nexus3.edgexfoundry.org:10001 03:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:26 Configure a credential helper to remove this warning. See 03:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:26 03:14:26 Login Succeeded 03:14:26 nexus3.edgexfoundry.org:10002 03:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:26 Configure a credential helper to remove this warning. See 03:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:26 03:14:26 Login Succeeded 03:14:26 nexus3.edgexfoundry.org:10003 03:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:26 Configure a credential helper to remove this warning. See 03:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:26 03:14:26 Login Succeeded 03:14:26 nexus3.edgexfoundry.org:10004 03:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:27 Configure a credential helper to remove this warning. See 03:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:27 03:14:27 Login Succeeded 03:14:27 docker.io 03:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:27 Configure a credential helper to remove this warning. See 03:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:27 03:14:27 Login Succeeded 03:14:27 ---> docker-login.sh ends [Pipeline] } 03:14:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:14:28 + git rev-list -1 --merges e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed~1..e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed [Pipeline] echo 03:14:28 -----------> git rev-list -1 --merges e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed~1..e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed [false] [Pipeline] sh 03:14:28 + git log --format=format:%s -1 e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed [Pipeline] echo 03:14:28 ========================================================= 03:14:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:14:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:14:29 + git log --format=format:%s -1 e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed [Pipeline] echo 03:14:29 [semverPrep] GIT_COMMIT: e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 03:14:29 [semverPrep] This is not a build commit. [Pipeline] sh 03:14:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:14:30 + grep -v github /etc/ssh/ssh_known_hosts 03:14:30 + [ -e /tmp/ssh_known_hosts ] 03:14:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:14:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:14:30 + sudo tee -a /etc/ssh/ssh_known_hosts 03:14:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:14:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:14:30 03:14:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:14:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:14:30 latest: Pulling from edgex-devops/py-git-semver 03:14:30 1fe172e4850f: Pulling fs layer 03:14:30 caf521ccaac6: Pulling fs layer 03:14:30 3ead6fa29328: Pulling fs layer 03:14:30 5c2a1cbceb83: Pulling fs layer 03:14:30 a8d5f1318db7: Pulling fs layer 03:14:30 c427282e49a2: Pulling fs layer 03:14:30 1827001aaf11: Pulling fs layer 03:14:30 0714d37db230: Pulling fs layer 03:14:30 a8d5f1318db7: Waiting 03:14:30 c427282e49a2: Waiting 03:14:30 5c2a1cbceb83: Waiting 03:14:30 1827001aaf11: Waiting 03:14:30 ac28cf19c067: Pulling fs layer 03:14:30 ca983d60f3e2: Pulling fs layer 03:14:30 0714d37db230: Waiting 03:14:30 9f894cec8388: Pulling fs layer 03:14:30 ac28cf19c067: Waiting 03:14:30 ca983d60f3e2: Waiting 03:14:30 caf521ccaac6: Download complete 03:14:30 5c2a1cbceb83: Download complete 03:14:31 a8d5f1318db7: Verifying Checksum 03:14:31 a8d5f1318db7: Download complete 03:14:31 3ead6fa29328: Verifying Checksum 03:14:31 3ead6fa29328: Download complete 03:14:31 c427282e49a2: Download complete 03:14:31 0714d37db230: Download complete 03:14:31 ac28cf19c067: Verifying Checksum 03:14:31 ac28cf19c067: Download complete 03:14:31 ca983d60f3e2: Verifying Checksum 03:14:31 ca983d60f3e2: Download complete 03:14:31 9f894cec8388: Download complete 03:14:31 1fe172e4850f: Verifying Checksum 03:14:31 1fe172e4850f: Download complete 03:14:31 1827001aaf11: Verifying Checksum 03:14:31 1827001aaf11: Download complete 03:14:32 1fe172e4850f: Pull complete 03:14:32 caf521ccaac6: Pull complete 03:14:33 3ead6fa29328: Pull complete 03:14:33 5c2a1cbceb83: Pull complete 03:14:33 a8d5f1318db7: Pull complete 03:14:33 c427282e49a2: Pull complete 03:14:35 1827001aaf11: Pull complete 03:14:35 0714d37db230: Pull complete 03:14:35 ac28cf19c067: Pull complete 03:14:35 ca983d60f3e2: Pull complete 03:14:35 9f894cec8388: Pull complete 03:14:35 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 03:14:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:14:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 03:14:35 prd-ubuntu20.04-docker-8c-8g-37022 does not seem to be running inside a container 03:14:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-166 -v /w/workspace/gexfoundry_device-snmp-go_PR-166:/w/workspace/gexfoundry_device-snmp-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-166@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-166@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 03:14:37 $ docker top 6d96ac1253bb02a2305b9f0f3602951cc30d5cfdd53fc315884e0add3e50c9fe -eo pid,comm 03:14:37 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). 03:14:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:14:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:14:37 [ssh-agent] Looking for ssh-agent implementation... 03:14:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:14:37 $ docker exec 6d96ac1253bb02a2305b9f0f3602951cc30d5cfdd53fc315884e0add3e50c9fe ssh-agent 03:14:37 SSH_AUTH_SOCK=/tmp/ssh-IRgotm6ayDcq/agent.32 03:14:37 SSH_AGENT_PID=38 03:14:37 Running ssh-add (command line suppressed) 03:14:37 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-166@tmp/private_key_5643631395495008117.key (/w/workspace/gexfoundry_device-snmp-go_PR-166@tmp/private_key_5643631395495008117.key) 03:14:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:14:37 + git tag --points-at HEAD [Pipeline] } 03:14:37 $ docker exec --env ******** --env ******** 6d96ac1253bb02a2305b9f0f3602951cc30d5cfdd53fc315884e0add3e50c9fe ssh-agent -k 03:14:38 unset SSH_AUTH_SOCK; 03:14:38 unset SSH_AGENT_PID; 03:14:38 echo Agent pid 38 killed; 03:14:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:14:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:14:38 [ssh-agent] Looking for ssh-agent implementation... 03:14:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:14:38 $ docker exec 6d96ac1253bb02a2305b9f0f3602951cc30d5cfdd53fc315884e0add3e50c9fe ssh-agent 03:14:38 SSH_AUTH_SOCK=/tmp/ssh-6JenQBkvPJ76/agent.70 03:14:38 SSH_AGENT_PID=76 03:14:38 Running ssh-add (command line suppressed) 03:14:38 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-166@tmp/private_key_6548730665611462964.key (/w/workspace/gexfoundry_device-snmp-go_PR-166@tmp/private_key_6548730665611462964.key) 03:14:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:14:38 + git semver init 03:14:39 2022-05-03 03:14:39,128 [run_init] DEBUG init version:0.0.0 force:False 03:14:39 2022-05-03 03:14:39,129 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-166/.semver 03:14:39 2022-05-03 03:14:39,130 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-166/.semver 03:14:39 2022-05-03 03:14:39,130 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-166/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-166, universal_newlines=False, shell=None, istream=None) 03:14:40 2022-05-03 03:14:39,909 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-166/.git/info/exclude 03:14:40 2022-05-03 03:14:39,910 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-166/.semver/PR-166 with force:False 03:14:40 2022-05-03 03:14:39,910 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-166/.semver/PR-166 03:14:40 2022-05-03 03:14:39,914 [execute] INFO git cat-file --batch-check 03:14:40 2022-05-03 03:14:39,915 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-166/.semver, universal_newlines=False, shell=None, istream=) 03:14:40 2022-05-03 03:14:39,921 [execute] INFO git cat-file --batch 03:14:40 2022-05-03 03:14:39,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-166/.semver, universal_newlines=False, shell=None, istream=) 03:14:40 2022-05-03 03:14:39,926 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-166/.semver/PR-166 03:14:40 0.0.0 [Pipeline] } 03:14:40 $ docker exec --env ******** --env ******** 6d96ac1253bb02a2305b9f0f3602951cc30d5cfdd53fc315884e0add3e50c9fe ssh-agent -k 03:14:40 unset SSH_AUTH_SOCK; 03:14:40 unset SSH_AGENT_PID; 03:14:40 echo Agent pid 76 killed; 03:14:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:14:40 + git semver [Pipeline] } 03:14:41 $ docker stop --time=1 6d96ac1253bb02a2305b9f0f3602951cc30d5cfdd53fc315884e0add3e50c9fe 03:14:42 $ docker rm -f 6d96ac1253bb02a2305b9f0f3602951cc30d5cfdd53fc315884e0add3e50c9fe [Pipeline] // withDockerContainer [Pipeline] sh 03:14:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:14:43 Stashed 1 file(s) [Pipeline] echo 03:14:43 [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 03:14:43 provisioning config files... 03:14:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-166@tmp/config8895824014521323965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:44 ---> docker-login.sh 03:14:44 nexus3.edgexfoundry.org:10001 03:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:44 Configure a credential helper to remove this warning. See 03:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:44 03:14:44 Login Succeeded 03:14:44 nexus3.edgexfoundry.org:10002 03:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:44 Configure a credential helper to remove this warning. See 03:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:44 03:14:44 Login Succeeded 03:14:44 nexus3.edgexfoundry.org:10003 03:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:44 Configure a credential helper to remove this warning. See 03:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:44 03:14:44 Login Succeeded 03:14:44 nexus3.edgexfoundry.org:10004 03:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:44 Configure a credential helper to remove this warning. See 03:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:44 03:14:44 Login Succeeded 03:14:44 docker.io 03:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:44 Configure a credential helper to remove this warning. See 03:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:44 03:14:44 Login Succeeded 03:14:44 ---> docker-login.sh ends [Pipeline] } 03:14:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:14:45 ========================================================= 03:14:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:14:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:14:45 + 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 . 03:14:45 Sending build context to Docker daemon 5.318MB 03:14:45 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:14:45 Step 2/12 : FROM ${BASE} AS builder 03:14:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:14:45 59bf1c3509f3: Pulling fs layer 03:14:45 666ba61612fd: Pulling fs layer 03:14:45 8ed8ca486205: Pulling fs layer 03:14:45 4fe6c5a15a65: Pulling fs layer 03:14:45 22a0e8bec74d: Pulling fs layer 03:14:45 ca2b28591e48: Pulling fs layer 03:14:45 a51346096db8: Pulling fs layer 03:14:45 daebc70d1ce1: Pulling fs layer 03:14:45 0e18a0eac166: Pulling fs layer 03:14:45 4fe6c5a15a65: Waiting 03:14:45 22a0e8bec74d: Waiting 03:14:45 ca2b28591e48: Waiting 03:14:45 a51346096db8: Waiting 03:14:45 daebc70d1ce1: Waiting 03:14:45 0e18a0eac166: Waiting 03:14:45 8ed8ca486205: Verifying Checksum 03:14:45 8ed8ca486205: Download complete 03:14:45 666ba61612fd: Download complete 03:14:45 22a0e8bec74d: Verifying Checksum 03:14:45 22a0e8bec74d: Download complete 03:14:45 59bf1c3509f3: Verifying Checksum 03:14:45 59bf1c3509f3: Download complete 03:14:45 ca2b28591e48: Verifying Checksum 03:14:45 ca2b28591e48: Download complete 03:14:45 a51346096db8: Verifying Checksum 03:14:45 a51346096db8: Download complete 03:14:45 daebc70d1ce1: Verifying Checksum 03:14:45 daebc70d1ce1: Download complete 03:14:45 59bf1c3509f3: Pull complete 03:14:46 666ba61612fd: Pull complete 03:14:46 8ed8ca486205: Pull complete 03:14:46 0e18a0eac166: Verifying Checksum 03:14:46 0e18a0eac166: Download complete 03:14:46 4fe6c5a15a65: Verifying Checksum 03:14:46 4fe6c5a15a65: Download complete 03:14:50 4fe6c5a15a65: Pull complete 03:14:50 22a0e8bec74d: Pull complete 03:14:50 ca2b28591e48: Pull complete 03:14:50 a51346096db8: Pull complete 03:14:50 daebc70d1ce1: Pull complete 03:14:52 0e18a0eac166: Pull complete 03:14:52 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 03:14:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:14:52 ---> f018257e8ee9 03:14:52 Step 3/12 : ARG MAKE='make build' 03:14:53 ---> Running in 1fed6972a288 03:14:53 Removing intermediate container 1fed6972a288 03:14:53 ---> 51f301fe07d0 03:14:53 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:14:53 ---> Running in 62f35f88d453 03:14:53 Removing intermediate container 62f35f88d453 03:14:53 ---> 5f7b85154bfb 03:14:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 03:14:53 ---> Running in e1c97f2dccca 03:14:53 Removing intermediate container e1c97f2dccca 03:14:53 ---> e49da870d388 03:14:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:14:53 ---> Running in 1173089fa933 03:14:54 Removing intermediate container 1173089fa933 03:14:54 ---> 331900cc9f85 03:14:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:14:54 ---> Running in f6cca81b5212 03:14:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:14:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:14:55 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:14:55 (2/4) Installing libedit (20210910.3.1-r0) 03:14:55 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:14:55 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:14:56 Executing busybox-1.34.1-r3.trigger 03:14:56 OK: 224 MiB in 56 packages 03:14:56 Removing intermediate container f6cca81b5212 03:14:56 ---> 34d95e35d126 03:14:56 Step 8/12 : WORKDIR /device-snmp-go 03:14:56 ---> Running in f2a0f0bec87e 03:14:56 Removing intermediate container f2a0f0bec87e 03:14:56 ---> f6a828c550ff 03:14:56 Step 9/12 : COPY go.mod vendor* ./ 03:14:56 ---> 190926275ff1 03:14:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:14:56 ---> Running in 153c91e4826a 03:14:58 Still waiting to schedule task 03:14:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-37041’ 03:15:08 Removing intermediate container 153c91e4826a 03:15:08 ---> 88aa046c3d02 03:15:08 Step 11/12 : COPY . . 03:15:09 ---> e931ace0102e 03:15:09 Step 12/12 : RUN ${MAKE} 03:15:09 ---> Running in 6d11d3989e74 03:15:09 noop 03:15:09 Removing intermediate container 6d11d3989e74 03:15:09 ---> b03f5fed905f 03:15:09 Successfully built b03f5fed905f 03:15:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:15:10 + docker inspect -f . ci-base-image-x86_64 03:15:10 . [Pipeline] withDockerContainer 03:15:10 prd-ubuntu20.04-docker-8c-8g-37022 does not seem to be running inside a container 03:15:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-166 -v /w/workspace/gexfoundry_device-snmp-go_PR-166:/w/workspace/gexfoundry_device-snmp-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-166@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-166@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 ******** ci-base-image-x86_64 cat 03:15:10 $ docker top 414b3f6d04f99b4866df78beb2fd076be1da7f79150b26b44ed292eeede9b061 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:11 + go version 03:15:11 go version go1.17.6 linux/amd64 [Pipeline] } 03:15:11 $ docker stop --time=1 414b3f6d04f99b4866df78beb2fd076be1da7f79150b26b44ed292eeede9b061 03:15:12 $ docker rm -f 414b3f6d04f99b4866df78beb2fd076be1da7f79150b26b44ed292eeede9b061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:15:13 + docker inspect -f . ci-base-image-x86_64 03:15:13 . [Pipeline] withDockerContainer 03:15:13 prd-ubuntu20.04-docker-8c-8g-37022 does not seem to be running inside a container 03:15:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-166 -v /w/workspace/gexfoundry_device-snmp-go_PR-166:/w/workspace/gexfoundry_device-snmp-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-166@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-166@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 ******** ci-base-image-x86_64 cat 03:15:13 $ docker top 20503e29a712c66fdf27b180f2f130eb77457425589e7fc0ecdd452fefcf23f0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:15:14 + make test 03:15:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:15:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 03:15:24 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 03:15:24 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 03:15:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:15:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:15:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:15:35 ./bin/test-attribution-txt.sh [Pipeline] echo 03:15:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:15:35 $ docker stop --time=1 20503e29a712c66fdf27b180f2f130eb77457425589e7fc0ecdd452fefcf23f0 03:15:36 $ docker rm -f 20503e29a712c66fdf27b180f2f130eb77457425589e7fc0ecdd452fefcf23f0 [Pipeline] // withDockerContainer [Pipeline] sh 03:15:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:15:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:15:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:15:39 + ls -al . 03:15:39 total 168 03:15:39 drwxrwxr-x 9 jenkins jenkins 4096 May 3 03:15 . 03:15:39 drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:14 .. 03:15:39 -rw-rw-r-- 1 jenkins jenkins 6 May 3 03:14 .dockerignore 03:15:39 drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:14 .git 03:15:39 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:14 .github 03:15:39 -rw-rw-r-- 1 jenkins jenkins 328 May 3 03:14 .gitignore 03:15:39 -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:14 .golangci.yml 03:15:39 drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:14 .semver 03:15:39 -rw-rw-r-- 1 jenkins jenkins 8296 May 3 03:14 Attribution.txt 03:15:39 -rw-rw-r-- 1 jenkins jenkins 4401 May 3 03:14 CHANGELOG.md 03:15:39 -rw-rw-r-- 1 jenkins jenkins 1516 May 3 03:14 Dockerfile 03:15:39 -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:14 GOVERNANCE.md 03:15:39 -rw-rw-r-- 1 jenkins jenkins 656 May 3 03:14 Jenkinsfile 03:15:39 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:14 LICENSE 03:15:39 -rw-rw-r-- 1 jenkins jenkins 1938 May 3 03:14 Makefile 03:15:39 -rw-rw-r-- 1 jenkins jenkins 620 May 3 03:14 OWNERS.md 03:15:39 -rw-rw-r-- 1 jenkins jenkins 9074 May 3 03:14 README.md 03:15:39 -rw-rw-r-- 1 jenkins jenkins 5 May 3 03:14 VERSION 03:15:39 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:14 bin 03:15:39 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:14 cmd 03:15:39 -rw-r--r-- 1 jenkins jenkins 7631 May 3 03:15 coverage.out 03:15:39 -rw-rw-r-- 1 jenkins jenkins 3296 May 3 03:14 go.mod 03:15:39 -rw-rw-r-- 1 jenkins jenkins 35911 May 3 03:14 go.sum 03:15:39 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:14 internal 03:15:39 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:14 snap 03:15:39 -rw-rw-r-- 1 jenkins jenkins 209 May 3 03:14 version.go [Pipeline] isUnix [Pipeline] sh 03:15:39 + 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=e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed --label arch=amd64 --label version=0.0.0 . 03:15:39 Sending build context to Docker daemon 5.326MB 03:15:39 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:15:39 Step 2/24 : FROM ${BASE} AS builder 03:15:39 ---> b03f5fed905f 03:15:39 Step 3/24 : ARG MAKE='make build' 03:15:39 ---> Running in 75de1fc50894 03:15:39 Removing intermediate container 75de1fc50894 03:15:39 ---> 450b07a63f71 03:15:39 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:15:39 ---> Running in ce34dd3fc5e4 03:15:39 Removing intermediate container ce34dd3fc5e4 03:15:39 ---> b64e2b5a0ae2 03:15:39 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 03:15:39 ---> Running in 007805f5d58f 03:15:39 Removing intermediate container 007805f5d58f 03:15:39 ---> 7402bbc5ba45 03:15:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:15:39 ---> Running in 952589823ba2 03:15:40 Removing intermediate container 952589823ba2 03:15:40 ---> 3f4781431de1 03:15:40 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:40 ---> Running in eb9374022495 03:15:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:15:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:15:41 OK: 224 MiB in 56 packages 03:15:41 Removing intermediate container eb9374022495 03:15:41 ---> b603eaa7231e 03:15:41 Step 8/24 : WORKDIR /device-snmp-go 03:15:42 ---> Running in e1ed4d233342 03:15:42 Removing intermediate container e1ed4d233342 03:15:42 ---> 2fe2d47daa0e 03:15:42 Step 9/24 : COPY go.mod vendor* ./ 03:15:42 ---> e61a15cee5d5 03:15:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:42 ---> Running in 82a5a1ae7633 03:15:43 Removing intermediate container 82a5a1ae7633 03:15:43 ---> c1a559042e1a 03:15:43 Step 11/24 : COPY . . 03:15:43 ---> b35b55d35147 03:15:43 Step 12/24 : RUN ${MAKE} 03:15:43 ---> Running in ce70eb44988f 03:15:43 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 03:16:05 Removing intermediate container ce70eb44988f 03:16:05 ---> bef45016fae2 03:16:05 Step 13/24 : FROM alpine:3.14 03:16:05 3.14: Pulling from library/alpine 03:16:05 8663204ce13b: Pulling fs layer 03:16:05 8663204ce13b: Verifying Checksum 03:16:05 8663204ce13b: Download complete 03:16:05 8663204ce13b: Pull complete 03:16:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:16:05 Status: Downloaded newer image for alpine:3.14 03:16:05 ---> e04c818066af 03:16:05 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 03:16:05 ---> Running in e9a61f043116 03:16:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:16:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:16:05 (1/6) Installing dumb-init (1.2.5-r1) 03:16:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:16:05 (3/6) Installing libsodium (1.0.18-r0) 03:16:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:16:05 (5/6) Installing libzmq (4.3.4-r0) 03:16:05 (6/6) Installing zeromq (4.3.4-r0) 03:16:05 Executing busybox-1.33.1-r7.trigger 03:16:05 OK: 8 MiB in 20 packages 03:16:05 Removing intermediate container e9a61f043116 03:16:05 ---> 76247ec5f028 03:16:05 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 03:16:06 ---> ae6b2c3d0241 03:16:06 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 03:16:06 ---> 4426ea35702e 03:16:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 03:16:06 ---> 6ec36d09b21a 03:16:06 Step 18/24 : EXPOSE 59993 03:16:06 ---> Running in cfae7c476ce6 03:16:06 Removing intermediate container cfae7c476ce6 03:16:06 ---> f75e607aa670 03:16:06 Step 19/24 : EXPOSE 161 03:16:06 ---> Running in 7fd4176cbddd 03:16:06 Removing intermediate container 7fd4176cbddd 03:16:06 ---> 10e32df8033f 03:16:06 Step 20/24 : ENTRYPOINT ["/device-snmp"] 03:16:06 ---> Running in 7a1b5d842e4c 03:16:06 Removing intermediate container 7a1b5d842e4c 03:16:06 ---> 37d205d3d0de 03:16:06 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:16:06 ---> Running in 82320cc0c39e 03:16:07 Removing intermediate container 82320cc0c39e 03:16:07 ---> 6064866b43c2 03:16:07 Step 22/24 : LABEL arch=amd64 03:16:07 ---> Running in fabc2a2d5ef3 03:16:07 Removing intermediate container fabc2a2d5ef3 03:16:07 ---> f1d61e263021 03:16:07 Step 23/24 : LABEL git_sha=e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed 03:16:07 ---> Running in 23c2efb43c35 03:16:07 Removing intermediate container 23c2efb43c35 03:16:07 ---> da26b449330b 03:16:07 Step 24/24 : LABEL version=0.0.0 03:16:07 ---> Running in c3e1043373e0 03:16:07 Removing intermediate container c3e1043373e0 03:16:07 ---> d920f0d90617 03:16:07 [Warning] One or more build-args [ARCH] were not consumed 03:16:07 Successfully built d920f0d90617 03:16:07 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 03:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:08 03:16:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:16:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:08 latest: Pulling from edgex-lftools-log-publisher 03:16:08 5eb5b503b376: Pulling fs layer 03:16:08 5c69ac0246d0: Pulling fs layer 03:16:08 ec43610c2a17: Pulling fs layer 03:16:08 3a2ae6a8a46f: Pulling fs layer 03:16:08 33b1e0a273af: Pulling fs layer 03:16:08 5d3b04190fa2: Pulling fs layer 03:16:08 2f39f015ded8: Pulling fs layer 03:16:08 3a2ae6a8a46f: Waiting 03:16:08 33b1e0a273af: Waiting 03:16:08 5d3b04190fa2: Waiting 03:16:08 2f39f015ded8: Waiting 03:16:08 5c69ac0246d0: Download complete 03:16:08 3a2ae6a8a46f: Download complete 03:16:08 33b1e0a273af: Verifying Checksum 03:16:08 33b1e0a273af: Download complete 03:16:08 5d3b04190fa2: Verifying Checksum 03:16:08 5d3b04190fa2: Download complete 03:16:08 ec43610c2a17: Verifying Checksum 03:16:08 ec43610c2a17: Download complete 03:16:08 5eb5b503b376: Verifying Checksum 03:16:08 5eb5b503b376: Download complete 03:16:09 2f39f015ded8: Download complete 03:16:10 5eb5b503b376: Pull complete 03:16:10 5c69ac0246d0: Pull complete 03:16:10 ec43610c2a17: Pull complete 03:16:10 3a2ae6a8a46f: Pull complete 03:16:11 33b1e0a273af: Pull complete 03:16:11 5d3b04190fa2: Pull complete 03:16:16 2f39f015ded8: Pull complete 03:16:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:16:16 prd-ubuntu20.04-docker-8c-8g-37022 does not seem to be running inside a container 03:16:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-166 -v /w/workspace/gexfoundry_device-snmp-go_PR-166:/w/workspace/gexfoundry_device-snmp-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-166@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-166@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-lftools-log-publisher:latest cat 03:16:17 $ docker top a00b9137fb12ce1e74d3d70e89b7560d68b06ec9dd9f8aba631d78c909795f79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:18 ---> job-cost.sh 03:16:18 lf-activate-venv: SKIPPING 03:16:18 INFO: No Stack... 03:16:18 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:19 INFO: Archiving Costs [Pipeline] sh 03:16:19 + cat /w/workspace/gexfoundry_device-snmp-go_PR-166/archives/cost.csv 03:16:19 + cut -d, -f6 [Pipeline] lock 03:16:19 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-166-1-stack-cost] 03:16:19 Resource [jenkins-edgexfoundry-device-snmp-go-PR-166-1-stack-cost] did not exist. Created. 03:16:19 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-166-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:20 + echo total: 0.2199999988079071 [Pipeline] stash 03:16:20 Stashed 1 file(s) [Pipeline] } 03:16:20 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-166-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:16:20 $ docker stop --time=1 a00b9137fb12ce1e74d3d70e89b7560d68b06ec9dd9f8aba631d78c909795f79 03:16:21 $ docker rm -f a00b9137fb12ce1e74d3d70e89b7560d68b06ec9dd9f8aba631d78c909795f79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:14:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40299 in /w/workspace/gexfoundry_device-snmp-go_PR-166 [Pipeline] { [Pipeline] ws 04:14:53 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 04:14:54 Selected Git installation does not exist. Using Default 04:14:54 The recommended git tool is: NONE 04:14:59 using credential edgex-jenkins-ssh 04:14:59 Cloning the remote Git repository 04:14:59 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:14:59 > git init /w/workspace/device-snmp-go/1 # timeout=10 04:14:59 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:14:59 > git --version # timeout=10 04:14:59 > git --version # 'git version 2.25.1' 04:14:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:01 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:15:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:15:01 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:15:01 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:15:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:15:01 Merging remotes/origin/main commit 60c29c8ddffb83da8ea2aabad72ac966629b6d3c into PR head commit e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed 04:15:02 Merge succeeded, producing e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed 04:15:02 Checking out Revision e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed (PR-166) 04:15:01 > git config core.sparsecheckout # timeout=10 04:15:01 > git checkout -f e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed # timeout=10 04:15:01 > git remote # timeout=10 04:15:01 > git config --get remote.origin.url # timeout=10 04:15:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:15:01 > git merge 60c29c8ddffb83da8ea2aabad72ac966629b6d3c # timeout=10 04:15:01 > git rev-parse HEAD^{commit} # timeout=10 04:15:02 > git config core.sparsecheckout # timeout=10 04:15:02 > git checkout -f e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed # timeout=10 04:15:06 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 04:15:06 > git --version # timeout=10 04:15:06 > git --version # 'git version 2.25.1' 04:15:06 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:15:07 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:07 Dload Upload Total Spent Left Speed 04:15:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81116 0 --:--:-- --:--:-- --:--:-- 81675 [Pipeline] sh 04:15:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:15:08 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 04:15:08 04:15:08 { 04:15:08 "registry-mirrors": [ 04:15:08 "https://nexus3.edgexfoundry.org:10001" 04:15:08 ], 04:15:08 "bip": "10.250.0.254/24", 04:15:08 "hosts": [ 04:15:08 "tcp://0.0.0.0:5555", 04:15:08 "unix:///var/run/docker.sock" 04:15:08 ], 04:15:08 "mtu": 1458, 04:15:08 "selinux-enabled": true, 04:15:08 "seccomp-profile": "/etc/docker/seccomp.json" 04:15:08 } [Pipeline] sh 04:15:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:15:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:28 provisioning config files... 04:15:28 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6510992991051860486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:28 ---> docker-login.sh 04:15:28 nexus3.edgexfoundry.org:10001 04:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:29 Configure a credential helper to remove this warning. See 04:15:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:29 04:15:29 Login Succeeded 04:15:29 nexus3.edgexfoundry.org:10002 04:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:30 Configure a credential helper to remove this warning. See 04:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:30 04:15:30 Login Succeeded 04:15:30 nexus3.edgexfoundry.org:10003 04:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:30 Configure a credential helper to remove this warning. See 04:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:30 04:15:30 Login Succeeded 04:15:31 nexus3.edgexfoundry.org:10004 04:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:31 Configure a credential helper to remove this warning. See 04:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:31 04:15:31 Login Succeeded 04:15:31 docker.io 04:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:32 Configure a credential helper to remove this warning. See 04:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:32 04:15:32 Login Succeeded 04:15:32 ---> docker-login.sh ends [Pipeline] } 04:15:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:33 ========================================================= 04:15:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:15:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:15:33 + 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:15:34 Sending build context to Docker daemon 2.753MB 04:15:34 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:15:34 Step 2/12 : FROM ${BASE} AS builder 04:15:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:15:34 9b3977197b4f: Pulling fs layer 04:15:34 1a89e8eeedd5: Pulling fs layer 04:15:34 94645a83ff95: Pulling fs layer 04:15:34 3f3a8bcf1eab: Pulling fs layer 04:15:34 0c92f367c5e7: Pulling fs layer 04:15:34 3096ccb668a1: Pulling fs layer 04:15:34 e8cf19c19ddd: Pulling fs layer 04:15:34 a4caa8a26152: Pulling fs layer 04:15:34 3096ccb668a1: Waiting 04:15:34 e8cf19c19ddd: Waiting 04:15:34 3f3a8bcf1eab: Waiting 04:15:34 0c92f367c5e7: Waiting 04:15:34 a4caa8a26152: Waiting 04:15:34 94645a83ff95: Verifying Checksum 04:15:34 94645a83ff95: Download complete 04:15:34 1a89e8eeedd5: Verifying Checksum 04:15:34 1a89e8eeedd5: Download complete 04:15:34 0c92f367c5e7: Verifying Checksum 04:15:34 0c92f367c5e7: Download complete 04:15:34 3096ccb668a1: Verifying Checksum 04:15:34 3096ccb668a1: Download complete 04:15:34 9b3977197b4f: Verifying Checksum 04:15:34 9b3977197b4f: Download complete 04:15:34 e8cf19c19ddd: Verifying Checksum 04:15:34 e8cf19c19ddd: Download complete 04:15:37 9b3977197b4f: Pull complete 04:15:37 a4caa8a26152: Verifying Checksum 04:15:37 a4caa8a26152: Download complete 04:15:38 3f3a8bcf1eab: Verifying Checksum 04:15:38 3f3a8bcf1eab: Download complete 04:15:39 1a89e8eeedd5: Pull complete 04:15:39 94645a83ff95: Pull complete 04:15:55 3f3a8bcf1eab: Pull complete 04:15:55 0c92f367c5e7: Pull complete 04:15:55 3096ccb668a1: Pull complete 04:15:56 e8cf19c19ddd: Pull complete 04:16:04 a4caa8a26152: Pull complete 04:16:04 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:16:04 ---> 725f1c02e7f9 04:16:04 Step 3/12 : ARG MAKE='make build' 04:16:05 ---> Running in 4ddacdc80357 04:16:05 Removing intermediate container 4ddacdc80357 04:16:05 ---> df36613df911 04:16:05 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:16:05 ---> Running in 9cde8a6d249b 04:16:06 Removing intermediate container 9cde8a6d249b 04:16:06 ---> fd218ed29c97 04:16:06 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 04:16:06 ---> Running in 16117ff526d7 04:16:06 Removing intermediate container 16117ff526d7 04:16:06 ---> b63e8026f3fa 04:16:06 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:06 ---> Running in 016b49ab6edc 04:16:08 Removing intermediate container 016b49ab6edc 04:16:08 ---> a17078015fa7 04:16:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:16:09 ---> Running in f8b254553208 04:16:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:16:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:16:12 (1/4) Installing openssh-keygen (8.8_p1-r1) 04:16:12 (2/4) Installing libedit (20210910.3.1-r0) 04:16:12 (3/4) Installing openssh-client-common (8.8_p1-r1) 04:16:12 (4/4) Installing openssh-client-default (8.8_p1-r1) 04:16:12 Executing busybox-1.34.1-r3.trigger 04:16:12 OK: 224 MiB in 56 packages 04:16:13 Removing intermediate container f8b254553208 04:16:13 ---> b39c4e1df04f 04:16:13 Step 8/12 : WORKDIR /device-snmp-go 04:16:14 ---> Running in b57fd3751183 04:16:14 Removing intermediate container b57fd3751183 04:16:14 ---> 8375d550bc7c 04:16:14 Step 9/12 : COPY go.mod vendor* ./ 04:16:14 ---> d5c7f4ab134b 04:16:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:14 ---> Running in 0c3a1830c65a 04:17:01 Removing intermediate container 0c3a1830c65a 04:17:01 ---> 32927ab20c5a 04:17:01 Step 11/12 : COPY . . 04:17:02 ---> 210d5dcf84da 04:17:02 Step 12/12 : RUN ${MAKE} 04:17:03 ---> Running in 3f7995040399 04:17:04 noop 04:17:05 Removing intermediate container 3f7995040399 04:17:05 ---> 6faa30aaa0c3 04:17:05 Successfully built 6faa30aaa0c3 04:17:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:17:05 + docker inspect -f . ci-base-image-arm64 04:17:05 . [Pipeline] withDockerContainer 04:17:05 prd-ubuntu20.04-docker-arm64-4c-16g-40299 does not seem to be running inside a container 04:17:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:17:07 $ docker top e5add6caeb90787862f69fdf9b5e68236fe995a9b14b2339b847e290f890b727 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:08 + go version 04:17:08 go version go1.17.6 linux/arm64 [Pipeline] } 04:17:08 $ docker stop --time=1 e5add6caeb90787862f69fdf9b5e68236fe995a9b14b2339b847e290f890b727 04:17:10 $ docker rm -f e5add6caeb90787862f69fdf9b5e68236fe995a9b14b2339b847e290f890b727 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:17:11 + docker inspect -f . ci-base-image-arm64 04:17:11 . [Pipeline] withDockerContainer 04:17:11 prd-ubuntu20.04-docker-arm64-4c-16g-40299 does not seem to be running inside a container 04:17:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:17:12 $ docker top 5812c860edc6b95f01ea73eb2a07f3e8c4f6e5a43eac5537b950d47d831c6ed0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:17:13 + make test 04:17:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:17:15 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:18:52 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:18:52 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 04:18:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:18:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:19:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:19:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:19:19 ./bin/test-attribution-txt.sh [Pipeline] echo 04:19:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:19:21 $ docker stop --time=1 5812c860edc6b95f01ea73eb2a07f3e8c4f6e5a43eac5537b950d47d831c6ed0 04:19:23 $ docker rm -f 5812c860edc6b95f01ea73eb2a07f3e8c4f6e5a43eac5537b950d47d831c6ed0 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:19:24 Warning: overwriting stash ‘coverage-report’ 04:19:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:25 + ls -al . 04:19:25 total 164 04:19:25 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:19 . 04:19:25 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:14 .. 04:19:25 -rw-rw-r-- 1 jenkins jenkins 6 May 3 04:15 .dockerignore 04:19:25 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:15 .git 04:19:25 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 .github 04:19:25 -rw-rw-r-- 1 jenkins jenkins 328 May 3 04:15 .gitignore 04:19:25 -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:15 .golangci.yml 04:19:25 -rw-rw-r-- 1 jenkins jenkins 8296 May 3 04:15 Attribution.txt 04:19:25 -rw-rw-r-- 1 jenkins jenkins 4401 May 3 04:15 CHANGELOG.md 04:19:25 -rw-rw-r-- 1 jenkins jenkins 1516 May 3 04:15 Dockerfile 04:19:25 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:15 GOVERNANCE.md 04:19:25 -rw-rw-r-- 1 jenkins jenkins 656 May 3 04:15 Jenkinsfile 04:19:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:15 LICENSE 04:19:25 -rw-rw-r-- 1 jenkins jenkins 1938 May 3 04:15 Makefile 04:19:25 -rw-rw-r-- 1 jenkins jenkins 620 May 3 04:15 OWNERS.md 04:19:25 -rw-rw-r-- 1 jenkins jenkins 9074 May 3 04:15 README.md 04:19:25 -rw-rw-r-- 1 jenkins jenkins 5 May 3 03:14 VERSION 04:19:25 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 bin 04:19:25 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 cmd 04:19:25 -rw-r--r-- 1 jenkins jenkins 7631 May 3 04:18 coverage.out 04:19:25 -rw-rw-r-- 1 jenkins jenkins 3296 May 3 04:15 go.mod 04:19:25 -rw-rw-r-- 1 jenkins jenkins 35911 May 3 04:15 go.sum 04:19:25 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 internal 04:19:25 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 snap 04:19:25 -rw-rw-r-- 1 jenkins jenkins 209 May 3 04:15 version.go [Pipeline] isUnix [Pipeline] sh 04:19:26 + 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=e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed --label arch=arm64 --label version=0.0.0 . 04:19:26 Sending build context to Docker daemon 2.761MB 04:19:26 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 04:19:26 Step 2/24 : FROM ${BASE} AS builder 04:19:26 ---> 6faa30aaa0c3 04:19:26 Step 3/24 : ARG MAKE='make build' 04:19:26 ---> Running in 25786cdc6566 04:19:26 Removing intermediate container 25786cdc6566 04:19:26 ---> f52ceb87a0f5 04:19:26 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:19:26 ---> Running in 80541346866c 04:19:27 Removing intermediate container 80541346866c 04:19:27 ---> b72be561fe5e 04:19:27 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 04:19:27 ---> Running in 77d120aa06b3 04:19:27 Removing intermediate container 77d120aa06b3 04:19:27 ---> d85908b543dc 04:19:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:19:27 ---> Running in 325080448bfd 04:19:29 Removing intermediate container 325080448bfd 04:19:29 ---> 9a8a3a80ace2 04:19:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:19:29 ---> Running in 9215600e717f 04:19:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:19:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:19:32 OK: 224 MiB in 56 packages 04:19:33 Removing intermediate container 9215600e717f 04:19:33 ---> 9559cd49dfc8 04:19:33 Step 8/24 : WORKDIR /device-snmp-go 04:19:33 ---> Running in 8c1b3a0e0c62 04:19:33 Removing intermediate container 8c1b3a0e0c62 04:19:33 ---> 7d1f52876c35 04:19:33 Step 9/24 : COPY go.mod vendor* ./ 04:19:34 ---> ad3dc31fd589 04:19:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:34 ---> Running in 4d585c7e3c55 04:19:36 Removing intermediate container 4d585c7e3c55 04:19:36 ---> 441dc69ac0c5 04:19:36 Step 11/24 : COPY . . 04:19:37 ---> 77b4caf50eb4 04:19:37 Step 12/24 : RUN ${MAKE} 04:19:37 ---> Running in 3f18d34a2e1f 04:19:38 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:22:00 Removing intermediate container 3f18d34a2e1f 04:22:00 ---> 16c47f4230d4 04:22:00 Step 13/24 : FROM alpine:3.14 04:22:00 3.14: Pulling from library/alpine 04:22:00 455c02918c45: Pulling fs layer 04:22:00 455c02918c45: Download complete 04:22:00 455c02918c45: Pull complete 04:22:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:22:00 Status: Downloaded newer image for alpine:3.14 04:22:00 ---> ac73e934f311 04:22:00 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 04:22:00 ---> Running in 557f4ed83619 04:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:22:03 (1/6) Installing dumb-init (1.2.5-r1) 04:22:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:22:03 (3/6) Installing libsodium (1.0.18-r0) 04:22:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:22:03 (5/6) Installing libzmq (4.3.4-r0) 04:22:03 (6/6) Installing zeromq (4.3.4-r0) 04:22:03 Executing busybox-1.33.1-r7.trigger 04:22:03 OK: 8 MiB in 20 packages 04:22:04 Removing intermediate container 557f4ed83619 04:22:04 ---> 56f7f5ea7ec1 04:22:04 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 04:22:05 ---> 5e14124a6cdb 04:22:05 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 04:22:06 ---> 2420adb3388f 04:22:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 04:22:07 ---> ddcd9a51fbf5 04:22:07 Step 18/24 : EXPOSE 59993 04:22:07 ---> Running in b1ee0819a337 04:22:07 Removing intermediate container b1ee0819a337 04:22:07 ---> addb22188bf1 04:22:07 Step 19/24 : EXPOSE 161 04:22:07 ---> Running in 68760d1b358a 04:22:07 Removing intermediate container 68760d1b358a 04:22:07 ---> 6bce57584bc8 04:22:07 Step 20/24 : ENTRYPOINT ["/device-snmp"] 04:22:08 ---> Running in ec5adbe05682 04:22:08 Removing intermediate container ec5adbe05682 04:22:08 ---> cc1ca651a4e1 04:22:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:22:08 ---> Running in 3adc6b4540c3 04:22:09 Removing intermediate container 3adc6b4540c3 04:22:09 ---> a980867b2816 04:22:09 Step 22/24 : LABEL arch=arm64 04:22:09 ---> Running in 8c9929fef5f3 04:22:09 Removing intermediate container 8c9929fef5f3 04:22:09 ---> 15f3783a376d 04:22:09 Step 23/24 : LABEL git_sha=e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed 04:22:09 ---> Running in 9717611f8e78 04:22:09 Removing intermediate container 9717611f8e78 04:22:09 ---> 833c4d53dbb9 04:22:09 Step 24/24 : LABEL version=0.0.0 04:22:09 ---> Running in 47e08d7a4d4f 04:22:10 Removing intermediate container 47e08d7a4d4f 04:22:10 ---> bdd83bff5d2c 04:22:10 [Warning] One or more build-args [ARCH] were not consumed 04:22:10 Successfully built bdd83bff5d2c 04:22:10 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:22:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:10 04:22:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:22:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:11 arm64: Pulling from edgex-lftools-log-publisher 04:22:11 8998bd30e6a1: Pulling fs layer 04:22:11 04944245beec: Pulling fs layer 04:22:11 699f458cf7ca: Pulling fs layer 04:22:11 765212b225bb: Pulling fs layer 04:22:11 f23df028b6ca: Pulling fs layer 04:22:11 d65c8cfc05b1: Pulling fs layer 04:22:11 2437ff75d9bd: Pulling fs layer 04:22:11 d65c8cfc05b1: Waiting 04:22:11 765212b225bb: Waiting 04:22:11 2437ff75d9bd: Waiting 04:22:11 f23df028b6ca: Waiting 04:22:11 04944245beec: Verifying Checksum 04:22:11 04944245beec: Download complete 04:22:11 765212b225bb: Verifying Checksum 04:22:11 765212b225bb: Download complete 04:22:11 f23df028b6ca: Download complete 04:22:11 d65c8cfc05b1: Verifying Checksum 04:22:11 d65c8cfc05b1: Download complete 04:22:11 699f458cf7ca: Verifying Checksum 04:22:11 699f458cf7ca: Download complete 04:22:12 8998bd30e6a1: Verifying Checksum 04:22:12 8998bd30e6a1: Download complete 04:22:14 2437ff75d9bd: Verifying Checksum 04:22:14 2437ff75d9bd: Download complete 04:22:16 8998bd30e6a1: Pull complete 04:22:16 04944245beec: Pull complete 04:22:18 699f458cf7ca: Pull complete 04:22:18 765212b225bb: Pull complete 04:22:19 f23df028b6ca: Pull complete 04:22:20 d65c8cfc05b1: Pull complete 04:22:35 2437ff75d9bd: Pull complete 04:22:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:22:35 prd-ubuntu20.04-docker-arm64-4c-16g-40299 does not seem to be running inside a container 04:22:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:22:38 $ docker top 492c8dff06235426cf5be9884f8f74d7f0410132dabfe534f32b788ab0992dd6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:40 ---> job-cost.sh 04:22:40 lf-activate-venv: SKIPPING 04:22:40 INFO: No Stack... 04:22:40 INFO: Retrieving Pricing Info for: v3-standard-4 04:22:41 INFO: Archiving Costs [Pipeline] sh 04:22:42 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 04:22:42 + cut -d, -f6 [Pipeline] lock 04:22:42 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-166-1-stack-cost] 04:22:42 Resource [jenkins-edgexfoundry-device-snmp-go-PR-166-1-stack-cost] did not exist. Created. 04:22:42 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-166-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:43 /w/workspace/device-snmp-go/1@tmp/durable-86820d19/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:22:43 + echo total: 0.10999999940395355 [Pipeline] stash 04:22:43 Warning: overwriting stash ‘stack-cost’ 04:22:43 Stashed 1 file(s) [Pipeline] } 04:22:43 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-166-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:44 $ docker stop --time=1 492c8dff06235426cf5be9884f8f74d7f0410132dabfe534f32b788ab0992dd6 04:22:45 $ docker rm -f 492c8dff06235426cf5be9884f8f74d7f0410132dabfe534f32b788ab0992dd6 [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:22:46 provisioning config files... 04:22:46 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-166@tmp/config8135156719575652301tmp [Pipeline] { [Pipeline] sh 04:22:47 + set +x 04:22:47 + + curl -s https://codecov.io/bash 04:22:47 bash -s -- 04:22:47 04:22:47 _____ _ 04:22:47 / ____| | | 04:22:47 | | ___ __| | ___ ___ _____ __ 04:22:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:22:47 | |___| (_) | (_| | __/ (_| (_) \ V / 04:22:47 \_____\___/ \__,_|\___|\___\___/ \_/ 04:22:47 Bash-1.0.6 04:22:47 04:22:47 04:22:47 ==> git version 2.25.1 found 04:22:47 ==> 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:22:47 Release-Date: 2020-01-08 04:22:47 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:22:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:22:47 ==> Jenkins CI detected. 04:22:47 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-166 04:22:47 project root: . 04:22:47 --> token set from env 04:22:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:22:47 ==> Running gcov in . (disable via -X gcov) 04:22:47 ==> Python coveragepy not found 04:22:47 ==> Searching for coverage reports in: 04:22:47 + . 04:22:47 -> Found 1 reports 04:22:47 ==> Detecting git/mercurial file structure 04:22:47 ==> Reading reports 04:22:47 + ./coverage.out bytes=7631 04:22:47 ==> Appending adjustments 04:22:47 https://docs.codecov.io/docs/fixing-reports 04:22:47 + Found adjustments 04:22:47 ==> Gzipping contents 04:22:47 4.0K /tmp/codecov.xk3kW8.gz 04:22:47 ==> Uploading reports 04:22:47 url: https://codecov.io 04:22:47 query: branch=PR-166&commit=e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-166%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=166&job=&cmd_args= 04:22:47 -> Pinging Codecov 04:22:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-166&commit=e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-166%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=166&job=&cmd_args= 04:22:47 -> Uploading to 04:22:47 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/6C56EA5C29638FB4528AC87E60AF5AE0/e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed/e76600c9-27ae-48a7-ac08-b4a6f980460b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T042247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62524af8137ed1a426e41bc41d491e17f5f3b54a7963153bb2cb2fda46ae4ee6 04:22:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:47 Dload Upload Total Spent Left Speed 04:22:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6817 --:--:-- --:--:-- --:--:-- 6788 04:22:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/e63ca4d8b3f8b04e095cdfbe9ae5f71ffadec7ed [Pipeline] } 04:22:47 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:22:49 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-166/archives ] 04:22:49 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-166/archives 04:22:49 total 16 04:22:49 drwxr-xr-x 3 root root 4096 May 3 03:16 . 04:22:49 drwxrwxr-x 10 jenkins jenkins 4096 May 3 03:16 .. 04:22:49 drwxr-xr-x 2 root root 4096 May 3 03:16 cost 04:22:49 -rw-r--r-- 1 root root 85 May 3 03:16 cost.csv 04:22:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-166/archives 04:22:49 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-166/archives 04:22:49 total 16 04:22:49 drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:16 . 04:22:49 drwxrwxr-x 10 jenkins jenkins 4096 May 3 03:16 .. 04:22:49 drwxr-xr-x 2 jenkins jenkins 4096 May 3 03:16 cost 04:22:49 -rw-r--r-- 1 jenkins jenkins 85 May 3 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:22:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:22:50 ---> package-listing.sh 04:22:50 ++ facter osfamily 04:22:50 ++ tr '[:upper:]' '[:lower:]' 04:22:50 + OS_FAMILY=debian 04:22:50 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-166 04:22:50 + START_PACKAGES=/tmp/packages_start.txt 04:22:50 + END_PACKAGES=/tmp/packages_end.txt 04:22:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:22:50 + PACKAGES=/tmp/packages_start.txt 04:22:50 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-166 ']' 04:22:50 + PACKAGES=/tmp/packages_end.txt 04:22:50 + case "${OS_FAMILY}" in 04:22:50 + dpkg -l 04:22:50 + grep '^ii' 04:22:51 + '[' -f /tmp/packages_start.txt ']' 04:22:51 + '[' -f /tmp/packages_end.txt ']' 04:22:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:22:51 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-166 ']' 04:22:51 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-166/archives/ 04:22:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-166/archives/ [Pipeline] echo 04:22:51 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-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:22:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:22:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:51 . [Pipeline] withDockerContainer 04:22:52 prd-ubuntu20.04-docker-8c-8g-37022 does not seem to be running inside a container 04:22:52 $ 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-166/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-166 -v /w/workspace/gexfoundry_device-snmp-go_PR-166:/w/workspace/gexfoundry_device-snmp-go_PR-166:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-166@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-166@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:22:52 $ docker top b9bb09731535e0d2b3c6670e26aef794a6b762982d91b20c80a589f289f72763 -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:52 + touch /tmp/pre-build-complete [Pipeline] sh 04:22:53 + mkdir -p /var/log/sysstat [Pipeline] sh 04:22:53 + ls /var/log/sa-host 04:22:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:53 provisioning config files... 04:22:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-166@tmp/config4623949528240502065tmp [Pipeline] { [Pipeline] echo 04:22:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:22:53 ---> create-netrc.sh [Pipeline] } 04:22:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:22:54 ---> python-tools-install.sh [Pipeline] echo 04:22:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:22:54 ---> sudo-logs.sh 04:22:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:22:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:22:55 ---> job-cost.sh 04:22:55 lf-activate-venv: SKIPPING 04:22:55 DEBUG: total: 0.2199999988079071 04:22:55 INFO: Retrieving Stack Cost... 04:22:55 INFO: Retrieving Pricing Info for: v3-standard-8 04:22:55 INFO: Archiving Costs [Pipeline] echo 04:22:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:22:56 ---> logs-deploy.sh 04:22:56 lf-activate-venv: SKIPPING 04:22:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-166/1 04:22:56 INFO: archiving workspace using pattern(s): 04:22:57 Archives upload complete. 04:22:57 INFO: archiving logs to Nexus