Pull request #211 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from bea1a1076047341fde9474420920c2a7296f103b+ac8d37b91ffebeab2a267fed6cce847388f5686c (f7d6422d18de562273779503aa5742240f66b5e0) 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-ssh1355885997536031677.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh1558111103904709487.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1943860706265255022.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-211/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3200137867074957671.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh7055971662856337273.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-211/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-211/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8245998793707288268.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1903 in /w/workspace/gexfoundry_device-snmp-go_PR-211 [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-211 # 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 > 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/211/head:refs/remotes/origin/PR-211 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ac8d37b91ffebeab2a267fed6cce847388f5686c into PR head commit bea1a1076047341fde9474420920c2a7296f103b Merge succeeded, producing bea1a1076047341fde9474420920c2a7296f103b Checking out Revision bea1a1076047341fde9474420920c2a7296f103b (PR-211) > git config core.sparsecheckout # timeout=10 > git checkout -f bea1a1076047341fde9474420920c2a7296f103b # 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 ac8d37b91ffebeab2a267fed6cce847388f5686c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bea1a1076047341fde9474420920c2a7296f103b # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:05:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:05:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:05:53 ========================================================= 18:05:53 EdgeX Global Pipelines Version Info 18:05:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:05:54 ------------------- 18:05:54 stable info: 18:05:54 ------------------- 18:05:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:05:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:05:54 Message: update stable to v1.0.244 18:05:54 ------------------- 18:05:54 experimental info: 18:05:54 ------------------- 18:05:54 Commited By: **** collab-it+edgex@linuxfoundation.org 18:05:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:05:54 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:05:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:05:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-211 [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-211 [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-211 [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bea1a1076047341fde9474420920c2a7296f103b [Pipeline] echo 18:05:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bea1a10 [Pipeline] echo 18:05:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:57 provisioning config files... 18:05:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp/config14990748223439871873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:57 ---> docker-login.sh 18:05:57 nexus3.edgexfoundry.org:10001 18:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:57 Configure a credential helper to remove this warning. See 18:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:57 18:05:57 Login Succeeded 18:05:57 nexus3.edgexfoundry.org:10002 18:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:58 Configure a credential helper to remove this warning. See 18:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:58 18:05:58 Login Succeeded 18:05:58 nexus3.edgexfoundry.org:10003 18:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:58 Configure a credential helper to remove this warning. See 18:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:58 18:05:58 Login Succeeded 18:05:58 nexus3.edgexfoundry.org:10004 18:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:58 Configure a credential helper to remove this warning. See 18:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:58 18:05:58 Login Succeeded 18:05:58 docker.io 18:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:58 Configure a credential helper to remove this warning. See 18:05:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:58 18:05:58 Login Succeeded 18:05:58 ---> docker-login.sh ends [Pipeline] } 18:05:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:05:59 + git rev-list -1 --merges bea1a1076047341fde9474420920c2a7296f103b~1..bea1a1076047341fde9474420920c2a7296f103b [Pipeline] echo 18:05:59 -----------> git rev-list -1 --merges bea1a1076047341fde9474420920c2a7296f103b~1..bea1a1076047341fde9474420920c2a7296f103b bea1a1076047341fde9474420920c2a7296f103b [false] [Pipeline] sh 18:05:59 + git log --format=format:%s -1 bea1a1076047341fde9474420920c2a7296f103b [Pipeline] echo 18:05:59 ========================================================= 18:05:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:05:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:06:00 + git log --format=format:%s -1 bea1a1076047341fde9474420920c2a7296f103b [Pipeline] echo 18:06:00 [semverPrep] GIT_COMMIT: bea1a1076047341fde9474420920c2a7296f103b, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo 18:06:00 [semverPrep] This is not a build commit. [Pipeline] sh 18:06:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:06:00 + grep -v github /etc/ssh/ssh_known_hosts 18:06:00 + [ -e /tmp/ssh_known_hosts ] 18:06:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:06:00 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 18:06:00 -a /etc/ssh/ssh_known_hosts 18:06:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:00 18:06:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:01 0.1.4: Pulling from edgex-devops/py-git-semver 18:06:01 b85a868b505f: Pulling fs layer 18:06:01 e2be974225ed: Pulling fs layer 18:06:01 339a4e72a1f5: Pulling fs layer 18:06:01 988bab9f4d93: Pulling fs layer 18:06:01 1469e6f7b9e6: Pulling fs layer 18:06:01 eaf3925da568: Pulling fs layer 18:06:01 bab4dde63d76: Pulling fs layer 18:06:01 bde34c3a00c8: Pulling fs layer 18:06:01 b352a97aabf1: Pulling fs layer 18:06:01 4872d77fe225: Pulling fs layer 18:06:01 5851b861e8e6: Pulling fs layer 18:06:01 bab4dde63d76: Waiting 18:06:01 bde34c3a00c8: Waiting 18:06:01 b352a97aabf1: Waiting 18:06:01 4872d77fe225: Waiting 18:06:01 5851b861e8e6: Waiting 18:06:01 988bab9f4d93: Waiting 18:06:01 1469e6f7b9e6: Waiting 18:06:01 eaf3925da568: Waiting 18:06:01 e2be974225ed: Verifying Checksum 18:06:01 e2be974225ed: Download complete 18:06:01 988bab9f4d93: Download complete 18:06:01 1469e6f7b9e6: Verifying Checksum 18:06:01 1469e6f7b9e6: Download complete 18:06:01 339a4e72a1f5: Verifying Checksum 18:06:01 339a4e72a1f5: Download complete 18:06:01 eaf3925da568: Verifying Checksum 18:06:01 eaf3925da568: Download complete 18:06:01 bde34c3a00c8: Download complete 18:06:01 b352a97aabf1: Download complete 18:06:01 4872d77fe225: Download complete 18:06:01 5851b861e8e6: Download complete 18:06:01 b85a868b505f: Download complete 18:06:01 bab4dde63d76: Verifying Checksum 18:06:01 bab4dde63d76: Download complete 18:06:02 b85a868b505f: Pull complete 18:06:03 e2be974225ed: Pull complete 18:06:03 339a4e72a1f5: Pull complete 18:06:03 988bab9f4d93: Pull complete 18:06:03 1469e6f7b9e6: Pull complete 18:06:04 eaf3925da568: Pull complete 18:06:06 bab4dde63d76: Pull complete 18:06:06 bde34c3a00c8: Pull complete 18:06:06 b352a97aabf1: Pull complete 18:06:06 4872d77fe225: Pull complete 18:06:06 5851b861e8e6: Pull complete 18:06:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:06:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:06 prd-ubuntu20.04-docker-8c-8g-1903 does not seem to be running inside a container 18:06:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-211 -v /w/workspace/gexfoundry_device-snmp-go_PR-211:/w/workspace/gexfoundry_device-snmp-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:06:08 $ docker top 278cfcca0c15efc28a8ce5343477f2d2abad231dae256d9887e9a38690fa426b -eo pid,comm 18:06:08 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). 18:06:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:08 [ssh-agent] Looking for ssh-agent implementation... 18:06:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:08 $ docker exec 278cfcca0c15efc28a8ce5343477f2d2abad231dae256d9887e9a38690fa426b ssh-agent 18:06:09 SSH_AUTH_SOCK=/tmp/ssh-1MfIGCUXF4jc/agent.33 18:06:09 SSH_AGENT_PID=39 18:06:09 Running ssh-add (command line suppressed) 18:06:09 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-211@tmp/private_key_10936105545254662574.key (/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp/private_key_10936105545254662574.key) 18:06:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:09 + git tag --points-at HEAD [Pipeline] } 18:06:09 $ docker exec --env ******** --env ******** 278cfcca0c15efc28a8ce5343477f2d2abad231dae256d9887e9a38690fa426b ssh-agent -k 18:06:09 unset SSH_AUTH_SOCK; 18:06:09 unset SSH_AGENT_PID; 18:06:09 echo Agent pid 39 killed; 18:06:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:06:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:09 [ssh-agent] Looking for ssh-agent implementation... 18:06:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:09 $ docker exec 278cfcca0c15efc28a8ce5343477f2d2abad231dae256d9887e9a38690fa426b ssh-agent 18:06:10 SSH_AUTH_SOCK=/tmp/ssh-YDoMHGUOeFDc/agent.71 18:06:10 SSH_AGENT_PID=77 18:06:10 Running ssh-add (command line suppressed) 18:06:10 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-211@tmp/private_key_17739817102337110718.key (/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp/private_key_17739817102337110718.key) 18:06:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:10 + git semver init 18:06:10 2023-01-11 18:06:10,671 [run_init] DEBUG init version:0.0.0 force:False 18:06:10 2023-01-11 18:06:10,671 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-211/.semver 18:06:10 2023-01-11 18:06:10,672 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-211/.semver 18:06:10 2023-01-11 18:06:10,672 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-211/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-211, universal_newlines=False, shell=None, istream=None) 18:06:11 2023-01-11 18:06:11,532 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-211/.git/info/exclude 18:06:11 2023-01-11 18:06:11,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-211/.semver/PR-211 with force:False 18:06:11 2023-01-11 18:06:11,533 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-211/.semver/PR-211 18:06:11 2023-01-11 18:06:11,537 [execute] INFO git cat-file --batch-check 18:06:11 2023-01-11 18:06:11,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-211/.semver, universal_newlines=False, shell=None, istream=) 18:06:11 2023-01-11 18:06:11,544 [execute] INFO git cat-file --batch 18:06:11 2023-01-11 18:06:11,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-211/.semver, universal_newlines=False, shell=None, istream=) 18:06:11 2023-01-11 18:06:11,551 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-211/.semver/PR-211 18:06:11 0.0.0 [Pipeline] } 18:06:11 $ docker exec --env ******** --env ******** 278cfcca0c15efc28a8ce5343477f2d2abad231dae256d9887e9a38690fa426b ssh-agent -k 18:06:11 unset SSH_AUTH_SOCK; 18:06:11 unset SSH_AGENT_PID; 18:06:11 echo Agent pid 77 killed; 18:06:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:12 + git semver [Pipeline] } 18:06:12 $ docker stop --time=1 278cfcca0c15efc28a8ce5343477f2d2abad231dae256d9887e9a38690fa426b 18:06:13 $ docker rm -f --volumes 278cfcca0c15efc28a8ce5343477f2d2abad231dae256d9887e9a38690fa426b [Pipeline] // withDockerContainer [Pipeline] sh 18:06:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:06:14 Stashed 1 file(s) [Pipeline] echo 18:06:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:15 provisioning config files... 18:06:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp/config2456212403821914605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:15 ---> docker-login.sh 18:06:15 nexus3.edgexfoundry.org:10001 18:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:15 Configure a credential helper to remove this warning. See 18:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:15 18:06:15 Login Succeeded 18:06:15 nexus3.edgexfoundry.org:10002 18:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:15 Configure a credential helper to remove this warning. See 18:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:15 18:06:15 Login Succeeded 18:06:15 nexus3.edgexfoundry.org:10003 18:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:15 Configure a credential helper to remove this warning. See 18:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:15 18:06:15 Login Succeeded 18:06:15 nexus3.edgexfoundry.org:10004 18:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:15 Configure a credential helper to remove this warning. See 18:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:15 18:06:15 Login Succeeded 18:06:15 docker.io 18:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:16 Configure a credential helper to remove this warning. See 18:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:16 18:06:16 Login Succeeded 18:06:16 ---> docker-login.sh ends [Pipeline] } 18:06:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:06:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:16 ========================================================= 18:06:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:06:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:06:16 Sending build context to Docker daemon 5.681MB 18:06:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:06:16 Step 2/12 : FROM ${BASE} AS builder 18:06:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:06:16 213ec9aee27d: Pulling fs layer 18:06:16 4583459ba037: Pulling fs layer 18:06:16 93c1e223e6f2: Pulling fs layer 18:06:16 53926ce57604: Pulling fs layer 18:06:16 21b2b0c7a3f4: Pulling fs layer 18:06:16 22ff95d597cd: Pulling fs layer 18:06:16 12d6caf4c0d1: Pulling fs layer 18:06:16 96b7cbca73a9: Pulling fs layer 18:06:16 a7acece74701: Pulling fs layer 18:06:16 22ff95d597cd: Waiting 18:06:16 21b2b0c7a3f4: Waiting 18:06:16 a7acece74701: Waiting 18:06:16 12d6caf4c0d1: Waiting 18:06:16 96b7cbca73a9: Waiting 18:06:16 53926ce57604: Waiting 18:06:16 93c1e223e6f2: Download complete 18:06:16 4583459ba037: Download complete 18:06:17 21b2b0c7a3f4: Verifying Checksum 18:06:17 21b2b0c7a3f4: Download complete 18:06:17 22ff95d597cd: Verifying Checksum 18:06:17 22ff95d597cd: Download complete 18:06:17 213ec9aee27d: Verifying Checksum 18:06:17 213ec9aee27d: Download complete 18:06:17 12d6caf4c0d1: Verifying Checksum 18:06:17 12d6caf4c0d1: Download complete 18:06:17 213ec9aee27d: Pull complete 18:06:17 4583459ba037: Pull complete 18:06:17 93c1e223e6f2: Pull complete 18:06:17 a7acece74701: Verifying Checksum 18:06:17 a7acece74701: Download complete 18:06:17 96b7cbca73a9: Verifying Checksum 18:06:17 96b7cbca73a9: Download complete 18:06:17 53926ce57604: Verifying Checksum 18:06:17 53926ce57604: Download complete 18:06:21 53926ce57604: Pull complete 18:06:21 21b2b0c7a3f4: Pull complete 18:06:21 22ff95d597cd: Pull complete 18:06:21 12d6caf4c0d1: Pull complete 18:06:24 96b7cbca73a9: Pull complete 18:06:25 a7acece74701: Pull complete 18:06:25 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:06:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:06:25 ---> db6d94c90886 18:06:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:06:29 ---> Running in 69b0d89b00fd 18:06:29 Removing intermediate container 69b0d89b00fd 18:06:29 ---> 2b01500742b0 18:06:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:06:29 ---> Running in afac02d3fc46 18:06:29 Removing intermediate container afac02d3fc46 18:06:29 ---> 10e2f81bc393 18:06:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:06:29 ---> Running in 8980ca133178 18:06:29 Removing intermediate container 8980ca133178 18:06:29 ---> 51217d8c45cb 18:06:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:06:29 ---> Running in 9b9e4084897b 18:06:29 Removing intermediate container 9b9e4084897b 18:06:29 ---> 910b38396f44 18:06:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:06:29 ---> Running in 84e601b82b7c 18:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:06:29 Still waiting to schedule task 18:06:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:06:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:06:30 (2/4) Installing libedit (20210910.3.1-r0) 18:06:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:06:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:06:30 Executing busybox-1.35.0-r17.trigger 18:06:30 OK: 216 MiB in 55 packages 18:06:30 Removing intermediate container 84e601b82b7c 18:06:30 ---> ee33c8c44797 18:06:30 Step 8/12 : WORKDIR /device-snmp-go 18:06:30 ---> Running in 968c5f291e86 18:06:31 Removing intermediate container 968c5f291e86 18:06:31 ---> a718c5f77053 18:06:31 Step 9/12 : COPY go.mod vendor* ./ 18:06:31 ---> 4cc94418d390 18:06:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:31 ---> Running in 12d920cc4d2f 18:06:52 Removing intermediate container 12d920cc4d2f 18:06:52 ---> 17217f152088 18:06:52 Step 11/12 : COPY . . 18:06:52 ---> ac5421831f70 18:06:52 Step 12/12 : RUN ${MAKE} 18:06:52 ---> Running in 7574fa1adb60 18:06:52 noop 18:06:52 Removing intermediate container 7574fa1adb60 18:06:52 ---> 0f2ce2400124 18:06:52 Successfully built 0f2ce2400124 18:06:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:53 + docker inspect -f . ci-base-image-x86_64 18:06:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:53 prd-ubuntu20.04-docker-8c-8g-1903 does not seem to be running inside a container 18:06:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-211 -v /w/workspace/gexfoundry_device-snmp-go_PR-211:/w/workspace/gexfoundry_device-snmp-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:06:54 $ docker top 3d0997f4f9c64bfbb5c5a664db489f17c9d204693225f31f583dd8261b27748d -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:54 + go version 18:06:54 go version go1.18.7 linux/amd64 [Pipeline] } 18:06:54 $ docker stop --time=1 3d0997f4f9c64bfbb5c5a664db489f17c9d204693225f31f583dd8261b27748d 18:06:55 $ docker rm -f --volumes 3d0997f4f9c64bfbb5c5a664db489f17c9d204693225f31f583dd8261b27748d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:56 + docker inspect -f . ci-base-image-x86_64 18:06:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:56 prd-ubuntu20.04-docker-8c-8g-1903 does not seem to be running inside a container 18:06:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-211 -v /w/workspace/gexfoundry_device-snmp-go_PR-211:/w/workspace/gexfoundry_device-snmp-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:06:56 $ docker top ca044b541786e4baf695599d3238988667877d568861ff6f79c15068cdd1b231 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:57 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-211 [Pipeline] fileExists [Pipeline] sh 18:06:57 + make test 18:06:57 go test ./... -coverprofile=coverage.out 18:06:57 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:07:06 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:07:06 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements 18:07:12 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:07:12 go vet ./... 18:07:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:07:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:07:14 ./bin/test-attribution-txt.sh [Pipeline] echo 18:07:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:07:14 $ docker stop --time=1 ca044b541786e4baf695599d3238988667877d568861ff6f79c15068cdd1b231 18:07:17 $ docker rm -f --volumes ca044b541786e4baf695599d3238988667877d568861ff6f79c15068cdd1b231 [Pipeline] // withDockerContainer [Pipeline] sh 18:07:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:07:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:07:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:07:18 + ls -al . 18:07:18 total 180 18:07:18 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 18:06 . 18:07:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:05 .. 18:07:18 -rw-rw-r-- 1 jenkins jenkins 6 Jan 11 18:05 .dockerignore 18:07:18 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:07 .git 18:07:18 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:05 .github 18:07:18 -rw-rw-r-- 1 jenkins jenkins 328 Jan 11 18:05 .gitignore 18:07:18 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:05 .golangci.yml 18:07:18 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:06 .semver 18:07:18 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 11 18:05 Attribution.txt 18:07:18 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 11 18:05 CHANGELOG.md 18:07:18 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 11 18:05 Dockerfile 18:07:18 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:05 GOVERNANCE.md 18:07:18 -rw-rw-r-- 1 jenkins jenkins 656 Jan 11 18:05 Jenkinsfile 18:07:18 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:05 LICENSE 18:07:18 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 11 18:05 Makefile 18:07:18 -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 18:05 OWNERS.md 18:07:18 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 11 18:05 README.md 18:07:18 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 18:06 VERSION 18:07:18 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:05 bin 18:07:18 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:05 cmd 18:07:18 -rw-r--r-- 1 jenkins jenkins 7631 Jan 11 18:07 coverage.out 18:07:18 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 11 18:05 go.mod 18:07:18 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 11 18:05 go.sum 18:07:18 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:05 internal 18:07:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:05 snap 18:07:18 -rw-rw-r-- 1 jenkins jenkins 228 Jan 11 18:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:18 + 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=bea1a1076047341fde9474420920c2a7296f103b --label arch=amd64 --label version=0.0.0 . 18:07:18 Sending build context to Docker daemon 5.689MB 18:07:18 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:07:18 Step 2/24 : FROM ${BASE} AS builder 18:07:18 ---> 0f2ce2400124 18:07:18 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:07:18 ---> Running in f4ce0bb5494f 18:07:19 Removing intermediate container f4ce0bb5494f 18:07:19 ---> 2509d48788d8 18:07:19 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:07:19 ---> Running in 7e91efad41db 18:07:19 Removing intermediate container 7e91efad41db 18:07:19 ---> ded5f501a7f8 18:07:19 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:07:19 ---> Running in a7da45f1ccc6 18:07:19 Removing intermediate container a7da45f1ccc6 18:07:19 ---> 90a4c8eb2949 18:07:19 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:07:19 ---> Running in 9d0798b099ff 18:07:19 Removing intermediate container 9d0798b099ff 18:07:19 ---> 11f50e20f76f 18:07:19 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:07:19 ---> Running in 981e67f69f0d 18:07:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:07:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:07:20 OK: 216 MiB in 55 packages 18:07:20 Removing intermediate container 981e67f69f0d 18:07:20 ---> 495a766c366c 18:07:20 Step 8/24 : WORKDIR /device-snmp-go 18:07:20 ---> Running in f5abb54284a7 18:07:20 Removing intermediate container f5abb54284a7 18:07:20 ---> cba43e5bad62 18:07:20 Step 9/24 : COPY go.mod vendor* ./ 18:07:20 ---> 88e4122c6f09 18:07:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:07:20 ---> Running in af8fdf5ce3e0 18:07:21 Removing intermediate container af8fdf5ce3e0 18:07:21 ---> 1a5ed672d67d 18:07:21 Step 11/24 : COPY . . 18:07:21 ---> 6a72f05202d9 18:07:21 Step 12/24 : RUN ${MAKE} 18:07:21 ---> Running in dd924942b5b9 18:07:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 18:07:44 Removing intermediate container dd924942b5b9 18:07:44 ---> 823362f18fb3 18:07:44 Step 13/24 : FROM alpine:3.16 18:07:44 3.16: Pulling from library/alpine 18:07:44 ca7dd9ec2225: Pulling fs layer 18:07:44 ca7dd9ec2225: Verifying Checksum 18:07:44 ca7dd9ec2225: Download complete 18:07:44 ca7dd9ec2225: Pull complete 18:07:44 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:07:44 Status: Downloaded newer image for alpine:3.16 18:07:44 ---> bfe296a52501 18:07:44 Step 14/24 : RUN apk add --update --no-cache dumb-init 18:07:44 ---> Running in cd2988219350 18:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:07:44 (1/1) Installing dumb-init (1.2.5-r1) 18:07:44 Executing busybox-1.35.0-r17.trigger 18:07:44 OK: 6 MiB in 15 packages 18:07:44 Removing intermediate container cd2988219350 18:07:44 ---> 01b729908703 18:07:44 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:07:44 ---> 03998a4eaa45 18:07:44 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:07:44 ---> 4d8345e36ba0 18:07:44 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:07:44 ---> a39c25488558 18:07:44 Step 18/24 : EXPOSE 59993 18:07:44 ---> Running in 65d8cb204683 18:07:44 Removing intermediate container 65d8cb204683 18:07:44 ---> e0d7af51d787 18:07:44 Step 19/24 : EXPOSE 161 18:07:44 ---> Running in fb960d8a56e8 18:07:44 Removing intermediate container fb960d8a56e8 18:07:44 ---> 7118dd71ee20 18:07:44 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:07:44 ---> Running in 353eeef6d240 18:07:44 Removing intermediate container 353eeef6d240 18:07:44 ---> 8088ea90993c 18:07:44 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:07:44 ---> Running in 753a6c188361 18:07:44 Removing intermediate container 753a6c188361 18:07:44 ---> 7352c6f38ace 18:07:44 Step 22/24 : LABEL arch=amd64 18:07:44 ---> Running in 024fd2f15173 18:07:44 Removing intermediate container 024fd2f15173 18:07:44 ---> 1fb617efb6d0 18:07:44 Step 23/24 : LABEL git_sha=bea1a1076047341fde9474420920c2a7296f103b 18:07:44 ---> Running in fc1214cc73d3 18:07:44 Removing intermediate container fc1214cc73d3 18:07:44 ---> 6cffc7ca4138 18:07:44 Step 24/24 : LABEL version=0.0.0 18:07:44 ---> Running in c3fdb1b65999 18:07:44 Removing intermediate container c3fdb1b65999 18:07:44 ---> 6a9e624e970e 18:07:44 [Warning] One or more build-args [ARCH] were not consumed 18:07:44 Successfully built 6a9e624e970e 18:07:44 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 18:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:45 18:07:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:45 latest: Pulling from edgex-lftools-log-publisher 18:07:45 5eb5b503b376: Pulling fs layer 18:07:45 5c69ac0246d0: Pulling fs layer 18:07:45 ec43610c2a17: Pulling fs layer 18:07:45 3a2ae6a8a46f: Pulling fs layer 18:07:45 33b1e0a273af: Pulling fs layer 18:07:45 5d3b04190fa2: Pulling fs layer 18:07:45 2f39f015ded8: Pulling fs layer 18:07:45 3a2ae6a8a46f: Waiting 18:07:45 33b1e0a273af: Waiting 18:07:45 5d3b04190fa2: Waiting 18:07:45 2f39f015ded8: Waiting 18:07:45 5c69ac0246d0: Verifying Checksum 18:07:45 5c69ac0246d0: Download complete 18:07:45 3a2ae6a8a46f: Verifying Checksum 18:07:45 3a2ae6a8a46f: Download complete 18:07:45 33b1e0a273af: Verifying Checksum 18:07:45 33b1e0a273af: Download complete 18:07:45 5d3b04190fa2: Verifying Checksum 18:07:45 5d3b04190fa2: Download complete 18:07:45 ec43610c2a17: Verifying Checksum 18:07:45 ec43610c2a17: Download complete 18:07:45 5eb5b503b376: Verifying Checksum 18:07:45 5eb5b503b376: Download complete 18:07:46 2f39f015ded8: Download complete 18:07:47 5eb5b503b376: Pull complete 18:07:47 5c69ac0246d0: Pull complete 18:07:47 ec43610c2a17: Pull complete 18:07:47 3a2ae6a8a46f: Pull complete 18:07:48 33b1e0a273af: Pull complete 18:07:48 5d3b04190fa2: Pull complete 18:07:52 2f39f015ded8: Pull complete 18:07:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:07:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:52 prd-ubuntu20.04-docker-8c-8g-1903 does not seem to be running inside a container 18:07:52 $ 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-211 -v /w/workspace/gexfoundry_device-snmp-go_PR-211:/w/workspace/gexfoundry_device-snmp-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:07:55 $ docker top 14192d8121c1498b9589e8858f975f06b1dcef79fd95d466ef133719f66507a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:55 ---> job-cost.sh 18:07:55 lf-activate-venv: SKIPPING 18:07:55 INFO: No Stack... 18:07:56 INFO: Retrieving Pricing Info for: v3-standard-8 18:07:56 INFO: Archiving Costs [Pipeline] sh 18:07:57 + cat /w/workspace/gexfoundry_device-snmp-go_PR-211/archives/cost.csv 18:07:57 + cut -d, -f6 [Pipeline] lock 18:07:57 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-211-1-stack-cost] 18:07:57 Resource [jenkins-edgexfoundry-device-snmp-go-PR-211-1-stack-cost] did not exist. Created. 18:07:57 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:57 + echo total: 0.2199999988079071 [Pipeline] stash 18:07:57 Stashed 1 file(s) [Pipeline] } 18:07:57 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-211-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:07:57 $ docker stop --time=1 14192d8121c1498b9589e8858f975f06b1dcef79fd95d466ef133719f66507a8 18:07:58 $ docker rm -f --volumes 14192d8121c1498b9589e8858f975f06b1dcef79fd95d466ef133719f66507a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:08:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1905 in /w/workspace/gexfoundry_device-snmp-go_PR-211 [Pipeline] { [Pipeline] ws 18:08:55 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 18:08:55 Selected Git installation does not exist. Using Default 18:08:55 The recommended git tool is: NONE 18:09:01 using credential edgex-jenkins-ssh 18:09:01 Cloning the remote Git repository 18:09:01 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 18:09:01 > git init /w/workspace/device-snmp-go/1 # timeout=10 18:09:01 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 18:09:01 > git --version # timeout=10 18:09:01 > git --version # 'git version 2.25.1' 18:09:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:09:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:09:02 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 18:09:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:09:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 18:09:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 18:09:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:09:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/211/head:refs/remotes/origin/PR-211 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:09:04 Merging remotes/origin/main commit ac8d37b91ffebeab2a267fed6cce847388f5686c into PR head commit bea1a1076047341fde9474420920c2a7296f103b 18:09:04 Merge succeeded, producing bea1a1076047341fde9474420920c2a7296f103b 18:09:04 Checking out Revision bea1a1076047341fde9474420920c2a7296f103b (PR-211) 18:09:04 > git config core.sparsecheckout # timeout=10 18:09:04 > git checkout -f bea1a1076047341fde9474420920c2a7296f103b # timeout=10 18:09:04 > git remote # timeout=10 18:09:04 > git config --get remote.origin.url # timeout=10 18:09:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:09:04 > git merge ac8d37b91ffebeab2a267fed6cce847388f5686c # timeout=10 18:09:04 > git rev-parse HEAD^{commit} # timeout=10 18:09:04 > git config core.sparsecheckout # timeout=10 18:09:04 > git checkout -f bea1a1076047341fde9474420920c2a7296f103b # timeout=10 18:09:08 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" 18:09:08 > git --version # timeout=10 18:09:08 > git --version # 'git version 2.25.1' 18:09:08 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:09:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:09:09 % Total % Received % Xferd Average Speed Time Time Time Current 18:09:09 Dload Upload Total Spent Left Speed 18:09:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 18:09:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:09:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:09:10 + sudo tee /etc/docker/daemon.new 18:09:10 { 18:09:10 "registry-mirrors": [ 18:09:10 "https://nexus3.edgexfoundry.org:10001" 18:09:10 ], 18:09:10 "bip": "10.250.0.254/24", 18:09:10 "hosts": [ 18:09:10 "tcp://0.0.0.0:5555", 18:09:10 "unix:///var/run/docker.sock" 18:09:10 ], 18:09:10 "mtu": 1458, 18:09:10 "selinux-enabled": true, 18:09:10 "seccomp-profile": "/etc/docker/seccomp.json" 18:09:10 } [Pipeline] sh 18:09:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:09:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:30 provisioning config files... 18:09:30 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config16931206802519203266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:30 ---> docker-login.sh 18:09:30 nexus3.edgexfoundry.org:10001 18:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:31 Configure a credential helper to remove this warning. See 18:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:31 18:09:31 Login Succeeded 18:09:31 nexus3.edgexfoundry.org:10002 18:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:31 Configure a credential helper to remove this warning. See 18:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:31 18:09:31 Login Succeeded 18:09:31 nexus3.edgexfoundry.org:10003 18:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:32 Configure a credential helper to remove this warning. See 18:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:32 18:09:32 Login Succeeded 18:09:32 nexus3.edgexfoundry.org:10004 18:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:32 Configure a credential helper to remove this warning. See 18:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:32 18:09:32 Login Succeeded 18:09:32 docker.io 18:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:33 Configure a credential helper to remove this warning. See 18:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:33 18:09:33 Login Succeeded 18:09:33 ---> docker-login.sh ends [Pipeline] } 18:09:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:09:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:09:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:09:33 ========================================================= 18:09:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:09:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:09:34 Sending build context to Docker daemon 2.954MB 18:09:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:09:34 Step 2/12 : FROM ${BASE} AS builder 18:09:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:09:34 9b18e9b68314: Pulling fs layer 18:09:34 35d82f9e3411: Pulling fs layer 18:09:34 e16973657156: Pulling fs layer 18:09:34 fc693d55d65f: Pulling fs layer 18:09:34 7e9fc2657dce: Pulling fs layer 18:09:34 dda99020689f: Pulling fs layer 18:09:34 db1c61fa0a46: Pulling fs layer 18:09:34 891c053d2c06: Pulling fs layer 18:09:34 fc693d55d65f: Waiting 18:09:34 dda99020689f: Waiting 18:09:34 7e9fc2657dce: Waiting 18:09:34 db1c61fa0a46: Waiting 18:09:34 891c053d2c06: Waiting 18:09:34 e16973657156: Verifying Checksum 18:09:34 e16973657156: Download complete 18:09:34 35d82f9e3411: Verifying Checksum 18:09:34 35d82f9e3411: Download complete 18:09:34 7e9fc2657dce: Download complete 18:09:34 dda99020689f: Download complete 18:09:34 9b18e9b68314: Download complete 18:09:35 891c053d2c06: Verifying Checksum 18:09:35 891c053d2c06: Download complete 18:09:35 9b18e9b68314: Pull complete 18:09:36 35d82f9e3411: Pull complete 18:09:36 e16973657156: Pull complete 18:09:36 db1c61fa0a46: Verifying Checksum 18:09:36 db1c61fa0a46: Download complete 18:09:37 fc693d55d65f: Download complete 18:09:49 fc693d55d65f: Pull complete 18:09:49 7e9fc2657dce: Pull complete 18:09:49 dda99020689f: Pull complete 18:09:53 db1c61fa0a46: Pull complete 18:09:55 891c053d2c06: Pull complete 18:09:55 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:09:55 ---> f96f9c87975a 18:09:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:09:57 ---> Running in abbe9232484a 18:09:58 Removing intermediate container abbe9232484a 18:09:58 ---> 78fa35bfbf9a 18:09:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:09:58 ---> Running in 0f51a183eb70 18:09:58 Removing intermediate container 0f51a183eb70 18:09:58 ---> f99af888d8f4 18:09:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:09:58 ---> Running in a6c960f94f1e 18:09:58 Removing intermediate container a6c960f94f1e 18:09:58 ---> 816e91c3afc5 18:09:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:09:59 ---> Running in 469105f38037 18:09:59 Removing intermediate container 469105f38037 18:09:59 ---> fbfa93af267b 18:09:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:59 ---> Running in ba1ba69841fd 18:10:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:10:02 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:10:02 (2/4) Installing libedit (20210910.3.1-r0) 18:10:02 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:10:02 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:10:02 Executing busybox-1.35.0-r17.trigger 18:10:02 OK: 226 MiB in 55 packages 18:10:03 Removing intermediate container ba1ba69841fd 18:10:03 ---> 48ca517b9cd3 18:10:03 Step 8/12 : WORKDIR /device-snmp-go 18:10:03 ---> Running in 924d1e8750ff 18:10:03 Removing intermediate container 924d1e8750ff 18:10:03 ---> 05af18d96e25 18:10:03 Step 9/12 : COPY go.mod vendor* ./ 18:10:04 ---> f5d3493c566c 18:10:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:10:04 ---> Running in 12dade489d24 18:11:01 Removing intermediate container 12dade489d24 18:11:01 ---> c088b89833f3 18:11:01 Step 11/12 : COPY . . 18:11:01 ---> a93d4f8ac73b 18:11:01 Step 12/12 : RUN ${MAKE} 18:11:01 ---> Running in 855c0440a7f7 18:11:02 noop 18:11:03 Removing intermediate container 855c0440a7f7 18:11:03 ---> 969212f95007 18:11:03 Successfully built 969212f95007 18:11:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:04 + docker inspect -f . ci-base-image-arm64 18:11:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:04 prd-ubuntu20.04-docker-arm64-4c-16g-1905 does not seem to be running inside a container 18:11:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:11:05 $ docker top 14d2214528579536fb99383ffb6c88675552a8f14a3feb237b334890fcb87d4e -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:06 + go version 18:11:06 go version go1.18.7 linux/arm64 [Pipeline] } 18:11:06 $ docker stop --time=1 14d2214528579536fb99383ffb6c88675552a8f14a3feb237b334890fcb87d4e 18:11:08 $ docker rm -f --volumes 14d2214528579536fb99383ffb6c88675552a8f14a3feb237b334890fcb87d4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:09 + docker inspect -f . ci-base-image-arm64 18:11:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:09 prd-ubuntu20.04-docker-arm64-4c-16g-1905 does not seem to be running inside a container 18:11:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:11:10 $ docker top 372250f307ac582a7cc0d8783943361b2af95ece05bfaa353810995692817047 -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:11 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 18:11:12 + make test 18:11:12 go test ./... -coverprofile=coverage.out 18:11:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:12:36 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:12:36 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.072s coverage: 0.0% of statements 18:12:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:12:36 go vet ./... 18:12:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:12:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:12:58 ./bin/test-attribution-txt.sh [Pipeline] echo 18:12:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:12:58 $ docker stop --time=1 372250f307ac582a7cc0d8783943361b2af95ece05bfaa353810995692817047 18:13:00 $ docker rm -f --volumes 372250f307ac582a7cc0d8783943361b2af95ece05bfaa353810995692817047 [Pipeline] // withDockerContainer [Pipeline] sh 18:13:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:13:01 Warning: overwriting stash ‘coverage-report’ 18:13:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:13:02 + ls -al . 18:13:02 total 176 18:13:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:11 . 18:13:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:09 .. 18:13:02 -rw-rw-r-- 1 jenkins jenkins 6 Jan 11 18:09 .dockerignore 18:13:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:09 .git 18:13:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:09 .github 18:13:02 -rw-rw-r-- 1 jenkins jenkins 328 Jan 11 18:09 .gitignore 18:13:02 -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 18:09 .golangci.yml 18:13:02 -rw-rw-r-- 1 jenkins jenkins 8828 Jan 11 18:09 Attribution.txt 18:13:02 -rw-rw-r-- 1 jenkins jenkins 8355 Jan 11 18:09 CHANGELOG.md 18:13:02 -rw-rw-r-- 1 jenkins jenkins 1423 Jan 11 18:09 Dockerfile 18:13:02 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:09 GOVERNANCE.md 18:13:02 -rw-rw-r-- 1 jenkins jenkins 656 Jan 11 18:09 Jenkinsfile 18:13:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 18:09 LICENSE 18:13:02 -rw-rw-r-- 1 jenkins jenkins 2079 Jan 11 18:09 Makefile 18:13:02 -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 18:09 OWNERS.md 18:13:02 -rw-rw-r-- 1 jenkins jenkins 10054 Jan 11 18:09 README.md 18:13:02 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 18:06 VERSION 18:13:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:09 bin 18:13:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:09 cmd 18:13:02 -rw-r--r-- 1 jenkins jenkins 7631 Jan 11 18:12 coverage.out 18:13:02 -rw-rw-r-- 1 jenkins jenkins 3414 Jan 11 18:09 go.mod 18:13:02 -rw-rw-r-- 1 jenkins jenkins 44744 Jan 11 18:09 go.sum 18:13:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:09 internal 18:13:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:09 snap 18:13:02 -rw-rw-r-- 1 jenkins jenkins 228 Jan 11 18:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:03 + 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=bea1a1076047341fde9474420920c2a7296f103b --label arch=arm64 --label version=0.0.0 . 18:13:03 Sending build context to Docker daemon 2.962MB 18:13:03 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:13:03 Step 2/24 : FROM ${BASE} AS builder 18:13:03 ---> 969212f95007 18:13:03 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:13:03 ---> Running in 1ff55c105837 18:13:03 Removing intermediate container 1ff55c105837 18:13:03 ---> 29098f180f1d 18:13:03 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:13:03 ---> Running in 854ede99162a 18:13:04 Removing intermediate container 854ede99162a 18:13:04 ---> 36c80034aa88 18:13:04 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:13:04 ---> Running in 1ca04f322d41 18:13:04 Removing intermediate container 1ca04f322d41 18:13:04 ---> 5ccfbd1233e4 18:13:04 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:13:04 ---> Running in 41cfeb5eabd5 18:13:04 Removing intermediate container 41cfeb5eabd5 18:13:04 ---> 72a8ca3fe877 18:13:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:13:04 ---> Running in 1714c27cca09 18:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:13:07 OK: 226 MiB in 55 packages 18:13:07 Removing intermediate container 1714c27cca09 18:13:07 ---> 83f6186d15f1 18:13:07 Step 8/24 : WORKDIR /device-snmp-go 18:13:07 ---> Running in c7b91369cbf9 18:13:08 Removing intermediate container c7b91369cbf9 18:13:08 ---> 5e3c401426dd 18:13:08 Step 9/24 : COPY go.mod vendor* ./ 18:13:08 ---> c1caeb9294a8 18:13:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:13:08 ---> Running in 3c9e8622c0a6 18:13:10 Removing intermediate container 3c9e8622c0a6 18:13:10 ---> 21f14bd03338 18:13:10 Step 11/24 : COPY . . 18:13:11 ---> 01325ca977b8 18:13:11 Step 12/24 : RUN ${MAKE} 18:13:11 ---> Running in 8349eea1320f 18:13:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 18:15:49 Removing intermediate container 8349eea1320f 18:15:49 ---> a4b4eb88ebe7 18:15:49 Step 13/24 : FROM alpine:3.16 18:15:49 3.16: Pulling from library/alpine 18:15:49 6875df1f5354: Pulling fs layer 18:15:49 6875df1f5354: Verifying Checksum 18:15:49 6875df1f5354: Download complete 18:15:49 6875df1f5354: Pull complete 18:15:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:15:49 Status: Downloaded newer image for alpine:3.16 18:15:49 ---> 2b4661558fb8 18:15:49 Step 14/24 : RUN apk add --update --no-cache dumb-init 18:15:49 ---> Running in 76964b45d23d 18:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:15:49 (1/1) Installing dumb-init (1.2.5-r1) 18:15:49 Executing busybox-1.35.0-r17.trigger 18:15:49 OK: 5 MiB in 15 packages 18:15:49 Removing intermediate container 76964b45d23d 18:15:49 ---> da8e4afb531a 18:15:49 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:15:49 ---> b9904857543b 18:15:49 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:15:49 ---> 81acbcc6e6f2 18:15:49 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:15:49 ---> 6b8e655c2bb1 18:15:49 Step 18/24 : EXPOSE 59993 18:15:49 ---> Running in eea2bfe64ffc 18:15:49 Removing intermediate container eea2bfe64ffc 18:15:49 ---> eee9845d631f 18:15:49 Step 19/24 : EXPOSE 161 18:15:49 ---> Running in b20e59cf1c45 18:15:49 Removing intermediate container b20e59cf1c45 18:15:49 ---> c3beb65ade09 18:15:49 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:15:49 ---> Running in ffa7e9b34e8e 18:15:49 Removing intermediate container ffa7e9b34e8e 18:15:49 ---> 350b661e8ada 18:15:49 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:15:49 ---> Running in 42d5e448f936 18:15:49 Removing intermediate container 42d5e448f936 18:15:49 ---> 82427f379b74 18:15:49 Step 22/24 : LABEL arch=arm64 18:15:49 ---> Running in ffe250f58052 18:15:49 Removing intermediate container ffe250f58052 18:15:49 ---> 80e0b381b0df 18:15:49 Step 23/24 : LABEL git_sha=bea1a1076047341fde9474420920c2a7296f103b 18:15:49 ---> Running in 21243e413106 18:15:49 Removing intermediate container 21243e413106 18:15:49 ---> bd3d69af1fa4 18:15:49 Step 24/24 : LABEL version=0.0.0 18:15:49 ---> Running in 69fd7d0b1329 18:15:49 Removing intermediate container 69fd7d0b1329 18:15:49 ---> ef6c31c4feb0 18:15:49 [Warning] One or more build-args [ARCH] were not consumed 18:15:49 Successfully built ef6c31c4feb0 18:15:49 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 18:15:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:50 18:15:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:50 arm64: Pulling from edgex-lftools-log-publisher 18:15:50 8998bd30e6a1: Pulling fs layer 18:15:50 04944245beec: Pulling fs layer 18:15:50 699f458cf7ca: Pulling fs layer 18:15:50 765212b225bb: Pulling fs layer 18:15:50 f23df028b6ca: Pulling fs layer 18:15:50 d65c8cfc05b1: Pulling fs layer 18:15:50 2437ff75d9bd: Pulling fs layer 18:15:50 f23df028b6ca: Waiting 18:15:50 d65c8cfc05b1: Waiting 18:15:50 2437ff75d9bd: Waiting 18:15:50 765212b225bb: Waiting 18:15:51 04944245beec: Verifying Checksum 18:15:51 04944245beec: Download complete 18:15:51 765212b225bb: Verifying Checksum 18:15:51 765212b225bb: Download complete 18:15:51 f23df028b6ca: Verifying Checksum 18:15:51 f23df028b6ca: Download complete 18:15:51 d65c8cfc05b1: Verifying Checksum 18:15:51 d65c8cfc05b1: Download complete 18:15:51 699f458cf7ca: Verifying Checksum 18:15:51 699f458cf7ca: Download complete 18:15:51 8998bd30e6a1: Verifying Checksum 18:15:51 8998bd30e6a1: Download complete 18:15:54 2437ff75d9bd: Download complete 18:15:55 8998bd30e6a1: Pull complete 18:15:56 04944245beec: Pull complete 18:15:57 699f458cf7ca: Pull complete 18:15:57 765212b225bb: Pull complete 18:15:58 f23df028b6ca: Pull complete 18:15:58 d65c8cfc05b1: Pull complete 18:16:10 2437ff75d9bd: Pull complete 18:16:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:16:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:16:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:11 prd-ubuntu20.04-docker-arm64-4c-16g-1905 does not seem to be running inside a container 18:16:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:16:13 $ docker top c34b3e49ae639f043e306f510e83c44727add684b4c39d78b060eddea0f83158 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:14 ---> job-cost.sh 18:16:14 lf-activate-venv: SKIPPING 18:16:14 INFO: No Stack... 18:16:15 INFO: Retrieving Pricing Info for: v3-standard-4 18:16:16 INFO: Archiving Costs [Pipeline] sh 18:16:16 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 18:16:16 + cut -d, -f6 [Pipeline] lock 18:16:16 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-211-1-stack-cost] 18:16:16 Resource [jenkins-edgexfoundry-device-snmp-go-PR-211-1-stack-cost] did not exist. Created. 18:16:16 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-211-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:16:17 /w/workspace/device-snmp-go/1@tmp/durable-d539815a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:16:18 + echo total: 0.10999999940395355 [Pipeline] stash 18:16:18 Warning: overwriting stash ‘stack-cost’ 18:16:18 Stashed 1 file(s) [Pipeline] } 18:16:18 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-211-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:16:18 $ docker stop --time=1 c34b3e49ae639f043e306f510e83c44727add684b4c39d78b060eddea0f83158 18:16:19 $ docker rm -f --volumes c34b3e49ae639f043e306f510e83c44727add684b4c39d78b060eddea0f83158 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:16:20 provisioning config files... 18:16:20 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp/config16036785854395574744tmp [Pipeline] { [Pipeline] sh 18:16:21 + set +x 18:16:21 + curl -s https://codecov.io/bash 18:16:21 + bash -s -- 18:16:21 18:16:21 _____ _ 18:16:21 / ____| | | 18:16:21 | | ___ __| | ___ ___ _____ __ 18:16:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:16:21 | |___| (_) | (_| | __/ (_| (_) \ V / 18:16:21 \_____\___/ \__,_|\___|\___\___/ \_/ 18:16:21 Bash-1.0.6 18:16:21 18:16:21 18:16:21 ==> git version 2.25.1 found 18:16:21 ==> 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 18:16:21 Release-Date: 2020-01-08 18:16:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:16:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:16:21 ==> Jenkins CI detected. 18:16:21 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-211 18:16:21 project root: . 18:16:21 --> token set from env 18:16:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:16:21 ==> Running gcov in . (disable via -X gcov) 18:16:21 ==> Python coveragepy not found 18:16:21 ==> Searching for coverage reports in: 18:16:21 + . 18:16:21 -> Found 1 reports 18:16:21 ==> Detecting git/mercurial file structure 18:16:21 ==> Reading reports 18:16:21 + ./coverage.out bytes=7631 18:16:21 ==> Appending adjustments 18:16:21 https://docs.codecov.io/docs/fixing-reports 18:16:21 + Found adjustments 18:16:21 ==> Gzipping contents 18:16:21 4.0K /tmp/codecov.HDDzyF.gz 18:16:21 ==> Uploading reports 18:16:21 url: https://codecov.io 18:16:21 query: branch=PR-211&commit=bea1a1076047341fde9474420920c2a7296f103b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=211&job=&cmd_args= 18:16:21 -> Pinging Codecov 18:16:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-211&commit=bea1a1076047341fde9474420920c2a7296f103b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-211%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=211&job=&cmd_args= 18:16:21 -> Uploading to 18:16:21 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/6C56EA5C29638FB4528AC87E60AF5AE0/bea1a1076047341fde9474420920c2a7296f103b/e859a7e3-2210-4da3-b45a-9663e066a58f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T181621Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0ff65152d96104fdff99414b210b5372459005d0c6525fc9124948020e25da0a 18:16:21 % Total % Received % Xferd Average Speed Time Time Time Current 18:16:21 Dload Upload Total Spent Left Speed 18:16:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6950 --:--:-- --:--:-- --:--:-- 6919 100 1543 0 0 100 1543 0 5590 --:--:-- --:--:-- --:--:-- 5570 18:16:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/bea1a1076047341fde9474420920c2a7296f103b [Pipeline] } 18:16:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:16:23 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-211/archives ] 18:16:23 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-211/archives 18:16:23 total 16 18:16:23 drwxr-xr-x 3 root root 4096 Jan 11 18:07 . 18:16:23 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:07 .. 18:16:23 drwxr-xr-x 2 root root 4096 Jan 11 18:07 cost 18:16:23 -rw-r--r-- 1 root root 86 Jan 11 18:07 cost.csv 18:16:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-211/archives 18:16:23 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-211/archives 18:16:23 total 16 18:16:23 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:07 . 18:16:23 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:07 .. 18:16:23 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 18:07 cost 18:16:23 -rw-r--r-- 1 jenkins jenkins 86 Jan 11 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:16:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:16:24 ---> package-listing.sh 18:16:24 ++ facter osfamily 18:16:24 ++ tr '[:upper:]' '[:lower:]' 18:16:25 + OS_FAMILY=debian 18:16:25 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-211 18:16:25 + START_PACKAGES=/tmp/packages_start.txt 18:16:25 + END_PACKAGES=/tmp/packages_end.txt 18:16:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:25 + PACKAGES=/tmp/packages_start.txt 18:16:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-211 ']' 18:16:25 + PACKAGES=/tmp/packages_end.txt 18:16:25 + case "${OS_FAMILY}" in 18:16:25 + dpkg -l 18:16:25 + grep '^ii' 18:16:25 + '[' -f /tmp/packages_start.txt ']' 18:16:25 + '[' -f /tmp/packages_end.txt ']' 18:16:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:25 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-211 ']' 18:16:25 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-211/archives/ 18:16:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-211/archives/ [Pipeline] echo 18:16:25 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-211/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:16:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:16:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:26 prd-ubuntu20.04-docker-8c-8g-1903 does not seem to be running inside a container 18:16:26 $ 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-211/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-211 -v /w/workspace/gexfoundry_device-snmp-go_PR-211:/w/workspace/gexfoundry_device-snmp-go_PR-211:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:16:26 $ docker top a28db48d341414849a69f5d148b9ce7818822c0392b9a154250af14d3d72f8dd -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:27 + touch /tmp/pre-build-complete [Pipeline] sh 18:16:27 + mkdir -p /var/log/sysstat [Pipeline] sh 18:16:27 + ls /var/log/sa-host 18:16:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:27 provisioning config files... 18:16:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-211@tmp/config11593468383295382781tmp [Pipeline] { [Pipeline] echo 18:16:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:16:28 ---> create-netrc.sh [Pipeline] } 18:16:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:16:28 ---> python-tools-install.sh [Pipeline] echo 18:16:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:16:28 ---> sudo-logs.sh 18:16:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:16:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:16:29 ---> job-cost.sh 18:16:29 lf-activate-venv: SKIPPING 18:16:29 DEBUG: total: 0.2199999988079071 18:16:29 INFO: Retrieving Stack Cost... 18:16:29 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:30 INFO: Archiving Costs [Pipeline] echo 18:16:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:16:30 ---> logs-deploy.sh 18:16:30 lf-activate-venv: SKIPPING 18:16:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-211/1 18:16:30 INFO: archiving workspace using pattern(s): 18:16:31 Archives upload complete. 18:16:31 INFO: archiving logs to Nexus