Pull request #280 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 840690d016aab0d17a5e89aeb54858e5a47d60fc+6fac14ed47bda9a50d3a81c52d17c8dba926fadd (fcc29367154745602ab2562e96caa67509c39401) 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-ssh734785733087885160.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16242573436083466839.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-280/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-280/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4374084197544887872.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh5043538741431291021.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-280/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-280/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8262663205592224304.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 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-6706 in /w/workspace/gexfoundry_device-snmp-go_PR-280 [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-280 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6fac14ed47bda9a50d3a81c52d17c8dba926fadd into PR head commit 840690d016aab0d17a5e89aeb54858e5a47d60fc > 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/280/head:refs/remotes/origin/PR-280 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 840690d016aab0d17a5e89aeb54858e5a47d60fc Checking out Revision 840690d016aab0d17a5e89aeb54858e5a47d60fc (PR-280) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:54:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:54:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:54:24 ========================================================= 15:54:24 EdgeX Global Pipelines Version Info 15:54:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 840690d016aab0d17a5e89aeb54858e5a47d60fc # 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 6fac14ed47bda9a50d3a81c52d17c8dba926fadd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 840690d016aab0d17a5e89aeb54858e5a47d60fc # timeout=10 > git rev-list --no-walk 54a04e4a411175c5625698aadb4c122a3409f551 # timeout=10 15:54:25 ------------------- 15:54:25 stable info: 15:54:25 ------------------- 15:54:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:54:25 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:54:25 Message: update stable to v1.0.245 15:54:25 ------------------- 15:54:25 experimental info: 15:54:25 ------------------- 15:54:25 Commited By: **** collab-it+edgex@linuxfoundation.org 15:54:25 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 15:54:25 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:54:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-280 [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-280 [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-280 [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 840690d016aab0d17a5e89aeb54858e5a47d60fc [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 840690d [Pipeline] echo 15:54:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:26 provisioning config files... 15:54:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp/config13366210943035098064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:26 ---> docker-login.sh 15:54:26 nexus3.edgexfoundry.org:10001 15:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:27 Configure a credential helper to remove this warning. See 15:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:27 15:54:27 Login Succeeded 15:54:27 nexus3.edgexfoundry.org:10002 15:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:27 Configure a credential helper to remove this warning. See 15:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:27 15:54:27 Login Succeeded 15:54:27 nexus3.edgexfoundry.org:10003 15:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:27 Configure a credential helper to remove this warning. See 15:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:27 15:54:27 Login Succeeded 15:54:27 nexus3.edgexfoundry.org:10004 15:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:27 Configure a credential helper to remove this warning. See 15:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:27 15:54:27 Login Succeeded 15:54:27 docker.io 15:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:27 Configure a credential helper to remove this warning. See 15:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:27 15:54:27 Login Succeeded 15:54:27 ---> docker-login.sh ends [Pipeline] } 15:54:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:54:28 + git rev-list -1 --merges 840690d016aab0d17a5e89aeb54858e5a47d60fc~1..840690d016aab0d17a5e89aeb54858e5a47d60fc [Pipeline] echo 15:54:28 -----------> git rev-list -1 --merges 840690d016aab0d17a5e89aeb54858e5a47d60fc~1..840690d016aab0d17a5e89aeb54858e5a47d60fc 840690d016aab0d17a5e89aeb54858e5a47d60fc [false] [Pipeline] sh 15:54:28 + git log --format=format:%s -1 840690d016aab0d17a5e89aeb54858e5a47d60fc [Pipeline] echo 15:54:28 ========================================================= 15:54:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:54:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:54:28 + git log --format=format:%s -1 840690d016aab0d17a5e89aeb54858e5a47d60fc [Pipeline] echo 15:54:28 [semverPrep] GIT_COMMIT: 840690d016aab0d17a5e89aeb54858e5a47d60fc, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 15:54:28 [semverPrep] This is not a build commit. [Pipeline] sh 15:54:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:29 + grep -v github /etc/ssh/ssh_known_hosts 15:54:29 + [ -e /tmp/ssh_known_hosts ] 15:54:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:54:29 + + sudo teeecho -a /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:54:29 15:54:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:29 15:54:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:29 0.1.4: Pulling from edgex-devops/py-git-semver 15:54:29 b85a868b505f: Pulling fs layer 15:54:29 e2be974225ed: Pulling fs layer 15:54:29 339a4e72a1f5: Pulling fs layer 15:54:29 988bab9f4d93: Pulling fs layer 15:54:29 1469e6f7b9e6: Pulling fs layer 15:54:29 eaf3925da568: Pulling fs layer 15:54:29 bab4dde63d76: Pulling fs layer 15:54:29 bde34c3a00c8: Pulling fs layer 15:54:29 b352a97aabf1: Pulling fs layer 15:54:29 4872d77fe225: Pulling fs layer 15:54:29 5851b861e8e6: Pulling fs layer 15:54:29 bab4dde63d76: Waiting 15:54:29 4872d77fe225: Waiting 15:54:29 bde34c3a00c8: Waiting 15:54:29 b352a97aabf1: Waiting 15:54:29 988bab9f4d93: Waiting 15:54:29 5851b861e8e6: Waiting 15:54:29 eaf3925da568: Waiting 15:54:29 1469e6f7b9e6: Waiting 15:54:29 e2be974225ed: Download complete 15:54:29 988bab9f4d93: Verifying Checksum 15:54:29 988bab9f4d93: Download complete 15:54:29 1469e6f7b9e6: Verifying Checksum 15:54:29 1469e6f7b9e6: Download complete 15:54:30 eaf3925da568: Verifying Checksum 15:54:30 eaf3925da568: Download complete 15:54:30 339a4e72a1f5: Verifying Checksum 15:54:30 339a4e72a1f5: Download complete 15:54:30 bde34c3a00c8: Verifying Checksum 15:54:30 bde34c3a00c8: Download complete 15:54:30 b352a97aabf1: Download complete 15:54:30 4872d77fe225: Verifying Checksum 15:54:30 4872d77fe225: Download complete 15:54:30 5851b861e8e6: Verifying Checksum 15:54:30 5851b861e8e6: Download complete 15:54:30 b85a868b505f: Verifying Checksum 15:54:30 b85a868b505f: Download complete 15:54:30 bab4dde63d76: Verifying Checksum 15:54:30 bab4dde63d76: Download complete 15:54:31 b85a868b505f: Pull complete 15:54:31 e2be974225ed: Pull complete 15:54:32 339a4e72a1f5: Pull complete 15:54:32 988bab9f4d93: Pull complete 15:54:32 1469e6f7b9e6: Pull complete 15:54:32 eaf3925da568: Pull complete 15:54:34 bab4dde63d76: Pull complete 15:54:34 bde34c3a00c8: Pull complete 15:54:34 b352a97aabf1: Pull complete 15:54:34 4872d77fe225: Pull complete 15:54:34 5851b861e8e6: Pull complete 15:54:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:54:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:34 prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container 15:54:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-280 -v /w/workspace/gexfoundry_device-snmp-go_PR-280:/w/workspace/gexfoundry_device-snmp-go_PR-280:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-280@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:54:38 $ docker top 2c44b1060e6a410fbbce8e4e27edfddfba81cb65329f6eb0ec53504c2f307a9d -eo pid,comm 15:54:38 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). 15:54:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:38 [ssh-agent] Looking for ssh-agent implementation... 15:54:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:38 $ docker exec 2c44b1060e6a410fbbce8e4e27edfddfba81cb65329f6eb0ec53504c2f307a9d ssh-agent 15:54:38 SSH_AUTH_SOCK=/tmp/ssh-VeId8kuXAov3/agent.31 15:54:38 SSH_AGENT_PID=37 15:54:38 Running ssh-add (command line suppressed) 15:54:38 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-280@tmp/private_key_14001058398556276720.key (/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp/private_key_14001058398556276720.key) 15:54:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:39 + git tag --points-at HEAD [Pipeline] } 15:54:39 $ docker exec --env ******** --env ******** 2c44b1060e6a410fbbce8e4e27edfddfba81cb65329f6eb0ec53504c2f307a9d ssh-agent -k 15:54:39 unset SSH_AUTH_SOCK; 15:54:39 unset SSH_AGENT_PID; 15:54:39 echo Agent pid 37 killed; 15:54:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:54:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:39 [ssh-agent] Looking for ssh-agent implementation... 15:54:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:39 $ docker exec 2c44b1060e6a410fbbce8e4e27edfddfba81cb65329f6eb0ec53504c2f307a9d ssh-agent 15:54:39 SSH_AUTH_SOCK=/tmp/ssh-Mx78Vb8RdlU3/agent.69 15:54:39 SSH_AGENT_PID=75 15:54:39 Running ssh-add (command line suppressed) 15:54:39 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-280@tmp/private_key_879872664747977664.key (/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp/private_key_879872664747977664.key) 15:54:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:39 + git semver init 15:54:40 2023-04-03 15:54:40,047 [run_init] DEBUG init version:0.0.0 force:False 15:54:40 2023-04-03 15:54:40,047 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-280/.semver 15:54:40 2023-04-03 15:54:40,048 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-280/.semver 15:54:40 2023-04-03 15:54:40,048 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-280/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-280, universal_newlines=False, shell=None, istream=None) 15:54:41 2023-04-03 15:54:40,969 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-280/.git/info/exclude 15:54:41 2023-04-03 15:54:40,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-280/.semver/PR-280 with force:False 15:54:41 2023-04-03 15:54:40,970 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-280/.semver/PR-280 15:54:41 2023-04-03 15:54:40,975 [execute] INFO git cat-file --batch-check 15:54:41 2023-04-03 15:54:40,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-280/.semver, universal_newlines=False, shell=None, istream=) 15:54:41 2023-04-03 15:54:40,982 [execute] INFO git cat-file --batch 15:54:41 2023-04-03 15:54:40,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-280/.semver, universal_newlines=False, shell=None, istream=) 15:54:41 2023-04-03 15:54:40,988 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-280/.semver/PR-280 15:54:41 0.0.0 [Pipeline] } 15:54:41 $ docker exec --env ******** --env ******** 2c44b1060e6a410fbbce8e4e27edfddfba81cb65329f6eb0ec53504c2f307a9d ssh-agent -k 15:54:41 unset SSH_AUTH_SOCK; 15:54:41 unset SSH_AGENT_PID; 15:54:41 echo Agent pid 75 killed; 15:54:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:41 + git semver [Pipeline] } 15:54:41 $ docker stop --time=1 2c44b1060e6a410fbbce8e4e27edfddfba81cb65329f6eb0ec53504c2f307a9d 15:54:43 $ docker rm -f --volumes 2c44b1060e6a410fbbce8e4e27edfddfba81cb65329f6eb0ec53504c2f307a9d [Pipeline] // withDockerContainer [Pipeline] sh 15:54:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:54:43 Stashed 1 file(s) [Pipeline] echo 15:54:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:43 provisioning config files... 15:54:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp/config11837735340638306695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:44 ---> docker-login.sh 15:54:44 nexus3.edgexfoundry.org:10001 15:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:44 Configure a credential helper to remove this warning. See 15:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:44 15:54:44 Login Succeeded 15:54:44 nexus3.edgexfoundry.org:10002 15:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:44 Configure a credential helper to remove this warning. See 15:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:44 15:54:44 Login Succeeded 15:54:44 nexus3.edgexfoundry.org:10003 15:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:44 Configure a credential helper to remove this warning. See 15:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:44 15:54:44 Login Succeeded 15:54:44 nexus3.edgexfoundry.org:10004 15:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:44 Configure a credential helper to remove this warning. See 15:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:44 15:54:44 Login Succeeded 15:54:44 docker.io 15:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:44 Configure a credential helper to remove this warning. See 15:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:44 15:54:44 Login Succeeded 15:54:44 ---> docker-login.sh ends [Pipeline] } 15:54:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:54:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:44 ========================================================= 15:54:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:54:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:54:45 Sending build context to Docker daemon 5.743MB 15:54:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:54:45 Step 2/12 : FROM ${BASE} AS builder 15:54:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:54:45 63b65145d645: Pulling fs layer 15:54:45 a2d21d5440eb: Pulling fs layer 15:54:45 935e6c44a52c: Pulling fs layer 15:54:45 94cc34f8dd06: Pulling fs layer 15:54:45 30dea6a524f1: Pulling fs layer 15:54:45 a2aff8979fd8: Pulling fs layer 15:54:45 6808be2612f2: Pulling fs layer 15:54:45 f25807f1079a: Pulling fs layer 15:54:45 94cc34f8dd06: Waiting 15:54:45 6808be2612f2: Waiting 15:54:45 a2aff8979fd8: Waiting 15:54:45 30dea6a524f1: Waiting 15:54:45 a2d21d5440eb: Verifying Checksum 15:54:45 a2d21d5440eb: Download complete 15:54:45 94cc34f8dd06: Download complete 15:54:45 30dea6a524f1: Verifying Checksum 15:54:45 30dea6a524f1: Download complete 15:54:45 63b65145d645: Download complete 15:54:45 a2aff8979fd8: Verifying Checksum 15:54:45 a2aff8979fd8: Download complete 15:54:45 63b65145d645: Pull complete 15:54:45 a2d21d5440eb: Pull complete 15:54:45 f25807f1079a: Download complete 15:54:45 935e6c44a52c: Verifying Checksum 15:54:45 935e6c44a52c: Download complete 15:54:46 6808be2612f2: Verifying Checksum 15:54:46 6808be2612f2: Download complete 15:54:50 935e6c44a52c: Pull complete 15:54:50 94cc34f8dd06: Pull complete 15:54:50 30dea6a524f1: Pull complete 15:54:50 a2aff8979fd8: Pull complete 15:54:52 6808be2612f2: Pull complete 15:54:53 f25807f1079a: Pull complete 15:54:53 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:54:53 ---> 3b553350e43f 15:54:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:54:58 Still waiting to schedule task 15:54:58 ‘prd-centos7-blackbox-4c-2g-6590’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:58 ‘prd-centos7-blackbox-4c-2g-6591’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:58 ‘prd-ubuntu18.04-docker-8c-8g-6700’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:58 ‘prd-ubuntu20.04-docker-8c-8g-6698’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:58 ‘prd-ubuntu20.04-docker-8c-8g-6709’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:54:58 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6708’ is offline 15:55:00 ---> Running in 85f48d83e8ad 15:55:00 Removing intermediate container 85f48d83e8ad 15:55:00 ---> 35049c805357 15:55:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:55:00 ---> Running in 0707e8ddeb8d 15:55:00 Removing intermediate container 0707e8ddeb8d 15:55:00 ---> 2aab90c8f5c6 15:55:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:55:00 ---> Running in bb3e15afa603 15:55:00 Removing intermediate container bb3e15afa603 15:55:00 ---> 82baba3f4177 15:55:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:55:00 ---> Running in f4c8dbeb046b 15:55:00 Removing intermediate container f4c8dbeb046b 15:55:00 ---> 7db8f76b60ba 15:55:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:55:00 ---> Running in 3df13fed2e0d 15:55:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:55:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:55:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:55:00 (2/4) Installing libedit (20221030.3.1-r0) 15:55:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:55:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:55:00 Executing busybox-1.35.0-r29.trigger 15:55:00 OK: 269 MiB in 57 packages 15:55:00 Removing intermediate container 3df13fed2e0d 15:55:00 ---> 4609886be0d0 15:55:00 Step 8/12 : WORKDIR /device-snmp-go 15:55:00 ---> Running in 01963a55b4e2 15:55:00 Removing intermediate container 01963a55b4e2 15:55:00 ---> 7971d34d050a 15:55:00 Step 9/12 : COPY go.mod vendor* ./ 15:55:01 ---> 1e3c03a41cf6 15:55:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:55:01 ---> Running in 9f7b732f090a 15:55:57 Removing intermediate container 9f7b732f090a 15:55:57 ---> e4f8144d1572 15:55:57 Step 11/12 : COPY . . 15:55:57 ---> bb4b69894093 15:55:57 Step 12/12 : RUN ${MAKE} 15:55:57 ---> Running in f715208c14f5 15:55:57 noop 15:55:57 Removing intermediate container f715208c14f5 15:55:57 ---> 7436289e81c2 15:55:57 Successfully built 7436289e81c2 15:55:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:57 + docker inspect -f . ci-base-image-x86_64 15:55:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:57 prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container 15:55:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-280 -v /w/workspace/gexfoundry_device-snmp-go_PR-280:/w/workspace/gexfoundry_device-snmp-go_PR-280:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-280@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:55:59 $ docker top 9e3f4315c8e980e34b7e6ddd313080240893b2962e7daf046ad7610e7ff38755 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:59 + go version 15:55:59 go version go1.20.2 linux/amd64 [Pipeline] } 15:55:59 $ docker stop --time=1 9e3f4315c8e980e34b7e6ddd313080240893b2962e7daf046ad7610e7ff38755 15:56:01 $ docker rm -f --volumes 9e3f4315c8e980e34b7e6ddd313080240893b2962e7daf046ad7610e7ff38755 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:01 + docker inspect -f . ci-base-image-x86_64 15:56:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:01 prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container 15:56:01 $ 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-280 -v /w/workspace/gexfoundry_device-snmp-go_PR-280:/w/workspace/gexfoundry_device-snmp-go_PR-280:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-280@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:56:02 $ docker top e73cad4b0788f15f20f6302262ba75118ee6ec76deec9c60bc6f37e5b4fc7eca -eo pid,comm [Pipeline] { [Pipeline] sh 15:56:02 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-280 [Pipeline] fileExists [Pipeline] sh 15:56:03 + make test 15:56:03 go test ./... -coverprofile=coverage.out 15:56:08 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:56:18 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:56:18 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 15:56:23 go vet ./... 15:56:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:56:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:56:28 ./bin/test-attribution-txt.sh [Pipeline] echo 15:56:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:56:28 $ docker stop --time=1 e73cad4b0788f15f20f6302262ba75118ee6ec76deec9c60bc6f37e5b4fc7eca 15:56:31 $ docker rm -f --volumes e73cad4b0788f15f20f6302262ba75118ee6ec76deec9c60bc6f37e5b4fc7eca [Pipeline] // withDockerContainer [Pipeline] sh 15:56:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:56:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:56:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:56:32 + ls -al . 15:56:32 total 168 15:56:32 drwxrwxr-x 9 jenkins jenkins 4096 Apr 3 15:56 . 15:56:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:54 .. 15:56:32 -rw-rw-r-- 1 jenkins jenkins 6 Apr 3 15:54 .dockerignore 15:56:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 3 15:54 .git 15:56:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:54 .github 15:56:32 -rw-rw-r-- 1 jenkins jenkins 328 Apr 3 15:54 .gitignore 15:56:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 3 15:54 .golangci.yml 15:56:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 3 15:54 .semver 15:56:32 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 3 15:54 Attribution.txt 15:56:32 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 3 15:54 CHANGELOG.md 15:56:32 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 3 15:54 Dockerfile 15:56:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 3 15:54 GOVERNANCE.md 15:56:32 -rw-rw-r-- 1 jenkins jenkins 656 Apr 3 15:54 Jenkinsfile 15:56:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 3 15:54 LICENSE 15:56:32 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 3 15:54 Makefile 15:56:32 -rw-rw-r-- 1 jenkins jenkins 620 Apr 3 15:54 OWNERS.md 15:56:32 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 3 15:54 README.md 15:56:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 3 15:54 VERSION 15:56:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 3 15:54 bin 15:56:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:54 cmd 15:56:32 -rw-r--r-- 1 jenkins jenkins 7630 Apr 3 15:56 coverage.out 15:56:32 -rw-rw-r-- 1 jenkins jenkins 3280 Apr 3 15:54 go.mod 15:56:32 -rw-rw-r-- 1 jenkins jenkins 31151 Apr 3 15:54 go.sum 15:56:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:54 internal 15:56:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:54 snap 15:56:32 -rw-rw-r-- 1 jenkins jenkins 228 Apr 3 15:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:33 + 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=840690d016aab0d17a5e89aeb54858e5a47d60fc --label arch=amd64 --label version=0.0.0 . 15:56:33 Sending build context to Docker daemon 5.751MB 15:56:33 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 15:56:33 Step 2/24 : FROM ${BASE} AS builder 15:56:33 ---> 7436289e81c2 15:56:33 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:56:33 ---> Running in b5adff40eb28 15:56:33 Removing intermediate container b5adff40eb28 15:56:33 ---> 7c21289f6603 15:56:33 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:56:33 ---> Running in 58c82e01d1f1 15:56:33 Removing intermediate container 58c82e01d1f1 15:56:33 ---> f16b462124f8 15:56:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:56:33 ---> Running in 83e1eb39c6fc 15:56:33 Removing intermediate container 83e1eb39c6fc 15:56:33 ---> 9d0e77b69071 15:56:33 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:56:33 ---> Running in df83608f160b 15:56:33 Removing intermediate container df83608f160b 15:56:33 ---> 285bc5c5c9ed 15:56:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:56:33 ---> Running in d3480a077f07 15:56:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:56:34 OK: 269 MiB in 57 packages 15:56:34 Removing intermediate container d3480a077f07 15:56:34 ---> 6e871503c718 15:56:34 Step 8/24 : WORKDIR /device-snmp-go 15:56:34 ---> Running in a6be9fa522c4 15:56:34 Removing intermediate container a6be9fa522c4 15:56:34 ---> a6e5b1b31716 15:56:34 Step 9/24 : COPY go.mod vendor* ./ 15:56:34 ---> ed23c564040f 15:56:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:56:34 ---> Running in 5f41b4e89585 15:56:35 Removing intermediate container 5f41b4e89585 15:56:35 ---> f74a694fc76d 15:56:35 Step 11/24 : COPY . . 15:56:36 ---> f7be6da45b2f 15:56:36 Step 12/24 : RUN ${MAKE} 15:56:36 ---> Running in 720fce5ce65d 15:56:36 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 15:56:58 Removing intermediate container 720fce5ce65d 15:56:58 ---> 293a2b6fe915 15:56:58 Step 13/24 : FROM alpine:3.17 15:56:58 3.17: Pulling from library/alpine 15:56:58 f56be85fc22e: Pulling fs layer 15:56:58 f56be85fc22e: Download complete 15:56:58 f56be85fc22e: Pull complete 15:56:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:56:58 Status: Downloaded newer image for alpine:3.17 15:56:58 ---> 9ed4aefc74f6 15:56:58 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:56:58 ---> Running in 85e8581b71c5 15:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:56:58 (1/1) Installing dumb-init (1.2.5-r2) 15:56:58 Executing busybox-1.35.0-r29.trigger 15:56:58 OK: 7 MiB in 16 packages 15:56:58 Removing intermediate container 85e8581b71c5 15:56:58 ---> ece2cf0df898 15:56:58 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:56:58 ---> 615bf78be19a 15:56:58 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:56:58 ---> 8e4857aa6eb1 15:56:58 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:56:58 ---> 4a71f149bed4 15:56:58 Step 18/24 : EXPOSE 59993 15:56:58 ---> Running in 03bb7ab07434 15:56:59 Removing intermediate container 03bb7ab07434 15:56:59 ---> d1965edca25f 15:56:59 Step 19/24 : EXPOSE 161 15:56:59 ---> Running in e8a33dbf3863 15:56:59 Removing intermediate container e8a33dbf3863 15:56:59 ---> 46f58684de04 15:56:59 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:56:59 ---> Running in b4f6da9a6e10 15:56:59 Removing intermediate container b4f6da9a6e10 15:56:59 ---> e81ebe3cb600 15:56:59 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:56:59 ---> Running in 328036e91071 15:56:59 Removing intermediate container 328036e91071 15:56:59 ---> 91ce978ec602 15:56:59 Step 22/24 : LABEL arch=amd64 15:56:59 ---> Running in 501d280680c3 15:56:59 Removing intermediate container 501d280680c3 15:56:59 ---> a3538447a98f 15:56:59 Step 23/24 : LABEL git_sha=840690d016aab0d17a5e89aeb54858e5a47d60fc 15:56:59 ---> Running in 5b1a43150e69 15:56:59 Removing intermediate container 5b1a43150e69 15:56:59 ---> 2b617e3dfc45 15:56:59 Step 24/24 : LABEL version=0.0.0 15:56:59 ---> Running in eecc0f74c8e6 15:56:59 Removing intermediate container eecc0f74c8e6 15:56:59 ---> 1c8fe830e656 15:56:59 [Warning] One or more build-args [ARCH] were not consumed 15:56:59 Successfully built 1c8fe830e656 15:56:59 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 15:57:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:00 15:57:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:00 latest: Pulling from edgex-lftools-log-publisher 15:57:00 5eb5b503b376: Pulling fs layer 15:57:00 5c69ac0246d0: Pulling fs layer 15:57:00 ec43610c2a17: Pulling fs layer 15:57:00 3a2ae6a8a46f: Pulling fs layer 15:57:00 33b1e0a273af: Pulling fs layer 15:57:00 5d3b04190fa2: Pulling fs layer 15:57:00 2f39f015ded8: Pulling fs layer 15:57:00 3a2ae6a8a46f: Waiting 15:57:00 33b1e0a273af: Waiting 15:57:00 5d3b04190fa2: Waiting 15:57:00 2f39f015ded8: Waiting 15:57:00 5c69ac0246d0: Verifying Checksum 15:57:00 5c69ac0246d0: Download complete 15:57:00 3a2ae6a8a46f: Verifying Checksum 15:57:00 3a2ae6a8a46f: Download complete 15:57:00 33b1e0a273af: Verifying Checksum 15:57:00 33b1e0a273af: Download complete 15:57:00 5d3b04190fa2: Verifying Checksum 15:57:00 5d3b04190fa2: Download complete 15:57:00 ec43610c2a17: Verifying Checksum 15:57:00 ec43610c2a17: Download complete 15:57:00 5eb5b503b376: Verifying Checksum 15:57:00 5eb5b503b376: Download complete 15:57:01 2f39f015ded8: Download complete 15:57:01 5eb5b503b376: Pull complete 15:57:02 5c69ac0246d0: Pull complete 15:57:02 ec43610c2a17: Pull complete 15:57:02 3a2ae6a8a46f: Pull complete 15:57:02 33b1e0a273af: Pull complete 15:57:02 5d3b04190fa2: Pull complete 15:57:07 2f39f015ded8: Pull complete 15:57:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:57:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:07 prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container 15:57:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-280 -v /w/workspace/gexfoundry_device-snmp-go_PR-280:/w/workspace/gexfoundry_device-snmp-go_PR-280:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-280@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-280@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 15:57:12 $ docker top 6e5114871cf10f7b927dbc5c26830bd936c3a3c8f77a416e6a8c3d29728d54da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:13 ---> job-cost.sh 15:57:13 lf-activate-venv: SKIPPING 15:57:13 INFO: No Stack... 15:57:13 INFO: Retrieving Pricing Info for: v3-standard-8 15:57:13 INFO: Archiving Costs [Pipeline] sh 15:57:14 + cat /w/workspace/gexfoundry_device-snmp-go_PR-280/archives/cost.csv+ 15:57:14 cut -d, -f6 [Pipeline] lock 15:57:14 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-280-2-stack-cost] 15:57:14 Resource [jenkins-edgexfoundry-device-snmp-go-PR-280-2-stack-cost] did not exist. Created. 15:57:14 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-280-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:57:14 + echo total: 0.2199999988079071 [Pipeline] stash 15:57:14 Stashed 1 file(s) [Pipeline] } 15:57:14 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-280-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:57:14 $ docker stop --time=1 6e5114871cf10f7b927dbc5c26830bd936c3a3c8f77a416e6a8c3d29728d54da 15:57:15 $ docker rm -f --volumes 6e5114871cf10f7b927dbc5c26830bd936c3a3c8f77a416e6a8c3d29728d54da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:57:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6713 in /w/workspace/gexfoundry_device-snmp-go_PR-280 [Pipeline] { [Pipeline] ws 15:57:53 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 15:57:53 Selected Git installation does not exist. Using Default 15:57:53 The recommended git tool is: NONE 15:58:04 using credential edgex-jenkins-ssh 15:58:04 Cloning the remote Git repository 15:58:04 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:58:04 > git init /w/workspace/device-snmp-go/2 # timeout=10 15:58:04 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:58:04 > git --version # timeout=10 15:58:05 > git --version # 'git version 2.25.1' 15:58:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:58:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:58:07 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:58:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:58:10 Merging remotes/origin/main commit 6fac14ed47bda9a50d3a81c52d17c8dba926fadd into PR head commit 840690d016aab0d17a5e89aeb54858e5a47d60fc 15:58:09 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:58:09 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:58:09 using GIT_SSH to set credentials SSH Credentials for GitHub 15:58:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/280/head:refs/remotes/origin/PR-280 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:58:10 > git config core.sparsecheckout # timeout=10 15:58:10 > git checkout -f 840690d016aab0d17a5e89aeb54858e5a47d60fc # timeout=10 15:58:10 Merge succeeded, producing 840690d016aab0d17a5e89aeb54858e5a47d60fc 15:58:10 Checking out Revision 840690d016aab0d17a5e89aeb54858e5a47d60fc (PR-280) 15:58:11 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:10 > git remote # timeout=10 15:58:10 > git config --get remote.origin.url # timeout=10 15:58:10 using GIT_SSH to set credentials SSH Credentials for GitHub 15:58:10 > git merge 6fac14ed47bda9a50d3a81c52d17c8dba926fadd # timeout=10 15:58:10 > git rev-parse HEAD^{commit} # timeout=10 15:58:10 > git config core.sparsecheckout # timeout=10 15:58:10 > git checkout -f 840690d016aab0d17a5e89aeb54858e5a47d60fc # timeout=10 15:58:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:58:12 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:12 Dload Upload Total Spent Left Speed 15:58:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh 15:58:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:58:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:58:14 + sudo tee /etc/docker/daemon.new 15:58:14 { 15:58:14 "registry-mirrors": [ 15:58:14 "https://nexus3.edgexfoundry.org:10001" 15:58:14 ], 15:58:14 "bip": "10.250.0.254/24", 15:58:14 "hosts": [ 15:58:14 "tcp://0.0.0.0:5555", 15:58:14 "unix:///var/run/docker.sock" 15:58:14 ], 15:58:14 "mtu": 1458, 15:58:14 "selinux-enabled": true, 15:58:14 "seccomp-profile": "/etc/docker/seccomp.json" 15:58:14 } [Pipeline] sh 15:58:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:58:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:33 provisioning config files... 15:58:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config6069441750504856558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:34 ---> docker-login.sh 15:58:34 nexus3.edgexfoundry.org:10001 15:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:34 Configure a credential helper to remove this warning. See 15:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:34 15:58:34 Login Succeeded 15:58:34 nexus3.edgexfoundry.org:10002 15:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:35 Configure a credential helper to remove this warning. See 15:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:35 15:58:35 Login Succeeded 15:58:35 nexus3.edgexfoundry.org:10003 15:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:35 Configure a credential helper to remove this warning. See 15:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:35 15:58:35 Login Succeeded 15:58:35 nexus3.edgexfoundry.org:10004 15:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:36 Configure a credential helper to remove this warning. See 15:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:36 15:58:36 Login Succeeded 15:58:36 docker.io 15:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:36 Configure a credential helper to remove this warning. See 15:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:36 15:58:36 Login Succeeded 15:58:36 ---> docker-login.sh ends [Pipeline] } 15:58:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:36 ========================================================= 15:58:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:58:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:58:37 Sending build context to Docker daemon 2.97MB 15:58:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:58:37 Step 2/12 : FROM ${BASE} AS builder 15:58:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:58:37 af6eaf76a39c: Pulling fs layer 15:58:37 55522c791124: Pulling fs layer 15:58:37 ce5c4a1c91eb: Pulling fs layer 15:58:37 169dfbe0d373: Pulling fs layer 15:58:37 e1ff8fa3b103: Pulling fs layer 15:58:37 52ebb69f0ebf: Pulling fs layer 15:58:37 5abe8eddf0d5: Pulling fs layer 15:58:37 169dfbe0d373: Waiting 15:58:37 e1ff8fa3b103: Waiting 15:58:37 52ebb69f0ebf: Waiting 15:58:37 5abe8eddf0d5: Waiting 15:58:37 55522c791124: Verifying Checksum 15:58:37 55522c791124: Download complete 15:58:37 169dfbe0d373: Download complete 15:58:37 e1ff8fa3b103: Verifying Checksum 15:58:37 e1ff8fa3b103: Download complete 15:58:37 af6eaf76a39c: Verifying Checksum 15:58:37 af6eaf76a39c: Download complete 15:58:38 af6eaf76a39c: Pull complete 15:58:39 5abe8eddf0d5: Verifying Checksum 15:58:39 5abe8eddf0d5: Download complete 15:58:39 55522c791124: Pull complete 15:58:40 ce5c4a1c91eb: Download complete 15:58:40 52ebb69f0ebf: Verifying Checksum 15:58:40 52ebb69f0ebf: Download complete 15:58:53 ce5c4a1c91eb: Pull complete 15:58:53 169dfbe0d373: Pull complete 15:58:53 e1ff8fa3b103: Pull complete 15:59:00 52ebb69f0ebf: Pull complete 15:59:01 5abe8eddf0d5: Pull complete 15:59:01 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:59:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:59:01 ---> 6cb57ee374ae 15:59:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:59:02 ---> Running in 58873b42543d 15:59:03 Removing intermediate container 58873b42543d 15:59:03 ---> f685e070191e 15:59:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:59:03 ---> Running in 937963bf7c00 15:59:03 Removing intermediate container 937963bf7c00 15:59:03 ---> 17ea302aee23 15:59:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:59:03 ---> Running in 865f94567c5f 15:59:03 Removing intermediate container 865f94567c5f 15:59:03 ---> da59c1ebd69a 15:59:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:59:03 ---> Running in 3146fcc8e41a 15:59:04 Removing intermediate container 3146fcc8e41a 15:59:04 ---> 47ac388d84c8 15:59:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:04 ---> Running in 568e85e1d078 15:59:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:59:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:59:08 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:59:08 (2/4) Installing libedit (20221030.3.1-r0) 15:59:08 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:59:08 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:59:08 Executing busybox-1.35.0-r29.trigger 15:59:08 OK: 268 MiB in 57 packages 15:59:09 Removing intermediate container 568e85e1d078 15:59:09 ---> 3796835c029f 15:59:09 Step 8/12 : WORKDIR /device-snmp-go 15:59:09 ---> Running in b8034652f4f7 15:59:09 Removing intermediate container b8034652f4f7 15:59:09 ---> bdfef7b860db 15:59:09 Step 9/12 : COPY go.mod vendor* ./ 15:59:10 ---> db2f9f6d84b7 15:59:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:10 ---> Running in 4d93d7d4469f 16:00:18 Removing intermediate container 4d93d7d4469f 16:00:18 ---> 4ecaa4582278 16:00:18 Step 11/12 : COPY . . 16:00:18 ---> db69cab19ec8 16:00:18 Step 12/12 : RUN ${MAKE} 16:00:18 ---> Running in af3a5d9fac75 16:00:19 noop 16:00:19 Removing intermediate container af3a5d9fac75 16:00:19 ---> 0802c57cbb1e 16:00:19 Successfully built 0802c57cbb1e 16:00:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:20 + docker inspect -f . ci-base-image-arm64 16:00:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:20 prd-ubuntu20.04-docker-arm64-4c-16g-6713 does not seem to be running inside a container 16:00:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:00:22 $ docker top 6459fc48e6cad67e65b50d4b703a79f861ae0500ffb5366d8acd3a1b46a51d95 -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:23 + go version 16:00:23 go version go1.20.2 linux/arm64 [Pipeline] } 16:00:23 $ docker stop --time=1 6459fc48e6cad67e65b50d4b703a79f861ae0500ffb5366d8acd3a1b46a51d95 16:00:24 $ docker rm -f --volumes 6459fc48e6cad67e65b50d4b703a79f861ae0500ffb5366d8acd3a1b46a51d95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:25 + docker inspect -f . ci-base-image-arm64 16:00:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:25 prd-ubuntu20.04-docker-arm64-4c-16g-6713 does not seem to be running inside a container 16:00:25 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:00:27 $ docker top 476b98f5985f2597bf03352af2c467351fd07f54326ab57911451892101ef293 -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:28 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 16:00:28 + make test 16:00:28 go test ./... -coverprofile=coverage.out 16:01:15 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:03:37 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:03:37 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.054s coverage: 0.0% of statements 16:03:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:03:37 go vet ./... 16:03:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:03:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:03:59 ./bin/test-attribution-txt.sh [Pipeline] echo 16:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:03:59 $ docker stop --time=1 476b98f5985f2597bf03352af2c467351fd07f54326ab57911451892101ef293 16:04:01 $ docker rm -f --volumes 476b98f5985f2597bf03352af2c467351fd07f54326ab57911451892101ef293 [Pipeline] // withDockerContainer [Pipeline] sh 16:04:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:04:02 Warning: overwriting stash ‘coverage-report’ 16:04:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:04:04 + ls -al . 16:04:04 total 164 16:04:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 3 16:00 . 16:04:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:58 .. 16:04:04 -rw-rw-r-- 1 jenkins jenkins 6 Apr 3 15:58 .dockerignore 16:04:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 3 15:58 .git 16:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:58 .github 16:04:04 -rw-rw-r-- 1 jenkins jenkins 328 Apr 3 15:58 .gitignore 16:04:04 -rw-rw-r-- 1 jenkins jenkins 41 Apr 3 15:58 .golangci.yml 16:04:04 -rw-rw-r-- 1 jenkins jenkins 8926 Apr 3 15:58 Attribution.txt 16:04:04 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 3 15:58 CHANGELOG.md 16:04:04 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 3 15:58 Dockerfile 16:04:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 3 15:58 GOVERNANCE.md 16:04:04 -rw-rw-r-- 1 jenkins jenkins 656 Apr 3 15:58 Jenkinsfile 16:04:04 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 3 15:58 LICENSE 16:04:04 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 3 15:58 Makefile 16:04:04 -rw-rw-r-- 1 jenkins jenkins 620 Apr 3 15:58 OWNERS.md 16:04:04 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 3 15:58 README.md 16:04:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 3 15:54 VERSION 16:04:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 3 15:58 bin 16:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:58 cmd 16:04:04 -rw-r--r-- 1 jenkins jenkins 7630 Apr 3 16:03 coverage.out 16:04:04 -rw-rw-r-- 1 jenkins jenkins 3280 Apr 3 15:58 go.mod 16:04:04 -rw-rw-r-- 1 jenkins jenkins 31151 Apr 3 15:58 go.sum 16:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:58 internal 16:04:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:58 snap 16:04:04 -rw-rw-r-- 1 jenkins jenkins 228 Apr 3 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:04 + 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=840690d016aab0d17a5e89aeb54858e5a47d60fc --label arch=arm64 --label version=0.0.0 . 16:04:04 Sending build context to Docker daemon 2.978MB 16:04:04 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 16:04:04 Step 2/24 : FROM ${BASE} AS builder 16:04:04 ---> 0802c57cbb1e 16:04:04 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:04:05 ---> Running in 2397695513bc 16:04:05 Removing intermediate container 2397695513bc 16:04:05 ---> 44a4a1bca7dc 16:04:05 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:04:05 ---> Running in f314c7cef69a 16:04:05 Removing intermediate container f314c7cef69a 16:04:05 ---> 33d346ea968e 16:04:05 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:04:05 ---> Running in 3ee098872a32 16:04:06 Removing intermediate container 3ee098872a32 16:04:06 ---> 05f866e7f10f 16:04:06 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:04:06 ---> Running in 720ac928e672 16:04:06 Removing intermediate container 720ac928e672 16:04:06 ---> 9d94344d3039 16:04:06 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:04:06 ---> Running in 99cb60d4863b 16:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:04:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:04:09 OK: 268 MiB in 57 packages 16:04:11 Removing intermediate container 99cb60d4863b 16:04:11 ---> 8aaa541190de 16:04:11 Step 8/24 : WORKDIR /device-snmp-go 16:04:11 ---> Running in a47af7c9bd9e 16:04:11 Removing intermediate container a47af7c9bd9e 16:04:11 ---> 6a8f3eea7304 16:04:11 Step 9/24 : COPY go.mod vendor* ./ 16:04:12 ---> ca4230ab5831 16:04:12 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:04:12 ---> Running in 00789b7ad1d6 16:04:15 Removing intermediate container 00789b7ad1d6 16:04:15 ---> 74ec97a55f57 16:04:15 Step 11/24 : COPY . . 16:04:16 ---> f95666f30ecf 16:04:16 Step 12/24 : RUN ${MAKE} 16:04:16 ---> Running in bfb5f4cb1159 16:04:17 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 16:06:39 Removing intermediate container bfb5f4cb1159 16:06:39 ---> 5a854f8fe468 16:06:39 Step 13/24 : FROM alpine:3.17 16:06:39 3.17: Pulling from library/alpine 16:06:39 c41833b44d91: Pulling fs layer 16:06:39 c41833b44d91: Verifying Checksum 16:06:39 c41833b44d91: Download complete 16:06:39 c41833b44d91: Pull complete 16:06:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:06:39 Status: Downloaded newer image for alpine:3.17 16:06:39 ---> 51e60588ff2c 16:06:39 Step 14/24 : RUN apk add --update --no-cache dumb-init 16:06:39 ---> Running in 0c57ac1a43f2 16:06:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:06:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:06:42 (1/1) Installing dumb-init (1.2.5-r2) 16:06:42 Executing busybox-1.35.0-r29.trigger 16:06:42 OK: 8 MiB in 16 packages 16:06:43 Removing intermediate container 0c57ac1a43f2 16:06:43 ---> 6709af40787d 16:06:43 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:06:44 ---> 190b4fb96322 16:06:44 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:06:45 ---> 46457a533063 16:06:45 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:06:45 ---> 96bdef2c48f0 16:06:45 Step 18/24 : EXPOSE 59993 16:06:45 ---> Running in aa3ada0f1d4d 16:06:45 Removing intermediate container aa3ada0f1d4d 16:06:45 ---> 055f6fe229be 16:06:45 Step 19/24 : EXPOSE 161 16:06:46 ---> Running in e810e74294f9 16:06:46 Removing intermediate container e810e74294f9 16:06:46 ---> 66be73e2e98f 16:06:46 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:06:46 ---> Running in 56a18fd1dd1e 16:06:46 Removing intermediate container 56a18fd1dd1e 16:06:46 ---> 5978b59df925 16:06:46 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:06:46 ---> Running in e77028253a34 16:06:47 Removing intermediate container e77028253a34 16:06:47 ---> d7c5d7140ce3 16:06:47 Step 22/24 : LABEL arch=arm64 16:06:47 ---> Running in 549973acde9d 16:06:47 Removing intermediate container 549973acde9d 16:06:47 ---> efae84d86526 16:06:47 Step 23/24 : LABEL git_sha=840690d016aab0d17a5e89aeb54858e5a47d60fc 16:06:47 ---> Running in 8200de833606 16:06:47 Removing intermediate container 8200de833606 16:06:47 ---> e60925f93b11 16:06:47 Step 24/24 : LABEL version=0.0.0 16:06:48 ---> Running in dc291abc2742 16:06:48 Removing intermediate container dc291abc2742 16:06:48 ---> 74cf868df816 16:06:48 [Warning] One or more build-args [ARCH] were not consumed 16:06:48 Successfully built 74cf868df816 16:06:48 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 16:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:06:48 16:06:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:06:49 arm64: Pulling from edgex-lftools-log-publisher 16:06:49 8998bd30e6a1: Pulling fs layer 16:06:49 04944245beec: Pulling fs layer 16:06:49 699f458cf7ca: Pulling fs layer 16:06:49 765212b225bb: Pulling fs layer 16:06:49 f23df028b6ca: Pulling fs layer 16:06:49 d65c8cfc05b1: Pulling fs layer 16:06:49 2437ff75d9bd: Pulling fs layer 16:06:49 765212b225bb: Waiting 16:06:49 f23df028b6ca: Waiting 16:06:49 d65c8cfc05b1: Waiting 16:06:49 2437ff75d9bd: Waiting 16:06:49 04944245beec: Verifying Checksum 16:06:49 04944245beec: Download complete 16:06:49 765212b225bb: Verifying Checksum 16:06:49 765212b225bb: Download complete 16:06:49 f23df028b6ca: Verifying Checksum 16:06:49 f23df028b6ca: Download complete 16:06:49 d65c8cfc05b1: Verifying Checksum 16:06:49 d65c8cfc05b1: Download complete 16:06:49 699f458cf7ca: Verifying Checksum 16:06:49 699f458cf7ca: Download complete 16:06:50 8998bd30e6a1: Download complete 16:06:52 2437ff75d9bd: Verifying Checksum 16:06:52 2437ff75d9bd: Download complete 16:06:54 8998bd30e6a1: Pull complete 16:06:54 04944245beec: Pull complete 16:06:55 699f458cf7ca: Pull complete 16:06:55 765212b225bb: Pull complete 16:06:56 f23df028b6ca: Pull complete 16:06:56 d65c8cfc05b1: Pull complete 16:07:08 2437ff75d9bd: Pull complete 16:07:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:07:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:09 prd-ubuntu20.04-docker-arm64-4c-16g-6713 does not seem to be running inside a container 16:07:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:07:12 $ docker top 1b48cc5d8aa11324ee2e516f5795ed0b5955444a16910a2a5de9e42a5e8a47d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:12 ---> job-cost.sh 16:07:12 lf-activate-venv: SKIPPING 16:07:12 INFO: No Stack... 16:07:13 INFO: Retrieving Pricing Info for: v3-standard-4 16:07:14 INFO: Archiving Costs [Pipeline] sh 16:07:14 + cut -d, -f6 16:07:14 + cat /w/workspace/device-snmp-go/2/archives/cost.csv [Pipeline] lock 16:07:14 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-280-2-stack-cost] 16:07:14 Resource [jenkins-edgexfoundry-device-snmp-go-PR-280-2-stack-cost] did not exist. Created. 16:07:14 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-280-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:15 /w/workspace/device-snmp-go/2@tmp/durable-6f794f8b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:07:16 + echo total: 0.10999999940395355 [Pipeline] stash 16:07:16 Warning: overwriting stash ‘stack-cost’ 16:07:16 Stashed 1 file(s) [Pipeline] } 16:07:16 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-280-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:16 $ docker stop --time=1 1b48cc5d8aa11324ee2e516f5795ed0b5955444a16910a2a5de9e42a5e8a47d0 16:07:17 $ docker rm -f --volumes 1b48cc5d8aa11324ee2e516f5795ed0b5955444a16910a2a5de9e42a5e8a47d0 [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 16:07:18 provisioning config files... 16:07:18 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp/config16679060626577383805tmp [Pipeline] { [Pipeline] sh 16:07:18 + set +x 16:07:18 + + bash -s -- 16:07:18 curl -s https://codecov.io/bash 16:07:18 16:07:18 _____ _ 16:07:18 / ____| | | 16:07:18 | | ___ __| | ___ ___ _____ __ 16:07:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:07:18 | |___| (_) | (_| | __/ (_| (_) \ V / 16:07:18 \_____\___/ \__,_|\___|\___\___/ \_/ 16:07:18 Bash-1.0.6 16:07:18 16:07:18 16:07:18 ==> git version 2.25.1 found 16:07:18 ==> 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 16:07:18 Release-Date: 2020-01-08 16:07:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:07:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:07:18 ==> Jenkins CI detected. 16:07:18 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-280 16:07:18 project root: . 16:07:18 --> token set from env 16:07:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:07:18 ==> Running gcov in . (disable via -X gcov) 16:07:18 ==> Python coveragepy not found 16:07:18 ==> Searching for coverage reports in: 16:07:18 + . 16:07:18 -> Found 1 reports 16:07:18 ==> Detecting git/mercurial file structure 16:07:18 ==> Reading reports 16:07:18 + ./coverage.out bytes=7630 16:07:18 ==> Appending adjustments 16:07:18 https://docs.codecov.io/docs/fixing-reports 16:07:18 + Found adjustments 16:07:18 ==> Gzipping contents 16:07:18 4.0K /tmp/codecov.IfPSpV.gz 16:07:18 ==> Uploading reports 16:07:18 url: https://codecov.io 16:07:18 query: branch=PR-280&commit=840690d016aab0d17a5e89aeb54858e5a47d60fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-280%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=280&job=&cmd_args= 16:07:18 -> Pinging Codecov 16:07:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-280&commit=840690d016aab0d17a5e89aeb54858e5a47d60fc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-280%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=280&job=&cmd_args= 16:07:18 -> Uploading to 16:07:18 https://storage.googleapis.com/codecov/v4/raw/2023-04-03/6C56EA5C29638FB4528AC87E60AF5AE0/840690d016aab0d17a5e89aeb54858e5a47d60fc/de6938d6-6c24-4842-837d-d782e3ca91b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230403%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230403T160718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a593f5ce7326901dc951c8123c9f068e27dffa8d4e8045c28d8fed081e601718 16:07:19 % Total % Received % Xferd Average Speed Time Time Time Current 16:07:19 Dload Upload Total Spent Left Speed 16:07:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1439 0 0 100 1439 0 5409 --:--:-- --:--:-- --:--:-- 5409 16:07:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/840690d016aab0d17a5e89aeb54858e5a47d60fc [Pipeline] } 16:07:19 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 16:07:20 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-280/archives ] 16:07:20 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-280/archives 16:07:20 total 16 16:07:20 drwxr-xr-x 3 root root 4096 Apr 3 15:57 . 16:07:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 3 15:57 .. 16:07:20 drwxr-xr-x 2 root root 4096 Apr 3 15:57 cost 16:07:20 -rw-r--r-- 1 root root 86 Apr 3 15:57 cost.csv 16:07:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-280/archives 16:07:20 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-280/archives 16:07:20 total 16 16:07:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 3 15:57 . 16:07:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 3 15:57 .. 16:07:20 drwxr-xr-x 2 jenkins jenkins 4096 Apr 3 15:57 cost 16:07:20 -rw-r--r-- 1 jenkins jenkins 86 Apr 3 15:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:07:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:07:21 ---> package-listing.sh 16:07:21 ++ facter osfamily 16:07:21 ++ tr '[:upper:]' '[:lower:]' 16:07:21 + OS_FAMILY=debian 16:07:21 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-280 16:07:21 + START_PACKAGES=/tmp/packages_start.txt 16:07:21 + END_PACKAGES=/tmp/packages_end.txt 16:07:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:07:21 + PACKAGES=/tmp/packages_start.txt 16:07:21 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-280 ']' 16:07:21 + PACKAGES=/tmp/packages_end.txt 16:07:21 + case "${OS_FAMILY}" in 16:07:21 + dpkg -l 16:07:21 + grep '^ii' 16:07:21 + '[' -f /tmp/packages_start.txt ']' 16:07:21 + '[' -f /tmp/packages_end.txt ']' 16:07:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:07:21 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-280 ']' 16:07:21 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-280/archives/ 16:07:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-280/archives/ [Pipeline] echo 16:07:21 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-280/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:07:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:22 prd-ubuntu20.04-docker-8c-8g-6706 does not seem to be running inside a container 16:07:22 $ 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-280/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-280 -v /w/workspace/gexfoundry_device-snmp-go_PR-280:/w/workspace/gexfoundry_device-snmp-go_PR-280:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-280@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:07:22 $ docker top dd0664ec594a36ec3072779253a5b32b73f4c744faae858228523b704995a53a -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:22 + touch /tmp/pre-build-complete [Pipeline] sh 16:07:23 + mkdir -p /var/log/sysstat [Pipeline] sh 16:07:23 + ls /var/log/sa-host 16:07:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:07:23 provisioning config files... 16:07:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-280@tmp/config5299166795843377546tmp [Pipeline] { [Pipeline] echo 16:07:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:07:23 ---> create-netrc.sh [Pipeline] } 16:07:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:07:24 ---> python-tools-install.sh [Pipeline] echo 16:07:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:07:24 ---> sudo-logs.sh 16:07:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:07:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:07:24 ---> job-cost.sh 16:07:24 lf-activate-venv: SKIPPING 16:07:24 DEBUG: total: 0.2199999988079071 16:07:24 INFO: Retrieving Stack Cost... 16:07:25 INFO: Retrieving Pricing Info for: v3-standard-8 16:07:25 INFO: Archiving Costs [Pipeline] echo 16:07:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:07:25 ---> logs-deploy.sh 16:07:25 lf-activate-venv: SKIPPING 16:07:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-280/2 16:07:25 INFO: archiving workspace using pattern(s): 16:07:26 Archives upload complete. 16:07:26 INFO: archiving logs to Nexus