Pull request #296 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0117698b706bca0d51c0ec45d5e82f8ee4add040+4540667df76160ba2257f08fa194345a2d771c5a (8846ed941fed39c616f5fc165ee8c676413e9773) 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-ssh11952150203278719287.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh17956131645184986251.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-296/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-296/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3614354122578172480.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-296/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10931147347654199304.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10690452481057299426.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-296/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-296/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15367629484186318662.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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 ‘prd-ubuntu20.04-docker-8c-8g-10936’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10942 in /w/workspace/gexfoundry_device-snmp-go_PR-296 [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-296 # 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 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 0117698b706bca0d51c0ec45d5e82f8ee4add040 > 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/296/head:refs/remotes/origin/PR-296 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 0117698b706bca0d51c0ec45d5e82f8ee4add040 Checking out Revision 0117698b706bca0d51c0ec45d5e82f8ee4add040 (PR-296) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git checkout -f 0117698b706bca0d51c0ec45d5e82f8ee4add040 # 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 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0117698b706bca0d51c0ec45d5e82f8ee4add040 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:51 ========================================================= 05:59:51 EdgeX Global Pipelines Version Info 05:59:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:59:52 ------------------- 05:59:52 stable info: 05:59:52 ------------------- 05:59:52 Commited By: Bill Mahoney bill.mahoney@intel.com 05:59:52 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:59:52 Message: update stable to v1.0.248 05:59:52 ------------------- 05:59:52 experimental info: 05:59:52 ------------------- 05:59:52 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:52 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:59:52 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-296 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-296 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-296 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0117698b706bca0d51c0ec45d5e82f8ee4add040 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0117698 [Pipeline] echo 05:59:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:54 provisioning config files... 05:59:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-296@tmp/config2896853617413150383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:54 ---> docker-login.sh 05:59:54 nexus3.edgexfoundry.org:10001 05:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:55 Configure a credential helper to remove this warning. See 05:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:55 05:59:55 Login Succeeded 05:59:55 nexus3.edgexfoundry.org:10002 05:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:55 Configure a credential helper to remove this warning. See 05:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:55 05:59:55 Login Succeeded 05:59:55 nexus3.edgexfoundry.org:10003 05:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:55 Configure a credential helper to remove this warning. See 05:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:55 05:59:55 Login Succeeded 05:59:55 nexus3.edgexfoundry.org:10004 05:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:55 Configure a credential helper to remove this warning. See 05:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:55 05:59:55 Login Succeeded 05:59:55 docker.io 05:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:55 Configure a credential helper to remove this warning. See 05:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:55 05:59:55 Login Succeeded 05:59:55 ---> docker-login.sh ends [Pipeline] } 05:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:56 + git rev-list -1 --merges 0117698b706bca0d51c0ec45d5e82f8ee4add040~1..0117698b706bca0d51c0ec45d5e82f8ee4add040 [Pipeline] echo 05:59:56 -----------> git rev-list -1 --merges 0117698b706bca0d51c0ec45d5e82f8ee4add040~1..0117698b706bca0d51c0ec45d5e82f8ee4add040 0117698b706bca0d51c0ec45d5e82f8ee4add040 [false] [Pipeline] sh 05:59:56 + git log --format=format:%s -1 0117698b706bca0d51c0ec45d5e82f8ee4add040 [Pipeline] echo 05:59:56 ========================================================= 05:59:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:57 + git log --format=format:%s -1 0117698b706bca0d51c0ec45d5e82f8ee4add040 [Pipeline] echo 05:59:57 [semverPrep] GIT_COMMIT: 0117698b706bca0d51c0ec45d5e82f8ee4add040, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 05:59:57 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:57 + grep -v github /etc/ssh/ssh_known_hosts 05:59:57 + [ -e /tmp/ssh_known_hosts ] 05:59:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:57 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:58 05:59:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:58 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:58 b85a868b505f: Pulling fs layer 05:59:58 e2be974225ed: Pulling fs layer 05:59:58 339a4e72a1f5: Pulling fs layer 05:59:58 988bab9f4d93: Pulling fs layer 05:59:58 1469e6f7b9e6: Pulling fs layer 05:59:58 eaf3925da568: Pulling fs layer 05:59:58 bab4dde63d76: Pulling fs layer 05:59:58 bde34c3a00c8: Pulling fs layer 05:59:58 b352a97aabf1: Pulling fs layer 05:59:58 4872d77fe225: Pulling fs layer 05:59:58 5851b861e8e6: Pulling fs layer 05:59:58 bde34c3a00c8: Waiting 05:59:58 b352a97aabf1: Waiting 05:59:58 1469e6f7b9e6: Waiting 05:59:58 eaf3925da568: Waiting 05:59:58 4872d77fe225: Waiting 05:59:58 bab4dde63d76: Waiting 05:59:58 5851b861e8e6: Waiting 05:59:58 339a4e72a1f5: Verifying Checksum 05:59:58 339a4e72a1f5: Download complete 05:59:58 e2be974225ed: Verifying Checksum 05:59:58 e2be974225ed: Download complete 05:59:58 988bab9f4d93: Verifying Checksum 05:59:58 988bab9f4d93: Download complete 05:59:58 eaf3925da568: Verifying Checksum 05:59:58 eaf3925da568: Download complete 05:59:58 1469e6f7b9e6: Download complete 05:59:58 bde34c3a00c8: Verifying Checksum 05:59:58 bde34c3a00c8: Download complete 05:59:58 b352a97aabf1: Download complete 05:59:58 4872d77fe225: Verifying Checksum 05:59:58 4872d77fe225: Download complete 05:59:58 5851b861e8e6: Verifying Checksum 05:59:58 5851b861e8e6: Download complete 05:59:58 b85a868b505f: Verifying Checksum 05:59:58 b85a868b505f: Download complete 05:59:59 bab4dde63d76: Verifying Checksum 05:59:59 bab4dde63d76: Download complete 06:00:00 b85a868b505f: Pull complete 06:00:00 e2be974225ed: Pull complete 06:00:00 339a4e72a1f5: Pull complete 06:00:00 988bab9f4d93: Pull complete 06:00:00 1469e6f7b9e6: Pull complete 06:00:00 eaf3925da568: Pull complete 06:00:02 bab4dde63d76: Pull complete 06:00:02 bde34c3a00c8: Pull complete 06:00:02 b352a97aabf1: Pull complete 06:00:02 4872d77fe225: Pull complete 06:00:02 5851b861e8e6: Pull complete 06:00:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:03 prd-ubuntu20.04-docker-8c-8g-10942 does not seem to be running inside a container 06:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-296 -v /w/workspace/gexfoundry_device-snmp-go_PR-296:/w/workspace/gexfoundry_device-snmp-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-296@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:00:04 $ docker top a0253961fc732e9aa80457feae4633f7caea1649cd48eea8442efe172d195640 -eo pid,comm 06:00:04 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). 06:00:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:04 [ssh-agent] Looking for ssh-agent implementation... 06:00:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:05 $ docker exec a0253961fc732e9aa80457feae4633f7caea1649cd48eea8442efe172d195640 ssh-agent 06:00:05 SSH_AUTH_SOCK=/tmp/ssh-Vxvmz2rDYVgo/agent.32 06:00:05 SSH_AGENT_PID=38 06:00:05 Running ssh-add (command line suppressed) 06:00:05 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-296@tmp/private_key_4920383908896422748.key (/w/workspace/gexfoundry_device-snmp-go_PR-296@tmp/private_key_4920383908896422748.key) 06:00:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:05 + git tag --points-at HEAD [Pipeline] } 06:00:05 $ docker exec --env ******** --env ******** a0253961fc732e9aa80457feae4633f7caea1649cd48eea8442efe172d195640 ssh-agent -k 06:00:05 unset SSH_AUTH_SOCK; 06:00:05 unset SSH_AGENT_PID; 06:00:05 echo Agent pid 38 killed; 06:00:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:05 [ssh-agent] Looking for ssh-agent implementation... 06:00:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:05 $ docker exec a0253961fc732e9aa80457feae4633f7caea1649cd48eea8442efe172d195640 ssh-agent 06:00:06 SSH_AUTH_SOCK=/tmp/ssh-zbuNp1tSh8g5/agent.70 06:00:06 SSH_AGENT_PID=76 06:00:06 Running ssh-add (command line suppressed) 06:00:06 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-296@tmp/private_key_14171810123708165168.key (/w/workspace/gexfoundry_device-snmp-go_PR-296@tmp/private_key_14171810123708165168.key) 06:00:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:06 + git semver init 06:00:06 2023-04-26 06:00:06,624 [run_init] DEBUG init version:0.0.0 force:False 06:00:06 2023-04-26 06:00:06,625 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-296/.semver 06:00:06 2023-04-26 06:00:06,625 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-296/.semver 06:00:06 2023-04-26 06:00:06,625 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-296/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-296, universal_newlines=False, shell=None, istream=None) 06:00:07 2023-04-26 06:00:07,371 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-296/.git/info/exclude 06:00:07 2023-04-26 06:00:07,371 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-296/.semver/PR-296 with force:False 06:00:07 2023-04-26 06:00:07,371 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-296/.semver/PR-296 06:00:07 2023-04-26 06:00:07,375 [execute] INFO git cat-file --batch-check 06:00:07 2023-04-26 06:00:07,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-296/.semver, universal_newlines=False, shell=None, istream=) 06:00:07 2023-04-26 06:00:07,381 [execute] INFO git cat-file --batch 06:00:07 2023-04-26 06:00:07,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-296/.semver, universal_newlines=False, shell=None, istream=) 06:00:07 2023-04-26 06:00:07,385 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-296/.semver/PR-296 06:00:07 0.0.0 [Pipeline] } 06:00:07 $ docker exec --env ******** --env ******** a0253961fc732e9aa80457feae4633f7caea1649cd48eea8442efe172d195640 ssh-agent -k 06:00:07 unset SSH_AUTH_SOCK; 06:00:07 unset SSH_AGENT_PID; 06:00:07 echo Agent pid 76 killed; 06:00:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:09 + git semver [Pipeline] } 06:00:09 $ docker stop --time=1 a0253961fc732e9aa80457feae4633f7caea1649cd48eea8442efe172d195640 06:00:12 $ docker rm -f --volumes a0253961fc732e9aa80457feae4633f7caea1649cd48eea8442efe172d195640 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:13 Stashed 1 file(s) [Pipeline] echo 06:00:13 [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 06:00:14 provisioning config files... 06:00:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-296@tmp/config11232828420826336090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:15 ---> docker-login.sh 06:00:15 nexus3.edgexfoundry.org:10001 06:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:15 Configure a credential helper to remove this warning. See 06:00:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:15 06:00:15 Login Succeeded 06:00:15 nexus3.edgexfoundry.org:10002 06:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:15 Configure a credential helper to remove this warning. See 06:00:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:15 06:00:15 Login Succeeded 06:00:15 nexus3.edgexfoundry.org:10003 06:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:16 Configure a credential helper to remove this warning. See 06:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:16 06:00:16 Login Succeeded 06:00:16 nexus3.edgexfoundry.org:10004 06:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:16 Configure a credential helper to remove this warning. See 06:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:16 06:00:16 Login Succeeded 06:00:16 docker.io 06:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:16 Configure a credential helper to remove this warning. See 06:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:16 06:00:16 Login Succeeded 06:00:16 ---> docker-login.sh ends [Pipeline] } 06:00:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:17 ========================================================= 06:00:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:00:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:17 + 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 . 06:00:17 Sending build context to Docker daemon 5.81MB 06:00:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:00:17 Step 2/12 : FROM ${BASE} AS builder 06:00:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:18 f56be85fc22e: Pulling fs layer 06:00:18 85791d961cd3: Pulling fs layer 06:00:18 d694b5ae8c79: Pulling fs layer 06:00:18 9f32a84ed3da: Pulling fs layer 06:00:18 4d19c01a9841: Pulling fs layer 06:00:18 9325e15d5711: Pulling fs layer 06:00:18 556b6ee489ea: Pulling fs layer 06:00:18 c5a4b2cf53e6: Pulling fs layer 06:00:18 556b6ee489ea: Waiting 06:00:18 9325e15d5711: Waiting 06:00:18 c5a4b2cf53e6: Waiting 06:00:18 9f32a84ed3da: Waiting 06:00:18 4d19c01a9841: Waiting 06:00:18 85791d961cd3: Verifying Checksum 06:00:18 85791d961cd3: Download complete 06:00:18 9f32a84ed3da: Verifying Checksum 06:00:18 9f32a84ed3da: Download complete 06:00:18 4d19c01a9841: Verifying Checksum 06:00:18 4d19c01a9841: Download complete 06:00:18 f56be85fc22e: Verifying Checksum 06:00:18 f56be85fc22e: Download complete 06:00:18 9325e15d5711: Verifying Checksum 06:00:18 9325e15d5711: Download complete 06:00:18 f56be85fc22e: Pull complete 06:00:19 85791d961cd3: Pull complete 06:00:19 c5a4b2cf53e6: Verifying Checksum 06:00:19 c5a4b2cf53e6: Download complete 06:00:19 d694b5ae8c79: Verifying Checksum 06:00:19 d694b5ae8c79: Download complete 06:00:19 556b6ee489ea: Verifying Checksum 06:00:19 556b6ee489ea: Download complete 06:00:22 d694b5ae8c79: Pull complete 06:00:22 9f32a84ed3da: Pull complete 06:00:22 4d19c01a9841: Pull complete 06:00:22 9325e15d5711: Pull complete 06:00:25 556b6ee489ea: Pull complete 06:00:25 c5a4b2cf53e6: Pull complete 06:00:25 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:00:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:00:25 ---> c4be618373d6 06:00:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:00:27 ---> Running in 3aa89d3481af 06:00:27 Removing intermediate container 3aa89d3481af 06:00:27 ---> e076d95cc02b 06:00:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:27 ---> Running in 8c9a57efac3c 06:00:27 Removing intermediate container 8c9a57efac3c 06:00:27 ---> ca7c2e578e67 06:00:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:00:27 ---> Running in f1fb5888d8e1 06:00:27 Removing intermediate container f1fb5888d8e1 06:00:27 ---> 62f651abfe98 06:00:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:00:27 ---> Running in 91dd2e2e40de 06:00:27 Removing intermediate container 91dd2e2e40de 06:00:27 ---> fb4e5951f553 06:00:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:00:27 ---> Running in 492455ff0973 06:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:00:28 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:00:28 (2/4) Installing libedit (20221030.3.1-r0) 06:00:28 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:00:28 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:00:28 Executing busybox-1.35.0-r29.trigger 06:00:28 OK: 269 MiB in 57 packages 06:00:28 Still waiting to schedule task 06:00:28 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10940’ 06:00:29 Removing intermediate container 492455ff0973 06:00:29 ---> d5ce8d44c34f 06:00:29 Step 8/12 : WORKDIR /device-snmp-go 06:00:29 ---> Running in d87a1682eb2f 06:00:29 Removing intermediate container d87a1682eb2f 06:00:29 ---> c11a15088a54 06:00:29 Step 9/12 : COPY go.mod vendor* ./ 06:00:29 ---> 6bbc2d44e95e 06:00:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:29 ---> Running in 7891cbda7f08 06:00:47 Removing intermediate container 7891cbda7f08 06:00:47 ---> 991891eefd30 06:00:47 Step 11/12 : COPY . . 06:00:47 ---> 641636faece2 06:00:47 Step 12/12 : RUN ${MAKE} 06:00:47 ---> Running in 2c300c78d118 06:00:48 noop 06:00:48 Removing intermediate container 2c300c78d118 06:00:48 ---> f884cb9ddf3a 06:00:48 Successfully built f884cb9ddf3a 06:00:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:48 + docker inspect -f . ci-base-image-x86_64 06:00:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:49 prd-ubuntu20.04-docker-8c-8g-10942 does not seem to be running inside a container 06:00:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-296 -v /w/workspace/gexfoundry_device-snmp-go_PR-296:/w/workspace/gexfoundry_device-snmp-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-296@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-296@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 ******** ci-base-image-x86_64 cat 06:00:49 $ docker top 5765d8a1c471ec0dfd773973c4a687bba204793a161376bcb8beb1c71743a846 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:49 + go version 06:00:49 go version go1.20.2 linux/amd64 [Pipeline] } 06:00:49 $ docker stop --time=1 5765d8a1c471ec0dfd773973c4a687bba204793a161376bcb8beb1c71743a846 06:00:51 $ docker rm -f --volumes 5765d8a1c471ec0dfd773973c4a687bba204793a161376bcb8beb1c71743a846 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:51 + docker inspect -f . ci-base-image-x86_64 06:00:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:52 prd-ubuntu20.04-docker-8c-8g-10942 does not seem to be running inside a container 06:00:52 $ 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-296 -v /w/workspace/gexfoundry_device-snmp-go_PR-296:/w/workspace/gexfoundry_device-snmp-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-296@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-296@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 ******** ci-base-image-x86_64 cat 06:00:52 $ docker top bfc8cd852db63ebc014eaed04e6609619f2024d9beb36fc0f70c1e0629cd5271 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-296 [Pipeline] fileExists [Pipeline] sh 06:00:53 + make test 06:00:53 go test ./... -coverprofile=coverage.out 06:00:57 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:01:07 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:01:07 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 06:01:12 go vet ./... 06:01:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:16 ./bin/test-attribution-txt.sh [Pipeline] echo 06:01:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:16 $ docker stop --time=1 bfc8cd852db63ebc014eaed04e6609619f2024d9beb36fc0f70c1e0629cd5271 06:01:18 $ docker rm -f --volumes bfc8cd852db63ebc014eaed04e6609619f2024d9beb36fc0f70c1e0629cd5271 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:19 + ls -al . 06:01:19 total 172 06:01:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 06:00 . 06:01:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:59 .. 06:01:19 -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 05:59 .dockerignore 06:01:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 06:00 .git 06:01:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 05:59 .github 06:01:19 -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 05:59 .gitignore 06:01:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 05:59 .golangci.yml 06:01:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 06:00 .semver 06:01:19 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 26 05:59 Attribution.txt 06:01:19 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 26 05:59 CHANGELOG.md 06:01:19 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 26 05:59 Dockerfile 06:01:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 05:59 GOVERNANCE.md 06:01:19 -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 05:59 Jenkinsfile 06:01:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 05:59 LICENSE 06:01:19 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 26 05:59 Makefile 06:01:19 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 05:59 OWNERS.md 06:01:19 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 26 05:59 README.md 06:01:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 06:00 VERSION 06:01:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 05:59 bin 06:01:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 05:59 cmd 06:01:19 -rw-r--r-- 1 jenkins jenkins 8837 Apr 26 06:01 coverage.out 06:01:19 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 26 05:59 go.mod 06:01:19 -rw-rw-r-- 1 jenkins jenkins 31441 Apr 26 05:59 go.sum 06:01:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 05:59 internal 06:01:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 05:59 snap 06:01:19 -rw-rw-r-- 1 jenkins jenkins 228 Apr 26 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:20 + 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=0117698b706bca0d51c0ec45d5e82f8ee4add040 --label arch=amd64 --label version=0.0.0 . 06:01:20 Sending build context to Docker daemon 5.82MB 06:01:20 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:01:20 Step 2/24 : FROM ${BASE} AS builder 06:01:20 ---> f884cb9ddf3a 06:01:20 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:01:20 ---> Running in fe262f0efc82 06:01:20 Removing intermediate container fe262f0efc82 06:01:20 ---> 98f1537b87fe 06:01:20 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:20 ---> Running in 2f0cc16fc1c5 06:01:20 Removing intermediate container 2f0cc16fc1c5 06:01:20 ---> da8f54256cd5 06:01:20 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:01:20 ---> Running in 5f19369ace3e 06:01:20 Removing intermediate container 5f19369ace3e 06:01:20 ---> 7b079d4816f7 06:01:20 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:01:20 ---> Running in b9d6a2a71e26 06:01:21 Removing intermediate container b9d6a2a71e26 06:01:21 ---> fafbfc77d107 06:01:21 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:01:21 ---> Running in 9986e961eac3 06:01:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:21 OK: 269 MiB in 57 packages 06:01:22 Removing intermediate container 9986e961eac3 06:01:22 ---> c8ca72c4aee5 06:01:22 Step 8/24 : WORKDIR /device-snmp-go 06:01:22 ---> Running in 797f593a20b4 06:01:22 Removing intermediate container 797f593a20b4 06:01:22 ---> 8580dd7ecd79 06:01:22 Step 9/24 : COPY go.mod vendor* ./ 06:01:22 ---> 6fb4ebf333fd 06:01:22 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:22 ---> Running in 26b829337833 06:01:23 Removing intermediate container 26b829337833 06:01:23 ---> 4a62e3273a1a 06:01:23 Step 11/24 : COPY . . 06:01:23 ---> 6d547da48358 06:01:23 Step 12/24 : RUN ${MAKE} 06:01:23 ---> Running in c2e24c5a41d1 06:01:24 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 06:01:42 Removing intermediate container c2e24c5a41d1 06:01:42 ---> 663d1471ce24 06:01:42 Step 13/24 : FROM alpine:3.17 06:01:42 3.17: Pulling from library/alpine 06:01:42 f56be85fc22e: Already exists 06:01:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:01:42 Status: Downloaded newer image for alpine:3.17 06:01:42 ---> 9ed4aefc74f6 06:01:42 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:01:42 ---> Running in ce083d816a4b 06:01:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:42 (1/1) Installing dumb-init (1.2.5-r2) 06:01:42 Executing busybox-1.35.0-r29.trigger 06:01:42 OK: 7 MiB in 16 packages 06:01:42 Removing intermediate container ce083d816a4b 06:01:42 ---> 9b122041ef30 06:01:42 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:01:42 ---> c7b0f82cc000 06:01:42 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:01:42 ---> 3741f9f47af1 06:01:42 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:01:42 ---> e26d13846860 06:01:42 Step 18/24 : EXPOSE 59993 06:01:42 ---> Running in 40607b7e78c1 06:01:42 Removing intermediate container 40607b7e78c1 06:01:42 ---> fb4354987d13 06:01:42 Step 19/24 : EXPOSE 161 06:01:42 ---> Running in 7ff83c06d90b 06:01:42 Removing intermediate container 7ff83c06d90b 06:01:42 ---> f54c873efb53 06:01:42 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:01:42 ---> Running in fec4050060a8 06:01:42 Removing intermediate container fec4050060a8 06:01:42 ---> d66daff13a10 06:01:42 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:01:42 ---> Running in 8e8ba6b1b136 06:01:42 Removing intermediate container 8e8ba6b1b136 06:01:42 ---> 389cb8e17da7 06:01:42 Step 22/24 : LABEL arch=amd64 06:01:42 ---> Running in 983b275d7525 06:01:42 Removing intermediate container 983b275d7525 06:01:42 ---> 461136eb8b75 06:01:42 Step 23/24 : LABEL git_sha=0117698b706bca0d51c0ec45d5e82f8ee4add040 06:01:42 ---> Running in 0a0d9bc2f2dc 06:01:42 Removing intermediate container 0a0d9bc2f2dc 06:01:42 ---> 607993f6f77b 06:01:42 Step 24/24 : LABEL version=0.0.0 06:01:43 ---> Running in d9f4b4123095 06:01:43 Removing intermediate container d9f4b4123095 06:01:43 ---> e8f5971d582a 06:01:43 [Warning] One or more build-args [ARCH] were not consumed 06:01:43 Successfully built e8f5971d582a 06:01:43 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 06:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:43 06:01:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:44 latest: Pulling from edgex-lftools-log-publisher 06:01:44 5eb5b503b376: Pulling fs layer 06:01:44 5c69ac0246d0: Pulling fs layer 06:01:44 ec43610c2a17: Pulling fs layer 06:01:44 3a2ae6a8a46f: Pulling fs layer 06:01:44 33b1e0a273af: Pulling fs layer 06:01:44 5d3b04190fa2: Pulling fs layer 06:01:44 3a2ae6a8a46f: Waiting 06:01:44 33b1e0a273af: Waiting 06:01:44 2f39f015ded8: Pulling fs layer 06:01:44 5d3b04190fa2: Waiting 06:01:44 2f39f015ded8: Waiting 06:01:44 5c69ac0246d0: Verifying Checksum 06:01:44 5c69ac0246d0: Download complete 06:01:44 3a2ae6a8a46f: Verifying Checksum 06:01:44 3a2ae6a8a46f: Download complete 06:01:44 ec43610c2a17: Download complete 06:01:44 33b1e0a273af: Verifying Checksum 06:01:44 33b1e0a273af: Download complete 06:01:44 5d3b04190fa2: Verifying Checksum 06:01:44 5d3b04190fa2: Download complete 06:01:44 5eb5b503b376: Verifying Checksum 06:01:44 5eb5b503b376: Download complete 06:01:45 2f39f015ded8: Download complete 06:01:45 5eb5b503b376: Pull complete 06:01:45 5c69ac0246d0: Pull complete 06:01:45 ec43610c2a17: Pull complete 06:01:46 3a2ae6a8a46f: Pull complete 06:01:46 33b1e0a273af: Pull complete 06:01:46 5d3b04190fa2: Pull complete 06:01:50 2f39f015ded8: Pull complete 06:01:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:50 prd-ubuntu20.04-docker-8c-8g-10942 does not seem to be running inside a container 06:01:50 $ 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-296 -v /w/workspace/gexfoundry_device-snmp-go_PR-296:/w/workspace/gexfoundry_device-snmp-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-296@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:01:52 $ docker top 89b7332f17d93a49d03f69da523e6041b448e8d840522669e8d9f2e343256c19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:53 ---> job-cost.sh 06:01:53 lf-activate-venv: SKIPPING 06:01:53 INFO: No Stack... 06:01:53 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:53 INFO: Archiving Costs [Pipeline] sh 06:01:54 + cat /w/workspace/gexfoundry_device-snmp-go_PR-296/archives/cost.csv 06:01:54 + cut -d, -f6 [Pipeline] lock 06:01:54 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-296-1-stack-cost] 06:01:54 Resource [jenkins-edgexfoundry-device-snmp-go-PR-296-1-stack-cost] did not exist. Created. 06:01:54 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-296-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:54 + echo total: 0.2199999988079071 [Pipeline] stash 06:01:54 Stashed 1 file(s) [Pipeline] } 06:01:54 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-296-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:01:54 $ docker stop --time=1 89b7332f17d93a49d03f69da523e6041b448e8d840522669e8d9f2e343256c19 06:01:56 $ docker rm -f --volumes 89b7332f17d93a49d03f69da523e6041b448e8d840522669e8d9f2e343256c19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10946 in /w/workspace/gexfoundry_device-snmp-go_PR-296 [Pipeline] { [Pipeline] ws 06:03:25 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:03:25 Selected Git installation does not exist. Using Default 06:03:25 The recommended git tool is: NONE 06:03:31 using credential edgex-jenkins-ssh 06:03:32 Cloning the remote Git repository 06:03:32 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:03:32 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:03:32 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:03:32 > git --version # timeout=10 06:03:32 > git --version # 'git version 2.25.1' 06:03:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:33 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:03:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:35 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:03:35 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:03:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:03:35 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit 0117698b706bca0d51c0ec45d5e82f8ee4add040 06:03:35 Merge succeeded, producing 0117698b706bca0d51c0ec45d5e82f8ee4add040 06:03:35 Checking out Revision 0117698b706bca0d51c0ec45d5e82f8ee4add040 (PR-296) 06:03:36 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 06:03:36 > git --version # timeout=10 06:03:36 > git --version # 'git version 2.25.1' 06:03:36 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:03:35 > git config core.sparsecheckout # timeout=10 06:03:35 > git checkout -f 0117698b706bca0d51c0ec45d5e82f8ee4add040 # timeout=10 06:03:35 > git remote # timeout=10 06:03:35 > git config --get remote.origin.url # timeout=10 06:03:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:35 > git merge 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 06:03:35 > git rev-parse HEAD^{commit} # timeout=10 06:03:35 > git config core.sparsecheckout # timeout=10 06:03:35 > git checkout -f 0117698b706bca0d51c0ec45d5e82f8ee4add040 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:03:37 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:37 Dload Upload Total Spent Left Speed 06:03:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 06:03:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:03:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:03:38 + sudo tee /etc/docker/daemon.new 06:03:38 { 06:03:38 "registry-mirrors": [ 06:03:38 "https://nexus3.edgexfoundry.org:10001" 06:03:38 ], 06:03:38 "bip": "10.250.0.254/24", 06:03:38 "hosts": [ 06:03:38 "tcp://0.0.0.0:5555", 06:03:38 "unix:///var/run/docker.sock" 06:03:38 ], 06:03:38 "mtu": 1458, 06:03:38 "selinux-enabled": true, 06:03:38 "seccomp-profile": "/etc/docker/seccomp.json" 06:03:38 } [Pipeline] sh 06:03:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:58 provisioning config files... 06:03:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config15083559824289105226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:58 ---> docker-login.sh 06:03:58 nexus3.edgexfoundry.org:10001 06:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:59 Configure a credential helper to remove this warning. See 06:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:59 06:03:59 Login Succeeded 06:03:59 nexus3.edgexfoundry.org:10002 06:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:59 Configure a credential helper to remove this warning. See 06:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:59 06:03:59 Login Succeeded 06:03:59 nexus3.edgexfoundry.org:10003 06:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:59 Configure a credential helper to remove this warning. See 06:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:59 06:03:59 Login Succeeded 06:03:59 nexus3.edgexfoundry.org:10004 06:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:00 Configure a credential helper to remove this warning. See 06:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:00 06:04:00 Login Succeeded 06:04:00 docker.io 06:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:01 Configure a credential helper to remove this warning. See 06:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:01 06:04:01 Login Succeeded 06:04:01 ---> docker-login.sh ends [Pipeline] } 06:04:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:01 ========================================================= 06:04:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:04:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:02 + 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 . 06:04:02 Sending build context to Docker daemon 3.008MB 06:04:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:04:02 Step 2/12 : FROM ${BASE} AS builder 06:04:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:04:02 c41833b44d91: Pulling fs layer 06:04:02 ed15518f5707: Pulling fs layer 06:04:02 feae8fd75edb: Pulling fs layer 06:04:02 242c74f7c9fa: Pulling fs layer 06:04:02 3cdef696dda3: Pulling fs layer 06:04:02 2ced38df9373: Pulling fs layer 06:04:02 58f1dce35555: Pulling fs layer 06:04:02 3cdef696dda3: Waiting 06:04:02 2ced38df9373: Waiting 06:04:02 58f1dce35555: Waiting 06:04:02 ed15518f5707: Verifying Checksum 06:04:02 ed15518f5707: Download complete 06:04:02 242c74f7c9fa: Verifying Checksum 06:04:02 242c74f7c9fa: Download complete 06:04:02 3cdef696dda3: Verifying Checksum 06:04:02 3cdef696dda3: Download complete 06:04:02 c41833b44d91: Verifying Checksum 06:04:02 c41833b44d91: Download complete 06:04:04 c41833b44d91: Pull complete 06:04:04 58f1dce35555: Verifying Checksum 06:04:04 58f1dce35555: Download complete 06:04:04 ed15518f5707: Pull complete 06:04:05 feae8fd75edb: Verifying Checksum 06:04:05 feae8fd75edb: Download complete 06:04:05 2ced38df9373: Download complete 06:04:18 feae8fd75edb: Pull complete 06:04:18 242c74f7c9fa: Pull complete 06:04:18 3cdef696dda3: Pull complete 06:04:24 2ced38df9373: Pull complete 06:04:27 58f1dce35555: Pull complete 06:04:27 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:04:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:04:27 ---> fadd8f120f05 06:04:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:04:29 ---> Running in 082c0ea4a9da 06:04:29 Removing intermediate container 082c0ea4a9da 06:04:29 ---> 486df498cc63 06:04:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:29 ---> Running in 60c6dd836758 06:04:30 Removing intermediate container 60c6dd836758 06:04:30 ---> f01e3db7f339 06:04:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:04:30 ---> Running in 6dec39055af8 06:04:30 Removing intermediate container 6dec39055af8 06:04:30 ---> b6fe00bc28ea 06:04:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:04:30 ---> Running in dbdbab60906c 06:04:31 Removing intermediate container dbdbab60906c 06:04:31 ---> 6cd0658ef2b1 06:04:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:31 ---> Running in 080c4a7f3014 06:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:04:34 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:04:34 (2/4) Installing libedit (20221030.3.1-r0) 06:04:34 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:04:34 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:04:34 Executing busybox-1.35.0-r29.trigger 06:04:34 OK: 268 MiB in 57 packages 06:04:35 Removing intermediate container 080c4a7f3014 06:04:35 ---> bbb27fd5d41f 06:04:35 Step 8/12 : WORKDIR /device-snmp-go 06:04:35 ---> Running in a1cc12bc6179 06:04:36 Removing intermediate container a1cc12bc6179 06:04:36 ---> 95ade5427108 06:04:36 Step 9/12 : COPY go.mod vendor* ./ 06:04:36 ---> daac0512923e 06:04:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:36 ---> Running in 1bf33256d321 06:05:45 Removing intermediate container 1bf33256d321 06:05:45 ---> 5d587844d240 06:05:45 Step 11/12 : COPY . . 06:05:45 ---> 0baa65e52935 06:05:45 Step 12/12 : RUN ${MAKE} 06:05:45 ---> Running in 45cf2d0339e5 06:05:45 noop 06:05:45 Removing intermediate container 45cf2d0339e5 06:05:45 ---> 489f5ccf5c2f 06:05:45 Successfully built 489f5ccf5c2f 06:05:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:46 + docker inspect -f . ci-base-image-arm64 06:05:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:46 prd-ubuntu20.04-docker-arm64-4c-16g-10946 does not seem to be running inside a container 06:05:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:48 $ docker top 496d2acac912e736669b966cd69531b56997d23bd6429675fc30a94c1943e9dc -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:48 + go version 06:05:48 go version go1.20.2 linux/arm64 [Pipeline] } 06:05:48 $ docker stop --time=1 496d2acac912e736669b966cd69531b56997d23bd6429675fc30a94c1943e9dc 06:05:50 $ docker rm -f --volumes 496d2acac912e736669b966cd69531b56997d23bd6429675fc30a94c1943e9dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:51 + docker inspect -f . ci-base-image-arm64 06:05:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:51 prd-ubuntu20.04-docker-arm64-4c-16g-10946 does not seem to be running inside a container 06:05:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:53 $ docker top c3cedef42ab2032beb1b4a1ea2b8b2430f6d6f54c804ac29e15ca17e9d55aa65 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:54 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:05:54 + make test 06:05:54 go test ./... -coverprofile=coverage.out 06:06:33 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:08:56 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:08:56 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 06:08:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:08:56 go vet ./... 06:09:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:23 ./bin/test-attribution-txt.sh [Pipeline] echo 06:09:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:09:23 $ docker stop --time=1 c3cedef42ab2032beb1b4a1ea2b8b2430f6d6f54c804ac29e15ca17e9d55aa65 06:09:25 $ docker rm -f --volumes c3cedef42ab2032beb1b4a1ea2b8b2430f6d6f54c804ac29e15ca17e9d55aa65 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:26 Warning: overwriting stash ‘coverage-report’ 06:09:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:28 + ls -al . 06:09:28 total 168 06:09:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 06:05 . 06:09:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 06:03 .. 06:09:28 -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 06:03 .dockerignore 06:09:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 06:03 .git 06:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 06:03 .github 06:09:28 -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 06:03 .gitignore 06:09:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 06:03 .golangci.yml 06:09:28 -rw-rw-r-- 1 jenkins jenkins 9056 Apr 26 06:03 Attribution.txt 06:09:28 -rw-rw-r-- 1 jenkins jenkins 8355 Apr 26 06:03 CHANGELOG.md 06:09:28 -rw-rw-r-- 1 jenkins jenkins 1423 Apr 26 06:03 Dockerfile 06:09:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 06:03 GOVERNANCE.md 06:09:28 -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 06:03 Jenkinsfile 06:09:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 06:03 LICENSE 06:09:28 -rw-rw-r-- 1 jenkins jenkins 2114 Apr 26 06:03 Makefile 06:09:28 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 06:03 OWNERS.md 06:09:28 -rw-rw-r-- 1 jenkins jenkins 10054 Apr 26 06:03 README.md 06:09:28 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 06:00 VERSION 06:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 06:03 bin 06:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 06:03 cmd 06:09:28 -rw-r--r-- 1 jenkins jenkins 8837 Apr 26 06:08 coverage.out 06:09:28 -rw-rw-r-- 1 jenkins jenkins 3283 Apr 26 06:03 go.mod 06:09:28 -rw-rw-r-- 1 jenkins jenkins 31441 Apr 26 06:03 go.sum 06:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 06:03 internal 06:09:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 06:03 snap 06:09:28 -rw-rw-r-- 1 jenkins jenkins 228 Apr 26 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:28 + 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=0117698b706bca0d51c0ec45d5e82f8ee4add040 --label arch=arm64 --label version=0.0.0 . 06:09:28 Sending build context to Docker daemon 3.018MB 06:09:28 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:09:28 Step 2/24 : FROM ${BASE} AS builder 06:09:28 ---> 489f5ccf5c2f 06:09:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:09:29 ---> Running in b5edfbbea926 06:09:29 Removing intermediate container b5edfbbea926 06:09:29 ---> 464de22b2353 06:09:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:29 ---> Running in 49e2fb42d5b0 06:09:29 Removing intermediate container 49e2fb42d5b0 06:09:29 ---> 76bcc0836c2f 06:09:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:09:29 ---> Running in 8b3d18f6c2d1 06:09:30 Removing intermediate container 8b3d18f6c2d1 06:09:30 ---> 0067c31c1294 06:09:30 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:09:30 ---> Running in 502c2d3ca7a4 06:09:30 Removing intermediate container 502c2d3ca7a4 06:09:30 ---> 2bfee86b5e1e 06:09:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:09:30 ---> Running in 4fead1f7e165 06:09:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:09:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:09:33 OK: 268 MiB in 57 packages 06:09:34 Removing intermediate container 4fead1f7e165 06:09:34 ---> ffdaf892d83e 06:09:34 Step 8/24 : WORKDIR /device-snmp-go 06:09:34 ---> Running in d899c73fe292 06:09:35 Removing intermediate container d899c73fe292 06:09:35 ---> 9424fec47c9c 06:09:35 Step 9/24 : COPY go.mod vendor* ./ 06:09:36 ---> 4ea72ad219f2 06:09:36 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:36 ---> Running in b9e45e423432 06:09:39 Removing intermediate container b9e45e423432 06:09:39 ---> dfa2473c4441 06:09:39 Step 11/24 : COPY . . 06:09:40 ---> 84e8b4cb1db2 06:09:40 Step 12/24 : RUN ${MAKE} 06:09:40 ---> Running in 537c01092aba 06:09:41 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 06:12:03 Removing intermediate container 537c01092aba 06:12:03 ---> 21747a123548 06:12:03 Step 13/24 : FROM alpine:3.17 06:12:03 3.17: Pulling from library/alpine 06:12:03 c41833b44d91: Already exists 06:12:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:12:03 Status: Downloaded newer image for alpine:3.17 06:12:03 ---> 51e60588ff2c 06:12:03 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:12:03 ---> Running in c0d67cd2f727 06:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:12:05 (1/1) Installing dumb-init (1.2.5-r2) 06:12:05 Executing busybox-1.35.0-r29.trigger 06:12:05 OK: 8 MiB in 16 packages 06:12:06 Removing intermediate container c0d67cd2f727 06:12:06 ---> 5a814aef58f2 06:12:06 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:12:08 ---> 74015e045d03 06:12:08 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:12:08 ---> ae6e9e9214dc 06:12:08 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:12:09 ---> 07bd90d86043 06:12:09 Step 18/24 : EXPOSE 59993 06:12:09 ---> Running in 63c60f22447a 06:12:09 Removing intermediate container 63c60f22447a 06:12:09 ---> 6f0fb083d33c 06:12:09 Step 19/24 : EXPOSE 161 06:12:09 ---> Running in 02ceaed8f1d2 06:12:09 Removing intermediate container 02ceaed8f1d2 06:12:09 ---> 67adf7b325c6 06:12:09 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:12:10 ---> Running in 2993061bbb61 06:12:10 Removing intermediate container 2993061bbb61 06:12:10 ---> 150f47ab5a82 06:12:10 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:12:10 ---> Running in 386f0ff17627 06:12:10 Removing intermediate container 386f0ff17627 06:12:10 ---> d028a8656167 06:12:10 Step 22/24 : LABEL arch=arm64 06:12:10 ---> Running in d718941bed3b 06:12:11 Removing intermediate container d718941bed3b 06:12:11 ---> 028ded624de8 06:12:11 Step 23/24 : LABEL git_sha=0117698b706bca0d51c0ec45d5e82f8ee4add040 06:12:11 ---> Running in d730879429da 06:12:11 Removing intermediate container d730879429da 06:12:11 ---> 7435c2ded120 06:12:11 Step 24/24 : LABEL version=0.0.0 06:12:11 ---> Running in 9c7dfdb58fde 06:12:11 Removing intermediate container 9c7dfdb58fde 06:12:11 ---> 790ccf4b79c8 06:12:11 [Warning] One or more build-args [ARCH] were not consumed 06:12:11 Successfully built 790ccf4b79c8 06:12:11 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 06:12:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:12 06:12:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:13 arm64: Pulling from edgex-lftools-log-publisher 06:12:13 8998bd30e6a1: Pulling fs layer 06:12:13 04944245beec: Pulling fs layer 06:12:13 699f458cf7ca: Pulling fs layer 06:12:13 765212b225bb: Pulling fs layer 06:12:13 f23df028b6ca: Pulling fs layer 06:12:13 d65c8cfc05b1: Pulling fs layer 06:12:13 2437ff75d9bd: Pulling fs layer 06:12:13 f23df028b6ca: Waiting 06:12:13 2437ff75d9bd: Waiting 06:12:13 d65c8cfc05b1: Waiting 06:12:13 765212b225bb: Waiting 06:12:13 04944245beec: Verifying Checksum 06:12:13 04944245beec: Download complete 06:12:13 765212b225bb: Verifying Checksum 06:12:13 765212b225bb: Download complete 06:12:13 f23df028b6ca: Verifying Checksum 06:12:13 d65c8cfc05b1: Verifying Checksum 06:12:13 d65c8cfc05b1: Download complete 06:12:13 699f458cf7ca: Verifying Checksum 06:12:13 699f458cf7ca: Download complete 06:12:14 8998bd30e6a1: Verifying Checksum 06:12:14 8998bd30e6a1: Download complete 06:12:16 2437ff75d9bd: Verifying Checksum 06:12:16 2437ff75d9bd: Download complete 06:12:18 8998bd30e6a1: Pull complete 06:12:18 04944245beec: Pull complete 06:12:19 699f458cf7ca: Pull complete 06:12:20 765212b225bb: Pull complete 06:12:20 f23df028b6ca: Pull complete 06:12:20 d65c8cfc05b1: Pull complete 06:12:35 2437ff75d9bd: Pull complete 06:12:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:12:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:36 prd-ubuntu20.04-docker-arm64-4c-16g-10946 does not seem to be running inside a container 06:12:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:12:38 $ docker top 4655327c89eec33440c2abd557e6bed01b6a3f44065bbab8c6b128ce5cf483a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:39 ---> job-cost.sh 06:12:39 lf-activate-venv: SKIPPING 06:12:39 INFO: No Stack... 06:12:39 INFO: Retrieving Pricing Info for: v3-standard-4 06:12:40 INFO: Archiving Costs [Pipeline] sh 06:12:41 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 06:12:41 + cut -d, -f6 [Pipeline] lock 06:12:41 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-296-1-stack-cost] 06:12:41 Resource [jenkins-edgexfoundry-device-snmp-go-PR-296-1-stack-cost] did not exist. Created. 06:12:41 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-296-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:42 /w/workspace/device-snmp-go/1@tmp/durable-69ff8e98/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:12:42 + echo total: 0.10999999940395355 [Pipeline] stash 06:12:42 Warning: overwriting stash ‘stack-cost’ 06:12:42 Stashed 1 file(s) [Pipeline] } 06:12:42 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-296-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:12:42 $ docker stop --time=1 4655327c89eec33440c2abd557e6bed01b6a3f44065bbab8c6b128ce5cf483a5 06:12:44 $ docker rm -f --volumes 4655327c89eec33440c2abd557e6bed01b6a3f44065bbab8c6b128ce5cf483a5 [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 06:12:45 provisioning config files... 06:12:45 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-296@tmp/config2014296292572785340tmp [Pipeline] { [Pipeline] sh 06:12:45 + set +x 06:12:45 + bash -s -- 06:12:45 + curl -s https://codecov.io/bash 06:12:45 06:12:45 _____ _ 06:12:45 / ____| | | 06:12:45 | | ___ __| | ___ ___ _____ __ 06:12:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:12:45 | |___| (_) | (_| | __/ (_| (_) \ V / 06:12:45 \_____\___/ \__,_|\___|\___\___/ \_/ 06:12:45 Bash-1.0.6 06:12:45 06:12:45 06:12:45 ==> git version 2.25.1 found 06:12:45 ==> 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 06:12:45 Release-Date: 2020-01-08 06:12:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:12:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:12:45 ==> Jenkins CI detected. 06:12:45 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-296 06:12:45 project root: . 06:12:45 --> token set from env 06:12:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:12:45 ==> Running gcov in . (disable via -X gcov) 06:12:45 ==> Python coveragepy not found 06:12:45 ==> Searching for coverage reports in: 06:12:45 + . 06:12:45 -> Found 1 reports 06:12:45 ==> Detecting git/mercurial file structure 06:12:45 ==> Reading reports 06:12:45 + ./coverage.out bytes=8837 06:12:45 ==> Appending adjustments 06:12:45 https://docs.codecov.io/docs/fixing-reports 06:12:45 + Found adjustments 06:12:45 ==> Gzipping contents 06:12:45 4.0K /tmp/codecov.VUyDJ5.gz 06:12:45 ==> Uploading reports 06:12:45 url: https://codecov.io 06:12:45 query: branch=PR-296&commit=0117698b706bca0d51c0ec45d5e82f8ee4add040&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-296%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=296&job=&cmd_args= 06:12:45 -> Pinging Codecov 06:12:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-296&commit=0117698b706bca0d51c0ec45d5e82f8ee4add040&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-296%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=296&job=&cmd_args= 06:12:45 -> Uploading to 06:12:45 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/6C56EA5C29638FB4528AC87E60AF5AE0/0117698b706bca0d51c0ec45d5e82f8ee4add040/fddc4974-d153-4f34-9dcc-3db4822ffad3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T061245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=85d940ef46104caa3e54118b5fe1d7dd116eb725f3b8cdd3fa7d28e65e014c26 06:12:45 % Total % Received % Xferd Average Speed Time Time Time Current 06:12:45 Dload Upload Total Spent Left Speed 06:12:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7638 --:--:-- --:--:-- --:--:-- 7638 06:12:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/0117698b706bca0d51c0ec45d5e82f8ee4add040 [Pipeline] } 06:12:46 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 06:12:47 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-296/archives ] 06:12:47 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-296/archives 06:12:47 total 16 06:12:47 drwxr-xr-x 3 root root 4096 Apr 26 06:01 . 06:12:47 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 06:01 .. 06:12:47 drwxr-xr-x 2 root root 4096 Apr 26 06:01 cost 06:12:47 -rw-r--r-- 1 root root 86 Apr 26 06:01 cost.csv 06:12:47 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-296/archives 06:12:47 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-296/archives 06:12:47 total 16 06:12:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 06:01 . 06:12:47 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 06:01 .. 06:12:47 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 06:01 cost 06:12:47 -rw-r--r-- 1 jenkins jenkins 86 Apr 26 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:12:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:12:49 ---> package-listing.sh 06:12:49 ++ facter osfamily 06:12:49 ++ tr '[:upper:]' '[:lower:]' 06:12:49 + OS_FAMILY=debian 06:12:49 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-296 06:12:49 + START_PACKAGES=/tmp/packages_start.txt 06:12:49 + END_PACKAGES=/tmp/packages_end.txt 06:12:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:12:49 + PACKAGES=/tmp/packages_start.txt 06:12:49 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-296 ']' 06:12:49 + PACKAGES=/tmp/packages_end.txt 06:12:49 + case "${OS_FAMILY}" in 06:12:49 + dpkg -l 06:12:49 + grep '^ii' 06:12:49 + '[' -f /tmp/packages_start.txt ']' 06:12:49 + '[' -f /tmp/packages_end.txt ']' 06:12:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:12:49 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-296 ']' 06:12:49 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-296/archives/ 06:12:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-296/archives/ [Pipeline] echo 06:12:49 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-296/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:12:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:50 prd-ubuntu20.04-docker-8c-8g-10942 does not seem to be running inside a container 06:12:50 $ 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-296/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-296 -v /w/workspace/gexfoundry_device-snmp-go_PR-296:/w/workspace/gexfoundry_device-snmp-go_PR-296:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-296@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:12:50 $ docker top 70342b450b06ad4ff0370a06b5c2c083bc73681bfda2eedb542e2ae28eb6f5b4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:51 + touch /tmp/pre-build-complete [Pipeline] sh 06:12:51 + mkdir -p /var/log/sysstat [Pipeline] sh 06:12:51 + ls /var/log/sa-host 06:12:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:52 provisioning config files... 06:12:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-296@tmp/config15412245673546228187tmp [Pipeline] { [Pipeline] echo 06:12:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:12:52 ---> create-netrc.sh [Pipeline] } 06:12:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:12:52 ---> python-tools-install.sh [Pipeline] echo 06:12:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:12:53 ---> sudo-logs.sh 06:12:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:12:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:12:53 ---> job-cost.sh 06:12:53 lf-activate-venv: SKIPPING 06:12:53 DEBUG: total: 0.2199999988079071 06:12:53 INFO: Retrieving Stack Cost... 06:12:53 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:54 INFO: Archiving Costs [Pipeline] echo 06:12:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:12:54 ---> logs-deploy.sh 06:12:54 lf-activate-venv: SKIPPING 06:12:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-296/1 06:12:54 INFO: archiving workspace using pattern(s): 06:12:55 Archives upload complete. 06:12:55 INFO: archiving logs to Nexus 06:12:56 ---> uname -a: 06:12:56 Linux prd-ubuntu20-04-docker-8c-8g-10942 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:12:56 06:12:56